From 7378e7bbcc92a01b9b6f7c0cafc5bbbf6bab89ca Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 14 Nov 2023 10:41:20 +0000 Subject: [PATCH] Update generated files with build 128844 --- ...ss_review_decision_item_request_builder.go | 6 +- ...access_review_decisions_request_builder.go | 4 +- .../access_review_item_request_builder.go | 6 +- .../access_reviews_request_builder.go | 4 +- .../item_apply_decisions_request_builder.go | 2 +- ...ss_review_decision_item_request_builder.go | 6 +- .../item_decisions_request_builder.go | 4 +- ...nces_access_review_item_request_builder.go | 6 +- ...es_item_apply_decisions_request_builder.go | 2 +- ...ss_review_decision_item_request_builder.go | 6 +- ...nstances_item_decisions_request_builder.go | 4 +- ...ss_review_decision_item_request_builder.go | 6 +- ...ances_item_my_decisions_request_builder.go | 4 +- ...es_item_reset_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 6 +- ...nstances_item_reviewers_request_builder.go | 4 +- ...nces_item_send_reminder_request_builder.go | 2 +- ...tem_instances_item_stop_request_builder.go | 2 +- .../item_instances_request_builder.go | 4 +- ...ss_review_decision_item_request_builder.go | 6 +- .../item_my_decisions_request_builder.go | 4 +- .../item_reset_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 6 +- .../item_reviewers_request_builder.go | 4 +- .../item_send_reminder_request_builder.go | 2 +- accessreviews/item_stop_request_builder.go | 2 +- ...ctivity_statistics_item_request_builder.go | 6 +- .../activitystatistics_request_builder.go | 4 +- admin/admin_request_builder.go | 4 +- admin/apps_and_services_request_builder.go | 6 +- admin/dynamics_request_builder.go | 6 +- ..._internet_explorer_mode_request_builder.go | 6 +- ..._browser_site_list_item_request_builder.go | 6 +- ...site_lists_item_publish_request_builder.go | 2 +- ...wser_shared_cookie_item_request_builder.go | 6 +- ...sts_item_shared_cookies_request_builder.go | 4 +- ...sites_browser_site_item_request_builder.go | 6 +- ...e_site_lists_item_sites_request_builder.go | 4 +- ...xplorer_mode_site_lists_request_builder.go | 4 +- admin/edge_request_builder.go | 6 +- admin/forms_request_builder.go | 6 +- ...file_card_property_item_request_builder.go | 6 +- ...profile_card_properties_request_builder.go | 4 +- admin/people_pronouns_request_builder.go | 6 +- admin/people_request_builder.go | 6 +- admin/report_settings_request_builder.go | 6 +- ...es_item_incident_report_request_builder.go | 2 +- ...h_overviews_item_issues_request_builder.go | 4 +- ...rvice_health_issue_item_request_builder.go | 6 +- ...cement_health_overviews_request_builder.go | 4 +- ...ews_service_health_item_request_builder.go | 6 +- ...es_item_incident_report_request_builder.go | 2 +- ...ice_announcement_issues_request_builder.go | 4 +- ...rvice_health_issue_item_request_builder.go | 6 +- ...cement_messages_archive_request_builder.go | 2 +- ...ement_messages_favorite_request_builder.go | 2 +- ...tem_attachments_archive_request_builder.go | 4 +- ...ttachments_item_content_request_builder.go | 4 +- ...ssages_item_attachments_request_builder.go | 4 +- ...ncement_attachment_item_request_builder.go | 6 +- ...ment_messages_mark_read_request_builder.go | 2 +- ...nt_messages_mark_unread_request_builder.go | 2 +- ...e_announcement_messages_request_builder.go | 4 +- ...ice_update_message_item_request_builder.go | 6 +- ...ment_messages_unarchive_request_builder.go | 2 +- ...ent_messages_unfavorite_request_builder.go | 2 +- admin/service_announcement_request_builder.go | 6 +- admin/sharepoint_request_builder.go | 6 +- admin/sharepoint_settings_request_builder.go | 6 +- admin/todo_request_builder.go | 6 +- admin/windows_request_builder.go | 6 +- ...ries_catalog_entry_item_request_builder.go | 6 +- ...updates_catalog_entries_request_builder.go | 4 +- ...windows_updates_catalog_request_builder.go | 6 +- ...eployment_audience_item_request_builder.go | 6 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...tes_enroll_assets_by_id_request_builder.go | 2 +- ...s_updates_enroll_assets_request_builder.go | 2 +- ...s_unenroll_assets_by_id_request_builder.go | 2 +- ...updates_unenroll_assets_request_builder.go | 2 +- ...diences_item_exclusions_request_builder.go | 4 +- ...ns_updatable_asset_item_request_builder.go | 6 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...tes_enroll_assets_by_id_request_builder.go | 2 +- ...s_updates_enroll_assets_request_builder.go | 2 +- ...s_unenroll_assets_by_id_request_builder.go | 2 +- ...updates_unenroll_assets_request_builder.go | 2 +- ..._audiences_item_members_request_builder.go | 4 +- ...rs_updatable_asset_item_request_builder.go | 6 +- ...s_update_audience_by_id_request_builder.go | 2 +- ...updates_update_audience_request_builder.go | 2 +- ...es_deployment_audiences_request_builder.go | 4 +- ...oyments_deployment_item_request_builder.go | 6 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...tes_enroll_assets_by_id_request_builder.go | 2 +- ...s_updates_enroll_assets_request_builder.go | 2 +- ...s_unenroll_assets_by_id_request_builder.go | 2 +- ...updates_unenroll_assets_request_builder.go | 2 +- ...tem_audience_exclusions_request_builder.go | 4 +- ...ns_updatable_asset_item_request_builder.go | 6 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...tes_enroll_assets_by_id_request_builder.go | 2 +- ...s_updates_enroll_assets_request_builder.go | 2 +- ...s_unenroll_assets_by_id_request_builder.go | 2 +- ...updates_unenroll_assets_request_builder.go | 2 +- ...s_item_audience_members_request_builder.go | 4 +- ...rs_updatable_asset_item_request_builder.go | 6 +- ...s_update_audience_by_id_request_builder.go | 2 +- ...updates_update_audience_request_builder.go | 2 +- ...ployments_item_audience_request_builder.go | 6 +- ...ows_updates_deployments_request_builder.go | 4 +- admin/windows_updates_request_builder.go | 6 +- ...es_resource_connections_request_builder.go | 4 +- ...esource_connection_item_request_builder.go | 12 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...tes_enroll_assets_by_id_request_builder.go | 2 +- ...s_updates_enroll_assets_request_builder.go | 2 +- ...s_unenroll_assets_by_id_request_builder.go | 2 +- ...updates_unenroll_assets_request_builder.go | 2 +- ...pdates_updatable_assets_request_builder.go | 4 +- ...ts_updatable_asset_item_request_builder.go | 12 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...tes_enroll_assets_by_id_request_builder.go | 2 +- ...s_updates_enroll_assets_request_builder.go | 2 +- ...s_unenroll_assets_by_id_request_builder.go | 2 +- ...updates_unenroll_assets_request_builder.go | 2 +- ...tem_audience_exclusions_request_builder.go | 4 +- ...ns_updatable_asset_item_request_builder.go | 6 +- ...dates_add_members_by_id_request_builder.go | 2 +- ...ows_updates_add_members_request_builder.go | 2 +- ...es_remove_members_by_id_request_builder.go | 2 +- ..._updates_remove_members_request_builder.go | 2 +- ...tes_enroll_assets_by_id_request_builder.go | 2 +- ...s_updates_enroll_assets_request_builder.go | 2 +- ...s_unenroll_assets_by_id_request_builder.go | 2 +- ...updates_unenroll_assets_request_builder.go | 2 +- ...s_item_audience_members_request_builder.go | 4 +- ...rs_updatable_asset_item_request_builder.go | 6 +- ...s_update_audience_by_id_request_builder.go | 2 +- ...updates_update_audience_request_builder.go | 2 +- ..._policies_item_audience_request_builder.go | 6 +- ..._compliance_change_item_request_builder.go | 20 +- ...nges_item_update_policy_request_builder.go | 2 +- ...item_compliance_changes_request_builder.go | 4 +- ...updates_update_policies_request_builder.go | 4 +- ...cies_update_policy_item_request_builder.go | 6 +- ...dministrative_unit_item_request_builder.go | 6 +- .../administrative_units_request_builder.go | 4 +- administrativeunits/delta_request_builder.go | 2 +- .../get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- .../item_extensions_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- ...mbers_graph_application_request_builder.go | 2 +- ...em_members_graph_device_request_builder.go | 2 +- ...tem_members_graph_group_request_builder.go | 2 +- ...mbers_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...item_members_graph_user_request_builder.go | 2 +- ..._item_graph_application_request_builder.go | 2 +- ...mbers_item_graph_device_request_builder.go | 2 +- ...embers_item_graph_group_request_builder.go | 2 +- ..._item_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...members_item_graph_user_request_builder.go | 2 +- .../item_members_item_ref_request_builder.go | 2 +- .../item_members_ref_request_builder.go | 4 +- .../item_members_request_builder.go | 4 +- .../item_restore_request_builder.go | 2 +- ...tem_scoped_role_members_request_builder.go | 4 +- ...ed_role_membership_item_request_builder.go | 6 +- .../validate_properties_request_builder.go | 2 +- ...reement_acceptance_item_request_builder.go | 6 +- .../agreement_acceptances_request_builder.go | 4 +- agreements/agreement_item_request_builder.go | 6 +- agreements/agreements_request_builder.go | 4 +- ...reement_acceptance_item_request_builder.go | 6 +- .../item_acceptances_request_builder.go | 4 +- ..._file_localization_item_request_builder.go | 6 +- ...ement_file_version_item_request_builder.go | 6 +- ...lizations_item_versions_request_builder.go | 4 +- ...item_file_localizations_request_builder.go | 4 +- agreements/item_file_request_builder.go | 6 +- ..._file_localization_item_request_builder.go | 6 +- ...ement_file_version_item_request_builder.go | 6 +- ...tem_files_item_versions_request_builder.go | 4 +- agreements/item_files_request_builder.go | 4 +- ...owed_data_location_item_request_builder.go | 6 +- .../allowed_data_locations_request_builder.go | 4 +- app/app_request_builder.go | 4 +- app/calls_call_item_request_builder.go | 10 +- ..._add_large_gallery_view_request_builder.go | 2 +- app/calls_item_answer_request_builder.go | 2 +- ...udio_routing_group_item_request_builder.go | 6 +- ...em_audio_routing_groups_request_builder.go | 4 +- ...cancel_media_processing_request_builder.go | 2 +- ...nge_screen_sharing_role_request_builder.go | 2 +- ...nt_sharing_session_item_request_builder.go | 6 +- ...ontent_sharing_sessions_request_builder.go | 4 +- app/calls_item_keep_alive_request_builder.go | 2 +- app/calls_item_mute_request_builder.go | 2 +- ...ns_comms_operation_item_request_builder.go | 6 +- app/calls_item_operations_request_builder.go | 4 +- ...tem_participants_invite_request_builder.go | 2 +- ..._participants_item_mute_request_builder.go | 2 +- ...s_item_start_hold_music_request_builder.go | 2 +- ...ts_item_stop_hold_music_request_builder.go | 2 +- ...m_participants_mute_all_request_builder.go | 2 +- ...ipants_participant_item_request_builder.go | 6 +- ...calls_item_participants_request_builder.go | 4 +- app/calls_item_play_prompt_request_builder.go | 2 +- app/calls_item_record_request_builder.go | 2 +- ...ls_item_record_response_request_builder.go | 2 +- app/calls_item_redirect_request_builder.go | 2 +- app/calls_item_reject_request_builder.go | 2 +- ..._item_send_dtmf_tones_post_request_body.go | 189 ++++ ...ls_item_send_dtmf_tones_request_builder.go | 73 ++ ..._item_subscribe_to_tone_request_builder.go | 2 +- app/calls_item_transfer_request_builder.go | 2 +- app/calls_item_unmute_request_builder.go | 2 +- ...update_recording_status_request_builder.go | 2 +- ...nference_device_quality_request_builder.go | 2 +- app/calls_request_builder.go | 4 +- ..._meetings_create_or_get_request_builder.go | 2 +- ...ings_get_all_recordings_request_builder.go | 2 +- ...ngs_get_all_transcripts_request_builder.go | 2 +- ...m_alternative_recording_request_builder.go | 4 +- ..._attendance_record_item_request_builder.go | 6 +- ...item_attendance_records_request_builder.go | 4 +- ..._attendance_report_item_request_builder.go | 17 +- ...item_attendance_reports_request_builder.go | 17 +- ...gs_item_attendee_report_request_builder.go | 4 +- ...tem_broadcast_recording_request_builder.go | 4 +- ...ppointment_join_web_url_request_builder.go | 2 +- ..._attendance_record_item_request_builder.go | 6 +- ...port_attendance_records_request_builder.go | 4 +- ...eting_attendance_report_request_builder.go | 6 +- ...meetings_item_recording_request_builder.go | 4 +- ...ngs_call_recording_item_request_builder.go | 6 +- ...s_item_recordings_delta_request_builder.go | 2 +- ...recordings_item_content_request_builder.go | 4 +- ...eetings_item_recordings_request_builder.go | 4 +- ...istration_question_item_request_builder.go | 6 +- ...ration_custom_questions_request_builder.go | 4 +- ...ng_registrant_base_item_request_builder.go | 6 +- ...egistration_registrants_request_builder.go | 4 +- ...tings_item_registration_request_builder.go | 6 +- ...ts_call_transcript_item_request_builder.go | 6 +- ..._item_transcripts_delta_request_builder.go | 2 +- ...ranscripts_item_content_request_builder.go | 4 +- ...s_item_metadata_content_request_builder.go | 4 +- ...etings_item_transcripts_request_builder.go | 4 +- ...ngs_online_meeting_item_request_builder.go | 8 +- app/online_meetings_request_builder.go | 4 +- appcatalogs/app_catalogs_request_builder.go | 4 +- ...pp_definitions_item_bot_request_builder.go | 6 +- ...lor_icon_hosted_content_request_builder.go | 6 +- ...d_content_value_content_request_builder.go | 4 +- ...nitions_item_color_icon_request_builder.go | 6 +- ...ine_icon_hosted_content_request_builder.go | 6 +- ...d_content_value_content_request_builder.go | 4 +- ...tions_item_outline_icon_request_builder.go | 6 +- ...ps_item_app_definitions_request_builder.go | 4 +- ...ams_app_definition_item_request_builder.go | 6 +- appcatalogs/teams_apps_request_builder.go | 4 +- ...ams_apps_teams_app_item_request_builder.go | 6 +- .../application_item_request_builder.go | 6 +- applications/applications_request_builder.go | 4 +- applications/delta_request_builder.go | 2 +- applications/get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- applications/item_add_key_request_builder.go | 2 +- .../item_add_password_request_builder.go | 2 +- ...ement_policies_item_ref_request_builder.go | 2 +- ...management_policies_ref_request_builder.go | 4 +- ...app_management_policies_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- ...tem_connector_group_ref_request_builder.go | 6 +- .../item_connector_group_request_builder.go | 2 +- ...em_created_on_behalf_of_request_builder.go | 2 +- ...extension_property_item_request_builder.go | 6 +- ...em_extension_properties_request_builder.go | 4 +- ...dentity_credential_item_request_builder.go | 6 +- ...ed_identity_credentials_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- ...m_discovery_policy_item_request_builder.go | 2 +- ...ealm_discovery_policies_request_builder.go | 2 +- applications/item_logo_request_builder.go | 4 +- ...m_owners_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- .../item_owners_graph_user_request_builder.go | 2 +- ...ers_item_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ..._owners_item_graph_user_request_builder.go | 2 +- .../item_owners_item_ref_request_builder.go | 2 +- .../item_owners_ref_request_builder.go | 4 +- applications/item_owners_request_builder.go | 2 +- .../item_remove_key_request_builder.go | 2 +- .../item_remove_password_request_builder.go | 2 +- applications/item_restore_request_builder.go | 2 +- ..._set_verified_publisher_request_builder.go | 2 +- ...on_acquire_access_token_request_builder.go | 2 +- ...n_jobs_item_bulk_upload_request_builder.go | 6 +- ...lk_upload_value_content_request_builder.go | 4 +- ...ization_jobs_item_pause_request_builder.go | 2 +- ...tem_provision_on_demand_request_builder.go | 2 +- ...ation_jobs_item_restart_request_builder.go | 2 +- ...rectory_definition_item_request_builder.go | 6 +- ...rectories_item_discover_request_builder.go | 2 +- ...item_schema_directories_request_builder.go | 4 +- ...schema_filter_operators_request_builder.go | 2 +- ...s_item_schema_functions_request_builder.go | 2 +- ...schema_parse_expression_request_builder.go | 2 +- ...zation_jobs_item_schema_request_builder.go | 6 +- ...ization_jobs_item_start_request_builder.go | 2 +- ...em_validate_credentials_request_builder.go | 2 +- ...em_synchronization_jobs_request_builder.go | 4 +- ...ynchronization_job_item_request_builder.go | 6 +- ...bs_validate_credentials_request_builder.go | 2 +- ...em_synchronization_ping_request_builder.go | 2 +- .../item_synchronization_request_builder.go | 6 +- ...synchronization_secrets_request_builder.go | 2 +- ...rectory_definition_item_request_builder.go | 6 +- ...rectories_item_discover_request_builder.go | 2 +- ...item_schema_directories_request_builder.go | 4 +- ...schema_filter_operators_request_builder.go | 2 +- ...s_item_schema_functions_request_builder.go | 2 +- ...schema_parse_expression_request_builder.go | 2 +- ...n_templates_item_schema_request_builder.go | 6 +- ...nchronization_templates_request_builder.go | 4 +- ...onization_template_item_request_builder.go | 6 +- ...uance_policies_item_ref_request_builder.go | 2 +- ...n_issuance_policies_ref_request_builder.go | 4 +- ...token_issuance_policies_request_builder.go | 2 +- ...etime_policies_item_ref_request_builder.go | 2 +- ...n_lifetime_policies_ref_request_builder.go | 4 +- ...token_lifetime_policies_request_builder.go | 2 +- ...nset_verified_publisher_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- ...pplications_with_app_id_request_builder.go | 6 +- ...ations_with_unique_name_request_builder.go | 6 +- ...plication_template_item_request_builder.go | 2 +- .../application_templates_request_builder.go | 2 +- .../item_instantiate_request_builder.go | 2 +- ...pp_role_assignment_item_request_builder.go | 6 +- .../app_role_assignments_request_builder.go | 4 +- ..._workflow_provider_item_request_builder.go | 6 +- ...oval_workflow_providers_request_builder.go | 4 +- ...lows_business_flow_item_request_builder.go | 6 +- ...s_item_record_decisions_request_builder.go | 2 +- .../item_business_flows_request_builder.go | 4 +- ...sion_business_flow_item_request_builder.go | 6 +- ...n_item_record_decisions_request_builder.go | 2 +- ...ts_awaiting_my_decision_request_builder.go | 4 +- ...ce_policy_template_item_request_builder.go | 6 +- .../item_policy_templates_request_builder.go | 4 +- auditlogs/audit_logs_request_builder.go | 4 +- ...ty_attribute_audit_item_request_builder.go | 6 +- ...curity_attribute_audits_request_builder.go | 4 +- ...ts_directory_audit_item_request_builder.go | 6 +- auditlogs/directory_audits_request_builder.go | 4 +- ...ing_object_summary_item_request_builder.go | 6 +- .../directory_provisioning_request_builder.go | 4 +- ...ing_object_summary_item_request_builder.go | 6 +- auditlogs/provisioning_request_builder.go | 4 +- ...ins_confirm_compromised_request_builder.go | 2 +- .../sign_ins_confirm_safe_request_builder.go | 2 +- auditlogs/sign_ins_request_builder.go | 4 +- .../sign_ins_sign_in_item_request_builder.go | 6 +- ...thod_configuration_item_request_builder.go | 6 +- ...n_method_configurations_request_builder.go | 4 +- ...thod_configuration_item_request_builder.go | 6 +- ...n_method_configurations_request_builder.go | 4 +- ...tication_methods_policy_request_builder.go | 4 +- .../booking_business_item_request_builder.go | 6 +- .../booking_businesses_request_builder.go | 4 +- ...ooking_appointment_item_request_builder.go | 6 +- ...ppointments_item_cancel_request_builder.go | 2 +- .../item_appointments_request_builder.go | 4 +- ...ooking_appointment_item_request_builder.go | 6 +- ...lendar_view_item_cancel_request_builder.go | 2 +- .../item_calendar_view_request_builder.go | 4 +- ...ng_custom_question_item_request_builder.go | 6 +- .../item_custom_questions_request_builder.go | 4 +- ...s_booking_customer_item_request_builder.go | 6 +- .../item_customers_request_builder.go | 4 +- ..._get_staff_availability_request_builder.go | 2 +- .../item_publish_request_builder.go | 2 +- ...es_booking_service_item_request_builder.go | 6 +- .../item_services_request_builder.go | 4 +- ...oking_staff_member_item_request_builder.go | 6 +- .../item_staff_members_request_builder.go | 4 +- .../item_unpublish_request_builder.go | 2 +- .../booking_currencies_request_builder.go | 4 +- .../booking_currency_item_request_builder.go | 6 +- ...ness_flow_template_item_request_builder.go | 6 +- ...business_flow_templates_request_builder.go | 4 +- ...auth_configuration_item_request_builder.go | 6 +- ...ased_auth_configuration_request_builder.go | 4 +- chats/all_messages_request_builder.go | 2 +- chats/chat_item_request_builder.go | 6 +- chats/chats_request_builder.go | 4 +- chats/get_all_messages_request_builder.go | 2 +- chats/item_hide_for_user_request_builder.go | 2 +- ...em_teams_app_definition_request_builder.go | 2 +- ...led_apps_item_teams_app_request_builder.go | 2 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- chats/item_installed_apps_request_builder.go | 4 +- ...s_app_installation_item_request_builder.go | 6 +- ...em_last_message_preview_request_builder.go | 6 +- ...mark_chat_read_for_user_request_builder.go | 2 +- ...rk_chat_unread_for_user_request_builder.go | 2 +- chats/item_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- chats/item_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- chats/item_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- chats/item_messages_request_builder.go | 10 +- chats/item_operations_request_builder.go | 4 +- ...ms_async_operation_item_request_builder.go | 6 +- .../item_permission_grants_request_builder.go | 4 +- ...c_permission_grant_item_request_builder.go | 6 +- ...d_messages_item_message_request_builder.go | 2 +- ..._chat_message_info_item_request_builder.go | 6 +- chats/item_pinned_messages_request_builder.go | 4 +- ...d_activity_notification_request_builder.go | 2 +- ...tem_tabs_item_teams_app_request_builder.go | 2 +- chats/item_tabs_request_builder.go | 4 +- ...tem_tabs_teams_tab_item_request_builder.go | 6 +- chats/item_unhide_for_user_request_builder.go | 2 +- commands/command_item_request_builder.go | 6 +- commands/commands_request_builder.go | 4 +- .../item_responsepayload_request_builder.go | 2 +- ...ecords_call_record_item_request_builder.go | 20 +- ...cords_item_organizer_v2_request_builder.go | 160 +++ ...m_participants_v2_count_request_builder.go | 80 ++ ...nts_v2_participant_item_request_builder.go | 160 +++ ...ds_item_participants_v2_request_builder.go | 154 +++ ..._sessions_item_segments_request_builder.go | 4 +- ...m_segments_segment_item_request_builder.go | 6 +- ...l_records_item_sessions_request_builder.go | 12 +- ...m_sessions_session_item_request_builder.go | 6 +- ..._time_with_to_date_time_request_builder.go | 2 +- ..._time_with_to_date_time_request_builder.go | 2 +- ..._time_with_to_date_time_request_builder.go | 2 +- ..._time_with_to_date_time_request_builder.go | 2 +- ..._time_with_to_date_time_request_builder.go | 2 +- .../call_records_request_builder.go | 13 +- .../calls_call_item_request_builder.go | 10 +- ..._add_large_gallery_view_request_builder.go | 2 +- .../calls_item_answer_request_builder.go | 2 +- ...udio_routing_group_item_request_builder.go | 6 +- ...em_audio_routing_groups_request_builder.go | 4 +- ...cancel_media_processing_request_builder.go | 2 +- ...nge_screen_sharing_role_request_builder.go | 2 +- ...nt_sharing_session_item_request_builder.go | 6 +- ...ontent_sharing_sessions_request_builder.go | 4 +- .../calls_item_keep_alive_request_builder.go | 2 +- .../calls_item_mute_request_builder.go | 2 +- ...ns_comms_operation_item_request_builder.go | 6 +- .../calls_item_operations_request_builder.go | 4 +- ...tem_participants_invite_request_builder.go | 2 +- ..._participants_item_mute_request_builder.go | 2 +- ...s_item_start_hold_music_request_builder.go | 2 +- ...ts_item_stop_hold_music_request_builder.go | 2 +- ...m_participants_mute_all_request_builder.go | 2 +- ...ipants_participant_item_request_builder.go | 6 +- ...calls_item_participants_request_builder.go | 4 +- .../calls_item_play_prompt_request_builder.go | 2 +- .../calls_item_record_request_builder.go | 2 +- ...ls_item_record_response_request_builder.go | 2 +- .../calls_item_redirect_request_builder.go | 2 +- .../calls_item_reject_request_builder.go | 2 +- ..._item_send_dtmf_tones_post_request_body.go | 189 ++++ ...ls_item_send_dtmf_tones_request_builder.go | 73 ++ ..._item_subscribe_to_tone_request_builder.go | 2 +- .../calls_item_transfer_request_builder.go | 2 +- .../calls_item_unmute_request_builder.go | 2 +- ...update_recording_status_request_builder.go | 2 +- ...nference_device_quality_request_builder.go | 2 +- communications/calls_request_builder.go | 4 +- .../communications_request_builder.go | 4 +- ...et_presences_by_user_id_request_builder.go | 2 +- ..._meetings_create_or_get_request_builder.go | 2 +- ...ings_get_all_recordings_request_builder.go | 2 +- ...ngs_get_all_transcripts_request_builder.go | 2 +- ...m_alternative_recording_request_builder.go | 4 +- ..._attendance_record_item_request_builder.go | 6 +- ...item_attendance_records_request_builder.go | 4 +- ..._attendance_report_item_request_builder.go | 17 +- ...item_attendance_reports_request_builder.go | 17 +- ...gs_item_attendee_report_request_builder.go | 4 +- ...tem_broadcast_recording_request_builder.go | 4 +- ...ppointment_join_web_url_request_builder.go | 2 +- ..._attendance_record_item_request_builder.go | 6 +- ...port_attendance_records_request_builder.go | 4 +- ...eting_attendance_report_request_builder.go | 6 +- ...meetings_item_recording_request_builder.go | 4 +- ...ngs_call_recording_item_request_builder.go | 6 +- ...s_item_recordings_delta_request_builder.go | 2 +- ...recordings_item_content_request_builder.go | 4 +- ...eetings_item_recordings_request_builder.go | 4 +- ...istration_question_item_request_builder.go | 6 +- ...ration_custom_questions_request_builder.go | 4 +- ...ng_registrant_base_item_request_builder.go | 6 +- ...egistration_registrants_request_builder.go | 4 +- ...tings_item_registration_request_builder.go | 6 +- ...ts_call_transcript_item_request_builder.go | 6 +- ..._item_transcripts_delta_request_builder.go | 2 +- ...ranscripts_item_content_request_builder.go | 4 +- ...s_item_metadata_content_request_builder.go | 4 +- ...etings_item_transcripts_request_builder.go | 4 +- ...ngs_online_meeting_item_request_builder.go | 8 +- .../online_meetings_request_builder.go | 4 +- ...ces_item_clear_presence_request_builder.go | 2 +- ...user_preferred_presence_request_builder.go | 2 +- ...ences_item_set_presence_request_builder.go | 2 +- ...item_set_status_message_request_builder.go | 2 +- ...user_preferred_presence_request_builder.go | 2 +- ...presences_presence_item_request_builder.go | 6 +- communications/presences_request_builder.go | 4 +- compliance/compliance_request_builder.go | 4 +- ...scovery_cases_case_item_request_builder.go | 6 +- ...stodians_custodian_item_request_builder.go | 6 +- ...em_last_index_operation_request_builder.go | 2 +- ...aph_ediscovery_activate_request_builder.go | 2 +- ...h_ediscovery_apply_hold_request_builder.go | 2 +- ...raph_ediscovery_release_request_builder.go | 2 +- ..._ediscovery_remove_hold_request_builder.go | 2 +- ...ediscovery_update_index_request_builder.go | 2 +- ..._site_sources_item_site_request_builder.go | 2 +- ...dians_item_site_sources_request_builder.go | 4 +- ...ources_site_source_item_request_builder.go | 6 +- ...roup_sources_item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...m_unified_group_sources_request_builder.go | 4 +- ...ified_group_source_item_request_builder.go | 6 +- ...dians_item_user_sources_request_builder.go | 4 +- ...ources_user_source_item_request_builder.go | 6 +- ...h_ediscovery_apply_hold_request_builder.go | 2 +- ..._ediscovery_remove_hold_request_builder.go | 2 +- ...y_cases_item_custodians_request_builder.go | 4 +- ..._site_sources_item_site_request_builder.go | 2 +- ...holds_item_site_sources_request_builder.go | 4 +- ...ources_site_source_item_request_builder.go | 6 +- ...roup_sources_item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...m_unified_group_sources_request_builder.go | 4 +- ...ified_group_source_item_request_builder.go | 6 +- ...holds_item_user_sources_request_builder.go | 4 +- ...ources_user_source_item_request_builder.go | 6 +- ...l_holds_legal_hold_item_request_builder.go | 6 +- ..._cases_item_legal_holds_request_builder.go | 4 +- ..._graph_ediscovery_close_request_builder.go | 2 +- ...graph_ediscovery_reopen_request_builder.go | 2 +- ...ources_item_data_source_request_builder.go | 6 +- ...em_last_index_operation_request_builder.go | 2 +- ...h_ediscovery_apply_hold_request_builder.go | 2 +- ...raph_ediscovery_release_request_builder.go | 2 +- ..._ediscovery_remove_hold_request_builder.go | 2 +- ...ediscovery_update_index_request_builder.go | 2 +- ...h_ediscovery_apply_hold_request_builder.go | 2 +- ..._ediscovery_remove_hold_request_builder.go | 2 +- ...todial_data_source_item_request_builder.go | 6 +- ...ncustodial_data_sources_request_builder.go | 4 +- ...ons_case_operation_item_request_builder.go | 6 +- ...y_case_export_operation_request_builder.go | 2 +- ...rt_operation_review_set_request_builder.go | 2 +- ...y_case_export_operation_request_builder.go | 2 +- ...y_cases_item_operations_request_builder.go | 4 +- ...overy_add_to_review_set_request_builder.go | 2 +- ...graph_ediscovery_export_request_builder.go | 2 +- ...h_ediscovery_apply_tags_request_builder.go | 2 +- ...eview_sets_item_queries_request_builder.go | 4 +- ...s_review_set_query_item_request_builder.go | 6 +- ..._cases_item_review_sets_request_builder.go | 4 +- ...ew_sets_review_set_item_request_builder.go | 6 +- ...covery_reset_to_default_request_builder.go | 2 +- ...ery_cases_item_settings_request_builder.go | 6 +- ...to_review_set_operation_request_builder.go | 2 +- ...ources_data_source_item_request_builder.go | 6 +- ...item_additional_sources_request_builder.go | 4 +- ...ources_data_source_item_request_builder.go | 2 +- ..._item_custodian_sources_request_builder.go | 2 +- ...te_statistics_operation_request_builder.go | 2 +- ...ery_estimate_statistics_request_builder.go | 2 +- ...h_ediscovery_purge_data_request_builder.go | 2 +- ...todial_data_source_item_request_builder.go | 2 +- ...em_noncustodial_sources_request_builder.go | 2 +- ...item_source_collections_request_builder.go | 4 +- ..._source_collection_item_request_builder.go | 6 +- ...em_tags_item_child_tags_request_builder.go | 2 +- ...tem_child_tags_tag_item_request_builder.go | 2 +- ...s_item_tags_item_parent_request_builder.go | 2 +- ...ediscovery_as_hierarchy_request_builder.go | 2 +- ...scovery_cases_item_tags_request_builder.go | 4 +- ...ases_item_tags_tag_item_request_builder.go | 6 +- .../ediscovery_cases_request_builder.go | 4 +- compliance/ediscovery_request_builder.go | 6 +- connections/connections_request_builder.go | 4 +- ...xternal_connection_item_request_builder.go | 6 +- ...ups_external_group_item_request_builder.go | 6 +- ...m_members_identity_item_request_builder.go | 6 +- ...tem_groups_item_members_request_builder.go | 4 +- connections/item_groups_request_builder.go | 4 +- ...tems_external_item_item_request_builder.go | 6 +- ..._external_activity_item_request_builder.go | 6 +- ...ities_item_performed_by_request_builder.go | 2 +- ...m_items_item_activities_request_builder.go | 4 +- ...nnectors_add_activities_request_builder.go | 2 +- connections/item_items_request_builder.go | 4 +- ...nnection_operation_item_request_builder.go | 6 +- .../item_operations_request_builder.go | 4 +- connections/item_quota_request_builder.go | 6 +- connections/item_schema_request_builder.go | 4 +- contacts/contacts_request_builder.go | 4 +- contacts/delta_request_builder.go | 2 +- contacts/get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- ...s_directory_object_item_request_builder.go | 2 +- ...ports_graph_org_contact_request_builder.go | 2 +- ...rect_reports_graph_user_request_builder.go | 2 +- ..._item_graph_org_contact_request_builder.go | 2 +- ...reports_item_graph_user_request_builder.go | 2 +- .../item_direct_reports_request_builder.go | 2 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- contacts/item_manager_request_builder.go | 2 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...m_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- contacts/item_member_of_request_builder.go | 2 +- contacts/item_restore_request_builder.go | 2 +- ...ry_service_provisioning_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...e_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- ...em_transitive_member_of_request_builder.go | 2 +- ...s_directory_object_item_request_builder.go | 2 +- ...item_transitive_reports_request_builder.go | 2 +- contacts/org_contact_item_request_builder.go | 6 +- .../validate_properties_request_builder.go | 2 +- contracts/contract_item_request_builder.go | 6 +- contracts/contracts_request_builder.go | 4 +- contracts/delta_request_builder.go | 2 +- contracts/get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- contracts/item_restore_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- .../classify_exact_matches_request_builder.go | 2 +- ..._job_response_base_item_request_builder.go | 6 +- .../classify_file_jobs_request_builder.go | 4 +- .../classify_file_request_builder.go | 2 +- ..._job_response_base_item_request_builder.go | 6 +- .../classify_text_jobs_request_builder.go | 4 +- .../data_classification_request_builder.go | 4 +- ..._job_response_base_item_request_builder.go | 6 +- ...luate_dlp_policies_jobs_request_builder.go | 4 +- ..._job_response_base_item_request_builder.go | 6 +- .../evaluate_label_jobs_request_builder.go | 4 +- ...t_match_data_store_item_request_builder.go | 6 +- ...data_stores_item_lookup_request_builder.go | 2 +- ...xact_match_session_item_request_builder.go | 6 +- ...em_sessions_item_cancel_request_builder.go | 2 +- ...em_sessions_item_commit_request_builder.go | 2 +- ...tem_sessions_item_renew_request_builder.go | 2 +- ...sions_item_upload_agent_request_builder.go | 6 +- ...ta_stores_item_sessions_request_builder.go | 4 +- ...exact_match_data_stores_request_builder.go | 4 +- ...match_upload_agent_item_request_builder.go | 6 +- ...act_match_upload_agents_request_builder.go | 4 +- ..._job_response_base_item_request_builder.go | 6 +- dataclassification/jobs_request_builder.go | 4 +- .../sensitive_types_request_builder.go | 4 +- ...pes_sensitive_type_item_request_builder.go | 6 +- ...itivity_labels_evaluate_request_builder.go | 2 +- ...item_sublabels_evaluate_request_builder.go | 2 +- ...y_labels_item_sublabels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- .../sensitivity_labels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- ...a_policy_operation_item_request_builder.go | 6 +- .../data_policy_operations_request_builder.go | 4 +- ...ged_app_protection_item_request_builder.go | 6 +- ...tions_has_payload_links_request_builder.go | 2 +- ...managed_mobile_app_item_request_builder.go | 6 +- ...p_protections_item_apps_request_builder.go | 4 +- ...ctions_item_assignments_request_builder.go | 4 +- ..._policy_assignment_item_request_builder.go | 6 +- ...item_deployment_summary_request_builder.go | 6 +- ...managed_app_protections_request_builder.go | 4 +- ...ged_app_protection_item_request_builder.go | 6 +- ...managed_mobile_app_item_request_builder.go | 6 +- ...p_protections_item_apps_request_builder.go | 4 +- ...item_deployment_summary_request_builder.go | 6 +- ...managed_app_protections_request_builder.go | 4 +- .../device_app_management_request_builder.go | 4 +- ...pp_management_task_item_request_builder.go | 6 +- ...asks_item_update_status_request_builder.go | 2 +- ...ce_app_management_tasks_request_builder.go | 4 +- ...igning_certificate_item_request_builder.go | 6 +- ...de_signing_certificates_request_builder.go | 4 +- ...tions_has_payload_links_request_builder.go | 2 +- ...ning_configuration_item_request_builder.go | 6 +- ...figurations_item_assign_request_builder.go | 2 +- ...uration_assignment_item_request_builder.go | 6 +- ...ations_item_assignments_request_builder.go | 4 +- ...tion_device_status_item_request_builder.go | 6 +- ...ns_item_device_statuses_request_builder.go | 4 +- ...g_group_assignment_item_request_builder.go | 6 +- ..._item_group_assignments_request_builder.go | 4 +- ...ration_user_status_item_request_builder.go | 6 +- ...ions_item_user_statuses_request_builder.go | 4 +- ...isioning_configurations_request_builder.go | 4 +- ...tions_has_payload_links_request_builder.go | 2 +- ...ged_app_protection_item_request_builder.go | 6 +- ...managed_mobile_app_item_request_builder.go | 6 +- ...p_protections_item_apps_request_builder.go | 4 +- ...ctions_item_assignments_request_builder.go | 4 +- ..._policy_assignment_item_request_builder.go | 6 +- ...item_deployment_summary_request_builder.go | 6 +- ...managed_app_protections_request_builder.go | 4 +- ...licies_item_target_apps_request_builder.go | 2 +- ...managed_app_policy_item_request_builder.go | 6 +- .../managed_app_policies_request_builder.go | 4 +- ...lagged_app_registration_request_builder.go | 2 +- ...licies_item_target_apps_request_builder.go | 2 +- ...managed_app_policy_item_request_builder.go | 6 +- ...s_item_applied_policies_request_builder.go | 4 +- ...licies_item_target_apps_request_builder.go | 2 +- ...managed_app_policy_item_request_builder.go | 6 +- ..._item_intended_policies_request_builder.go | 4 +- ...aged_app_operation_item_request_builder.go | 6 +- ...rations_item_operations_request_builder.go | 4 +- ...d_app_registration_item_request_builder.go | 6 +- ...naged_app_registrations_request_builder.go | 4 +- ...managed_app_status_item_request_builder.go | 6 +- .../managed_app_statuses_request_builder.go | 4 +- ...ed_e_book_category_item_request_builder.go | 6 +- ...naged_e_book_categories_request_builder.go | 4 +- ...ged_e_books_item_assign_request_builder.go | 2 +- ..._e_book_assignment_item_request_builder.go | 6 +- ..._books_item_assignments_request_builder.go | 4 +- ...ed_e_book_category_item_request_builder.go | 2 +- ...e_books_item_categories_request_builder.go | 2 +- ...vice_install_state_item_request_builder.go | 6 +- ...ooks_item_device_states_request_builder.go | 4 +- ...ks_item_install_summary_request_builder.go | 6 +- ...vice_install_state_item_request_builder.go | 6 +- ...mary_item_device_states_request_builder.go | 4 +- ...item_user_state_summary_request_builder.go | 4 +- ...tall_state_summary_item_request_builder.go | 6 +- ...oks_managed_e_book_item_request_builder.go | 6 +- .../managed_e_books_request_builder.go | 4 +- ...icies_has_payload_links_request_builder.go | 2 +- ...licies_item_assignments_request_builder.go | 4 +- ..._policy_assignment_item_request_builder.go | 6 +- ...exempt_app_locker_files_request_builder.go | 4 +- ...on_app_locker_file_item_request_builder.go | 6 +- ...tected_app_locker_files_request_builder.go | 4 +- ...on_app_locker_file_item_request_builder.go | 6 +- ..._protection_policy_item_request_builder.go | 6 +- ...ion_protection_policies_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 6 +- .../mobile_app_categories_request_builder.go | 4 +- ...figurations_item_assign_request_builder.go | 2 +- ...uration_assignment_item_request_builder.go | 6 +- ...ations_item_assignments_request_builder.go | 4 +- ...m_device_status_summary_request_builder.go | 6 +- ...tion_device_status_item_request_builder.go | 6 +- ...ns_item_device_statuses_request_builder.go | 4 +- ...tem_user_status_summary_request_builder.go | 6 +- ...ration_user_status_item_request_builder.go | 6 +- ...ions_item_user_statuses_request_builder.go | 4 +- ..._app_configuration_item_request_builder.go | 6 +- ...bile_app_configurations_request_builder.go | 4 +- ...ph_android_for_work_app_request_builder.go | 2 +- ...s_graph_android_lob_app_request_builder.go | 2 +- ...droid_managed_store_app_request_builder.go | 2 +- ...graph_android_store_app_request_builder.go | 2 +- ..._apps_graph_ios_lob_app_request_builder.go | 2 +- ...pps_graph_ios_store_app_request_builder.go | 2 +- ..._apps_graph_ios_vpp_app_request_builder.go | 2 +- ...s_graph_mac_o_s_dmg_app_request_builder.go | 2 +- ...s_graph_mac_o_s_lob_app_request_builder.go | 2 +- ...s_graph_mac_o_s_pkg_app_request_builder.go | 2 +- ...managed_android_lob_app_request_builder.go | 2 +- ...h_managed_i_o_s_lob_app_request_builder.go | 2 +- ..._managed_mobile_lob_app_request_builder.go | 2 +- ..._store_for_business_app_request_builder.go | 2 +- ...pps_graph_win32_lob_app_request_builder.go | 2 +- ..._apps_graph_win_get_app_request_builder.go | 2 +- ...pps_graph_windows_app_x_request_builder.go | 2 +- ...ph_windows_mobile_m_s_i_request_builder.go | 2 +- ...graph_windows_store_app_request_builder.go | 2 +- ...windows_universal_app_x_request_builder.go | 2 +- ...s_graph_windows_web_app_request_builder.go | 2 +- ..._apps_has_payload_links_request_builder.go | 2 +- ...mobile_apps_item_assign_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...e_apps_item_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...le_apps_item_categories_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...or_work_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...for_work_app_categories_request_builder.go | 2 +- ...e_app_relationship_item_request_builder.go | 6 +- ..._work_app_relationships_request_builder.go | 4 +- ...ph_android_for_work_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...oid_lob_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...roid_lob_app_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...d_lob_app_relationships_request_builder.go | 4 +- ...m_graph_android_lob_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...d_store_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...ed_store_app_categories_request_builder.go | 2 +- ...e_app_relationship_item_request_builder.go | 6 +- ...store_app_relationships_request_builder.go | 4 +- ...droid_managed_store_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...d_store_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...id_store_app_categories_request_builder.go | 2 +- ...e_app_relationship_item_request_builder.go | 6 +- ...store_app_relationships_request_builder.go | 4 +- ...graph_android_store_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...ios_lob_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ..._ios_lob_app_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_lob_app_relationships_request_builder.go | 4 +- ..._item_graph_ios_lob_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...s_store_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...os_store_app_categories_request_builder.go | 2 +- ...e_app_relationship_item_request_builder.go | 6 +- ...store_app_relationships_request_builder.go | 4 +- ...tem_graph_ios_store_app_request_builder.go | 2 +- ...p_assigned_license_item_request_builder.go | 6 +- ...p_app_assigned_licenses_request_builder.go | 4 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...ios_vpp_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ..._ios_vpp_app_categories_request_builder.go | 2 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_vpp_app_relationships_request_builder.go | 4 +- ..._item_graph_ios_vpp_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...o_s_dmg_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ..._o_s_dmg_app_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ...mg_app_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_dmg_app_relationships_request_builder.go | 4 +- ...m_graph_mac_o_s_dmg_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...o_s_lob_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ..._o_s_lob_app_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_lob_app_relationships_request_builder.go | 4 +- ...m_graph_mac_o_s_lob_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...o_s_pkg_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ..._o_s_pkg_app_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ...kg_app_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_pkg_app_relationships_request_builder.go | 4 +- ...m_graph_mac_o_s_pkg_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...oid_lob_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...roid_lob_app_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...d_lob_app_relationships_request_builder.go | 4 +- ...managed_android_lob_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...o_s_lob_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ..._o_s_lob_app_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_lob_app_relationships_request_builder.go | 4 +- ...h_managed_i_o_s_lob_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...ile_lob_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...bile_lob_app_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...e_lob_app_relationships_request_builder.go | 4 +- ..._managed_mobile_lob_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...usiness_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...business_app_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ness_app_contained_apps_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...iness_app_relationships_request_builder.go | 4 +- ..._store_for_business_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...n32_lob_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...in32_lob_app_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ...ob_app_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...2_lob_app_relationships_request_builder.go | 4 +- ...tem_graph_win32_lob_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...win_get_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ..._win_get_app_categories_request_builder.go | 2 +- ...e_app_relationship_item_request_builder.go | 6 +- ...n_get_app_relationships_request_builder.go | 4 +- ..._item_graph_win_get_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...ndows_app_x_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...indows_app_x_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ..._app_x_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...ows_app_x_relationships_request_builder.go | 4 +- ...tem_graph_windows_app_x_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...obile_m_s_i_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...mobile_m_s_i_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ..._m_s_i_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...ile_m_s_i_relationships_request_builder.go | 4 +- ...ph_windows_mobile_m_s_i_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...s_store_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...ws_store_app_categories_request_builder.go | 2 +- ...e_app_relationship_item_request_builder.go | 6 +- ...store_app_relationships_request_builder.go | 4 +- ...graph_windows_store_app_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...ersal_app_x_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...versal_app_x_categories_request_builder.go | 2 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ommitted_contained_apps_request_builder.go | 4 +- ...bile_contained_app_item_request_builder.go | 6 +- ...ons_item_contained_apps_request_builder.go | 4 +- ..._item_files_item_commit_request_builder.go | 2 +- ...files_item_renew_upload_request_builder.go | 2 +- ...e_app_content_file_item_request_builder.go | 6 +- ...ent_versions_item_files_request_builder.go | 4 +- ...mobile_app_content_item_request_builder.go | 6 +- ..._app_x_content_versions_request_builder.go | 4 +- ...e_app_relationship_item_request_builder.go | 6 +- ...sal_app_x_relationships_request_builder.go | 4 +- ...windows_universal_app_x_request_builder.go | 2 +- ...ile_app_assignment_item_request_builder.go | 6 +- ...ows_web_app_assignments_request_builder.go | 4 +- ...obile_app_category_item_request_builder.go | 2 +- ...dows_web_app_categories_request_builder.go | 2 +- ...e_app_relationship_item_request_builder.go | 6 +- ...s_web_app_relationships_request_builder.go | 4 +- ...m_graph_windows_web_app_request_builder.go | 2 +- ...e_app_relationship_item_request_builder.go | 6 +- ...apps_item_relationships_request_builder.go | 4 +- ...em_update_relationships_request_builder.go | 2 +- ...le_apps_mobile_app_item_request_builder.go | 6 +- .../mobile_apps_request_builder.go | 4 +- ...obile_apps_validate_xml_request_builder.go | 2 +- ...cy_sets_get_policy_sets_request_builder.go | 2 +- ...icy_set_assignment_item_request_builder.go | 6 +- ...y_sets_item_assignments_request_builder.go | 4 +- ...ms_policy_set_item_item_request_builder.go | 6 +- .../policy_sets_item_items_request_builder.go | 4 +- ...policy_sets_item_update_request_builder.go | 2 +- ...cy_sets_policy_set_item_request_builder.go | 6 +- .../policy_sets_request_builder.go | 4 +- ...ode_signing_certificate_request_builder.go | 6 +- ...store_for_business_apps_request_builder.go | 2 +- ...tions_has_payload_links_request_builder.go | 2 +- ...managed_mobile_app_item_request_builder.go | 6 +- ...onfigurations_item_apps_request_builder.go | 4 +- ...figurations_item_assign_request_builder.go | 2 +- ...ations_item_assignments_request_builder.go | 4 +- ..._policy_assignment_item_request_builder.go | 6 +- ...ns_item_change_settings_request_builder.go | 2 +- ...item_deployment_summary_request_builder.go | 6 +- ...figuration_setting_item_request_builder.go | 6 +- ...setting_definition_item_request_builder.go | 2 +- ...tem_setting_definitions_request_builder.go | 2 +- ...gurations_item_settings_request_builder.go | 4 +- ...ations_item_target_apps_request_builder.go | 2 +- ...aged_app_configurations_request_builder.go | 4 +- ..._app_configuration_item_request_builder.go | 6 +- ..._for_app_with_bundle_id_request_builder.go | 2 +- ...ns_item_revoke_licenses_request_builder.go | 2 +- ...kens_item_sync_licenses_request_builder.go | 2 +- .../vpp_tokens_request_builder.go | 4 +- ...ens_sync_license_counts_request_builder.go | 2 +- ...p_tokens_vpp_token_item_request_builder.go | 6 +- ...al_policies_item_assign_request_builder.go | 2 +- ...licies_item_assignments_request_builder.go | 4 +- ..._policy_assignment_item_request_builder.go | 6 +- ...ies_item_deploy_summary_request_builder.go | 6 +- ...ce_statuses_item_policy_request_builder.go | 2 +- ...es_item_device_statuses_request_builder.go | 4 +- ..._deployment_status_item_request_builder.go | 6 +- ...c_supplemental_policies_request_builder.go | 4 +- ...upplemental_policy_item_request_builder.go | 6 +- ...registrations_item_wipe_request_builder.go | 2 +- ...on_device_registrations_request_builder.go | 4 +- ...evice_registration_item_request_builder.go | 6 +- ...licies_item_assignments_request_builder.go | 4 +- ..._policy_assignment_item_request_builder.go | 6 +- ...exempt_app_locker_files_request_builder.go | 4 +- ...on_app_locker_file_item_request_builder.go | 6 +- ...tected_app_locker_files_request_builder.go | 4 +- ...on_app_locker_file_item_request_builder.go | 6 +- ...ion_protection_policies_request_builder.go | 4 +- ..._protection_policy_item_request_builder.go | 6 +- ...protection_wipe_actions_request_builder.go | 4 +- ...ection_wipe_action_item_request_builder.go | 6 +- ...managed_mobile_app_item_request_builder.go | 6 +- ...p_protections_item_apps_request_builder.go | 4 +- ...protections_item_assign_request_builder.go | 2 +- ...ctions_item_assignments_request_builder.go | 4 +- ..._policy_assignment_item_request_builder.go | 6 +- ...ctions_item_target_apps_request_builder.go | 2 +- ...managed_app_protections_request_builder.go | 4 +- ...ged_app_protection_item_request_builder.go | 6 +- .../windows_management_app_request_builder.go | 2 +- ...al_credential_info_item_request_builder.go | 6 +- ...evice_local_credentials_request_builder.go | 4 +- ...vice_setting_state_item_request_builder.go | 6 +- ...g_device_setting_states_request_builder.go | 4 +- ...nboarding_state_summary_request_builder.go | 6 +- ...enrollment_profile_item_request_builder.go | 6 +- ...files_item_create_token_request_builder.go | 2 +- ...files_item_revoke_token_request_builder.go | 2 +- ...ner_enrollment_profiles_request_builder.go | 4 +- ...nfiguration_schema_item_request_builder.go | 6 +- ...p_configuration_schemas_request_builder.go | 4 +- ...enrollment_profile_item_request_builder.go | 6 +- ...files_item_create_token_request_builder.go | 2 +- ...files_item_revoke_token_request_builder.go | 2 +- ...ork_enrollment_profiles_request_builder.go | 4 +- ...ettings_complete_signup_request_builder.go | 2 +- ...droid_for_work_settings_request_builder.go | 6 +- ...ings_request_signup_url_request_builder.go | 2 +- ...work_settings_sync_apps_request_builder.go | 2 +- ...or_work_settings_unbind_request_builder.go | 2 +- ...prise_settings_add_apps_request_builder.go | 2 +- ...e_settings_approve_apps_request_builder.go | 2 +- ...ettings_complete_signup_request_builder.go | 2 +- ...e_google_play_web_token_request_builder.go | 2 +- ...unt_enterprise_settings_request_builder.go | 6 +- ...ings_request_signup_url_request_builder.go | 2 +- ...anaged_enrollment_state_request_builder.go | 2 +- ...rise_settings_sync_apps_request_builder.go | 2 +- ...erprise_settings_unbind_request_builder.go | 2 +- ...nfiguration_schema_item_request_builder.go | 6 +- ...p_configuration_schemas_request_builder.go | 4 +- ...ificate_signing_request_request_builder.go | 2 +- ...ificate_signing_request_request_builder.go | 2 +- ...otification_certificate_request_builder.go | 6 +- ...enrollment_profile_item_request_builder.go | 6 +- ...profile_assignment_item_request_builder.go | 6 +- ...ofiles_item_assignments_request_builder.go | 4 +- ...files_item_set_priority_request_builder.go | 2 +- ...ted_enrollment_profiles_request_builder.go | 4 +- ..._assignment_filter_item_request_builder.go | 6 +- ...signment_filters_enable_request_builder.go | 2 +- ...roperties_with_platform_request_builder.go | 2 +- ...nment_filters_get_state_request_builder.go | 2 +- ...et_supported_properties_request_builder.go | 2 +- .../assignment_filters_request_builder.go | 4 +- ...filters_validate_filter_request_builder.go | 2 +- ...events_audit_event_item_request_builder.go | 6 +- ...ity_types_with_category_request_builder.go | 2 +- ...ts_get_audit_categories_request_builder.go | 2 +- .../audit_events_request_builder.go | 4 +- ...nt_autopilot_event_item_request_builder.go | 6 +- ...licy_status_detail_item_request_builder.go | 6 +- ...m_policy_status_details_request_builder.go | 4 +- .../autopilot_events_request_builder.go | 4 +- ..._class_association_item_request_builder.go | 6 +- ...t_to_class_associations_request_builder.go | 4 +- ...t_setting_category_item_request_builder.go | 6 +- ...setting_definition_item_request_builder.go | 6 +- ...tem_setting_definitions_request_builder.go | 4 +- .../categories_request_builder.go | 4 +- ..._connector_details_item_request_builder.go | 6 +- ...alth_metric_time_series_request_builder.go | 2 +- ...item_get_health_metrics_request_builder.go | 2 +- ...icate_connector_details_request_builder.go | 4 +- ...nboarding_settings_item_request_builder.go | 6 +- ...arding_settings_connect_request_builder.go | 2 +- ...ing_settings_disconnect_request_builder.go | 2 +- ...o_s_onboarding_settings_request_builder.go | 4 +- ...connectivity_issue_item_request_builder.go | 6 +- ...p_c_connectivity_issues_request_builder.go | 4 +- ...pp_diagnostics_with_upn_request_builder.go | 2 +- ...lk_reprovision_cloud_pc_request_builder.go | 2 +- ...s_bulk_restore_cloud_pc_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...ownload_app_diagnostics_request_builder.go | 2 +- ..._devices_execute_action_request_builder.go | 2 +- ...em_activate_device_esim_request_builder.go | 2 +- ...ion_status_details_item_request_builder.go | 6 +- ...aluation_status_details_request_builder.go | 4 +- ..._bypass_activation_lock_request_builder.go | 2 +- ...em_clean_windows_device_request_builder.go | 2 +- ..._log_collection_request_request_builder.go | 2 +- ...rom_shared_apple_device_request_builder.go | 2 +- ...evices_item_deprovision_request_builder.go | 2 +- ..._apps_detected_app_item_request_builder.go | 2 +- ...ices_item_detected_apps_request_builder.go | 2 +- ...es_item_device_category_request_builder.go | 6 +- ...iance_policy_state_item_request_builder.go | 6 +- ...ompliance_policy_states_request_builder.go | 4 +- ...onfiguration_state_item_request_builder.go | 6 +- ...ce_configuration_states_request_builder.go | 4 +- ...ce_health_script_states_request_builder.go | 4 +- ...olicy_id_with_device_id_request_builder.go | 6 +- ..._item_disable_lost_mode_request_builder.go | 2 +- ...ed_devices_item_disable_request_builder.go | 2 +- ...s_item_enable_lost_mode_request_builder.go | 2 +- ..._item_enroll_now_action_request_builder.go | 2 +- ...c_remote_action_results_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...item_get_file_vault_key_request_builder.go | 2 +- ..._non_compliant_settings_request_builder.go | 2 +- ...management_key_recovery_request_builder.go | 2 +- ...d_proactive_remediation_request_builder.go | 2 +- ...ices_item_locate_device_request_builder.go | 2 +- ...ollection_response_item_request_builder.go | 6 +- ...tem_create_download_url_request_builder.go | 2 +- ...log_collection_requests_request_builder.go | 4 +- ...pple_device_active_user_request_builder.go | 2 +- ...onfiguration_state_item_request_builder.go | 6 +- ...pp_configuration_states_request_builder.go | 4 +- ...erride_compliance_state_request_builder.go | 2 +- ...e_configuration_refresh_request_builder.go | 2 +- ...em_play_lost_mode_sound_request_builder.go | 2 +- ...devices_item_reboot_now_request_builder.go | 2 +- ...s_item_recover_passcode_request_builder.go | 2 +- ...d_devices_item_reenable_request_builder.go | 2 +- ...evices_item_remote_lock_request_builder.go | 2 +- ...on_interface_management_request_builder.go | 2 +- ...em_reprovision_cloud_pc_request_builder.go | 2 +- ...quest_remote_assistance_request_builder.go | 2 +- ...ces_item_reset_passcode_request_builder.go | 2 +- ...es_item_resize_cloud_pc_request_builder.go | 2 +- ...s_item_restore_cloud_pc_request_builder.go | 2 +- ...ged_devices_item_retire_request_builder.go | 2 +- ...voke_apple_vpp_licenses_request_builder.go | 2 +- ..._rotate_bit_locker_keys_request_builder.go | 2 +- ...m_rotate_file_vault_key_request_builder.go | 2 +- ...te_local_admin_password_request_builder.go | 2 +- ...tes_item_setting_states_request_builder.go | 4 +- ...line_setting_state_item_request_builder.go | 6 +- ...ecurity_baseline_states_request_builder.go | 4 +- ...ity_baseline_state_item_request_builder.go | 6 +- ...ation_to_company_portal_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...es_item_set_device_name_request_builder.go | 2 +- ..._devices_item_shut_down_request_builder.go | 2 +- ...evices_item_sync_device_request_builder.go | 2 +- ...guration_manager_action_request_builder.go | 2 +- ..._windows_device_account_request_builder.go | 2 +- ...aged_devices_item_users_request_builder.go | 2 +- ...m_windows_defender_scan_request_builder.go | 2 +- ...ender_update_signatures_request_builder.go | 2 +- ..._detected_malware_state_request_builder.go | 4 +- ...vice_malware_state_item_request_builder.go | 6 +- ...indows_protection_state_request_builder.go | 6 +- ...naged_devices_item_wipe_request_builder.go | 2 +- ...ces_managed_device_item_request_builder.go | 6 +- ...ces_move_devices_to_o_u_request_builder.go | 2 +- .../comanaged_devices_request_builder.go | 4 +- ...nt_eligible_device_item_request_builder.go | 6 +- ...gement_eligible_devices_request_builder.go | 4 +- ...iguration_category_item_request_builder.go | 6 +- .../compliance_categories_request_builder.go | 4 +- ...management_partner_item_request_builder.go | 6 +- ...nce_management_partners_request_builder.go | 4 +- ..._compliance_policy_item_request_builder.go | 6 +- ...ce_policies_item_assign_request_builder.go | 2 +- ..._policy_assignment_item_request_builder.go | 6 +- ...licies_item_assignments_request_builder.go | 4 +- ...ed_action_for_rule_item_request_builder.go | 6 +- ...liance_action_item_item_request_builder.go | 6 +- ...d_action_configurations_request_builder.go | 4 +- ...eduled_actions_for_rule_request_builder.go | 4 +- ...m_set_scheduled_actions_request_builder.go | 2 +- ...figuration_setting_item_request_builder.go | 6 +- ...setting_definition_item_request_builder.go | 2 +- ...tem_setting_definitions_request_builder.go | 2 +- ..._policies_item_settings_request_builder.go | 4 +- .../compliance_policies_request_builder.go | 4 +- ...setting_definition_item_request_builder.go | 6 +- .../compliance_settings_request_builder.go | 4 +- ...itional_access_settings_request_builder.go | 6 +- ...manager_collection_item_request_builder.go | 6 +- ..._summary_with_policy_id_request_builder.go | 2 +- ...fig_manager_collections_request_builder.go | 4 +- ...iguration_category_item_request_builder.go | 6 +- ...onfiguration_categories_request_builder.go | 4 +- ...nfiguration_policy_item_request_builder.go | 6 +- ...on_policies_item_assign_request_builder.go | 2 +- ..._policy_assignment_item_request_builder.go | 6 +- ...licies_item_assignments_request_builder.go | 4 +- ...licies_item_create_copy_request_builder.go | 2 +- ...n_policies_item_reorder_request_builder.go | 2 +- ...default_baseline_policy_request_builder.go | 2 +- ...figuration_setting_item_request_builder.go | 6 +- ...setting_definition_item_request_builder.go | 2 +- ...tem_setting_definitions_request_builder.go | 2 +- ..._policies_item_settings_request_builder.go | 4 +- .../configuration_policies_request_builder.go | 4 +- ...on_policy_template_item_request_builder.go | 6 +- ...n_setting_template_item_request_builder.go | 6 +- ...setting_definition_item_request_builder.go | 6 +- ...tem_setting_definitions_request_builder.go | 4 +- ..._item_setting_templates_request_builder.go | 4 +- ...ration_policy_templates_request_builder.go | 4 +- ...setting_definition_item_request_builder.go | 6 +- .../configuration_settings_request_builder.go | 4 +- ...ta_sharing_consent_item_request_builder.go | 6 +- ...consent_to_data_sharing_request_builder.go | 2 +- .../data_sharing_consents_request_builder.go | 4 +- ...onboarding_setting_item_request_builder.go | 6 +- ...piring_before_date_time_request_builder.go | 2 +- ..._ios_enrollment_profile_request_builder.go | 2 +- ...c_os_enrollment_profile_request_builder.go | 2 +- ...enrollment_profile_item_request_builder.go | 6 +- ...em_export_mobile_config_request_builder.go | 2 +- ...tem_set_default_profile_request_builder.go | 2 +- ...vice_profile_assignment_request_builder.go | 2 +- ...tem_enrollment_profiles_request_builder.go | 4 +- ...e_encryption_public_key_request_builder.go | 2 +- ...t_encryption_public_key_request_builder.go | 2 +- ...le_device_identity_list_request_builder.go | 2 +- ...le_device_identity_item_request_builder.go | 6 +- ...apple_device_identities_request_builder.go | 4 +- ...chool_data_sync_service_request_builder.go | 2 +- ...vice_enrollment_program_request_builder.go | 2 +- ...chool_data_sync_service_request_builder.go | 2 +- ...s_item_upload_dep_token_request_builder.go | 2 +- ...dep_onboarding_settings_request_builder.go | 4 +- ...redential_settings_item_request_builder.go | 6 +- .../derived_credentials_request_builder.go | 4 +- ..._apps_detected_app_item_request_builder.go | 6 +- ...ces_managed_device_item_request_builder.go | 2 +- ...ps_item_managed_devices_request_builder.go | 2 +- .../detected_apps_request_builder.go | 4 +- ...es_device_category_item_request_builder.go | 6 +- .../device_categories_request_builder.go | 4 +- ..._compliance_policy_item_request_builder.go | 6 +- ...ces_scheduled_to_retire_request_builder.go | 2 +- ...liant_devices_to_retire_request_builder.go | 2 +- ...icies_has_payload_links_request_builder.go | 2 +- ...ce_policies_item_assign_request_builder.go | 2 +- ..._policy_assignment_item_request_builder.go | 6 +- ...licies_item_assignments_request_builder.go | 4 +- ...setting_state_summaries_request_builder.go | 4 +- ...ate_device_summary_item_request_builder.go | 6 +- ..._device_status_overview_request_builder.go | 6 +- ...ance_device_status_item_request_builder.go | 6 +- ...es_item_device_statuses_request_builder.go | 4 +- ...edule_actions_for_rules_request_builder.go | 2 +- ...ed_action_for_rule_item_request_builder.go | 6 +- ...liance_action_item_item_request_builder.go | 6 +- ...d_action_configurations_request_builder.go | 4 +- ...eduled_actions_for_rule_request_builder.go | 4 +- ...em_user_status_overview_request_builder.go | 6 +- ...liance_user_status_item_request_builder.go | 6 +- ...cies_item_user_statuses_request_builder.go | 4 +- ...ce_report_summarization_request_builder.go | 2 +- ...ice_compliance_policies_request_builder.go | 4 +- ..._scheduled_retire_state_request_builder.go | 2 +- ...idate_compliance_script_request_builder.go | 2 +- ...cy_device_state_summary_request_builder.go | 6 +- ...ting_state_summary_item_request_builder.go | 6 +- ...ance_setting_state_item_request_builder.go | 6 +- ...mpliance_setting_states_request_builder.go | 4 +- ...setting_state_summaries_request_builder.go | 4 +- ..._compliance_script_item_request_builder.go | 6 +- ...nce_scripts_item_assign_request_builder.go | 2 +- ..._script_assignment_item_request_builder.go | 6 +- ...cripts_item_assignments_request_builder.go | 4 +- ...cript_device_state_item_request_builder.go | 6 +- ...tes_item_managed_device_request_builder.go | 2 +- ..._item_device_run_states_request_builder.go | 4 +- ...cripts_item_run_summary_request_builder.go | 6 +- ...vice_compliance_scripts_request_builder.go | 4 +- ...n_conflict_summary_item_request_builder.go | 6 +- ...ration_conflict_summary_request_builder.go | 4 +- ..._device_state_summaries_request_builder.go | 6 +- ...tricted_apps_violations_request_builder.go | 4 +- ...ted_apps_violation_item_request_builder.go | 6 +- ...on_user_state_summaries_request_builder.go | 6 +- ..._certificate_state_item_request_builder.go | 6 +- ...vice_certificate_states_request_builder.go | 4 +- ...vice_configuration_item_request_builder.go | 6 +- ...ailable_update_versions_request_builder.go | 2 +- ...geted_users_and_devices_request_builder.go | 2 +- ...tions_has_payload_links_request_builder.go | 2 +- ...figurations_item_assign_request_builder.go | 2 +- ...ess_multi_mode_profiles_request_builder.go | 2 +- ...uration_assignment_item_request_builder.go | 6 +- ...ations_item_assignments_request_builder.go | 4 +- ...setting_state_summaries_request_builder.go | 4 +- ...ate_device_summary_item_request_builder.go | 6 +- ..._device_status_overview_request_builder.go | 6 +- ...tion_device_status_item_request_builder.go | 6 +- ...ns_item_device_statuses_request_builder.go | 4 +- ...cret_reference_value_id_request_builder.go | 2 +- ...n_group_assignment_item_request_builder.go | 6 +- ...em_device_configuration_request_builder.go | 2 +- ..._item_group_assignments_request_builder.go | 4 +- ...em_user_status_overview_request_builder.go | 6 +- ...ration_user_status_item_request_builder.go | 6 +- ...ions_item_user_statuses_request_builder.go | 4 +- ...privacy_access_controls_request_builder.go | 2 +- .../device_configurations_request_builder.go | 4 +- ...ibute_shell_script_item_request_builder.go | 6 +- ...ell_scripts_item_assign_request_builder.go | 2 +- ..._script_assignment_item_request_builder.go | 6 +- ...cripts_item_assignments_request_builder.go | 4 +- ...cript_device_state_item_request_builder.go | 6 +- ...tes_item_managed_device_request_builder.go | 2 +- ..._item_device_run_states_request_builder.go | 4 +- ...t_group_assignment_item_request_builder.go | 6 +- ..._item_group_assignments_request_builder.go | 4 +- ...cripts_item_run_summary_request_builder.go | 2 +- ..._script_user_state_item_request_builder.go | 6 +- ...cript_device_state_item_request_builder.go | 6 +- ...tes_item_managed_device_request_builder.go | 2 +- ..._item_device_run_states_request_builder.go | 4 +- ...ts_item_user_run_states_request_builder.go | 4 +- ...attribute_shell_scripts_request_builder.go | 4 +- ...ification_configuration_request_builder.go | 2 +- ...ment_configuration_item_request_builder.go | 6 +- ...tions_has_payload_links_request_builder.go | 2 +- ...figurations_item_assign_request_builder.go | 2 +- ...uration_assignment_item_request_builder.go | 6 +- ...ations_item_assignments_request_builder.go | 4 +- ...tions_item_set_priority_request_builder.go | 2 +- ...rollment_configurations_request_builder.go | 4 +- ...lobal_scripts_available_request_builder.go | 2 +- ...vice_health_script_item_request_builder.go | 6 +- ...s_enable_global_scripts_request_builder.go | 2 +- ...get_remediation_summary_request_builder.go | 2 +- ...lth_scripts_item_assign_request_builder.go | 2 +- ..._script_assignment_item_request_builder.go | 6 +- ...cripts_item_assignments_request_builder.go | 4 +- ...cript_device_state_item_request_builder.go | 6 +- ...tes_item_managed_device_request_builder.go | 2 +- ..._item_device_run_states_request_builder.go | 4 +- ...ghest_available_version_request_builder.go | 2 +- ...get_remediation_history_request_builder.go | 2 +- ...cripts_item_run_summary_request_builder.go | 6 +- ...em_update_global_script_request_builder.go | 2 +- .../device_health_scripts_request_builder.go | 4 +- ...management_partner_item_request_builder.go | 6 +- ...partners_item_terminate_request_builder.go | 2 +- ...ice_management_partners_request_builder.go | 4 +- .../device_management_request_builder.go | 4 +- ..._management_script_item_request_builder.go | 6 +- ...ripts_has_payload_links_request_builder.go | 2 +- ...ent_scripts_item_assign_request_builder.go | 2 +- ..._script_assignment_item_request_builder.go | 6 +- ...cripts_item_assignments_request_builder.go | 4 +- ...cript_device_state_item_request_builder.go | 6 +- ...tes_item_managed_device_request_builder.go | 2 +- ..._item_device_run_states_request_builder.go | 4 +- ...t_group_assignment_item_request_builder.go | 6 +- ..._item_group_assignments_request_builder.go | 4 +- ...cripts_item_run_summary_request_builder.go | 2 +- ..._script_user_state_item_request_builder.go | 6 +- ...cript_device_state_item_request_builder.go | 6 +- ...tes_item_managed_device_request_builder.go | 2 +- ..._item_device_run_states_request_builder.go | 4 +- ...ts_item_user_run_states_request_builder.go | 4 +- ...vice_management_scripts_request_builder.go | 4 +- ...evice_shell_script_item_request_builder.go | 6 +- ...ell_scripts_item_assign_request_builder.go | 2 +- ..._script_assignment_item_request_builder.go | 6 +- ...cripts_item_assignments_request_builder.go | 4 +- ...cript_device_state_item_request_builder.go | 6 +- ...tes_item_managed_device_request_builder.go | 2 +- ..._item_device_run_states_request_builder.go | 4 +- ...t_group_assignment_item_request_builder.go | 6 +- ..._item_group_assignments_request_builder.go | 4 +- ...cripts_item_run_summary_request_builder.go | 2 +- ..._script_user_state_item_request_builder.go | 6 +- ...cript_device_state_item_request_builder.go | 6 +- ...tes_item_managed_device_request_builder.go | 2 +- ..._item_device_run_states_request_builder.go | 4 +- ...ts_item_user_run_states_request_builder.go | 4 +- .../device_shell_scripts_request_builder.go | 4 +- ...ain_join_connector_item_request_builder.go | 6 +- .../domain_join_connectors_request_builder.go | 4 +- ...n_requests_item_approve_request_builder.go | 2 +- ...tion_requests_item_deny_request_builder.go | 2 +- ..._all_elevation_requests_request_builder.go | 2 +- ..._elevation_request_item_request_builder.go | 6 +- .../elevation_requests_request_builder.go | 4 +- ...tivation_code_pool_item_request_builder.go | 6 +- ..._code_pools_item_assign_request_builder.go | 2 +- ...de_pool_assignment_item_request_builder.go | 6 +- ..._pools_item_assignments_request_builder.go | 4 +- ...s_i_m_device_state_item_request_builder.go | 6 +- ...ools_item_device_states_request_builder.go | 4 +- ...m_activation_code_pools_request_builder.go | 4 +- ...dministrator_enrollment_request_builder.go | 2 +- ...le_legacy_pc_management_request_builder.go | 2 +- ...nlicensed_adminstrators_request_builder.go | 2 +- ...luate_assignment_filter_request_builder.go | 2 +- ...exchange_connector_item_request_builder.go | 6 +- ...ge_connectors_item_sync_request_builder.go | 2 +- .../exchange_connectors_request_builder.go | 4 +- ...on_premises_policy_item_request_builder.go | 6 +- ...itional_access_settings_request_builder.go | 6 +- ...ge_on_premises_policies_request_builder.go | 4 +- ...itional_access_settings_request_builder.go | 6 +- ...ange_on_premises_policy_request_builder.go | 6 +- ...t_assigned_role_details_request_builder.go | 2 +- ..._filters_status_details_request_builder.go | 2 +- ...managed_devices_summary_request_builder.go | 2 +- ...ligible_devices_summary_request_builder.go | 2 +- ...t_effective_permissions_request_builder.go | 2 +- ..._permissions_with_scope_request_builder.go | 2 +- ...pe_tags_by_ids_with_ids_request_builder.go | 2 +- ..._resource_with_resource_request_builder.go | 2 +- ...it_with_enrollment_type_request_builder.go | 2 +- ...up_policy_category_item_request_builder.go | 6 +- ...up_policy_category_item_request_builder.go | 2 +- ...ategories_item_children_request_builder.go | 2 +- ...es_item_definition_file_request_builder.go | 2 +- ..._policy_definition_item_request_builder.go | 2 +- ...gories_item_definitions_request_builder.go | 2 +- ..._categories_item_parent_request_builder.go | 2 +- ...group_policy_categories_request_builder.go | 4 +- ...licy_configuration_item_request_builder.go | 6 +- ...figurations_item_assign_request_builder.go | 2 +- ...uration_assignment_item_request_builder.go | 6 +- ...ations_item_assignments_request_builder.go | 4 +- ...y_definition_value_item_request_builder.go | 6 +- ..._values_item_definition_request_builder.go | 2 +- ...presentation_value_item_request_builder.go | 6 +- ...s_item_definition_value_request_builder.go | 2 +- ...alues_item_presentation_request_builder.go | 2 +- ...tem_presentation_values_request_builder.go | 4 +- ..._item_definition_values_request_builder.go | 4 +- ...pdate_definition_values_request_builder.go | 2 +- ...p_policy_configurations_request_builder.go | 4 +- ...cy_definition_file_item_request_builder.go | 6 +- ..._policy_definition_item_request_builder.go | 2 +- ..._files_item_definitions_request_builder.go | 2 +- ...policy_definition_files_request_builder.go | 4 +- ..._policy_definition_item_request_builder.go | 6 +- ...finitions_item_category_request_builder.go | 2 +- ...ns_item_definition_file_request_builder.go | 2 +- ...ion_definition_category_request_builder.go | 2 +- ...inition_definition_file_request_builder.go | 2 +- ...olicy_presentation_item_request_builder.go | 6 +- ...tations_item_definition_request_builder.go | 2 +- ...efinition_presentations_request_builder.go | 4 +- ...ion_definition_category_request_builder.go | 2 +- ...inition_definition_file_request_builder.go | 2 +- ...olicy_presentation_item_request_builder.go | 6 +- ...tations_item_definition_request_builder.go | 2 +- ...efinition_presentations_request_builder.go | 4 +- ...ious_version_definition_request_builder.go | 6 +- ...next_version_definition_request_builder.go | 6 +- ...olicy_presentation_item_request_builder.go | 6 +- ...tations_item_definition_request_builder.go | 2 +- ...ions_item_presentations_request_builder.go | 4 +- ...ion_definition_category_request_builder.go | 2 +- ...inition_definition_file_request_builder.go | 2 +- ...ion_definition_category_request_builder.go | 2 +- ...inition_definition_file_request_builder.go | 2 +- ...olicy_presentation_item_request_builder.go | 6 +- ...tations_item_definition_request_builder.go | 2 +- ...efinition_presentations_request_builder.go | 4 +- ...next_version_definition_request_builder.go | 6 +- ...olicy_presentation_item_request_builder.go | 6 +- ...tations_item_definition_request_builder.go | 2 +- ...efinition_presentations_request_builder.go | 4 +- ...ious_version_definition_request_builder.go | 6 +- ...roup_policy_definitions_request_builder.go | 4 +- ...create_migration_report_request_builder.go | 2 +- ...y_migration_report_item_request_builder.go | 6 +- ...cy_setting_mapping_item_request_builder.go | 6 +- ...policy_setting_mappings_request_builder.go | 4 +- ...group_policy_extensions_request_builder.go | 4 +- ...p_policy_extension_item_request_builder.go | 6 +- ..._item_update_scope_tags_request_builder.go | 2 +- ...olicy_migration_reports_request_builder.go | 4 +- ...policy_object_file_item_request_builder.go | 6 +- ...oup_policy_object_files_request_builder.go | 4 +- ...ed_definition_file_item_request_builder.go | 6 +- ...item_add_language_files_request_builder.go | 2 +- ..._policy_definition_item_request_builder.go | 2 +- ..._files_item_definitions_request_builder.go | 2 +- ...p_policy_operation_item_request_builder.go | 6 +- ...group_policy_operations_request_builder.go | 4 +- ...m_remove_language_files_request_builder.go | 2 +- ...ition_files_item_remove_request_builder.go | 2 +- ...m_update_language_files_request_builder.go | 2 +- ...item_upload_new_version_request_builder.go | 2 +- ...loaded_definition_files_request_builder.go | 4 +- ...rt_device_identity_list_request_builder.go | 2 +- ...ed_device_identity_item_request_builder.go | 6 +- ...orted_device_identities_request_builder.go | 4 +- ...rch_existing_identities_request_builder.go | 2 +- ...evice_identities_import_request_builder.go | 2 +- ...ot_device_identity_item_request_builder.go | 6 +- ...pilot_device_identities_request_builder.go | 4 +- ..._management_intent_item_request_builder.go | 6 +- .../intents_item_assign_request_builder.go | 2 +- ..._intent_assignment_item_request_builder.go | 6 +- ...ntents_item_assignments_request_builder.go | 4 +- ...t_setting_category_item_request_builder.go | 6 +- ...setting_definition_item_request_builder.go | 6 +- ...tem_setting_definitions_request_builder.go | 4 +- ...t_setting_instance_item_request_builder.go | 6 +- ...ategories_item_settings_request_builder.go | 4 +- ...intents_item_categories_request_builder.go | 4 +- ...ompare_with_template_id_request_builder.go | 2 +- ...ntents_item_create_copy_request_builder.go | 2 +- ...ting_state_summary_item_request_builder.go | 6 +- ...setting_state_summaries_request_builder.go | 4 +- ...em_device_state_summary_request_builder.go | 6 +- ...ntent_device_state_item_request_builder.go | 6 +- ...ents_item_device_states_request_builder.go | 4 +- ...get_customized_settings_request_builder.go | 2 +- ...tem_migrate_to_template_request_builder.go | 2 +- ...t_setting_instance_item_request_builder.go | 6 +- .../intents_item_settings_request_builder.go | 4 +- ...ts_item_update_settings_request_builder.go | 2 +- ...item_user_state_summary_request_builder.go | 6 +- ..._intent_user_state_item_request_builder.go | 6 +- ...ntents_item_user_states_request_builder.go | 4 +- devicemanagement/intents_request_builder.go | 4 +- ...e_branding_profile_item_request_builder.go | 6 +- ...ng_profiles_item_assign_request_builder.go | 2 +- ...profile_assignment_item_request_builder.go | 6 +- ...ofiles_item_assignments_request_builder.go | 4 +- ...ntune_branding_profiles_request_builder.go | 4 +- ...date_device_status_item_request_builder.go | 6 +- .../ios_update_statuses_request_builder.go | 4 +- ...date_state_summary_item_request_builder.go | 6 +- ..._update_state_summaries_request_builder.go | 4 +- ...e_category_summary_item_request_builder.go | 6 +- ...item_category_summaries_request_builder.go | 4 +- ...te_account_summary_item_request_builder.go | 6 +- ...pdate_account_summaries_request_builder.go | 4 +- ...e_encryption_state_item_request_builder.go | 6 +- ...evice_encryption_states_request_builder.go | 4 +- ...managed_device_overview_request_builder.go | 2 +- ...pp_diagnostics_with_upn_request_builder.go | 2 +- ...lk_reprovision_cloud_pc_request_builder.go | 2 +- ...s_bulk_restore_cloud_pc_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...ownload_app_diagnostics_request_builder.go | 2 +- ..._devices_execute_action_request_builder.go | 2 +- ...em_activate_device_esim_request_builder.go | 2 +- ...ion_status_details_item_request_builder.go | 6 +- ...aluation_status_details_request_builder.go | 4 +- ..._bypass_activation_lock_request_builder.go | 2 +- ...em_clean_windows_device_request_builder.go | 2 +- ..._log_collection_request_request_builder.go | 2 +- ...rom_shared_apple_device_request_builder.go | 2 +- ...evices_item_deprovision_request_builder.go | 2 +- ..._apps_detected_app_item_request_builder.go | 2 +- ...ices_item_detected_apps_request_builder.go | 2 +- ...es_item_device_category_request_builder.go | 6 +- ...iance_policy_state_item_request_builder.go | 6 +- ...ompliance_policy_states_request_builder.go | 4 +- ...onfiguration_state_item_request_builder.go | 6 +- ...ce_configuration_states_request_builder.go | 4 +- ...ce_health_script_states_request_builder.go | 4 +- ...olicy_id_with_device_id_request_builder.go | 6 +- ..._item_disable_lost_mode_request_builder.go | 2 +- ...ed_devices_item_disable_request_builder.go | 2 +- ...s_item_enable_lost_mode_request_builder.go | 2 +- ..._item_enroll_now_action_request_builder.go | 2 +- ...c_remote_action_results_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...item_get_file_vault_key_request_builder.go | 2 +- ..._non_compliant_settings_request_builder.go | 2 +- ...management_key_recovery_request_builder.go | 2 +- ...d_proactive_remediation_request_builder.go | 2 +- ...ices_item_locate_device_request_builder.go | 2 +- ...ollection_response_item_request_builder.go | 6 +- ...tem_create_download_url_request_builder.go | 2 +- ...log_collection_requests_request_builder.go | 4 +- ...pple_device_active_user_request_builder.go | 2 +- ...onfiguration_state_item_request_builder.go | 6 +- ...pp_configuration_states_request_builder.go | 4 +- ...erride_compliance_state_request_builder.go | 2 +- ...e_configuration_refresh_request_builder.go | 2 +- ...em_play_lost_mode_sound_request_builder.go | 2 +- ...devices_item_reboot_now_request_builder.go | 2 +- ...s_item_recover_passcode_request_builder.go | 2 +- ...d_devices_item_reenable_request_builder.go | 2 +- ...evices_item_remote_lock_request_builder.go | 2 +- ...on_interface_management_request_builder.go | 2 +- ...em_reprovision_cloud_pc_request_builder.go | 2 +- ...quest_remote_assistance_request_builder.go | 2 +- ...ces_item_reset_passcode_request_builder.go | 2 +- ...es_item_resize_cloud_pc_request_builder.go | 2 +- ...s_item_restore_cloud_pc_request_builder.go | 2 +- ...ged_devices_item_retire_request_builder.go | 2 +- ...voke_apple_vpp_licenses_request_builder.go | 2 +- ..._rotate_bit_locker_keys_request_builder.go | 2 +- ...m_rotate_file_vault_key_request_builder.go | 2 +- ...te_local_admin_password_request_builder.go | 2 +- ...tes_item_setting_states_request_builder.go | 4 +- ...line_setting_state_item_request_builder.go | 6 +- ...ecurity_baseline_states_request_builder.go | 4 +- ...ity_baseline_state_item_request_builder.go | 6 +- ...ation_to_company_portal_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...es_item_set_device_name_request_builder.go | 2 +- ..._devices_item_shut_down_request_builder.go | 2 +- ...evices_item_sync_device_request_builder.go | 2 +- ...guration_manager_action_request_builder.go | 2 +- ..._windows_device_account_request_builder.go | 2 +- ...aged_devices_item_users_request_builder.go | 2 +- ...m_windows_defender_scan_request_builder.go | 2 +- ...ender_update_signatures_request_builder.go | 2 +- ..._detected_malware_state_request_builder.go | 4 +- ...vice_malware_state_item_request_builder.go | 6 +- ...indows_protection_state_request_builder.go | 6 +- ...naged_devices_item_wipe_request_builder.go | 2 +- ...ces_managed_device_item_request_builder.go | 6 +- ...ces_move_devices_to_o_u_request_builder.go | 2 +- .../managed_devices_request_builder.go | 4 +- ...nnel_configuration_item_request_builder.go | 6 +- ...t_tunnel_configurations_request_builder.go | 4 +- ...l_health_threshold_item_request_builder.go | 6 +- ...unnel_health_thresholds_request_builder.go | 4 +- ...tem_create_download_url_request_builder.go | 2 +- ...m_generate_download_url_request_builder.go | 2 +- ...ollection_response_item_request_builder.go | 6 +- ...og_collection_responses_request_builder.go | 4 +- ...ft_tunnel_configuration_request_builder.go | 6 +- ..._log_collection_request_request_builder.go | 2 +- ..._log_collection_request_request_builder.go | 2 +- ...alth_metric_time_series_request_builder.go | 2 +- ...item_get_health_metrics_request_builder.go | 2 +- ...soft_tunnel_server_item_request_builder.go | 6 +- ...icrosoft_tunnel_servers_request_builder.go | 4 +- ...es_item_request_upgrade_request_builder.go | 2 +- ...rosoft_tunnel_site_item_request_builder.go | 6 +- .../microsoft_tunnel_sites_request_builder.go | 4 +- ...collection_request_item_request_builder.go | 6 +- ...tem_create_download_url_request_builder.go | 2 +- ...log_collection_requests_request_builder.go | 4 +- ...ubleshooting_event_item_request_builder.go | 6 +- ..._troubleshooting_events_request_builder.go | 4 +- ..._defense_connector_item_request_builder.go | 6 +- ...reat_defense_connectors_request_builder.go | 4 +- ...cords_alert_record_item_request_builder.go | 6 +- ...al_notification_as_sent_request_builder.go | 2 +- ...et_portal_notifications_request_builder.go | 2 +- ...onitoring_alert_records_request_builder.go | 4 +- ...t_rules_alert_rule_item_request_builder.go | 6 +- .../monitoring_alert_rules_request_builder.go | 4 +- .../monitoring_request_builder.go | 6 +- ...ors_ndes_connector_item_request_builder.go | 6 +- .../ndes_connectors_request_builder.go | 4 +- ...tification_message_item_request_builder.go | 6 +- ...d_notification_messages_request_builder.go | 4 +- ..._item_send_test_message_request_builder.go | 2 +- ...n_message_template_item_request_builder.go | 6 +- ...ation_message_templates_request_builder.go | 4 +- ...nagement_elevation_item_request_builder.go | 6 +- ...e_management_elevations_request_builder.go | 4 +- ...emote_action_audit_item_request_builder.go | 6 +- .../remote_action_audits_request_builder.go | 4 +- ...s_item_begin_onboarding_request_builder.go | 2 +- ...artners_item_disconnect_request_builder.go | 2 +- ...assistance_partner_item_request_builder.go | 6 +- ...ote_assistance_partners_request_builder.go | 4 +- ...ote_assistance_settings_request_builder.go | 6 +- ...port_configuration_item_request_builder.go | 6 +- ...d_report_configurations_request_builder.go | 4 +- ...agement_export_job_item_request_builder.go | 6 +- .../reports_export_jobs_request_builder.go | 4 +- ...t_active_malware_report_request_builder.go | 2 +- ..._malware_summary_report_request_builder.go | 2 +- ...all_certificates_report_request_builder.go | 2 +- ..._status_overview_report_request_builder.go | 2 +- ..._install_summary_report_request_builder.go | 2 +- ...ports_get_cached_report_request_builder.go | 2 +- ...get_certificates_report_request_builder.go | 2 +- ...icies_report_for_device_request_builder.go | 2 +- ...y_device_summary_report_request_builder.go | 2 +- ...e_policy_devices_report_request_builder.go | 2 +- ...y_non_compliance_report_request_builder.go | 2 +- ...mpliance_summary_report_request_builder.go | 2 +- ..._setting_details_report_request_builder.go | 2 +- ...g_non_compliance_report_request_builder.go | 2 +- ...pliance_settings_report_request_builder.go | 2 +- ...ce_policy_status_report_request_builder.go | 2 +- ...icies_report_for_device_request_builder.go | 2 +- ...y_device_summary_report_request_builder.go | 2 +- ...n_policy_devices_report_request_builder.go | 2 +- ...y_non_compliance_report_request_builder.go | 2 +- ...mpliance_summary_report_request_builder.go | 2 +- ...s_device_summary_report_request_builder.go | 2 +- ..._setting_details_report_request_builder.go | 2 +- ...g_non_compliance_report_request_builder.go | 2 +- ...uration_settings_report_request_builder.go | 2 +- ...settings_summary_report_request_builder.go | 2 +- ...n_policy_status_summary_request_builder.go | 2 +- ...e_install_status_report_request_builder.go | 2 +- ...g_contributing_profiles_request_builder.go | 2 +- ..._intent_settings_report_request_builder.go | 2 +- ...e_non_compliance_report_request_builder.go | 2 +- ...icies_compliance_report_request_builder.go | 2 +- ...tings_compliance_report_request_builder.go | 2 +- ...compliace_policy_report_request_builder.go | 2 +- ...e_policy_setting_report_request_builder.go | 2 +- ...compliace_policy_report_request_builder.go | 2 +- ..._policy_settings_report_request_builder.go | 2 +- ...tform_compliance_report_request_builder.go | 2 +- ...tatus_by_setting_report_request_builder.go | 2 +- ...ompliance_policy_report_request_builder.go | 2 +- ...tion_report_for_devices_request_builder.go | 2 +- ...tion_policies_by_device_request_builder.go | 2 +- ...iled_mobile_apps_report_request_builder.go | 2 +- ...ile_apps_summary_report_request_builder.go | 2 +- ..._device_settings_report_request_builder.go | 2 +- ...s_get_historical_report_request_builder.go | 2 +- ..._malware_summary_report_request_builder.go | 2 +- ...pp_configuration_report_request_builder.go | 2 +- ...stration_summary_report_request_builder.go | 2 +- ...ces_and_settings_report_request_builder.go | 2 +- ...non_compliance_metadata_request_builder.go | 2 +- ...y_non_compliance_report_request_builder.go | 2 +- ...mpliance_summary_report_request_builder.go | 2 +- ...icy_user_summary_report_request_builder.go | 2 +- ...ime_policy_users_report_request_builder.go | 2 +- ...ated_apps_status_report_request_builder.go | 2 +- ...istance_sessions_report_request_builder.go | 2 +- ...orts_get_report_filters_request_builder.go | 2 +- ...g_non_compliance_report_request_builder.go | 2 +- ..._defender_agents_report_request_builder.go | 2 +- ...healthy_firewall_report_request_builder.go | 2 +- ...firewall_summary_report_request_builder.go | 2 +- ...r_install_status_report_request_builder.go | 2 +- ...te_alert_summary_report_request_builder.go | 2 +- ...olicy_per_device_report_request_builder.go | 2 +- ...te_alert_summary_report_request_builder.go | 2 +- ...olicy_per_device_report_request_builder.go | 2 +- ...te_alert_summary_report_request_builder.go | 2 +- ...olicy_per_device_report_request_builder.go | 2 +- ..._fota_deployment_report_request_builder.go | 2 +- devicemanagement/reports_request_builder.go | 6 +- ...ccess_profile_base_item_request_builder.go | 6 +- ...ss_profiles_item_assign_request_builder.go | 2 +- ...profile_assignment_item_request_builder.go | 6 +- ...ofiles_item_assignments_request_builder.go | 4 +- ..._query_by_platform_type_request_builder.go | 2 +- ...esource_access_profiles_request_builder.go | 4 +- ...es_for_user_with_userid_request_builder.go | 2 +- .../resource_operations_request_builder.go | 4 +- ...resource_operation_item_request_builder.go | 6 +- ...ble_policy_setting_item_request_builder.go | 6 +- ...icy_settings_item_clone_request_builder.go | 2 +- ...nfiguration_policy_item_request_builder.go | 6 +- ...on_policies_item_assign_request_builder.go | 2 +- ..._policy_assignment_item_request_builder.go | 6 +- ...licies_item_assignments_request_builder.go | 4 +- ...licies_item_create_copy_request_builder.go | 2 +- ...n_policies_item_reorder_request_builder.go | 2 +- ...default_baseline_policy_request_builder.go | 2 +- ...figuration_setting_item_request_builder.go | 6 +- ...setting_definition_item_request_builder.go | 2 +- ...tem_setting_definitions_request_builder.go | 2 +- ..._policies_item_settings_request_builder.go | 4 +- ..._configuration_policies_request_builder.go | 4 +- ...eusable_policy_settings_request_builder.go | 4 +- ...setting_definition_item_request_builder.go | 6 +- .../reusable_settings_request_builder.go | 4 +- ...nt_role_assignment_item_request_builder.go | 6 +- ...ts_item_role_definition_request_builder.go | 2 +- ...ts_item_role_scope_tags_request_builder.go | 2 +- ...ags_role_scope_tag_item_request_builder.go | 2 +- .../role_assignments_request_builder.go | 4 +- ...ts_item_role_definition_request_builder.go | 2 +- ...s_item_role_assignments_request_builder.go | 4 +- ...ts_role_assignment_item_request_builder.go | 6 +- .../role_definitions_request_builder.go | 4 +- ...ns_role_definition_item_request_builder.go | 6 +- ...t_role_scope_tags_by_id_request_builder.go | 2 +- ...s_custom_role_scope_tag_request_builder.go | 2 +- ..._scope_tags_item_assign_request_builder.go | 2 +- ...e_tags_item_assignments_request_builder.go | 4 +- ...ag_auto_assignment_item_request_builder.go | 6 +- .../role_scope_tags_request_builder.go | 4 +- ...ags_role_scope_tag_item_request_builder.go | 6 +- ..._resource_with_resource_request_builder.go | 2 +- ...ation_to_company_portal_request_builder.go | 2 +- ...service_now_connections_request_builder.go | 4 +- ...ice_now_connection_item_request_builder.go | 6 +- ...setting_definition_item_request_builder.go | 6 +- .../setting_definitions_request_builder.go | 4 +- ...e_update_status_summary_request_builder.go | 2 +- ...nse_management_partners_request_builder.go | 4 +- ...management_partner_item_request_builder.go | 6 +- ...nsights_definition_item_request_builder.go | 6 +- .../template_insights_request_builder.go | 4 +- ...n_setting_template_item_request_builder.go | 6 +- ...setting_definition_item_request_builder.go | 6 +- ...tem_setting_definitions_request_builder.go | 4 +- .../template_settings_request_builder.go | 4 +- ...anagement_template_item_request_builder.go | 6 +- ..._configuration_policies_request_builder.go | 2 +- ...e_setting_category_item_request_builder.go | 6 +- ...t_setting_instance_item_request_builder.go | 6 +- ...em_recommended_settings_request_builder.go | 4 +- ...setting_definition_item_request_builder.go | 6 +- ...tem_setting_definitions_request_builder.go | 4 +- ...mplates_item_categories_request_builder.go | 4 +- ...ompare_with_template_id_request_builder.go | 2 +- ...es_item_create_instance_request_builder.go | 2 +- ...anagement_template_item_request_builder.go | 6 +- ..._configuration_policies_request_builder.go | 2 +- ...e_setting_category_item_request_builder.go | 6 +- ...t_setting_instance_item_request_builder.go | 6 +- ...em_recommended_settings_request_builder.go | 4 +- ...setting_definition_item_request_builder.go | 6 +- ...tem_setting_definitions_request_builder.go | 4 +- ...able_to_item_categories_request_builder.go | 4 +- ...ompare_with_template_id_request_builder.go | 2 +- ...to_item_create_instance_request_builder.go | 2 +- ...t_setting_instance_item_request_builder.go | 6 +- ...atable_to_item_settings_request_builder.go | 4 +- ...ates_item_migratable_to_request_builder.go | 4 +- ...t_setting_instance_item_request_builder.go | 6 +- ...templates_item_settings_request_builder.go | 4 +- devicemanagement/templates_request_builder.go | 4 +- ...t_attach_r_b_a_c_enable_request_builder.go | 2 +- ...ttach_r_b_a_c_get_state_request_builder.go | 2 +- .../tenant_attach_r_b_a_c_request_builder.go | 6 +- ...em_terms_and_conditions_request_builder.go | 2 +- ...tem_acceptance_statuses_request_builder.go | 4 +- ..._acceptance_status_item_request_builder.go | 6 +- ...itions_item_assignments_request_builder.go | 4 +- ...ditions_assignment_item_request_builder.go | 6 +- ...em_terms_and_conditions_request_builder.go | 2 +- ..._item_group_assignments_request_builder.go | 4 +- ...s_group_assignment_item_request_builder.go | 6 +- .../terms_and_conditions_request_builder.go | 4 +- ...rms_and_conditions_item_request_builder.go | 6 +- ...ubleshooting_event_item_request_builder.go | 6 +- .../troubleshooting_events_request_builder.go | 4 +- ...relation_group_overview_request_builder.go | 4 +- ...ion_group_overview_item_request_builder.go | 6 +- ...nalytics_anomaly_device_request_builder.go | 4 +- ...ics_anomaly_device_item_request_builder.go | 6 +- ...ience_analytics_anomaly_request_builder.go | 4 +- ..._analytics_anomaly_item_request_builder.go | 6 +- ..._by_app_version_details_request_builder.go | 4 +- ...pp_version_details_item_request_builder.go | 6 +- ...y_app_version_device_id_request_builder.go | 4 +- ..._version_device_id_item_request_builder.go | 6 +- ...formance_by_app_version_request_builder.go | 4 +- ...nce_by_app_version_item_request_builder.go | 6 +- ...formance_by_o_s_version_request_builder.go | 4 +- ...nce_by_o_s_version_item_request_builder.go | 6 +- ...application_performance_request_builder.go | 4 +- ...cation_performance_item_request_builder.go | 6 +- ...evice_model_performance_request_builder.go | 4 +- ..._model_performance_item_request_builder.go | 6 +- ...ice_performance_details_request_builder.go | 4 +- ...erformance_details_item_request_builder.go | 6 +- ...alth_device_performance_request_builder.go | 4 +- ...device_performance_item_request_builder.go | 6 +- ...o_s_version_performance_request_builder.go | 4 +- ...ersion_performance_item_request_builder.go | 6 +- ..._overview_metric_values_request_builder.go | 4 +- ...e_analytics_metric_item_request_builder.go | 6 +- ...ics_app_health_overview_request_builder.go | 6 +- ...item_app_health_metrics_request_builder.go | 2 +- ..._battery_health_metrics_request_builder.go | 2 +- ..._best_practices_metrics_request_builder.go | 2 +- ...oot_performance_metrics_request_builder.go | 2 +- ...eboot_analytics_metrics_request_builder.go | 2 +- ...rce_performance_metrics_request_builder.go | 2 +- ...k_from_anywhere_metrics_request_builder.go | 2 +- ...nce_analytics_baselines_request_builder.go | 4 +- ...analytics_baseline_item_request_builder.go | 6 +- ...ttery_health_app_impact_request_builder.go | 4 +- ..._health_app_impact_item_request_builder.go | 6 +- ...health_capacity_details_request_builder.go | 6 +- ...ealth_device_app_impact_request_builder.go | 4 +- ..._device_app_impact_item_request_builder.go | 6 +- ...alth_device_performance_request_builder.go | 4 +- ...device_performance_item_request_builder.go | 6 +- ..._device_runtime_history_request_builder.go | 4 +- ...ce_runtime_history_item_request_builder.go | 6 +- ...ealth_model_performance_request_builder.go | 4 +- ..._model_performance_item_request_builder.go | 6 +- ...y_health_os_performance_request_builder.go | 4 +- ...lth_os_performance_item_request_builder.go | 6 +- ..._health_runtime_details_request_builder.go | 6 +- ...ries_item_metric_values_request_builder.go | 4 +- ...e_analytics_metric_item_request_builder.go | 6 +- ...ce_analytics_categories_request_builder.go | 4 +- ...analytics_category_item_request_builder.go | 6 +- ...s_device_metric_history_request_builder.go | 4 +- ...ics_metric_history_item_request_builder.go | 6 +- ...tics_device_performance_request_builder.go | 4 +- ...vices_with_summarize_by_request_builder.go | 2 +- ...device_performance_item_request_builder.go | 6 +- ..._analytics_device_scope_request_builder.go | 6 +- ...ger_device_scope_action_request_builder.go | 2 +- ...ger_device_scope_action_request_builder.go | 2 +- ...analytics_device_scopes_request_builder.go | 4 +- ...ytics_device_scope_item_request_builder.go | 6 +- ...analytics_device_scores_request_builder.go | 4 +- ...tics_device_scores_item_request_builder.go | 6 +- ..._device_startup_history_request_builder.go | 4 +- ...ce_startup_history_item_request_builder.go | 6 +- ...tup_process_performance_request_builder.go | 4 +- ...rocess_performance_item_request_builder.go | 6 +- ...evice_startup_processes_request_builder.go | 4 +- ...ce_startup_process_item_request_builder.go | 6 +- ...s_device_timeline_event_request_builder.go | 4 +- ...ice_timeline_event_item_request_builder.go | 6 +- ..._without_cloud_identity_request_builder.go | 4 +- ...out_cloud_identity_item_request_builder.go | 6 +- ...ytics_impacting_process_request_builder.go | 4 +- ..._impacting_process_item_request_builder.go | 6 +- ...nalytics_metric_history_request_builder.go | 4 +- ...ics_metric_history_item_request_builder.go | 6 +- ..._analytics_model_scores_request_builder.go | 4 +- ...ytics_model_scores_item_request_builder.go | 6 +- ..._autopilot_ready_device_request_builder.go | 4 +- ...pilot_ready_device_item_request_builder.go | 6 +- ...ence_analytics_overview_request_builder.go | 6 +- ...ytics_remote_connection_request_builder.go | 4 +- ...ction_with_summarize_by_request_builder.go | 2 +- ..._remote_connection_item_request_builder.go | 6 +- ...cs_resource_performance_request_builder.go | 4 +- ...mance_with_summarize_by_request_builder.go | 2 +- ...source_performance_item_request_builder.go | 6 +- ...analytics_score_history_request_builder.go | 4 +- ...tics_score_history_item_request_builder.go | 6 +- ...k_from_anywhere_devices_request_builder.go | 2 +- ...ummarized_device_scopes_request_builder.go | 2 +- ...rdware_readiness_metric_request_builder.go | 6 +- ...ics_item_metric_devices_request_builder.go | 4 +- ...om_anywhere_device_item_request_builder.go | 6 +- ...k_from_anywhere_metrics_request_builder.go | 4 +- ...om_anywhere_metric_item_request_builder.go | 6 +- ...where_model_performance_request_builder.go | 4 +- ..._model_performance_item_request_builder.go | 6 +- .../user_pfx_certificates_request_builder.go | 4 +- ..._p_f_x_certificate_item_request_builder.go | 6 +- ...covery_with_domain_name_request_builder.go | 2 +- ...oud_pc_audit_event_item_request_builder.go | 6 +- ...et_audit_activity_types_request_builder.go | 2 +- ...l_endpoint_audit_events_request_builder.go | 4 +- ...oud_pc_bulk_action_item_request_builder.go | 6 +- ...l_endpoint_bulk_actions_request_builder.go | 4 +- ..._cloud_p_cs_bulk_resize_request_builder.go | 2 +- ...oud_p_cs_cloud_p_c_item_request_builder.go | 6 +- ...id_with_service_plan_id_request_builder.go | 2 +- ...hange_user_account_type_request_builder.go | 2 +- ...cs_item_create_snapshot_request_builder.go | 2 +- ...s_item_end_grace_period_request_builder.go | 2 +- ...pc_connectivity_history_request_builder.go | 2 +- ...et_cloud_pc_launch_info_request_builder.go | 2 +- ...e_cloud_pc_access_state_request_builder.go | 2 +- ...k_cloud_pc_access_state_request_builder.go | 2 +- ...cloud_pc_remote_actions_request_builder.go | 2 +- ...oud_p_cs_item_power_off_request_builder.go | 2 +- ...loud_p_cs_item_power_on_request_builder.go | 2 +- ..._cloud_p_cs_item_reboot_request_builder.go | 2 +- ..._cloud_p_cs_item_rename_request_builder.go | 2 +- ...d_p_cs_item_reprovision_request_builder.go | 2 +- ..._cloud_p_cs_item_resize_request_builder.go | 2 +- ...cloud_p_cs_item_restore_request_builder.go | 2 +- ...tner_agent_installation_request_builder.go | 2 +- ...t_cloud_p_cs_item_start_request_builder.go | 2 +- ...nt_cloud_p_cs_item_stop_request_builder.go | 2 +- ..._p_cs_item_troubleshoot_request_builder.go | 2 +- ...ual_endpoint_cloud_p_cs_request_builder.go | 4 +- ...cs_validate_bulk_resize_request_builder.go | 2 +- ...nt_organization_mapping_request_builder.go | 6 +- ...ud_pc_device_image_item_request_builder.go | 6 +- ...mages_get_source_images_request_builder.go | 2 +- ...ce_images_item_reupload_request_builder.go | 2 +- ..._endpoint_device_images_request_builder.go | 4 +- ...al_partner_setting_item_request_builder.go | 6 +- ...ternal_partner_settings_request_builder.go | 4 +- ..._line_service_plan_item_request_builder.go | 6 +- ...ront_line_service_plans_request_builder.go | 4 +- ...d_pc_gallery_image_item_request_builder.go | 6 +- ...endpoint_gallery_images_request_builder.go | 4 +- ...t_effective_permissions_request_builder.go | 2 +- ...remises_connection_item_request_builder.go | 6 +- ..._item_run_health_checks_request_builder.go | 2 +- ...date_ad_domain_password_request_builder.go | 2 +- ...on_premises_connections_request_builder.go | 4 +- ...t_organization_settings_request_builder.go | 6 +- ...g_policies_apply_config_request_builder.go | 2 +- ...rovisioning_policy_item_request_builder.go | 6 +- ...ing_policies_item_apply_request_builder.go | 2 +- ...ng_policies_item_assign_request_builder.go | 2 +- ..._policy_assignment_item_request_builder.go | 6 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...nts_item_assigned_users_request_builder.go | 2 +- ...ssigned_users_user_item_request_builder.go | 2 +- ...licies_item_assignments_request_builder.go | 4 +- ...t_provisioning_policies_request_builder.go | 4 +- ...loud_pc_export_job_item_request_builder.go | 6 +- ...int_reports_export_jobs_request_builder.go | 4 +- ...action_status_reports_post_request_body.go | 344 +++++++ ...t_action_status_reports_request_builder.go | 72 ++ ...ecommendation_reports_post_request_body.go | 382 +++++++ ..._recommendation_reports_request_builder.go | 72 ++ ...nection_quality_reports_request_builder.go | 2 +- ...mote_connection_reports_request_builder.go | 2 +- ...ts_get_frontline_report_request_builder.go | 2 +- ...ssible_cloud_pc_reports_request_builder.go | 2 +- ...mote_connection_reports_request_builder.go | 2 +- ...atency_with_cloud_pc_id_request_builder.go | 2 +- ...status_with_cloud_pc_id_request_builder.go | 2 +- ...tion_historical_reports_request_builder.go | 2 +- ...se_license_usage_report_request_builder.go | 2 +- ...mote_connection_reports_request_builder.go | 2 +- ...irtual_endpoint_reports_request_builder.go | 14 +- .../virtual_endpoint_request_builder.go | 14 +- ...etrieve_scoped_permissions_get_response.go | 88 ++ ...ieve_scoped_permissions_request_builder.go | 106 ++ ...nt_retrieve_scoped_permissions_response.go | 28 + ...nant_encryption_setting_request_builder.go | 69 ++ ...ud_pc_service_plan_item_request_builder.go | 6 +- ..._endpoint_service_plans_request_builder.go | 4 +- ...d_use_service_plan_item_request_builder.go | 6 +- ...hared_use_service_plans_request_builder.go | 4 +- ..._cloud_pc_snapshot_item_request_builder.go | 6 +- ...ts_with_subscription_id_request_builder.go | 2 +- ...shots_get_subscriptions_request_builder.go | 2 +- ...tual_endpoint_snapshots_request_builder.go | 4 +- ...c_supported_region_item_request_builder.go | 6 +- ...point_supported_regions_request_builder.go | 4 +- ...ud_pc_user_setting_item_request_builder.go | 6 +- ...er_settings_item_assign_request_builder.go | 2 +- ...setting_assignment_item_request_builder.go | 6 +- ...ttings_item_assignments_request_builder.go | 4 +- ..._endpoint_user_settings_request_builder.go | 4 +- ...files_has_payload_links_request_builder.go | 2 +- ...nt_profiles_item_assign_request_builder.go | 2 +- ...m_allow_next_enrollment_request_builder.go | 2 +- ...ource_account_to_device_request_builder.go | 2 +- ...m_assign_user_to_device_request_builder.go | 2 +- ...item_deployment_profile_request_builder.go | 2 +- ...nded_deployment_profile_request_builder.go | 2 +- ...rce_account_from_device_request_builder.go | 2 +- ...assign_user_from_device_request_builder.go | 2 +- ...pdate_device_properties_request_builder.go | 2 +- ...s_item_assigned_devices_request_builder.go | 4 +- ...ot_device_identity_item_request_builder.go | 6 +- ...ofiles_item_assignments_request_builder.go | 4 +- ...profile_assignment_item_request_builder.go | 6 +- ...lot_deployment_profiles_request_builder.go | 4 +- ...deployment_profile_item_request_builder.go | 6 +- ...m_allow_next_enrollment_request_builder.go | 2 +- ...ource_account_to_device_request_builder.go | 2 +- ...m_assign_user_to_device_request_builder.go | 2 +- ...item_deployment_profile_request_builder.go | 2 +- ...nded_deployment_profile_request_builder.go | 2 +- ...rce_account_from_device_request_builder.go | 2 +- ...assign_user_from_device_request_builder.go | 2 +- ...pdate_device_properties_request_builder.go | 2 +- ...pilot_device_identities_request_builder.go | 4 +- ...ot_device_identity_item_request_builder.go | 6 +- ...dows_autopilot_settings_request_builder.go | 6 +- ...autopilot_settings_sync_request_builder.go | 2 +- ...te_profiles_item_assign_request_builder.go | 2 +- ...ofiles_item_assignments_request_builder.go | 4 +- ...profile_assignment_item_request_builder.go | 6 +- ...item_driver_inventories_request_builder.go | 4 +- ...r_update_inventory_item_request_builder.go | 6 +- ...les_item_execute_action_request_builder.go | 2 +- ...les_item_sync_inventory_request_builder.go | 2 +- ..._driver_update_profiles_request_builder.go | 4 +- ...ver_update_profile_item_request_builder.go | 6 +- ...te_profiles_item_assign_request_builder.go | 2 +- ...ofiles_item_assignments_request_builder.go | 4 +- ...profile_assignment_item_request_builder.go | 6 +- ...feature_update_profiles_request_builder.go | 4 +- ...ure_update_profile_item_request_builder.go | 6 +- ..._app_learning_summaries_request_builder.go | 4 +- ...p_learning_summary_item_request_builder.go | 6 +- ...work_learning_summaries_request_builder.go | 4 +- ...k_learning_summary_item_request_builder.go | 6 +- ...for_windows_device_item_request_builder.go | 6 +- ...m_device_malware_states_request_builder.go | 4 +- ...ows_malware_information_request_builder.go | 4 +- ...alware_information_item_request_builder.go | 6 +- ...te_profiles_item_assign_request_builder.go | 2 +- ...ofiles_item_assignments_request_builder.go | 4 +- ...profile_assignment_item_request_builder.go | 6 +- ...quality_update_profiles_request_builder.go | 4 +- ...ity_update_profile_item_request_builder.go | 6 +- ...ws_update_catalog_items_request_builder.go | 4 +- ...pdate_catalog_item_item_request_builder.go | 6 +- .../zebra_fota_artifacts_request_builder.go | 4 +- ...ebra_fota_artifact_item_request_builder.go | 6 +- ...ector_approve_fota_apps_request_builder.go | 2 +- ..._fota_connector_connect_request_builder.go | 2 +- ...ta_connector_disconnect_request_builder.go | 2 +- ..._has_active_deployments_request_builder.go | 2 +- .../zebra_fota_connector_request_builder.go | 6 +- ...deployments_item_cancel_request_builder.go | 2 +- .../zebra_fota_deployments_request_builder.go | 4 +- ...ra_fota_deployment_item_request_builder.go | 6 +- devices/delta_request_builder.go | 2 +- devices/device_item_request_builder.go | 6 +- devices/devices_request_builder.go | 4 +- devices/get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- ...m_commands_command_item_request_builder.go | 6 +- ...ds_item_responsepayload_request_builder.go | 2 +- devices/item_commands_request_builder.go | 4 +- ...tensions_extension_item_request_builder.go | 6 +- devices/item_extensions_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...m_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- devices/item_member_of_request_builder.go | 2 +- ...d_owners_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...tered_owners_graph_user_request_builder.go | 2 +- ...ers_item_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ..._owners_item_graph_user_request_builder.go | 2 +- ...istered_owners_item_ref_request_builder.go | 2 +- ...m_registered_owners_ref_request_builder.go | 4 +- .../item_registered_owners_request_builder.go | 2 +- ...ed_users_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...stered_users_graph_user_request_builder.go | 2 +- ...ers_item_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...d_users_item_graph_user_request_builder.go | 2 +- ...gistered_users_item_ref_request_builder.go | 2 +- ...em_registered_users_ref_request_builder.go | 4 +- .../item_registered_users_request_builder.go | 2 +- devices/item_restore_request_builder.go | 2 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...e_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- ...em_transitive_member_of_request_builder.go | 2 +- devices/item_usage_rights_request_builder.go | 4 +- ...rights_usage_right_item_request_builder.go | 6 +- .../validate_properties_request_builder.go | 2 +- .../devices_with_device_id_request_builder.go | 6 +- ...dministrative_unit_item_request_builder.go | 6 +- ...inistrative_units_delta_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...e_units_item_extensions_request_builder.go | 4 +- ...mbers_graph_application_request_builder.go | 2 +- ...em_members_graph_device_request_builder.go | 2 +- ...tem_members_graph_group_request_builder.go | 2 +- ...mbers_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...item_members_graph_user_request_builder.go | 2 +- ..._item_graph_application_request_builder.go | 2 +- ...mbers_item_graph_device_request_builder.go | 2 +- ...embers_item_graph_group_request_builder.go | 2 +- ..._item_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...members_item_graph_user_request_builder.go | 2 +- ...s_item_members_item_ref_request_builder.go | 2 +- ..._units_item_members_ref_request_builder.go | 4 +- ...tive_units_item_members_request_builder.go | 4 +- ...tem_scoped_role_members_request_builder.go | 4 +- ...ed_role_membership_item_request_builder.go | 6 +- .../administrative_units_request_builder.go | 4 +- ...sets_attribute_set_item_request_builder.go | 6 +- directory/attribute_sets_request_builder.go | 4 +- ...tion_configuration_item_request_builder.go | 6 +- ...uthority_as_entity_item_request_builder.go | 6 +- ...certificate_authorities_request_builder.go | 4 +- ...lication_configurations_request_builder.go | 4 +- ...certificate_authorities_request_builder.go | 6 +- ...tribute_definition_item_request_builder.go | 6 +- ...lues_allowed_value_item_request_builder.go | 6 +- ...ons_item_allowed_values_request_builder.go | 4 +- ...y_attribute_definitions_request_builder.go | 4 +- ...s_directory_object_item_request_builder.go | 2 +- ...eleted_items_get_by_ids_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...items_graph_application_request_builder.go | 2 +- ...eted_items_graph_device_request_builder.go | 2 +- ...leted_items_graph_group_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...eleted_items_graph_user_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- ..._item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ..._item_graph_application_request_builder.go | 2 +- ...items_item_graph_device_request_builder.go | 2 +- ..._items_item_graph_group_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...d_items_item_graph_user_request_builder.go | 2 +- ...eted_items_item_restore_request_builder.go | 2 +- directory/deleted_items_request_builder.go | 2 +- ...ems_validate_properties_request_builder.go | 2 +- ...al_credential_info_item_request_builder.go | 6 +- ...evice_local_credentials_request_builder.go | 4 +- directory/directory_request_builder.go | 4 +- ...ure_rollout_policy_item_request_builder.go | 6 +- ...tem_applies_to_item_ref_request_builder.go | 2 +- ...ies_item_applies_to_ref_request_builder.go | 4 +- ...olicies_item_applies_to_request_builder.go | 4 +- ...eature_rollout_policies_request_builder.go | 4 +- ...vailable_provider_types_request_builder.go | 2 +- ...tity_provider_base_item_request_builder.go | 6 +- ...deration_configurations_request_builder.go | 4 +- ..._impacted_resource_item_request_builder.go | 6 +- ...resources_item_complete_request_builder.go | 2 +- ..._resources_item_dismiss_request_builder.go | 2 +- ...resources_item_postpone_request_builder.go | 2 +- ...sources_item_reactivate_request_builder.go | 2 +- .../impacted_resources_request_builder.go | 4 +- ..._user_profile_user_item_request_builder.go | 6 +- ...em_export_personal_data_request_builder.go | 2 +- ...em_remove_personal_data_request_builder.go | 2 +- ...nd_shared_user_profiles_request_builder.go | 4 +- ...ry_synchronization_item_request_builder.go | 6 +- ...remises_synchronization_request_builder.go | 4 +- ...em_remove_personal_data_request_builder.go | 2 +- ...r_profiles_item_tenants_request_builder.go | 4 +- ...t_reference_tenant_item_request_builder.go | 6 +- ..._user_profile_user_item_request_builder.go | 6 +- ...nd_shared_user_profiles_request_builder.go | 4 +- ...endations_item_complete_request_builder.go | 2 +- ...mendations_item_dismiss_request_builder.go | 2 +- ..._impacted_resource_item_request_builder.go | 6 +- ...resources_item_complete_request_builder.go | 2 +- ..._resources_item_dismiss_request_builder.go | 2 +- ...resources_item_postpone_request_builder.go | 2 +- ...sources_item_reactivate_request_builder.go | 2 +- ...item_impacted_resources_request_builder.go | 4 +- ...endations_item_postpone_request_builder.go | 2 +- ...dations_item_reactivate_request_builder.go | 2 +- ...ons_recommendation_item_request_builder.go | 6 +- directory/recommendations_request_builder.go | 4 +- .../shared_email_domains_request_builder.go | 4 +- ...hared_email_domain_item_request_builder.go | 6 +- ...mpany_subscription_item_request_builder.go | 6 +- directory/subscriptions_request_builder.go | 4 +- directoryobjects/delta_request_builder.go | 2 +- .../directory_object_item_request_builder.go | 6 +- .../directory_objects_request_builder.go | 4 +- .../get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- .../item_restore_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- directoryroles/delta_request_builder.go | 2 +- .../directory_role_item_request_builder.go | 6 +- .../directory_roles_request_builder.go | 4 +- directoryroles/get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- ...mbers_graph_application_request_builder.go | 2 +- ...em_members_graph_device_request_builder.go | 2 +- ...tem_members_graph_group_request_builder.go | 2 +- ...mbers_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...item_members_graph_user_request_builder.go | 2 +- ..._item_graph_application_request_builder.go | 2 +- ...mbers_item_graph_device_request_builder.go | 2 +- ...embers_item_graph_group_request_builder.go | 2 +- ..._item_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...members_item_graph_user_request_builder.go | 2 +- .../item_members_item_ref_request_builder.go | 2 +- .../item_members_ref_request_builder.go | 4 +- .../item_members_request_builder.go | 2 +- .../item_restore_request_builder.go | 2 +- .../item_scoped_members_request_builder.go | 4 +- ...ed_role_membership_item_request_builder.go | 6 +- .../validate_properties_request_builder.go | 2 +- ...s_with_role_template_id_request_builder.go | 6 +- .../delta_request_builder.go | 2 +- ...tory_role_template_item_request_builder.go | 6 +- ...irectory_role_templates_request_builder.go | 4 +- .../get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- .../item_restore_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- .../delta_request_builder.go | 2 +- ...y_setting_template_item_request_builder.go | 6 +- ...ctory_setting_templates_request_builder.go | 4 +- .../get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- .../item_restore_request_builder.go | 2 +- .../validate_properties_request_builder.go | 2 +- .../domain_dns_record_item_request_builder.go | 6 +- .../domain_dns_records_request_builder.go | 4 +- domains/domain_item_request_builder.go | 6 +- domains/domains_request_builder.go | 4 +- ...s_directory_object_item_request_builder.go | 2 +- ..._domain_name_references_request_builder.go | 2 +- ..._domain_federation_item_request_builder.go | 6 +- ...ederation_configuration_request_builder.go | 4 +- domains/item_force_delete_request_builder.go | 2 +- domains/item_promote_request_builder.go | 2 +- ...item_promote_to_initial_request_builder.go | 2 +- ..._domain_dns_record_item_request_builder.go | 6 +- ...e_configuration_records_request_builder.go | 4 +- ...mail_domain_invitations_request_builder.go | 4 +- ..._domain_invitation_item_request_builder.go | 6 +- ..._domain_dns_record_item_request_builder.go | 6 +- ...erification_dns_records_request_builder.go | 4 +- domains/item_verify_request_builder.go | 2 +- drives/drive_item_request_builder.go | 6 +- drives/drives_request_builder.go | 4 +- ...tem_activity_o_l_d_item_request_builder.go | 6 +- ...item_drive_item_content_request_builder.go | 4 +- ...ivities_item_drive_item_request_builder.go | 2 +- ...tivities_item_list_item_request_builder.go | 2 +- drives/item_activities_request_builder.go | 4 +- ...bundles_drive_item_item_request_builder.go | 2 +- ...em_bundles_item_content_request_builder.go | 4 +- drives/item_bundles_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- .../item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...llowing_drive_item_item_request_builder.go | 2 +- ..._following_item_content_request_builder.go | 4 +- drives/item_following_request_builder.go | 2 +- ...m_items_drive_item_item_request_builder.go | 6 +- ...tem_activity_o_l_d_item_request_builder.go | 2 +- ...m_items_item_activities_request_builder.go | 2 +- ...item_analytics_all_time_request_builder.go | 2 +- ...ties_item_activity_item_request_builder.go | 6 +- ...item_drive_item_content_request_builder.go | 4 +- ...ivities_item_drive_item_request_builder.go | 2 +- ...y_stats_item_activities_request_builder.go | 4 +- ...item_activity_stat_item_request_builder.go | 6 +- ...ics_item_activity_stats_request_builder.go | 4 +- ...alytics_last_seven_days_request_builder.go | 2 +- ...em_items_item_analytics_request_builder.go | 6 +- ...ssign_sensitivity_label_request_builder.go | 2 +- ...item_items_item_checkin_request_builder.go | 2 +- ...tem_items_item_checkout_request_builder.go | 2 +- ...hildren_drive_item_item_request_builder.go | 2 +- ...m_children_item_content_request_builder.go | 4 +- ...tem_items_item_children_request_builder.go | 4 +- ...item_items_item_content_request_builder.go | 4 +- .../item_items_item_copy_request_builder.go | 2 +- ..._items_item_create_link_request_builder.go | 2 +- ...m_create_upload_session_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...ms_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- .../item_items_item_delta_request_builder.go | 2 +- ...s_item_delta_with_token_request_builder.go | 2 +- ...ract_sensitivity_labels_request_builder.go | 2 +- .../item_items_item_follow_request_builder.go | 2 +- ...date_time_with_interval_request_builder.go | 2 +- .../item_items_item_invite_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...em_items_item_list_item_request_builder.go | 2 +- ...s_item_permanent_delete_request_builder.go | 2 +- ..._permissions_item_grant_request_builder.go | 2 +- ...ions_item_revoke_grants_request_builder.go | 2 +- ...issions_permission_item_request_builder.go | 6 +- ..._items_item_permissions_request_builder.go | 4 +- ...item_items_item_preview_request_builder.go | 2 +- ...item_items_item_restore_request_builder.go | 2 +- ...ms_item_retention_label_request_builder.go | 6 +- ...tems_item_search_with_q_request_builder.go | 2 +- ...ptions_item_reauthorize_request_builder.go | 2 +- ...tems_item_subscriptions_request_builder.go | 4 +- ...tions_subscription_item_request_builder.go | 6 +- ...m_items_item_thumbnails_request_builder.go | 4 +- ...ails_thumbnail_set_item_request_builder.go | 6 +- ...tem_items_item_unfollow_request_builder.go | 2 +- ...tem_validate_permission_request_builder.go | 2 +- ...drive_item_version_item_request_builder.go | 6 +- ...m_versions_item_content_request_builder.go | 4 +- ...ns_item_restore_version_request_builder.go | 2 +- ...tem_items_item_versions_request_builder.go | 4 +- ...k_application_calculate_request_builder.go | 2 +- ...em_workbook_application_request_builder.go | 6 +- ..._workbook_close_session_request_builder.go | 2 +- ...item_task_changes_count_request_builder.go | 2 +- ...nges_item_at_with_index_request_builder.go | 2 +- ...plies_item_task_changes_request_builder.go | 4 +- ...cument_task_change_item_request_builder.go | 6 +- ...plies_item_task_comment_request_builder.go | 6 +- ...ment_task_changes_count_request_builder.go | 2 +- ...nges_item_at_with_index_request_builder.go | 2 +- ...sk_comment_task_changes_request_builder.go | 4 +- ...cument_task_change_item_request_builder.go | 6 +- ..._item_task_comment_task_request_builder.go | 6 +- ..._item_replies_item_task_request_builder.go | 6 +- ...k_comments_item_replies_request_builder.go | 4 +- ...book_comment_reply_item_request_builder.go | 6 +- ...item_task_changes_count_request_builder.go | 2 +- ...nges_item_at_with_index_request_builder.go | 2 +- ...ments_item_task_changes_request_builder.go | 4 +- ...cument_task_change_item_request_builder.go | 6 +- ...item_task_changes_count_request_builder.go | 2 +- ...nges_item_at_with_index_request_builder.go | 2 +- ...plies_item_task_changes_request_builder.go | 4 +- ...cument_task_change_item_request_builder.go | 6 +- ...mment_replies_item_task_request_builder.go | 6 +- ...em_task_comment_replies_request_builder.go | 4 +- ...book_comment_reply_item_request_builder.go | 6 +- ...ments_item_task_comment_request_builder.go | 6 +- ...book_comments_item_task_request_builder.go | 6 +- ..._item_workbook_comments_request_builder.go | 4 +- ...s_workbook_comment_item_request_builder.go | 6 +- ...workbook_create_session_request_builder.go | 2 +- ..._workbook_functions_abs_request_builder.go | 2 +- ...ok_functions_accr_int_m_request_builder.go | 2 +- ...book_functions_accr_int_request_builder.go | 2 +- ...workbook_functions_acos_request_builder.go | 2 +- ...orkbook_functions_acosh_request_builder.go | 2 +- ...workbook_functions_acot_request_builder.go | 2 +- ...orkbook_functions_acoth_request_builder.go | 2 +- ...ok_functions_amor_degrc_request_builder.go | 2 +- ...ook_functions_amor_linc_request_builder.go | 2 +- ..._workbook_functions_and_request_builder.go | 2 +- ...rkbook_functions_arabic_request_builder.go | 2 +- ...orkbook_functions_areas_request_builder.go | 2 +- ..._workbook_functions_asc_request_builder.go | 2 +- ...workbook_functions_asin_request_builder.go | 2 +- ...orkbook_functions_asinh_request_builder.go | 2 +- ...orkbook_functions_atan2_request_builder.go | 2 +- ...workbook_functions_atan_request_builder.go | 2 +- ...orkbook_functions_atanh_request_builder.go | 2 +- ...kbook_functions_ave_dev_request_builder.go | 2 +- ...ook_functions_average_a_request_builder.go | 2 +- ...ok_functions_average_if_request_builder.go | 2 +- ...k_functions_average_ifs_request_builder.go | 2 +- ...kbook_functions_average_request_builder.go | 2 +- ...ook_functions_baht_text_request_builder.go | 2 +- ...workbook_functions_base_request_builder.go | 2 +- ...book_functions_bessel_i_request_builder.go | 2 +- ...book_functions_bessel_j_request_builder.go | 2 +- ...book_functions_bessel_k_request_builder.go | 2 +- ...book_functions_bessel_y_request_builder.go | 2 +- ...ook_functions_beta_dist_request_builder.go | 2 +- ...book_functions_beta_inv_request_builder.go | 2 +- ...book_functions_bin2_dec_request_builder.go | 2 +- ...book_functions_bin2_hex_request_builder.go | 2 +- ...book_functions_bin2_oct_request_builder.go | 2 +- ...ctions_binom_dist_range_request_builder.go | 2 +- ...ok_functions_binom_dist_request_builder.go | 2 +- ...ook_functions_binom_inv_request_builder.go | 2 +- ...rkbook_functions_bitand_request_builder.go | 2 +- ...ook_functions_bitlshift_request_builder.go | 2 +- ...orkbook_functions_bitor_request_builder.go | 2 +- ...ook_functions_bitrshift_request_builder.go | 2 +- ...rkbook_functions_bitxor_request_builder.go | 2 +- ..._functions_ceiling_math_request_builder.go | 2 +- ...nctions_ceiling_precise_request_builder.go | 2 +- ...workbook_functions_char_request_builder.go | 2 +- ...nctions_chi_sq_dist_r_t_request_builder.go | 2 +- ...k_functions_chi_sq_dist_request_builder.go | 2 +- ...unctions_chi_sq_inv_r_t_request_builder.go | 2 +- ...ok_functions_chi_sq_inv_request_builder.go | 2 +- ...rkbook_functions_choose_request_builder.go | 2 +- ...orkbook_functions_clean_request_builder.go | 2 +- ...workbook_functions_code_request_builder.go | 2 +- ...kbook_functions_columns_request_builder.go | 2 +- ...rkbook_functions_combin_request_builder.go | 2 +- ...kbook_functions_combina_request_builder.go | 2 +- ...kbook_functions_complex_request_builder.go | 2 +- ...k_functions_concatenate_request_builder.go | 2 +- ...nctions_confidence_norm_request_builder.go | 2 +- ..._functions_confidence_t_request_builder.go | 2 +- ...kbook_functions_convert_request_builder.go | 2 +- ..._workbook_functions_cos_request_builder.go | 2 +- ...workbook_functions_cosh_request_builder.go | 2 +- ..._workbook_functions_cot_request_builder.go | 2 +- ...workbook_functions_coth_request_builder.go | 2 +- ...kbook_functions_count_a_request_builder.go | 2 +- ...k_functions_count_blank_request_builder.go | 2 +- ...book_functions_count_if_request_builder.go | 2 +- ...ook_functions_count_ifs_request_builder.go | 2 +- ...orkbook_functions_count_request_builder.go | 2 +- ...k_functions_coup_day_bs_request_builder.go | 2 +- ..._functions_coup_days_nc_request_builder.go | 2 +- ...ook_functions_coup_days_request_builder.go | 2 +- ...book_functions_coup_ncd_request_builder.go | 2 +- ...book_functions_coup_num_request_builder.go | 2 +- ...book_functions_coup_pcd_request_builder.go | 2 +- ..._workbook_functions_csc_request_builder.go | 2 +- ...workbook_functions_csch_request_builder.go | 2 +- ...ook_functions_cum_i_pmt_request_builder.go | 2 +- ...ook_functions_cum_princ_request_builder.go | 2 +- ...workbook_functions_date_request_builder.go | 2 +- ...ook_functions_datevalue_request_builder.go | 2 +- ...book_functions_daverage_request_builder.go | 2 +- ..._workbook_functions_day_request_builder.go | 2 +- ...kbook_functions_days360_request_builder.go | 2 +- ...workbook_functions_days_request_builder.go | 2 +- ...m_workbook_functions_db_request_builder.go | 2 +- ...workbook_functions_dbcs_request_builder.go | 2 +- ...book_functions_dcount_a_request_builder.go | 2 +- ...rkbook_functions_dcount_request_builder.go | 2 +- ..._workbook_functions_ddb_request_builder.go | 2 +- ...book_functions_dec2_bin_request_builder.go | 2 +- ...book_functions_dec2_hex_request_builder.go | 2 +- ...book_functions_dec2_oct_request_builder.go | 2 +- ...kbook_functions_decimal_request_builder.go | 2 +- ...kbook_functions_degrees_request_builder.go | 2 +- ...orkbook_functions_delta_request_builder.go | 2 +- ...rkbook_functions_dev_sq_request_builder.go | 2 +- ...workbook_functions_dget_request_builder.go | 2 +- ...workbook_functions_disc_request_builder.go | 2 +- ...workbook_functions_dmax_request_builder.go | 2 +- ...workbook_functions_dmin_request_builder.go | 2 +- ...ook_functions_dollar_de_request_builder.go | 2 +- ...ook_functions_dollar_fr_request_builder.go | 2 +- ...rkbook_functions_dollar_request_builder.go | 2 +- ...book_functions_dproduct_request_builder.go | 2 +- ...ook_functions_dst_dev_p_request_builder.go | 2 +- ...kbook_functions_dst_dev_request_builder.go | 2 +- ...workbook_functions_dsum_request_builder.go | 2 +- ...book_functions_duration_request_builder.go | 2 +- ...rkbook_functions_dvar_p_request_builder.go | 2 +- ...workbook_functions_dvar_request_builder.go | 2 +- ..._functions_ecma_ceiling_request_builder.go | 2 +- ...orkbook_functions_edate_request_builder.go | 2 +- ...rkbook_functions_effect_request_builder.go | 2 +- ...book_functions_eo_month_request_builder.go | 2 +- ...functions_erf_c_precise_request_builder.go | 2 +- ...orkbook_functions_erf_c_request_builder.go | 2 +- ...k_functions_erf_precise_request_builder.go | 2 +- ..._workbook_functions_erf_request_builder.go | 2 +- ...ok_functions_error_type_request_builder.go | 2 +- ...workbook_functions_even_request_builder.go | 2 +- ...orkbook_functions_exact_request_builder.go | 2 +- ..._workbook_functions_exp_request_builder.go | 2 +- ...ok_functions_expon_dist_request_builder.go | 2 +- ...ok_functions_f_dist_r_t_request_builder.go | 2 +- ...rkbook_functions_f_dist_request_builder.go | 2 +- ...ook_functions_f_inv_r_t_request_builder.go | 2 +- ...orkbook_functions_f_inv_request_builder.go | 2 +- ...k_functions_fact_double_request_builder.go | 2 +- ...workbook_functions_fact_request_builder.go | 2 +- ...orkbook_functions_false_request_builder.go | 2 +- ...rkbook_functions_find_b_request_builder.go | 2 +- ...workbook_functions_find_request_builder.go | 2 +- ...ok_functions_fisher_inv_request_builder.go | 2 +- ...rkbook_functions_fisher_request_builder.go | 2 +- ...orkbook_functions_fixed_request_builder.go | 2 +- ...ok_functions_floor_math_request_builder.go | 2 +- ...functions_floor_precise_request_builder.go | 2 +- ...m_workbook_functions_fv_request_builder.go | 2 +- ...ok_functions_fvschedule_request_builder.go | 2 +- ...ok_functions_gamma_dist_request_builder.go | 2 +- ...ook_functions_gamma_inv_request_builder.go | 2 +- ...ctions_gamma_ln_precise_request_builder.go | 2 +- ...book_functions_gamma_ln_request_builder.go | 2 +- ...orkbook_functions_gamma_request_builder.go | 2 +- ...orkbook_functions_gauss_request_builder.go | 2 +- ..._workbook_functions_gcd_request_builder.go | 2 +- ...kbook_functions_ge_step_request_builder.go | 2 +- ...book_functions_geo_mean_request_builder.go | 2 +- ...book_functions_har_mean_request_builder.go | 2 +- ...book_functions_hex2_bin_request_builder.go | 2 +- ...book_functions_hex2_dec_request_builder.go | 2 +- ...book_functions_hex2_oct_request_builder.go | 2 +- ...kbook_functions_hlookup_request_builder.go | 2 +- ...workbook_functions_hour_request_builder.go | 2 +- ...functions_hyp_geom_dist_request_builder.go | 2 +- ...ook_functions_hyperlink_request_builder.go | 2 +- ...m_workbook_functions_if_request_builder.go | 2 +- ...rkbook_functions_im_abs_request_builder.go | 2 +- ...k_functions_im_argument_request_builder.go | 2 +- ..._functions_im_conjugate_request_builder.go | 2 +- ...rkbook_functions_im_cos_request_builder.go | 2 +- ...kbook_functions_im_cosh_request_builder.go | 2 +- ...rkbook_functions_im_cot_request_builder.go | 2 +- ...rkbook_functions_im_csc_request_builder.go | 2 +- ...kbook_functions_im_csch_request_builder.go | 2 +- ...rkbook_functions_im_div_request_builder.go | 2 +- ...rkbook_functions_im_exp_request_builder.go | 2 +- ...orkbook_functions_im_ln_request_builder.go | 2 +- ...book_functions_im_log10_request_builder.go | 2 +- ...kbook_functions_im_log2_request_builder.go | 2 +- ...book_functions_im_power_request_builder.go | 2 +- ...ok_functions_im_product_request_builder.go | 2 +- ...kbook_functions_im_real_request_builder.go | 2 +- ...rkbook_functions_im_sec_request_builder.go | 2 +- ...kbook_functions_im_sech_request_builder.go | 2 +- ...rkbook_functions_im_sin_request_builder.go | 2 +- ...kbook_functions_im_sinh_request_builder.go | 2 +- ...kbook_functions_im_sqrt_request_builder.go | 2 +- ...rkbook_functions_im_sub_request_builder.go | 2 +- ...rkbook_functions_im_sum_request_builder.go | 2 +- ...rkbook_functions_im_tan_request_builder.go | 2 +- ...ook_functions_imaginary_request_builder.go | 2 +- ...book_functions_int_rate_request_builder.go | 2 +- ..._workbook_functions_int_request_builder.go | 2 +- ...workbook_functions_ipmt_request_builder.go | 2 +- ..._workbook_functions_irr_request_builder.go | 2 +- ...rkbook_functions_is_err_request_builder.go | 2 +- ...book_functions_is_error_request_builder.go | 2 +- ...kbook_functions_is_even_request_builder.go | 2 +- ...ok_functions_is_formula_request_builder.go | 2 +- ...ok_functions_is_logical_request_builder.go | 2 +- ...rkbook_functions_is_n_a_request_builder.go | 2 +- ...k_functions_is_non_text_request_builder.go | 2 +- ...ook_functions_is_number_request_builder.go | 2 +- ...rkbook_functions_is_odd_request_builder.go | 2 +- ...kbook_functions_is_text_request_builder.go | 2 +- ...k_functions_iso_ceiling_request_builder.go | 2 +- ..._functions_iso_week_num_request_builder.go | 2 +- ...orkbook_functions_ispmt_request_builder.go | 2 +- ...orkbook_functions_isref_request_builder.go | 2 +- ...workbook_functions_kurt_request_builder.go | 2 +- ...orkbook_functions_large_request_builder.go | 2 +- ..._workbook_functions_lcm_request_builder.go | 2 +- ...workbook_functions_left_request_builder.go | 2 +- ...orkbook_functions_leftb_request_builder.go | 2 +- ..._workbook_functions_len_request_builder.go | 2 +- ...workbook_functions_lenb_request_builder.go | 2 +- ...m_workbook_functions_ln_request_builder.go | 2 +- ...orkbook_functions_log10_request_builder.go | 2 +- ...functions_log_norm_dist_request_builder.go | 2 +- ..._functions_log_norm_inv_request_builder.go | 2 +- ..._workbook_functions_log_request_builder.go | 2 +- ...rkbook_functions_lookup_request_builder.go | 2 +- ...orkbook_functions_lower_request_builder.go | 2 +- ...orkbook_functions_match_request_builder.go | 2 +- ...orkbook_functions_max_a_request_builder.go | 2 +- ..._workbook_functions_max_request_builder.go | 2 +- ...ook_functions_mduration_request_builder.go | 2 +- ...rkbook_functions_median_request_builder.go | 2 +- ..._workbook_functions_mid_request_builder.go | 2 +- ...workbook_functions_midb_request_builder.go | 2 +- ...orkbook_functions_min_a_request_builder.go | 2 +- ..._workbook_functions_min_request_builder.go | 2 +- ...rkbook_functions_minute_request_builder.go | 2 +- ...workbook_functions_mirr_request_builder.go | 2 +- ..._workbook_functions_mod_request_builder.go | 2 +- ...orkbook_functions_month_request_builder.go | 2 +- ...rkbook_functions_mround_request_builder.go | 2 +- ..._functions_multi_nomial_request_builder.go | 2 +- ...em_workbook_functions_n_request_builder.go | 2 +- ...m_workbook_functions_na_request_builder.go | 2 +- ...unctions_neg_binom_dist_request_builder.go | 2 +- ...tions_network_days_intl_request_builder.go | 2 +- ..._functions_network_days_request_builder.go | 2 +- ...kbook_functions_nominal_request_builder.go | 2 +- ...ook_functions_norm_dist_request_builder.go | 2 +- ...book_functions_norm_inv_request_builder.go | 2 +- ...k_functions_norm_s_dist_request_builder.go | 2 +- ...ok_functions_norm_s_inv_request_builder.go | 2 +- ..._workbook_functions_not_request_builder.go | 2 +- ..._workbook_functions_now_request_builder.go | 2 +- ...workbook_functions_nper_request_builder.go | 2 +- ..._workbook_functions_npv_request_builder.go | 2 +- ..._functions_number_value_request_builder.go | 2 +- ...book_functions_oct2_bin_request_builder.go | 2 +- ...book_functions_oct2_dec_request_builder.go | 2 +- ...book_functions_oct2_hex_request_builder.go | 2 +- ...k_functions_odd_f_price_request_builder.go | 2 +- ...k_functions_odd_f_yield_request_builder.go | 2 +- ...k_functions_odd_l_price_request_builder.go | 2 +- ...k_functions_odd_l_yield_request_builder.go | 2 +- ..._workbook_functions_odd_request_builder.go | 2 +- ...m_workbook_functions_or_request_builder.go | 2 +- ...ook_functions_pduration_request_builder.go | 2 +- ...ctions_percent_rank_exc_request_builder.go | 2 +- ...ctions_percent_rank_inc_request_builder.go | 2 +- ...unctions_percentile_exc_request_builder.go | 2 +- ...unctions_percentile_inc_request_builder.go | 2 +- ...rkbook_functions_permut_request_builder.go | 2 +- ..._functions_permutationa_request_builder.go | 2 +- ..._workbook_functions_phi_request_builder.go | 2 +- ...m_workbook_functions_pi_request_builder.go | 2 +- ..._workbook_functions_pmt_request_builder.go | 2 +- ..._functions_poisson_dist_request_builder.go | 2 +- ...orkbook_functions_power_request_builder.go | 2 +- ...workbook_functions_ppmt_request_builder.go | 2 +- ...ok_functions_price_disc_request_builder.go | 2 +- ...ook_functions_price_mat_request_builder.go | 2 +- ...orkbook_functions_price_request_builder.go | 2 +- ...kbook_functions_product_request_builder.go | 2 +- ...rkbook_functions_proper_request_builder.go | 2 +- ...m_workbook_functions_pv_request_builder.go | 2 +- ..._functions_quartile_exc_request_builder.go | 2 +- ..._functions_quartile_inc_request_builder.go | 2 +- ...book_functions_quotient_request_builder.go | 2 +- ...kbook_functions_radians_request_builder.go | 2 +- ..._functions_rand_between_request_builder.go | 2 +- ...workbook_functions_rand_request_builder.go | 2 +- ...book_functions_rank_avg_request_builder.go | 2 +- ...kbook_functions_rank_eq_request_builder.go | 2 +- ...workbook_functions_rate_request_builder.go | 2 +- ...book_functions_received_request_builder.go | 2 +- ...ook_functions_replace_b_request_builder.go | 2 +- ...kbook_functions_replace_request_builder.go | 2 +- ...workbook_functions_rept_request_builder.go | 2 +- ...item_workbook_functions_request_builder.go | 6 +- ...orkbook_functions_right_request_builder.go | 2 +- ...rkbook_functions_rightb_request_builder.go | 2 +- ...orkbook_functions_roman_request_builder.go | 2 +- ...ok_functions_round_down_request_builder.go | 2 +- ...orkbook_functions_round_request_builder.go | 2 +- ...book_functions_round_up_request_builder.go | 2 +- ...workbook_functions_rows_request_builder.go | 2 +- ..._workbook_functions_rri_request_builder.go | 2 +- ..._workbook_functions_sec_request_builder.go | 2 +- ...workbook_functions_sech_request_builder.go | 2 +- ...rkbook_functions_second_request_builder.go | 2 +- ...ok_functions_series_sum_request_builder.go | 2 +- ...orkbook_functions_sheet_request_builder.go | 2 +- ...rkbook_functions_sheets_request_builder.go | 2 +- ...workbook_functions_sign_request_builder.go | 2 +- ..._workbook_functions_sin_request_builder.go | 2 +- ...workbook_functions_sinh_request_builder.go | 2 +- ...rkbook_functions_skew_p_request_builder.go | 2 +- ...workbook_functions_skew_request_builder.go | 2 +- ..._workbook_functions_sln_request_builder.go | 2 +- ...orkbook_functions_small_request_builder.go | 2 +- ...kbook_functions_sqrt_pi_request_builder.go | 2 +- ...workbook_functions_sqrt_request_builder.go | 2 +- ...book_functions_st_dev_a_request_builder.go | 2 +- ...ok_functions_st_dev_p_a_request_builder.go | 2 +- ...book_functions_st_dev_p_request_builder.go | 2 +- ...book_functions_st_dev_s_request_builder.go | 2 +- ...k_functions_standardize_request_builder.go | 2 +- ...ok_functions_substitute_request_builder.go | 2 +- ...book_functions_subtotal_request_builder.go | 2 +- ...rkbook_functions_sum_if_request_builder.go | 2 +- ...kbook_functions_sum_ifs_request_builder.go | 2 +- ..._workbook_functions_sum_request_builder.go | 2 +- ...rkbook_functions_sum_sq_request_builder.go | 2 +- ..._workbook_functions_syd_request_builder.go | 2 +- ...ok_functions_t_dist_2_t_request_builder.go | 2 +- ...ok_functions_t_dist_r_t_request_builder.go | 2 +- ...rkbook_functions_t_dist_request_builder.go | 2 +- ...ook_functions_t_inv_2_t_request_builder.go | 2 +- ...orkbook_functions_t_inv_request_builder.go | 2 +- ...em_workbook_functions_t_request_builder.go | 2 +- ..._workbook_functions_tan_request_builder.go | 2 +- ...workbook_functions_tanh_request_builder.go | 2 +- ...book_functions_tbill_eq_request_builder.go | 2 +- ...k_functions_tbill_price_request_builder.go | 2 +- ...k_functions_tbill_yield_request_builder.go | 2 +- ...workbook_functions_text_request_builder.go | 2 +- ...workbook_functions_time_request_builder.go | 2 +- ...ook_functions_timevalue_request_builder.go | 2 +- ...orkbook_functions_today_request_builder.go | 2 +- ...ook_functions_trim_mean_request_builder.go | 2 +- ...workbook_functions_trim_request_builder.go | 2 +- ...workbook_functions_true_request_builder.go | 2 +- ...orkbook_functions_trunc_request_builder.go | 2 +- ...workbook_functions_type_request_builder.go | 2 +- ...kbook_functions_unichar_request_builder.go | 2 +- ...kbook_functions_unicode_request_builder.go | 2 +- ...orkbook_functions_upper_request_builder.go | 2 +- ...book_functions_usdollar_request_builder.go | 2 +- ...orkbook_functions_value_request_builder.go | 2 +- ...orkbook_functions_var_a_request_builder.go | 2 +- ...kbook_functions_var_p_a_request_builder.go | 2 +- ...orkbook_functions_var_p_request_builder.go | 2 +- ...orkbook_functions_var_s_request_builder.go | 2 +- ..._workbook_functions_vdb_request_builder.go | 2 +- ...kbook_functions_vlookup_request_builder.go | 2 +- ...book_functions_week_num_request_builder.go | 2 +- ...kbook_functions_weekday_request_builder.go | 2 +- ..._functions_weibull_dist_request_builder.go | 2 +- ...functions_work_day_intl_request_builder.go | 2 +- ...book_functions_work_day_request_builder.go | 2 +- ...workbook_functions_xirr_request_builder.go | 2 +- ...workbook_functions_xnpv_request_builder.go | 2 +- ..._workbook_functions_xor_request_builder.go | 2 +- ...ook_functions_year_frac_request_builder.go | 2 +- ...workbook_functions_year_request_builder.go | 2 +- ...ok_functions_yield_disc_request_builder.go | 2 +- ...ook_functions_yield_mat_request_builder.go | 2 +- ...orkbook_functions_yield_request_builder.go | 2 +- ...rkbook_functions_z_test_request_builder.go | 2 +- ...names_add_formula_local_request_builder.go | 2 +- ...item_workbook_names_add_request_builder.go | 2 +- ...rkbook_names_item_range_request_builder.go | 2 +- ...ok_names_item_worksheet_request_builder.go | 2 +- ...ems_item_workbook_names_request_builder.go | 4 +- ...orkbook_named_item_item_request_builder.go | 6 +- ...tem_workbook_operations_request_builder.go | 4 +- ...workbook_operation_item_request_builder.go | 6 +- ...orkbook_refresh_session_request_builder.go | 2 +- ...tem_items_item_workbook_request_builder.go | 6 +- ..._info_resource_with_key_request_builder.go | 2 +- ...eration_result_with_key_request_builder.go | 2 +- ...tem_workbook_tables_add_request_builder.go | 8 +- ...m_workbook_tables_count_request_builder.go | 2 +- ...bles_item_at_with_index_request_builder.go | 2 +- ...bles_item_clear_filters_request_builder.go | 2 +- ...tables_item_columns_add_request_builder.go | 2 +- ...bles_item_columns_count_request_builder.go | 2 +- ...umns_item_at_with_index_request_builder.go | 2 +- ...ns_item_data_body_range_request_builder.go | 2 +- ...ply_bottom_items_filter_request_builder.go | 2 +- ...y_bottom_percent_filter_request_builder.go | 2 +- ...apply_cell_color_filter_request_builder.go | 2 +- ...ter_apply_custom_filter_request_builder.go | 2 +- ...er_apply_dynamic_filter_request_builder.go | 2 +- ...apply_font_color_filter_request_builder.go | 2 +- ...ilter_apply_icon_filter_request_builder.go | 2 +- ...lumns_item_filter_apply_request_builder.go | 2 +- ..._apply_top_items_filter_request_builder.go | 2 +- ...pply_top_percent_filter_request_builder.go | 2 +- ...ter_apply_values_filter_request_builder.go | 2 +- ...lumns_item_filter_clear_request_builder.go | 2 +- ...tem_columns_item_filter_request_builder.go | 6 +- ...s_item_header_row_range_request_builder.go | 2 +- ...item_columns_item_range_request_builder.go | 2 +- ...ns_item_total_row_range_request_builder.go | 2 +- ...ook_tables_item_columns_request_builder.go | 6 +- ...kbook_table_column_item_request_builder.go | 6 +- ...s_item_convert_to_range_request_builder.go | 2 +- ...es_item_data_body_range_request_builder.go | 2 +- ...s_item_header_row_range_request_builder.go | 2 +- ...kbook_tables_item_range_request_builder.go | 2 +- ...es_item_reapply_filters_request_builder.go | 2 +- ...ok_tables_item_rows_add_request_builder.go | 2 +- ..._tables_item_rows_count_request_builder.go | 2 +- ...rows_item_at_with_index_request_builder.go | 2 +- ...es_item_rows_item_range_request_builder.go | 2 +- ...rkbook_tables_item_rows_request_builder.go | 4 +- ...workbook_table_row_item_request_builder.go | 6 +- ..._tables_item_sort_apply_request_builder.go | 2 +- ..._tables_item_sort_clear_request_builder.go | 2 +- ...ables_item_sort_reapply_request_builder.go | 2 +- ...rkbook_tables_item_sort_request_builder.go | 6 +- ...es_item_total_row_range_request_builder.go | 2 +- ...k_tables_item_worksheet_request_builder.go | 2 +- ...ms_item_workbook_tables_request_builder.go | 4 +- ...les_workbook_table_item_request_builder.go | 6 +- ...workbook_worksheets_add_request_builder.go | 2 +- ...ll_with_row_with_column_request_builder.go | 2 +- ...ksheets_item_charts_add_request_builder.go | 2 +- ...heets_item_charts_count_request_builder.go | 2 +- ...arts_item_at_with_index_request_builder.go | 2 +- ...tegory_axis_format_font_request_builder.go | 6 +- ..._axis_format_line_clear_request_builder.go | 2 +- ...tegory_axis_format_line_request_builder.go | 6 +- ...es_category_axis_format_request_builder.go | 6 +- ...lines_format_line_clear_request_builder.go | 2 +- ...r_gridlines_format_line_request_builder.go | 6 +- ..._major_gridlines_format_request_builder.go | 6 +- ...ry_axis_major_gridlines_request_builder.go | 6 +- ...lines_format_line_clear_request_builder.go | 2 +- ...r_gridlines_format_line_request_builder.go | 6 +- ..._minor_gridlines_format_request_builder.go | 6 +- ...ry_axis_minor_gridlines_request_builder.go | 6 +- ...item_axes_category_axis_request_builder.go | 6 +- ..._axis_title_format_font_request_builder.go | 6 +- ...egory_axis_title_format_request_builder.go | 6 +- ...xes_category_axis_title_request_builder.go | 6 +- ...s_item_charts_item_axes_request_builder.go | 6 +- ...series_axis_format_font_request_builder.go | 6 +- ..._axis_format_line_clear_request_builder.go | 2 +- ...series_axis_format_line_request_builder.go | 6 +- ...axes_series_axis_format_request_builder.go | 6 +- ...lines_format_line_clear_request_builder.go | 2 +- ...r_gridlines_format_line_request_builder.go | 6 +- ..._major_gridlines_format_request_builder.go | 6 +- ...es_axis_major_gridlines_request_builder.go | 6 +- ...lines_format_line_clear_request_builder.go | 2 +- ...r_gridlines_format_line_request_builder.go | 6 +- ..._minor_gridlines_format_request_builder.go | 6 +- ...es_axis_minor_gridlines_request_builder.go | 6 +- ...s_item_axes_series_axis_request_builder.go | 6 +- ..._axis_title_format_font_request_builder.go | 6 +- ...eries_axis_title_format_request_builder.go | 6 +- ..._axes_series_axis_title_request_builder.go | 6 +- ..._value_axis_format_font_request_builder.go | 6 +- ..._axis_format_line_clear_request_builder.go | 2 +- ..._value_axis_format_line_request_builder.go | 6 +- ..._axes_value_axis_format_request_builder.go | 6 +- ...lines_format_line_clear_request_builder.go | 2 +- ...r_gridlines_format_line_request_builder.go | 6 +- ..._major_gridlines_format_request_builder.go | 6 +- ...ue_axis_major_gridlines_request_builder.go | 6 +- ...lines_format_line_clear_request_builder.go | 2 +- ...r_gridlines_format_line_request_builder.go | 6 +- ..._minor_gridlines_format_request_builder.go | 6 +- ...ue_axis_minor_gridlines_request_builder.go | 6 +- ...ts_item_axes_value_axis_request_builder.go | 6 +- ..._axis_title_format_font_request_builder.go | 6 +- ...value_axis_title_format_request_builder.go | 6 +- ...m_axes_value_axis_title_request_builder.go | 6 +- ...abels_format_fill_clear_request_builder.go | 2 +- ...data_labels_format_fill_request_builder.go | 6 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ...data_labels_format_font_request_builder.go | 6 +- ...item_data_labels_format_request_builder.go | 6 +- ...charts_item_data_labels_request_builder.go | 6 +- ..._item_format_fill_clear_request_builder.go | 2 +- ...charts_item_format_fill_request_builder.go | 6 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ...charts_item_format_font_request_builder.go | 6 +- ...item_charts_item_format_request_builder.go | 6 +- ..._item_charts_item_image_request_builder.go | 2 +- ...s_item_image_with_width_request_builder.go | 2 +- ..._with_width_with_height_request_builder.go | 2 +- ...eight_with_fitting_mode_request_builder.go | 2 +- ...egend_format_fill_clear_request_builder.go | 2 +- ...item_legend_format_fill_request_builder.go | 6 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ...item_legend_format_font_request_builder.go | 6 +- ...arts_item_legend_format_request_builder.go | 6 +- ...item_charts_item_legend_request_builder.go | 6 +- ...harts_item_series_count_request_builder.go | 2 +- ...ries_item_at_with_index_request_builder.go | 2 +- ..._item_format_fill_clear_request_builder.go | 2 +- ...series_item_format_fill_request_builder.go | 6 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ..._item_format_line_clear_request_builder.go | 2 +- ...series_item_format_line_request_builder.go | 6 +- ...item_series_item_format_request_builder.go | 6 +- ...eries_item_points_count_request_builder.go | 2 +- ...ints_item_at_with_index_request_builder.go | 2 +- ..._item_format_fill_clear_request_builder.go | 2 +- ...points_item_format_fill_request_builder.go | 6 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ...item_points_item_format_request_builder.go | 6 +- ...item_series_item_points_request_builder.go | 4 +- ...rkbook_chart_point_item_request_builder.go | 6 +- ...item_charts_item_series_request_builder.go | 6 +- ...kbook_chart_series_item_request_builder.go | 6 +- ...em_charts_item_set_data_request_builder.go | 2 +- ...harts_item_set_position_request_builder.go | 2 +- ...title_format_fill_clear_request_builder.go | 2 +- ..._item_title_format_fill_request_builder.go | 6 +- ...at_fill_set_solid_color_request_builder.go | 2 +- ..._item_title_format_font_request_builder.go | 6 +- ...harts_item_title_format_request_builder.go | 6 +- ..._item_charts_item_title_request_builder.go | 6 +- ...m_charts_item_with_name_request_builder.go | 2 +- ...m_charts_item_worksheet_request_builder.go | 2 +- ..._worksheets_item_charts_request_builder.go | 4 +- ...rts_workbook_chart_item_request_builder.go | 6 +- ...names_add_formula_local_request_builder.go | 2 +- ...rksheets_item_names_add_request_builder.go | 2 +- ...s_item_names_item_range_request_builder.go | 2 +- ...em_names_item_worksheet_request_builder.go | 2 +- ...k_worksheets_item_names_request_builder.go | 4 +- ...orkbook_named_item_item_request_builder.go | 6 +- ...vot_tables_item_refresh_request_builder.go | 2 +- ...t_tables_item_worksheet_request_builder.go | 2 +- ...ivot_tables_refresh_all_request_builder.go | 2 +- ...heets_item_pivot_tables_request_builder.go | 4 +- ...rkbook_pivot_table_item_request_builder.go | 6 +- ...item_protection_protect_request_builder.go | 2 +- ...ksheets_item_protection_request_builder.go | 6 +- ...em_protection_unprotect_request_builder.go | 2 +- ...k_worksheets_item_range_request_builder.go | 2 +- ...item_range_with_address_request_builder.go | 2 +- ...ksheets_item_tables_add_request_builder.go | 8 +- ...heets_item_tables_count_request_builder.go | 2 +- ...bles_item_at_with_index_request_builder.go | 2 +- ...bles_item_clear_filters_request_builder.go | 2 +- ...tables_item_columns_add_request_builder.go | 2 +- ...bles_item_columns_count_request_builder.go | 2 +- ...umns_item_at_with_index_request_builder.go | 2 +- ...ns_item_data_body_range_request_builder.go | 2 +- ...ply_bottom_items_filter_request_builder.go | 2 +- ...y_bottom_percent_filter_request_builder.go | 2 +- ...apply_cell_color_filter_request_builder.go | 2 +- ...ter_apply_custom_filter_request_builder.go | 2 +- ...er_apply_dynamic_filter_request_builder.go | 2 +- ...apply_font_color_filter_request_builder.go | 2 +- ...ilter_apply_icon_filter_request_builder.go | 2 +- ...lumns_item_filter_apply_request_builder.go | 2 +- ..._apply_top_items_filter_request_builder.go | 2 +- ...pply_top_percent_filter_request_builder.go | 2 +- ...ter_apply_values_filter_request_builder.go | 2 +- ...lumns_item_filter_clear_request_builder.go | 2 +- ...tem_columns_item_filter_request_builder.go | 6 +- ...s_item_header_row_range_request_builder.go | 2 +- ...item_columns_item_range_request_builder.go | 2 +- ...ns_item_total_row_range_request_builder.go | 2 +- ...tem_tables_item_columns_request_builder.go | 6 +- ...kbook_table_column_item_request_builder.go | 6 +- ...s_item_convert_to_range_request_builder.go | 2 +- ...es_item_data_body_range_request_builder.go | 2 +- ...s_item_header_row_range_request_builder.go | 2 +- ..._item_tables_item_range_request_builder.go | 2 +- ...es_item_reapply_filters_request_builder.go | 2 +- ...em_tables_item_rows_add_request_builder.go | 2 +- ..._tables_item_rows_count_request_builder.go | 2 +- ...rows_item_at_with_index_request_builder.go | 2 +- ...es_item_rows_item_range_request_builder.go | 2 +- ...s_item_tables_item_rows_request_builder.go | 4 +- ...workbook_table_row_item_request_builder.go | 6 +- ..._tables_item_sort_apply_request_builder.go | 2 +- ..._tables_item_sort_clear_request_builder.go | 2 +- ...ables_item_sort_reapply_request_builder.go | 2 +- ...s_item_tables_item_sort_request_builder.go | 6 +- ...es_item_total_row_range_request_builder.go | 2 +- ...m_tables_item_worksheet_request_builder.go | 2 +- ..._worksheets_item_tables_request_builder.go | 4 +- ...les_workbook_table_item_request_builder.go | 6 +- ...sheets_item_tasks_count_request_builder.go | 2 +- ...asks_item_at_with_index_request_builder.go | 2 +- ...asks_item_changes_count_request_builder.go | 2 +- ...nges_item_at_with_index_request_builder.go | 2 +- ...item_tasks_item_changes_request_builder.go | 4 +- ...cument_task_change_item_request_builder.go | 6 +- ...item_task_changes_count_request_builder.go | 2 +- ...nges_item_at_with_index_request_builder.go | 2 +- ...plies_item_task_changes_request_builder.go | 4 +- ...cument_task_change_item_request_builder.go | 6 +- ...mment_replies_item_task_request_builder.go | 6 +- ...ks_item_comment_replies_request_builder.go | 4 +- ...book_comment_reply_item_request_builder.go | 6 +- ...item_tasks_item_comment_request_builder.go | 6 +- ...ment_task_changes_count_request_builder.go | 2 +- ...nges_item_at_with_index_request_builder.go | 2 +- ...em_comment_task_changes_request_builder.go | 4 +- ...cument_task_change_item_request_builder.go | 6 +- ...tasks_item_comment_task_request_builder.go | 6 +- ...k_worksheets_item_tasks_request_builder.go | 4 +- ...book_document_task_item_request_builder.go | 6 +- ...ksheets_item_used_range_request_builder.go | 2 +- ..._range_with_values_only_request_builder.go | 2 +- ...tem_workbook_worksheets_request_builder.go | 4 +- ...workbook_worksheet_item_request_builder.go | 6 +- drives/item_items_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- .../item_list_activities_request_builder.go | 4 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- drives/item_list_columns_request_builder.go | 4 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 6 +- ...tible_hub_content_types_request_builder.go | 2 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ...content_types_item_base_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 2 +- ...t_types_item_base_types_request_builder.go | 2 +- ..._links_column_link_item_request_builder.go | 6 +- ...types_item_column_links_request_builder.go | 4 +- ..._column_definition_item_request_builder.go | 2 +- ...s_item_column_positions_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- ...tent_types_item_columns_request_builder.go | 4 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 2 +- ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- ...item_list_content_types_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...em_list_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- drives/item_list_drive_request_builder.go | 2 +- .../item_list_items_delta_request_builder.go | 2 +- ..._items_delta_with_token_request_builder.go | 2 +- ...tem_activity_o_l_d_item_request_builder.go | 6 +- ...item_drive_item_content_request_builder.go | 4 +- ...ivities_item_drive_item_request_builder.go | 2 +- ...tivities_item_list_item_request_builder.go | 2 +- ...t_items_item_activities_request_builder.go | 4 +- ...st_items_item_analytics_request_builder.go | 2 +- ..._items_item_create_link_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...ms_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...cument_set_version_item_request_builder.go | 6 +- ...et_versions_item_fields_request_builder.go | 6 +- ...t_versions_item_restore_request_builder.go | 2 +- ...m_document_set_versions_request_builder.go | 4 +- ...item_drive_item_content_request_builder.go | 4 +- ...t_items_item_drive_item_request_builder.go | 2 +- ..._list_items_item_fields_request_builder.go | 6 +- ...date_time_with_interval_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...em_versions_item_fields_request_builder.go | 6 +- ...ns_item_restore_version_request_builder.go | 2 +- ..._list_item_version_item_request_builder.go | 6 +- ...ist_items_item_versions_request_builder.go | 4 +- ...st_items_list_item_item_request_builder.go | 6 +- drives/item_list_items_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...t_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- .../item_list_operations_request_builder.go | 4 +- ..._running_operation_item_request_builder.go | 6 +- drives/item_list_request_builder.go | 6 +- ...ptions_item_reauthorize_request_builder.go | 2 +- ...item_list_subscriptions_request_builder.go | 4 +- ...tions_subscription_item_request_builder.go | 6 +- drives/item_recent_request_builder.go | 2 +- drives/item_root_content_request_builder.go | 4 +- drives/item_root_request_builder.go | 2 +- drives/item_search_with_q_request_builder.go | 2 +- drives/item_shared_with_me_request_builder.go | 2 +- ...special_drive_item_item_request_builder.go | 2 +- ...em_special_item_content_request_builder.go | 4 +- drives/item_special_request_builder.go | 2 +- education/classes_delta_request_builder.go | 2 +- ...es_education_class_item_request_builder.go | 6 +- ...gnment_categories_delta_request_builder.go | 2 +- ...education_category_item_request_builder.go | 6 +- ...m_assignment_categories_request_builder.go | 4 +- ...tem_assignment_defaults_request_builder.go | 6 +- ...n_grading_category_item_request_builder.go | 6 +- ...ings_grading_categories_request_builder.go | 4 +- ...tem_assignment_settings_request_builder.go | 6 +- ..._item_assignments_delta_request_builder.go | 2 +- ...ucation_assignment_item_request_builder.go | 6 +- ...signments_item_activate_request_builder.go | 2 +- ...s_item_categories_delta_request_builder.go | 2 +- ...tem_categories_item_ref_request_builder.go | 2 +- ...nts_item_categories_ref_request_builder.go | 4 +- ...gnments_item_categories_request_builder.go | 4 +- ...gnments_item_deactivate_request_builder.go | 2 +- ...s_item_grading_category_request_builder.go | 4 +- ...ssignments_item_publish_request_builder.go | 2 +- ...ssignment_resource_item_request_builder.go | 6 +- ...ssignment_resource_item_request_builder.go | 6 +- ...tem_dependent_resources_request_builder.go | 4 +- ...ignments_item_resources_request_builder.go | 4 +- ...gnments_item_rubric_ref_request_builder.go | 6 +- ...assignments_item_rubric_request_builder.go | 6 +- ...edback_resources_folder_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...ucation_submission_item_request_builder.go | 6 +- ..._education_outcome_item_request_builder.go | 6 +- ...bmissions_item_outcomes_request_builder.go | 4 +- ...bmissions_item_reassign_request_builder.go | 2 +- ...ubmission_resource_item_request_builder.go | 6 +- ...ubmission_resource_item_request_builder.go | 6 +- ...tem_dependent_resources_request_builder.go | 4 +- ...missions_item_resources_request_builder.go | 4 +- ...submissions_item_return_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...submissions_item_submit_request_builder.go | 2 +- ...ubmission_resource_item_request_builder.go | 6 +- ...ubmission_resource_item_request_builder.go | 6 +- ...tem_dependent_resources_request_builder.go | 4 +- ...tem_submitted_resources_request_builder.go | 4 +- ...bmissions_item_unsubmit_request_builder.go | 2 +- ...nments_item_submissions_request_builder.go | 10 +- ...lasses_item_assignments_request_builder.go | 4 +- .../classes_item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...s_item_members_item_ref_request_builder.go | 2 +- ...lasses_item_members_ref_request_builder.go | 4 +- .../classes_item_members_request_builder.go | 2 +- ...s_education_module_item_request_builder.go | 6 +- ...s_item_modules_item_pin_request_builder.go | 2 +- ...em_modules_item_publish_request_builder.go | 2 +- ...on_module_resource_item_request_builder.go | 6 +- ..._modules_item_resources_request_builder.go | 4 +- ...set_up_resources_folder_request_builder.go | 2 +- ...item_modules_item_unpin_request_builder.go | 2 +- .../classes_item_modules_request_builder.go | 4 +- ...s_education_school_item_request_builder.go | 2 +- .../classes_item_schools_request_builder.go | 2 +- ..._item_teachers_item_ref_request_builder.go | 2 +- ...asses_item_teachers_ref_request_builder.go | 4 +- .../classes_item_teachers_request_builder.go | 2 +- education/classes_request_builder.go | 4 +- education/education_request_builder.go | 4 +- .../me_assignments_delta_request_builder.go | 2 +- ...ucation_assignment_item_request_builder.go | 6 +- ...signments_item_activate_request_builder.go | 2 +- ...s_item_categories_delta_request_builder.go | 2 +- ...tem_categories_item_ref_request_builder.go | 2 +- ...nts_item_categories_ref_request_builder.go | 4 +- ...gnments_item_categories_request_builder.go | 4 +- ...gnments_item_deactivate_request_builder.go | 2 +- ...s_item_grading_category_request_builder.go | 4 +- ...ssignments_item_publish_request_builder.go | 2 +- ...ssignment_resource_item_request_builder.go | 6 +- ...ssignment_resource_item_request_builder.go | 6 +- ...tem_dependent_resources_request_builder.go | 4 +- ...ignments_item_resources_request_builder.go | 4 +- ...gnments_item_rubric_ref_request_builder.go | 6 +- ...assignments_item_rubric_request_builder.go | 6 +- ...edback_resources_folder_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...ucation_submission_item_request_builder.go | 6 +- ..._education_outcome_item_request_builder.go | 6 +- ...bmissions_item_outcomes_request_builder.go | 4 +- ...bmissions_item_reassign_request_builder.go | 2 +- ...ubmission_resource_item_request_builder.go | 6 +- ...ubmission_resource_item_request_builder.go | 6 +- ...tem_dependent_resources_request_builder.go | 4 +- ...missions_item_resources_request_builder.go | 4 +- ...submissions_item_return_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...submissions_item_submit_request_builder.go | 2 +- ...ubmission_resource_item_request_builder.go | 6 +- ...ubmission_resource_item_request_builder.go | 6 +- ...tem_dependent_resources_request_builder.go | 4 +- ...tem_submitted_resources_request_builder.go | 4 +- ...bmissions_item_unsubmit_request_builder.go | 2 +- ...nments_item_submissions_request_builder.go | 10 +- education/me_assignments_request_builder.go | 4 +- ...es_education_class_item_request_builder.go | 2 +- education/me_classes_request_builder.go | 2 +- education/me_request_builder.go | 6 +- ...s_education_rubric_item_request_builder.go | 6 +- education/me_rubrics_request_builder.go | 4 +- ...s_education_school_item_request_builder.go | 2 +- education/me_schools_request_builder.go | 2 +- ...es_education_class_item_request_builder.go | 2 +- .../me_taught_classes_request_builder.go | 2 +- ...e_user_mailbox_settings_request_builder.go | 4 +- education/me_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- education/schools_delta_request_builder.go | 2 +- ...s_education_school_item_request_builder.go | 6 +- ...tem_administrative_unit_request_builder.go | 4 +- ...s_item_classes_item_ref_request_builder.go | 2 +- ...chools_item_classes_ref_request_builder.go | 4 +- .../schools_item_classes_request_builder.go | 2 +- ...ols_item_users_item_ref_request_builder.go | 2 +- .../schools_item_users_ref_request_builder.go | 4 +- .../schools_item_users_request_builder.go | 2 +- education/schools_request_builder.go | 4 +- ...ronization_profile_item_request_builder.go | 6 +- ...chronization_error_item_request_builder.go | 6 +- ...on_profiles_item_errors_request_builder.go | 4 +- ...ion_profiles_item_pause_request_builder.go | 2 +- ...les_item_profile_status_request_builder.go | 6 +- ...ion_profiles_item_reset_request_builder.go | 2 +- ...on_profiles_item_resume_request_builder.go | 2 +- ...ion_profiles_item_start_request_builder.go | 2 +- ...rofiles_item_upload_url_request_builder.go | 2 +- ...ynchronization_profiles_request_builder.go | 4 +- education/users_delta_request_builder.go | 2 +- ...ers_education_user_item_request_builder.go | 12 +- ..._item_assignments_delta_request_builder.go | 2 +- ...ucation_assignment_item_request_builder.go | 6 +- ...signments_item_activate_request_builder.go | 2 +- ...s_item_categories_delta_request_builder.go | 2 +- ...tem_categories_item_ref_request_builder.go | 2 +- ...nts_item_categories_ref_request_builder.go | 4 +- ...gnments_item_categories_request_builder.go | 4 +- ...gnments_item_deactivate_request_builder.go | 2 +- ...s_item_grading_category_request_builder.go | 4 +- ...ssignments_item_publish_request_builder.go | 2 +- ...ssignment_resource_item_request_builder.go | 6 +- ...ssignment_resource_item_request_builder.go | 6 +- ...tem_dependent_resources_request_builder.go | 4 +- ...ignments_item_resources_request_builder.go | 4 +- ...gnments_item_rubric_ref_request_builder.go | 6 +- ...assignments_item_rubric_request_builder.go | 6 +- ...edback_resources_folder_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...ucation_submission_item_request_builder.go | 6 +- ..._education_outcome_item_request_builder.go | 6 +- ...bmissions_item_outcomes_request_builder.go | 4 +- ...bmissions_item_reassign_request_builder.go | 2 +- ...ubmission_resource_item_request_builder.go | 6 +- ...ubmission_resource_item_request_builder.go | 6 +- ...tem_dependent_resources_request_builder.go | 4 +- ...missions_item_resources_request_builder.go | 4 +- ...submissions_item_return_request_builder.go | 2 +- ...set_up_resources_folder_request_builder.go | 2 +- ...submissions_item_submit_request_builder.go | 2 +- ...ubmission_resource_item_request_builder.go | 6 +- ...ubmission_resource_item_request_builder.go | 6 +- ...tem_dependent_resources_request_builder.go | 4 +- ...tem_submitted_resources_request_builder.go | 4 +- ...bmissions_item_unsubmit_request_builder.go | 2 +- ...nments_item_submissions_request_builder.go | 10 +- .../users_item_assignments_request_builder.go | 4 +- ...es_education_class_item_request_builder.go | 2 +- .../users_item_classes_request_builder.go | 2 +- ...s_education_rubric_item_request_builder.go | 6 +- .../users_item_rubrics_request_builder.go | 4 +- ...s_education_school_item_request_builder.go | 2 +- .../users_item_schools_request_builder.go | 2 +- ...es_education_class_item_request_builder.go | 2 +- ...ers_item_taught_classes_request_builder.go | 2 +- ...m_user_mailbox_settings_request_builder.go | 4 +- education/users_item_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- education/users_request_builder.go | 4 +- .../employee_experience_request_builder.go | 4 +- ...ng_course_activity_item_request_builder.go | 6 +- ...rning_course_activities_request_builder.go | 4 +- ...s_learning_content_item_request_builder.go | 6 +- ..._item_learning_contents_request_builder.go | 4 +- ...ng_course_activity_item_request_builder.go | 6 +- ...rning_course_activities_request_builder.go | 4 +- ..._learning_provider_item_request_builder.go | 6 +- .../learning_providers_request_builder.go | 4 +- ...thorization_system_item_request_builder.go | 6 +- ...em_data_collection_info_request_builder.go | 6 +- .../authorization_systems_request_builder.go | 4 +- ...xternal_connection_item_request_builder.go | 6 +- ...ups_external_group_item_request_builder.go | 6 +- ...m_members_identity_item_request_builder.go | 6 +- ...tem_groups_item_members_request_builder.go | 4 +- ...connections_item_groups_request_builder.go | 4 +- ...tems_external_item_item_request_builder.go | 6 +- ..._external_activity_item_request_builder.go | 6 +- ...ities_item_performed_by_request_builder.go | 2 +- ...m_items_item_activities_request_builder.go | 4 +- ...nnectors_add_activities_request_builder.go | 2 +- .../connections_item_items_request_builder.go | 4 +- ...nnection_operation_item_request_builder.go | 6 +- ...ections_item_operations_request_builder.go | 4 +- .../connections_item_quota_request_builder.go | 6 +- ...connections_item_schema_request_builder.go | 4 +- external/connections_request_builder.go | 4 +- external/external_request_builder.go | 4 +- ...try_data_connector_item_request_builder.go | 26 +- ..._industry_data_validate_request_builder.go | 2 +- ...tors_item_source_system_request_builder.go | 2 +- ...ry_data_data_connectors_request_builder.go | 4 +- ...flows_inbound_flow_item_request_builder.go | 12 +- ...ows_item_data_connector_request_builder.go | 2 +- ...inbound_flows_item_year_request_builder.go | 2 +- ...stry_data_inbound_flows_request_builder.go | 18 +- ..._running_operation_item_request_builder.go | 6 +- ...ndustry_data_operations_request_builder.go | 4 +- ...ference_definition_item_request_builder.go | 6 +- ...a_reference_definitions_request_builder.go | 4 +- external/industry_data_request_builder.go | 2 +- ...dustry_data_role_groups_request_builder.go | 4 +- ..._groups_role_group_item_request_builder.go | 6 +- ..._industry_data_run_item_request_builder.go | 2 +- ..._data_run_activity_item_request_builder.go | 2 +- ...ctivities_item_activity_request_builder.go | 2 +- ...ta_runs_item_activities_request_builder.go | 2 +- ...try_data_get_statistics_request_builder.go | 2 +- ...try_data_get_statistics_request_builder.go | 2 +- .../industry_data_runs_request_builder.go | 2 +- ...try_data_source_systems_request_builder.go | 4 +- ..._system_definition_item_request_builder.go | 6 +- .../industry_data_years_request_builder.go | 4 +- ..._period_definition_item_request_builder.go | 6 +- ...er_operator_schema_item_request_builder.go | 6 +- .../filter_operators_request_builder.go | 4 +- .../companies_company_item_request_builder.go | 2 +- ...m_accounts_account_item_request_builder.go | 2 +- ...companies_item_accounts_request_builder.go | 2 +- ...d_accounts_payable_item_request_builder.go | 2 +- ...m_aged_accounts_payable_request_builder.go | 2 +- ...ccounts_receivable_item_request_builder.go | 2 +- ...ged_accounts_receivable_request_builder.go | 2 +- ...ompany_information_item_request_builder.go | 4 +- ...nformation_item_picture_request_builder.go | 4 +- ...tem_company_information_request_builder.go | 2 +- ...ons_country_region_item_request_builder.go | 6 +- ..._item_countries_regions_request_builder.go | 4 +- ...urrencies_currency_item_request_builder.go | 6 +- ...mpanies_item_currencies_request_builder.go | 4 +- ...er_payment_journal_item_request_builder.go | 6 +- ...t_journals_item_account_request_builder.go | 2 +- ...s_customer_payment_item_request_builder.go | 6 +- ..._item_customer_currency_request_builder.go | 6 +- ...customer_payment_method_request_builder.go | 6 +- ...m_customer_payment_term_request_builder.go | 6 +- ...er_picture_item_content_request_builder.go | 4 +- ...er_picture_picture_item_request_builder.go | 6 +- ...s_item_customer_picture_request_builder.go | 4 +- ..._payments_item_customer_request_builder.go | 6 +- ...ustomer_shipment_method_request_builder.go | 6 +- ..._item_customer_payments_request_builder.go | 4 +- ...stomer_payment_journals_request_builder.go | 4 +- ...s_customer_payment_item_request_builder.go | 6 +- ..._item_customer_currency_request_builder.go | 6 +- ...customer_payment_method_request_builder.go | 6 +- ...m_customer_payment_term_request_builder.go | 6 +- ...er_picture_item_content_request_builder.go | 4 +- ...er_picture_picture_item_request_builder.go | 6 +- ...s_item_customer_picture_request_builder.go | 4 +- ..._payments_item_customer_request_builder.go | 6 +- ...ustomer_shipment_method_request_builder.go | 6 +- ..._item_customer_payments_request_builder.go | 4 +- ...customers_customer_item_request_builder.go | 6 +- ...customers_item_currency_request_builder.go | 6 +- ...ers_item_payment_method_request_builder.go | 6 +- ...omers_item_payment_term_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ..._customers_item_picture_request_builder.go | 4 +- ...rs_item_shipment_method_request_builder.go | 6 +- ...ompanies_item_customers_request_builder.go | 4 +- ...es_dimension_value_item_request_builder.go | 2 +- ...s_item_dimension_values_request_builder.go | 2 +- ...mensions_dimension_item_request_builder.go | 2 +- ...es_dimension_value_item_request_builder.go | 2 +- ...s_item_dimension_values_request_builder.go | 2 +- ...mpanies_item_dimensions_request_builder.go | 2 +- ...employees_employee_item_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ..._employees_item_picture_request_builder.go | 4 +- ...ompanies_item_employees_request_builder.go | 4 +- ...neral_ledger_entry_item_request_builder.go | 2 +- ...er_entries_item_account_request_builder.go | 2 +- ..._general_ledger_entries_request_builder.go | 2 +- ...ries_item_category_item_request_builder.go | 6 +- ...es_item_item_categories_request_builder.go | 4 +- ...tems_item_item_category_request_builder.go | 6 +- ...es_item_items_item_item_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...item_items_item_picture_request_builder.go | 4 +- .../companies_item_items_request_builder.go | 4 +- ...rnal_lines_item_account_request_builder.go | 2 +- ...lines_journal_line_item_request_builder.go | 6 +- ...nies_item_journal_lines_request_builder.go | 4 +- ...m_journals_item_account_request_builder.go | 2 +- ...rnal_lines_item_account_request_builder.go | 2 +- ...lines_journal_line_item_request_builder.go | 6 +- ...nals_item_journal_lines_request_builder.go | 4 +- ...item_journals_item_post_request_builder.go | 2 +- ...m_journals_journal_item_request_builder.go | 6 +- ...companies_item_journals_request_builder.go | 4 +- ...ods_payment_method_item_request_builder.go | 6 +- ...es_item_payment_methods_request_builder.go | 4 +- ...terms_payment_term_item_request_builder.go | 6 +- ...nies_item_payment_terms_request_builder.go | 4 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- .../companies_item_picture_request_builder.go | 4 +- ...oice_lines_item_account_request_builder.go | 2 +- ...item_item_item_category_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...lines_item_item_picture_request_builder.go | 4 +- ...invoice_lines_item_item_request_builder.go | 6 +- ...chase_invoice_line_item_request_builder.go | 4 +- ..._purchase_invoice_lines_request_builder.go | 2 +- ..._invoices_item_currency_request_builder.go | 6 +- ...hase_invoices_item_post_request_builder.go | 2 +- ...oice_lines_item_account_request_builder.go | 2 +- ...item_item_item_category_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...lines_item_item_picture_request_builder.go | 4 +- ...invoice_lines_item_item_request_builder.go | 6 +- ...chase_invoice_line_item_request_builder.go | 4 +- ..._purchase_invoice_lines_request_builder.go | 2 +- ...es_item_vendor_currency_request_builder.go | 6 +- ...m_vendor_payment_method_request_builder.go | 6 +- ...tem_vendor_payment_term_request_builder.go | 6 +- ...or_picture_item_content_request_builder.go | 4 +- ...or_picture_picture_item_request_builder.go | 6 +- ...ces_item_vendor_picture_request_builder.go | 4 +- ...se_invoices_item_vendor_request_builder.go | 6 +- ...s_purchase_invoice_item_request_builder.go | 4 +- ..._item_purchase_invoices_request_builder.go | 2 +- ...memo_lines_item_account_request_builder.go | 2 +- ...item_item_item_category_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...lines_item_item_picture_request_builder.go | 4 +- ...it_memo_lines_item_item_request_builder.go | 6 +- ...sales_credit_memo_lines_request_builder.go | 2 +- ...s_credit_memo_line_item_request_builder.go | 4 +- ...dit_memos_item_currency_request_builder.go | 6 +- ..._item_customer_currency_request_builder.go | 6 +- ...customer_payment_method_request_builder.go | 6 +- ...m_customer_payment_term_request_builder.go | 6 +- ...er_picture_item_content_request_builder.go | 4 +- ...er_picture_picture_item_request_builder.go | 6 +- ...s_item_customer_picture_request_builder.go | 4 +- ...dit_memos_item_customer_request_builder.go | 6 +- ...ustomer_shipment_method_request_builder.go | 6 +- ...memos_item_payment_term_request_builder.go | 6 +- ...memo_lines_item_account_request_builder.go | 2 +- ...item_item_item_category_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...lines_item_item_picture_request_builder.go | 4 +- ...it_memo_lines_item_item_request_builder.go | 6 +- ...sales_credit_memo_lines_request_builder.go | 2 +- ...s_credit_memo_line_item_request_builder.go | 4 +- ...item_sales_credit_memos_request_builder.go | 2 +- ..._sales_credit_memo_item_request_builder.go | 4 +- ...oice_lines_item_account_request_builder.go | 2 +- ...item_item_item_category_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...lines_item_item_picture_request_builder.go | 4 +- ...invoice_lines_item_item_request_builder.go | 6 +- ...tem_sales_invoice_lines_request_builder.go | 2 +- ...sales_invoice_line_item_request_builder.go | 4 +- ...es_item_cancel_and_send_request_builder.go | 2 +- ...es_invoices_item_cancel_request_builder.go | 2 +- ..._invoices_item_currency_request_builder.go | 6 +- ..._item_customer_currency_request_builder.go | 6 +- ...customer_payment_method_request_builder.go | 6 +- ...m_customer_payment_term_request_builder.go | 6 +- ...er_picture_item_content_request_builder.go | 4 +- ...er_picture_picture_item_request_builder.go | 6 +- ...s_item_customer_picture_request_builder.go | 4 +- ..._invoices_item_customer_request_builder.go | 6 +- ...ustomer_shipment_method_request_builder.go | 6 +- ...oices_item_payment_term_request_builder.go | 6 +- ...ices_item_post_and_send_request_builder.go | 2 +- ...ales_invoices_item_post_request_builder.go | 2 +- ...oice_lines_item_account_request_builder.go | 2 +- ...item_item_item_category_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...lines_item_item_picture_request_builder.go | 4 +- ...invoice_lines_item_item_request_builder.go | 6 +- ...tem_sales_invoice_lines_request_builder.go | 2 +- ...sales_invoice_line_item_request_builder.go | 4 +- ...ales_invoices_item_send_request_builder.go | 2 +- ...es_item_shipment_method_request_builder.go | 6 +- ...ies_item_sales_invoices_request_builder.go | 2 +- ...ices_sales_invoice_item_request_builder.go | 4 +- ...rder_lines_item_account_request_builder.go | 2 +- ...item_item_item_category_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...lines_item_item_picture_request_builder.go | 4 +- ...s_order_lines_item_item_request_builder.go | 6 +- ..._item_sales_order_lines_request_builder.go | 2 +- ...s_sales_order_line_item_request_builder.go | 4 +- ...es_orders_item_currency_request_builder.go | 6 +- ..._item_customer_currency_request_builder.go | 6 +- ...customer_payment_method_request_builder.go | 6 +- ...m_customer_payment_term_request_builder.go | 6 +- ...er_picture_item_content_request_builder.go | 4 +- ...er_picture_picture_item_request_builder.go | 6 +- ...s_item_customer_picture_request_builder.go | 4 +- ...es_orders_item_customer_request_builder.go | 6 +- ...ustomer_shipment_method_request_builder.go | 6 +- ...rders_item_payment_term_request_builder.go | 6 +- ...rder_lines_item_account_request_builder.go | 2 +- ...item_item_item_category_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...lines_item_item_picture_request_builder.go | 4 +- ...s_order_lines_item_item_request_builder.go | 6 +- ..._item_sales_order_lines_request_builder.go | 2 +- ...s_sales_order_line_item_request_builder.go | 4 +- ...anies_item_sales_orders_request_builder.go | 2 +- ...orders_sales_order_item_request_builder.go | 4 +- ...uote_lines_item_account_request_builder.go | 2 +- ...item_item_item_category_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...lines_item_item_picture_request_builder.go | 4 +- ...s_quote_lines_item_item_request_builder.go | 6 +- ..._item_sales_quote_lines_request_builder.go | 2 +- ...s_sales_quote_line_item_request_builder.go | 4 +- ...es_quotes_item_currency_request_builder.go | 6 +- ..._item_customer_currency_request_builder.go | 6 +- ...customer_payment_method_request_builder.go | 6 +- ...m_customer_payment_term_request_builder.go | 6 +- ...er_picture_item_content_request_builder.go | 4 +- ...er_picture_picture_item_request_builder.go | 6 +- ...s_item_customer_picture_request_builder.go | 4 +- ...es_quotes_item_customer_request_builder.go | 6 +- ...ustomer_shipment_method_request_builder.go | 6 +- ...uotes_item_make_invoice_request_builder.go | 2 +- ...uotes_item_payment_term_request_builder.go | 6 +- ...uote_lines_item_account_request_builder.go | 2 +- ...item_item_item_category_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...lines_item_item_picture_request_builder.go | 4 +- ...s_quote_lines_item_item_request_builder.go | 6 +- ..._item_sales_quote_lines_request_builder.go | 2 +- ...s_sales_quote_line_item_request_builder.go | 4 +- ..._sales_quotes_item_send_request_builder.go | 2 +- ...es_item_shipment_method_request_builder.go | 6 +- ...anies_item_sales_quotes_request_builder.go | 2 +- ...quotes_sales_quote_item_request_builder.go | 4 +- ...s_item_shipment_methods_request_builder.go | 4 +- ...ds_shipment_method_item_request_builder.go | 6 +- ...ompanies_item_tax_areas_request_builder.go | 4 +- ...tax_areas_tax_area_item_request_builder.go | 6 +- ...mpanies_item_tax_groups_request_builder.go | 4 +- ...x_groups_tax_group_item_request_builder.go | 6 +- ...s_item_units_of_measure_request_builder.go | 4 +- ...re_unit_of_measure_item_request_builder.go | 6 +- ...m_vendors_item_currency_request_builder.go | 6 +- ...ors_item_payment_method_request_builder.go | 6 +- ...ndors_item_payment_term_request_builder.go | 6 +- ...em_picture_item_content_request_builder.go | 4 +- ...em_picture_picture_item_request_builder.go | 6 +- ...em_vendors_item_picture_request_builder.go | 4 +- .../companies_item_vendors_request_builder.go | 4 +- ...tem_vendors_vendor_item_request_builder.go | 6 +- financials/companies_request_builder.go | 2 +- financials/financials_request_builder.go | 4 +- ...ng_function_schema_item_request_builder.go | 6 +- functions/functions_request_builder.go | 4 +- ...overnance_resource_item_request_builder.go | 6 +- .../governance_resources_request_builder.go | 4 +- .../item_parent_request_builder.go | 2 +- ...assignment_request_item_request_builder.go | 6 +- ...nt_requests_item_cancel_request_builder.go | 2 +- ..._requests_item_resource_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- ...t_requests_item_subject_request_builder.go | 6 +- ...sts_item_update_request_request_builder.go | 2 +- ...ole_assignment_requests_request_builder.go | 4 +- ...role_assignments_export_request_builder.go | 2 +- ...ce_role_assignment_item_request_builder.go | 6 +- ...ligible_role_assignment_request_builder.go | 2 +- ...signments_item_resource_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- ...ssignments_item_subject_request_builder.go | 6 +- .../item_role_assignments_request_builder.go | 4 +- ...ce_role_definition_item_request_builder.go | 6 +- ...finitions_item_resource_request_builder.go | 2 +- ...tions_item_role_setting_request_builder.go | 2 +- .../item_role_definitions_request_builder.go | 4 +- ...nance_role_setting_item_request_builder.go | 6 +- ..._settings_item_resource_request_builder.go | 2 +- ...gs_item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- .../item_role_settings_request_builder.go | 4 +- .../register_request_builder.go | 2 +- ...assignment_request_item_request_builder.go | 6 +- ...ole_assignment_requests_request_builder.go | 4 +- .../item_cancel_request_builder.go | 2 +- .../item_resource_request_builder.go | 2 +- .../item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- .../item_subject_request_builder.go | 6 +- .../item_update_request_request_builder.go | 2 +- .../export_request_builder.go | 2 +- ...ce_role_assignment_item_request_builder.go | 6 +- ...rnance_role_assignments_request_builder.go | 4 +- ...ligible_role_assignment_request_builder.go | 2 +- .../item_resource_request_builder.go | 2 +- .../item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- .../item_subject_request_builder.go | 6 +- ...ce_role_definition_item_request_builder.go | 6 +- ...rnance_role_definitions_request_builder.go | 4 +- .../item_resource_request_builder.go | 2 +- .../item_role_setting_request_builder.go | 2 +- ...nance_role_setting_item_request_builder.go | 6 +- ...overnance_role_settings_request_builder.go | 4 +- .../item_resource_request_builder.go | 2 +- .../item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- ...governance_subject_item_request_builder.go | 6 +- .../governance_subjects_request_builder.go | 4 +- graph_request_adapter.go | 3 +- ...roup_lifecycle_policies_request_builder.go | 4 +- ...p_lifecycle_policy_item_request_builder.go | 6 +- .../item_add_group_request_builder.go | 2 +- .../item_remove_group_request_builder.go | 2 +- .../renew_group_request_builder.go | 2 +- groups/delta_request_builder.go | 2 +- ...uate_dynamic_membership_request_builder.go | 2 +- groups/get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- groups/group_item_request_builder.go | 6 +- groups/groups_request_builder.go | 4 +- ...cepted_senders_item_ref_request_builder.go | 2 +- ...em_accepted_senders_ref_request_builder.go | 4 +- .../item_accepted_senders_request_builder.go | 2 +- groups/item_add_favorite_request_builder.go | 2 +- ...pp_role_assignment_item_request_builder.go | 6 +- ...em_app_role_assignments_request_builder.go | 4 +- groups/item_assign_license_request_builder.go | 2 +- ...sharing_roles_with_user_request_builder.go | 2 +- ...alendar_permission_item_request_builder.go | 6 +- ...ar_calendar_permissions_request_builder.go | 4 +- ...dar_calendar_view_delta_request_builder.go | 2 +- ...alendar_view_event_item_request_builder.go | 2 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 4 +- ...ndar_view_item_calendar_request_builder.go | 2 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...ar_view_item_extensions_request_builder.go | 4 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 2 +- ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ..._calendar_calendar_view_request_builder.go | 2 +- ...m_calendar_events_delta_request_builder.go | 2 +- ...endar_events_event_item_request_builder.go | 6 +- ...ndar_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 4 +- ...ar_events_item_calendar_request_builder.go | 2 +- ...ndar_events_item_cancel_request_builder.go | 2 +- ...dar_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ..._events_item_extensions_request_builder.go | 4 +- ...dar_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...r_events_item_instances_request_builder.go | 2 +- ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- .../item_calendar_events_request_builder.go | 4 +- ...m_calendar_get_schedule_request_builder.go | 2 +- groups/item_calendar_request_builder.go | 2 +- ...tem_calendar_view_delta_request_builder.go | 2 +- ...alendar_view_event_item_request_builder.go | 2 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 4 +- ...ndar_view_item_calendar_request_builder.go | 2 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...ar_view_item_extensions_request_builder.go | 4 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 2 +- ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- groups/item_calendar_view_request_builder.go | 2 +- ...ted_permissions_for_app_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- ...tions_conversation_item_request_builder.go | 18 +- ...onversation_thread_item_request_builder.go | 6 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ..._posts_item_attachments_request_builder.go | 4 +- ...tensions_extension_item_request_builder.go | 6 +- ...m_posts_item_extensions_request_builder.go | 4 +- ...item_posts_item_forward_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...in_reply_to_attachments_request_builder.go | 4 +- ...tensions_extension_item_request_builder.go | 6 +- ..._in_reply_to_extensions_request_builder.go | 4 +- ...tem_in_reply_to_forward_request_builder.go | 2 +- ...o_mentions_mention_item_request_builder.go | 4 +- ...em_in_reply_to_mentions_request_builder.go | 4 +- ..._item_in_reply_to_reply_request_builder.go | 2 +- ..._posts_item_in_reply_to_request_builder.go | 2 +- ...m_mentions_mention_item_request_builder.go | 4 +- ...tem_posts_item_mentions_request_builder.go | 4 +- ...s_item_posts_item_reply_request_builder.go | 2 +- ...ds_item_posts_post_item_request_builder.go | 4 +- ...item_threads_item_posts_request_builder.go | 2 +- ...item_threads_item_reply_request_builder.go | 8 +- ...versations_item_threads_request_builder.go | 4 +- groups/item_conversations_request_builder.go | 4 +- ...em_created_on_behalf_of_request_builder.go | 2 +- groups/item_drive_request_builder.go | 2 +- .../item_drives_drive_item_request_builder.go | 2 +- groups/item_drives_request_builder.go | 2 +- ...endpoints_endpoint_item_request_builder.go | 6 +- groups/item_endpoints_request_builder.go | 4 +- ...uate_dynamic_membership_request_builder.go | 2 +- groups/item_events_delta_request_builder.go | 2 +- .../item_events_event_item_request_builder.go | 6 +- ...item_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 4 +- ...em_events_item_calendar_request_builder.go | 2 +- ...item_events_item_cancel_request_builder.go | 2 +- ...tem_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ..._events_item_extensions_request_builder.go | 4 +- ...tem_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_events_item_instances_request_builder.go | 2 +- ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- groups/item_events_request_builder.go | 4 +- ...tensions_extension_item_request_builder.go | 6 +- groups/item_extensions_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- ...p_lifecycle_policy_item_request_builder.go | 6 +- ...policies_item_add_group_request_builder.go | 2 +- ...icies_item_remove_group_request_builder.go | 2 +- ...le_policies_renew_group_request_builder.go | 2 +- ...roup_lifecycle_policies_request_builder.go | 4 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...m_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- groups/item_member_of_request_builder.go | 2 +- ...mbers_graph_application_request_builder.go | 2 +- ...em_members_graph_device_request_builder.go | 2 +- ...tem_members_graph_group_request_builder.go | 2 +- ...mbers_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...item_members_graph_user_request_builder.go | 2 +- ..._item_graph_application_request_builder.go | 2 +- ...mbers_item_graph_device_request_builder.go | 2 +- ...embers_item_graph_group_request_builder.go | 2 +- ..._item_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...members_item_graph_user_request_builder.go | 2 +- .../item_members_item_ref_request_builder.go | 2 +- groups/item_members_ref_request_builder.go | 4 +- groups/item_members_request_builder.go | 2 +- ...s_directory_object_item_request_builder.go | 2 +- ...rrors_graph_application_request_builder.go | 2 +- ...nse_errors_graph_device_request_builder.go | 2 +- ...ense_errors_graph_group_request_builder.go | 2 +- ...rrors_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...cense_errors_graph_user_request_builder.go | 2 +- ..._item_graph_application_request_builder.go | 2 +- ...rrors_item_graph_device_request_builder.go | 2 +- ...errors_item_graph_group_request_builder.go | 2 +- ..._item_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ..._errors_item_graph_user_request_builder.go | 2 +- ...ers_with_license_errors_request_builder.go | 2 +- ...t_notebook_from_web_url_request_builder.go | 2 +- ...lude_personal_notebooks_request_builder.go | 2 +- ...ooks_item_copy_notebook_request_builder.go | 2 +- ...ps_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 2 +- ...oups_section_group_item_request_builder.go | 2 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...on_groups_item_sections_request_builder.go | 4 +- ...oks_item_section_groups_request_builder.go | 4 +- ...oups_section_group_item_request_builder.go | 6 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...notebooks_item_sections_request_builder.go | 4 +- ...notebooks_notebook_item_request_builder.go | 6 +- .../item_onenote_notebooks_request_builder.go | 4 +- ..._onenote_operation_item_request_builder.go | 6 +- ...item_onenote_operations_request_builder.go | 4 +- ...note_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...note_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- groups/item_onenote_pages_request_builder.go | 4 +- groups/item_onenote_request_builder.go | 6 +- ..._resources_item_content_request_builder.go | 4 +- ...s_onenote_resource_item_request_builder.go | 6 +- .../item_onenote_resources_request_builder.go | 4 +- ...ps_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 2 +- ...oups_section_group_item_request_builder.go | 2 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...on_groups_item_sections_request_builder.go | 4 +- ..._onenote_section_groups_request_builder.go | 4 +- ...oups_section_group_item_request_builder.go | 6 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...ote_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- .../item_onenote_sections_request_builder.go | 4 +- ...wners_graph_application_request_builder.go | 2 +- ...tem_owners_graph_device_request_builder.go | 2 +- ...item_owners_graph_group_request_builder.go | 2 +- ...wners_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- .../item_owners_graph_user_request_builder.go | 2 +- ..._item_graph_application_request_builder.go | 2 +- ...wners_item_graph_device_request_builder.go | 2 +- ...owners_item_graph_group_request_builder.go | 2 +- ..._item_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ..._owners_item_graph_user_request_builder.go | 2 +- .../item_owners_item_ref_request_builder.go | 2 +- groups/item_owners_ref_request_builder.go | 4 +- groups/item_owners_request_builder.go | 2 +- .../item_permission_grants_request_builder.go | 4 +- ...c_permission_grant_item_request_builder.go | 6 +- groups/item_photo_request_builder.go | 6 +- ...tem_photo_value_content_request_builder.go | 4 +- ...otos_item_value_content_request_builder.go | 4 +- ...otos_profile_photo_item_request_builder.go | 2 +- groups/item_photos_request_builder.go | 2 +- ...tem_planner_plans_delta_request_builder.go | 2 +- ...lans_item_buckets_delta_request_builder.go | 2 +- ...uckets_item_tasks_delta_request_builder.go | 2 +- ...ed_to_task_board_format_request_builder.go | 6 +- ...ucket_task_board_format_request_builder.go | 6 +- ...item_tasks_item_details_request_builder.go | 6 +- ...gress_task_board_format_request_builder.go | 6 +- ...tasks_planner_task_item_request_builder.go | 6 +- ...item_buckets_item_tasks_request_builder.go | 4 +- ...ets_planner_bucket_item_request_builder.go | 6 +- ...nner_plans_item_buckets_request_builder.go | 4 +- ...nner_plans_item_details_request_builder.go | 6 +- ..._item_move_to_container_request_builder.go | 2 +- ..._plans_item_tasks_delta_request_builder.go | 2 +- ...ed_to_task_board_format_request_builder.go | 6 +- ...ucket_task_board_format_request_builder.go | 6 +- ...item_tasks_item_details_request_builder.go | 6 +- ...gress_task_board_format_request_builder.go | 6 +- ...tasks_planner_task_item_request_builder.go | 6 +- ...lanner_plans_item_tasks_request_builder.go | 4 +- ...plans_planner_plan_item_request_builder.go | 6 +- groups/item_planner_plans_request_builder.go | 4 +- groups/item_planner_request_builder.go | 6 +- ...jected_senders_item_ref_request_builder.go | 2 +- ...em_rejected_senders_ref_request_builder.go | 4 +- .../item_rejected_senders_request_builder.go | 2 +- .../item_remove_favorite_request_builder.go | 2 +- groups/item_renew_request_builder.go | 2 +- ...item_reset_unseen_count_request_builder.go | 2 +- groups/item_restore_request_builder.go | 2 +- ...ry_service_provisioning_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ..._directory_setting_item_request_builder.go | 6 +- groups/item_settings_request_builder.go | 4 +- groups/item_sites_add_request_builder.go | 2 +- groups/item_sites_delta_request_builder.go | 2 +- ...tem_sites_get_all_sites_request_builder.go | 2 +- ...item_analytics_all_time_request_builder.go | 2 +- ...ties_item_activity_item_request_builder.go | 6 +- ...item_drive_item_content_request_builder.go | 4 +- ...ivities_item_drive_item_request_builder.go | 2 +- ...y_stats_item_activities_request_builder.go | 4 +- ...item_activity_stat_item_request_builder.go | 6 +- ...ics_item_activity_stats_request_builder.go | 4 +- ...alytics_last_seven_days_request_builder.go | 2 +- ...em_sites_item_analytics_request_builder.go | 6 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- ...item_sites_item_columns_request_builder.go | 4 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 6 +- ...tible_hub_content_types_request_builder.go | 2 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ...content_types_item_base_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 2 +- ...t_types_item_base_types_request_builder.go | 2 +- ..._links_column_link_item_request_builder.go | 6 +- ...types_item_column_links_request_builder.go | 4 +- ..._column_definition_item_request_builder.go | 2 +- ...s_item_column_positions_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- ...tent_types_item_columns_request_builder.go | 4 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 2 +- ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- ...ites_item_content_types_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...es_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- .../item_sites_item_drive_request_builder.go | 2 +- ..._item_drives_drive_item_request_builder.go | 2 +- .../item_sites_item_drives_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 2 +- ...s_item_external_columns_request_builder.go | 2 +- ...date_time_with_interval_request_builder.go | 2 +- ...s_for_list_with_list_id_request_builder.go | 2 +- ...m_get_by_path_with_path_request_builder.go | 2 +- ...ocker_recovery_key_item_request_builder.go | 2 +- ...bitlocker_recovery_keys_request_builder.go | 2 +- ...on_protection_bitlocker_request_builder.go | 2 +- ..._prevention_policy_item_request_builder.go | 6 +- ...ntion_policies_evaluate_request_builder.go | 2 +- ...oss_prevention_policies_request_builder.go | 4 +- ...otection_decrypt_buffer_request_builder.go | 2 +- ...otection_encrypt_buffer_request_builder.go | 2 +- ...ls_evaluate_application_request_builder.go | 2 +- ..._classification_results_request_builder.go | 2 +- ...labels_evaluate_removal_request_builder.go | 2 +- ...cy_labels_extract_label_request_builder.go | 2 +- ...n_protection_label_item_request_builder.go | 6 +- ...rotection_policy_labels_request_builder.go | 4 +- ...ation_protection_policy_request_builder.go | 6 +- ..._information_protection_request_builder.go | 6 +- ...itivity_labels_evaluate_request_builder.go | 2 +- ...item_sublabels_evaluate_request_builder.go | 2 +- ...y_labels_item_sublabels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- ...tion_sensitivity_labels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- ...itivity_policy_settings_request_builder.go | 6 +- ..._protection_sign_digest_request_builder.go | 2 +- ...t_requests_item_results_request_builder.go | 4 +- ..._assessment_result_item_request_builder.go | 6 +- ...eat_assessment_requests_request_builder.go | 4 +- ...assessment_request_item_request_builder.go | 6 +- ...ection_verify_signature_request_builder.go | 2 +- ...em_items_base_item_item_request_builder.go | 2 +- .../item_sites_item_items_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...m_lists_item_activities_request_builder.go | 4 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- ...item_lists_item_columns_request_builder.go | 4 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 6 +- ...tible_hub_content_types_request_builder.go | 2 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ...content_types_item_base_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 2 +- ...t_types_item_base_types_request_builder.go | 2 +- ..._links_column_link_item_request_builder.go | 6 +- ...types_item_column_links_request_builder.go | 4 +- ..._column_definition_item_request_builder.go | 2 +- ...s_item_column_positions_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- ...tent_types_item_columns_request_builder.go | 4 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 2 +- ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- ...ists_item_content_types_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...ts_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...s_item_lists_item_drive_request_builder.go | 2 +- ..._lists_item_items_delta_request_builder.go | 2 +- ..._items_delta_with_token_request_builder.go | 2 +- ...tem_activity_o_l_d_item_request_builder.go | 6 +- ...item_drive_item_content_request_builder.go | 4 +- ...ivities_item_drive_item_request_builder.go | 2 +- ...tivities_item_list_item_request_builder.go | 2 +- ...m_items_item_activities_request_builder.go | 4 +- ...em_items_item_analytics_request_builder.go | 2 +- ..._items_item_create_link_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...ms_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...cument_set_version_item_request_builder.go | 6 +- ...et_versions_item_fields_request_builder.go | 6 +- ...t_versions_item_restore_request_builder.go | 2 +- ...m_document_set_versions_request_builder.go | 4 +- ...item_drive_item_content_request_builder.go | 4 +- ...m_items_item_drive_item_request_builder.go | 2 +- ..._item_items_item_fields_request_builder.go | 6 +- ...date_time_with_interval_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...em_versions_item_fields_request_builder.go | 6 +- ...ns_item_restore_version_request_builder.go | 2 +- ..._list_item_version_item_request_builder.go | 6 +- ...tem_items_item_versions_request_builder.go | 4 +- ...em_items_list_item_item_request_builder.go | 6 +- ...s_item_lists_item_items_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...m_lists_item_operations_request_builder.go | 4 +- ..._running_operation_item_request_builder.go | 6 +- ...ptions_item_reauthorize_request_builder.go | 2 +- ...ists_item_subscriptions_request_builder.go | 4 +- ...tions_subscription_item_request_builder.go | 6 +- ...es_item_lists_list_item_request_builder.go | 6 +- .../item_sites_item_lists_request_builder.go | 4 +- ...t_notebook_from_web_url_request_builder.go | 2 +- ...lude_personal_notebooks_request_builder.go | 2 +- ...ooks_item_copy_notebook_request_builder.go | 2 +- ...ps_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 2 +- ...oups_section_group_item_request_builder.go | 2 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...on_groups_item_sections_request_builder.go | 4 +- ...oks_item_section_groups_request_builder.go | 4 +- ...oups_section_group_item_request_builder.go | 6 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...notebooks_item_sections_request_builder.go | 4 +- ...notebooks_notebook_item_request_builder.go | 6 +- ..._item_onenote_notebooks_request_builder.go | 4 +- ..._onenote_operation_item_request_builder.go | 6 +- ...item_onenote_operations_request_builder.go | 4 +- ...note_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...note_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...ites_item_onenote_pages_request_builder.go | 4 +- ...item_sites_item_onenote_request_builder.go | 6 +- ..._resources_item_content_request_builder.go | 4 +- ...s_onenote_resource_item_request_builder.go | 6 +- ..._item_onenote_resources_request_builder.go | 4 +- ...ps_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 2 +- ...oups_section_group_item_request_builder.go | 2 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...on_groups_item_sections_request_builder.go | 4 +- ..._onenote_section_groups_request_builder.go | 4 +- ...oups_section_group_item_request_builder.go | 6 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...ote_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...s_item_onenote_sections_request_builder.go | 4 +- ...m_sites_item_operations_request_builder.go | 4 +- ..._running_operation_item_request_builder.go | 6 +- ...ges_base_site_page_item_request_builder.go | 6 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...es_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- .../item_sites_item_pages_request_builder.go | 4 +- ..._permissions_item_grant_request_builder.go | 2 +- ...ions_item_revoke_grants_request_builder.go | 2 +- ...issions_permission_item_request_builder.go | 6 +- ..._sites_item_permissions_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...cle_bin_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...ms_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...s_recycle_bin_item_item_request_builder.go | 6 +- ..._item_recycle_bin_items_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...n_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ..._sites_item_recycle_bin_request_builder.go | 6 +- .../item_sites_item_sites_request_builder.go | 2 +- ...es_item_sites_site_item_request_builder.go | 2 +- ...store_groups_group_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ..._children_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...item_sets_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ..._sets_item_parent_group_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...tem_sets_item_relations_request_builder.go | 4 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tem_terms_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...em_terms_item_relations_request_builder.go | 4 +- ...ets_item_terms_item_set_request_builder.go | 2 +- ...ps_item_sets_item_terms_request_builder.go | 4 +- ...ts_item_terms_term_item_request_builder.go | 6 +- ..._store_groups_item_sets_request_builder.go | 4 +- ...oups_item_sets_set_item_request_builder.go | 6 +- ..._item_term_store_groups_request_builder.go | 4 +- ...m_sites_item_term_store_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ..._children_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tore_sets_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ..._sets_item_parent_group_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ..._children_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...roup_sets_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...oup_sets_item_relations_request_builder.go | 4 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tem_terms_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...em_terms_item_relations_request_builder.go | 4 +- ...ets_item_terms_item_set_request_builder.go | 2 +- ...t_group_sets_item_terms_request_builder.go | 4 +- ...ts_item_terms_term_item_request_builder.go | 6 +- ..._item_parent_group_sets_request_builder.go | 4 +- ...ent_group_sets_set_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...ore_sets_item_relations_request_builder.go | 4 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tem_terms_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...em_terms_item_relations_request_builder.go | 4 +- ...ets_item_terms_item_set_request_builder.go | 2 +- ...m_store_sets_item_terms_request_builder.go | 4 +- ...ts_item_terms_term_item_request_builder.go | 6 +- ...es_item_term_store_sets_request_builder.go | 4 +- ...erm_store_sets_set_item_request_builder.go | 6 +- groups/item_sites_remove_request_builder.go | 2 +- groups/item_sites_request_builder.go | 2 +- .../item_sites_site_item_request_builder.go | 4 +- .../item_subscribe_by_mail_request_builder.go | 2 +- ...l_channels_channel_item_request_builder.go | 2 +- .../item_team_all_channels_request_builder.go | 2 +- groups/item_team_archive_request_builder.go | 2 +- ...m_channels_all_messages_request_builder.go | 2 +- ...m_channels_channel_item_request_builder.go | 6 +- ...annels_get_all_messages_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 2 +- ...em_files_folder_content_request_builder.go | 4 +- ...nnels_item_files_folder_request_builder.go | 2 +- ...annels_item_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...m_channels_item_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- ...els_item_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- ..._channels_item_messages_request_builder.go | 10 +- ...ls_item_provision_email_request_builder.go | 2 +- ...nnels_item_remove_email_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 2 +- ...ed_with_teams_item_team_request_builder.go | 2 +- ..._item_shared_with_teams_request_builder.go | 4 +- ..._channel_team_info_item_request_builder.go | 6 +- ...tem_tabs_item_teams_app_request_builder.go | 2 +- ...team_channels_item_tabs_request_builder.go | 4 +- ...tem_tabs_teams_tab_item_request_builder.go | 6 +- groups/item_team_channels_request_builder.go | 4 +- groups/item_team_clone_request_builder.go | 2 +- ...team_complete_migration_request_builder.go | 2 +- groups/item_team_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...g_channels_channel_item_request_builder.go | 4 +- ..._team_incoming_channels_request_builder.go | 2 +- ...em_teams_app_definition_request_builder.go | 2 +- ...led_apps_item_teams_app_request_builder.go | 2 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- ...tem_team_installed_apps_request_builder.go | 4 +- ...s_app_installation_item_request_builder.go | 6 +- .../item_team_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- groups/item_team_members_request_builder.go | 4 +- .../item_team_operations_request_builder.go | 4 +- ...ms_async_operation_item_request_builder.go | 6 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ...ice_provisioning_errors_request_builder.go | 8 +- groups/item_team_owners_request_builder.go | 2 +- ...m_team_owners_user_item_request_builder.go | 2 +- ..._team_permission_grants_request_builder.go | 4 +- ...c_permission_grant_item_request_builder.go | 6 +- groups/item_team_photo_request_builder.go | 4 +- ...eam_photo_value_content_request_builder.go | 4 +- ...nnel_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 2 +- ...el_files_folder_content_request_builder.go | 4 +- ...ry_channel_files_folder_request_builder.go | 2 +- ...ary_channel_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...primary_channel_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- ..._channel_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...l_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- ...rimary_channel_messages_request_builder.go | 10 +- ...channel_provision_email_request_builder.go | 2 +- ...ry_channel_remove_email_request_builder.go | 2 +- ...em_team_primary_channel_request_builder.go | 6 +- ...onversation_member_item_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 2 +- ...ed_with_teams_item_team_request_builder.go | 2 +- ...annel_shared_with_teams_request_builder.go | 4 +- ..._channel_team_info_item_request_builder.go | 6 +- ...nel_tabs_item_teams_app_request_builder.go | 2 +- ...am_primary_channel_tabs_request_builder.go | 4 +- ...nel_tabs_teams_tab_item_request_builder.go | 6 +- groups/item_team_request_builder.go | 6 +- ...chedule_day_notes_count_request_builder.go | 80 ++ ...day_notes_day_note_item_request_builder.go | 160 +++ ...team_schedule_day_notes_request_builder.go | 151 +++ ...ffer_shift_request_item_request_builder.go | 6 +- ...le_offer_shift_requests_request_builder.go | 4 +- ...ift_change_request_item_request_builder.go | 6 +- ...n_shift_change_requests_request_builder.go | 4 +- ..._shifts_open_shift_item_request_builder.go | 6 +- ...am_schedule_open_shifts_request_builder.go | 4 +- groups/item_team_schedule_request_builder.go | 10 +- ...edule_scheduling_groups_request_builder.go | 4 +- ...s_scheduling_group_item_request_builder.go | 6 +- ...tem_team_schedule_share_request_builder.go | 2 +- ...em_team_schedule_shifts_request_builder.go | 4 +- ...edule_shifts_shift_item_request_builder.go | 6 +- ..._shifts_change_requests_request_builder.go | 4 +- ...fts_change_request_item_request_builder.go | 6 +- ...ule_time_cards_clock_in_request_builder.go | 2 +- ...me_cards_item_clock_out_request_builder.go | 2 +- ...time_cards_item_confirm_request_builder.go | 2 +- ...me_cards_item_end_break_request_builder.go | 2 +- ..._cards_item_start_break_request_builder.go | 2 +- ...eam_schedule_time_cards_request_builder.go | 4 +- ...me_cards_time_card_item_request_builder.go | 6 +- ...hedule_time_off_reasons_request_builder.go | 4 +- ...ns_time_off_reason_item_request_builder.go | 6 +- ...edule_time_off_requests_request_builder.go | 4 +- ...s_time_off_request_item_request_builder.go | 6 +- ...team_schedule_times_off_request_builder.go | 4 +- ...times_off_time_off_item_request_builder.go | 6 +- ...d_activity_notification_request_builder.go | 2 +- ..._team_tags_item_members_request_builder.go | 4 +- ...eamwork_tag_member_item_request_builder.go | 6 +- groups/item_team_tags_request_builder.go | 4 +- ..._tags_teamwork_tag_item_request_builder.go | 6 +- ...eam_template_definition_request_builder.go | 2 +- groups/item_team_template_request_builder.go | 2 +- groups/item_team_unarchive_request_builder.go | 2 +- ...onversation_thread_item_request_builder.go | 20 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ..._posts_item_attachments_request_builder.go | 4 +- ...tensions_extension_item_request_builder.go | 6 +- ...m_posts_item_extensions_request_builder.go | 4 +- ...item_posts_item_forward_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...in_reply_to_attachments_request_builder.go | 4 +- ...tensions_extension_item_request_builder.go | 6 +- ..._in_reply_to_extensions_request_builder.go | 4 +- ...tem_in_reply_to_forward_request_builder.go | 2 +- ...o_mentions_mention_item_request_builder.go | 4 +- ...em_in_reply_to_mentions_request_builder.go | 4 +- ..._item_in_reply_to_reply_request_builder.go | 2 +- ..._posts_item_in_reply_to_request_builder.go | 2 +- ...m_mentions_mention_item_request_builder.go | 4 +- ...tem_posts_item_mentions_request_builder.go | 4 +- ...s_item_posts_item_reply_request_builder.go | 2 +- ...ds_item_posts_post_item_request_builder.go | 4 +- ...item_threads_item_posts_request_builder.go | 2 +- ...item_threads_item_reply_request_builder.go | 8 +- groups/item_threads_request_builder.go | 4 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...e_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- ...em_transitive_member_of_request_builder.go | 2 +- ...s_directory_object_item_request_builder.go | 2 +- ...mbers_graph_application_request_builder.go | 2 +- ...ve_members_graph_device_request_builder.go | 2 +- ...ive_members_graph_group_request_builder.go | 2 +- ...mbers_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...tive_members_graph_user_request_builder.go | 2 +- ..._item_graph_application_request_builder.go | 2 +- ...mbers_item_graph_device_request_builder.go | 2 +- ...embers_item_graph_group_request_builder.go | 2 +- ..._item_graph_org_contact_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...members_item_graph_user_request_builder.go | 2 +- ...item_transitive_members_request_builder.go | 2 +- ...tem_unsubscribe_by_mail_request_builder.go | 2 +- ...tem_validate_properties_request_builder.go | 2 +- groups/validate_properties_request_builder.go | 2 +- ...groups_with_unique_name_request_builder.go | 6 +- ...tity_api_connector_item_request_builder.go | 6 +- ...load_client_certificate_request_builder.go | 2 +- identity/api_connectors_request_builder.go | 4 +- ...ion_event_listener_item_request_builder.go | 6 +- ...ication_event_listeners_request_builder.go | 4 +- ...cation_events_flow_item_request_builder.go | 10 +- ...ice_sign_up_events_flow_request_builder.go | 2 +- ...on_application_app_item_request_builder.go | 97 +- ...lude_applications_count_request_builder.go | 80 ++ ...ns_include_applications_request_builder.go | 151 +++ ...conditions_applications_request_builder.go | 27 + ...s_flows_item_conditions_request_builder.go | 85 ++ ...on_application_app_item_request_builder.go | 160 +++ ...lude_applications_count_request_builder.go | 80 ++ ...ns_include_applications_request_builder.go | 151 +++ ...conditions_applications_request_builder.go | 27 + ..._events_flow_conditions_request_builder.go | 85 ++ ...ser_flow_attribute_item_request_builder.go | 64 +- ..._up_attributes_item_ref_request_builder.go | 75 ++ ..._sign_up_attributes_ref_request_builder.go | 129 +++ ...vice_sign_up_attributes_request_builder.go | 8 +- ...rs_self_service_sign_up_request_builder.go | 2 +- ...on_attribute_collection_request_builder.go | 2 +- ...tity_providers_item_ref_request_builder.go | 2 +- ..._identity_providers_ref_request_builder.go | 4 +- ...n_up_identity_providers_request_builder.go | 2 +- ...rs_self_service_sign_up_request_builder.go | 2 +- ...ation_method_load_start_request_builder.go | 2 +- ...ice_sign_up_events_flow_request_builder.go | 6 +- ...entication_events_flows_request_builder.go | 4 +- ...identity_user_flow_item_request_builder.go | 6 +- ...tity_providers_item_ref_request_builder.go | 2 +- ..._identity_providers_ref_request_builder.go | 4 +- ...item_identity_providers_request_builder.go | 2 +- ...ages_item_value_content_request_builder.go | 4 +- ...ages_item_default_pages_request_builder.go | 4 +- ...flow_language_page_item_request_builder.go | 6 +- ...ages_item_value_content_request_builder.go | 4 +- ...es_item_overrides_pages_request_builder.go | 4 +- ...flow_language_page_item_request_builder.go | 6 +- ...er_flows_item_languages_request_builder.go | 4 +- ...uage_configuration_item_request_builder.go | 6 +- ...e_assignments_get_order_request_builder.go | 2 +- ...tribute_assignment_item_request_builder.go | 6 +- ...nts_item_user_attribute_request_builder.go | 2 +- ...r_attribute_assignments_request_builder.go | 4 +- ...e_assignments_set_order_request_builder.go | 2 +- ...tity_provider_base_item_request_builder.go | 2 +- ...flow_identity_providers_request_builder.go | 2 +- identity/b2c_user_flows_request_builder.go | 4 +- ...identity_user_flow_item_request_builder.go | 6 +- ...ttribute_collection_ref_request_builder.go | 6 +- ...st_attribute_collection_request_builder.go | 6 +- ...load_client_certificate_request_builder.go | 2 +- ...t_federation_signup_ref_request_builder.go | 6 +- ..._post_federation_signup_request_builder.go | 6 +- ...load_client_certificate_request_builder.go | 2 +- ...tion_pre_token_issuance_request_builder.go | 6 +- ...load_client_certificate_request_builder.go | 2 +- ...connector_configuration_request_builder.go | 2 +- ..._identity_provider_item_request_builder.go | 4 +- ...item_identity_providers_request_builder.go | 2 +- ...ages_item_value_content_request_builder.go | 4 +- ...ages_item_default_pages_request_builder.go | 4 +- ...flow_language_page_item_request_builder.go | 6 +- ...ages_item_value_content_request_builder.go | 4 +- ...es_item_overrides_pages_request_builder.go | 4 +- ...flow_language_page_item_request_builder.go | 6 +- ...er_flows_item_languages_request_builder.go | 4 +- ...uage_configuration_item_request_builder.go | 6 +- ...e_assignments_get_order_request_builder.go | 2 +- ...tribute_assignment_item_request_builder.go | 6 +- ...nts_item_user_attribute_request_builder.go | 2 +- ...r_attribute_assignments_request_builder.go | 4 +- ...e_assignments_set_order_request_builder.go | 2 +- ...tity_providers_item_ref_request_builder.go | 2 +- ..._identity_providers_ref_request_builder.go | 4 +- ...flow_identity_providers_request_builder.go | 2 +- identity/b2x_user_flows_request_builder.go | 4 +- ...xt_class_reference_item_request_builder.go | 6 +- ...ontext_class_references_request_builder.go | 4 +- ...method_mode_detail_item_request_builder.go | 6 +- ...entication_method_modes_request_builder.go | 4 +- ...on_strength_policy_item_request_builder.go | 6 +- ...entication_method_modes_request_builder.go | 2 +- ...tion_configuration_item_request_builder.go | 6 +- ...bination_configurations_request_builder.go | 4 +- ...te_allowed_combinations_request_builder.go | 2 +- ...gth_policies_item_usage_request_builder.go | 2 +- ...ation_strength_policies_request_builder.go | 4 +- ...authentication_strength_request_builder.go | 6 +- ...method_mode_detail_item_request_builder.go | 6 +- ...entication_method_modes_request_builder.go | 4 +- ...on_strength_policy_item_request_builder.go | 6 +- ...entication_method_modes_request_builder.go | 2 +- ...tion_configuration_item_request_builder.go | 6 +- ...bination_configurations_request_builder.go | 4 +- ...te_allowed_combinations_request_builder.go | 2 +- ...ths_policies_item_usage_request_builder.go | 2 +- ...tion_strengths_policies_request_builder.go | 4 +- ...uthentication_strengths_request_builder.go | 6 +- ...ons_named_location_item_request_builder.go | 12 +- ..._access_named_locations_request_builder.go | 4 +- ...onal_access_policy_item_request_builder.go | 6 +- ...itional_access_policies_request_builder.go | 4 +- .../conditional_access_request_builder.go | 6 +- ...al_access_template_item_request_builder.go | 2 +- ...tional_access_templates_request_builder.go | 2 +- ...ccess_evaluation_policy_request_builder.go | 6 +- ...tication_extension_item_request_builder.go | 14 +- ...ntication_configuration_request_builder.go | 2 +- ...thentication_extensions_request_builder.go | 4 +- ...ntication_configuration_request_builder.go | 2 +- ...vailable_provider_types_request_builder.go | 2 +- ...tity_provider_base_item_request_builder.go | 6 +- .../identity_providers_request_builder.go | 4 +- identity/identity_request_builder.go | 4 +- ...ser_flow_attribute_item_request_builder.go | 6 +- .../user_flow_attributes_request_builder.go | 4 +- ...identity_user_flow_item_request_builder.go | 6 +- identity/user_flows_request_builder.go | 4 +- ...a40c487237bba9c288f61c2d3d7ddc1534fac94.go | 6 +- ...90c1dc0cd4f3b8276644941cc96b7be53dc79e8.go | 6 +- ...66717482125f489ec89e0c0c26b9ae23894afe1.go | 2 +- ...b0b23b504c0caba5a4491697122a81d98669719.go | 6 +- ...ad3c4d1696f68d82a95941fb9ff47f189d5bd31.go | 2 +- ...d3f10ebb928a6c58cc3fafc6d64403003c886c0.go | 6 +- ...8c25c473ae2dc7fb4d82074094003cb88c7a552.go | 6 +- ...0d4aeca4893dac3c15113bbf55a129c0cbe2258.go | 6 +- ...2d4c54e197f3e4c7f376514253e33d4a6f4457e.go | 4 +- ...49da4e8c25ecff07ca2bc5d0652d4a74c270ec4.go | 6 +- ...7c40971e441cda70cd83b8ae3b19a1ec2e3fe1a.go | 6 +- ...4b7a5bb3029f3dbf5bee4db9be4040b93ac9df8.go | 6 +- ...158602d0df7ca57a38ac6054ab688e71688ab33.go | 2 +- ...4a259e3bd0c01b8eb4ba34dcef28435196b2b69.go | 2 +- ...36eaa7023a390edc62c5f457a4d805cd4cb7d4f.go | 4 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ..._accept_recommendations_request_builder.go | 2 +- ...nstance_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 6 +- ...nce_contacted_reviewers_request_builder.go | 4 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...item_instance_decisions_request_builder.go | 4 +- ...tem_instance_definition_request_builder.go | 2 +- ...decisions_item_instance_request_builder.go | 6 +- ...nstance_reset_decisions_request_builder.go | 2 +- ..._instance_send_reminder_request_builder.go | 2 +- ...ccess_review_stage_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...e_stages_item_decisions_request_builder.go | 4 +- ...stance_stages_item_stop_request_builder.go | 2 +- ...ns_item_instance_stages_request_builder.go | 4 +- ...ce_stop_apply_decisions_request_builder.go | 2 +- ...ions_item_instance_stop_request_builder.go | 2 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...ccess_reviews_decisions_request_builder.go | 4 +- ...chedule_definition_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ss_review_instance_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ..._accept_recommendations_request_builder.go | 2 +- ...es_item_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 6 +- ...tem_contacted_reviewers_request_builder.go | 4 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ..._accept_recommendations_request_builder.go | 2 +- ...nstance_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 6 +- ...nce_contacted_reviewers_request_builder.go | 4 +- ...tem_instance_definition_request_builder.go | 2 +- ...decisions_item_instance_request_builder.go | 6 +- ...nstance_reset_decisions_request_builder.go | 2 +- ..._instance_send_reminder_request_builder.go | 2 +- ...ccess_review_stage_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...e_stages_item_decisions_request_builder.go | 4 +- ...stance_stages_item_stop_request_builder.go | 2 +- ...ns_item_instance_stages_request_builder.go | 4 +- ...ce_stop_apply_decisions_request_builder.go | 2 +- ...ions_item_instance_stop_request_builder.go | 2 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...nstances_item_decisions_request_builder.go | 4 +- ...stances_item_definition_request_builder.go | 2 +- ...es_item_reset_decisions_request_builder.go | 2 +- ...nces_item_send_reminder_request_builder.go | 2 +- ...ccess_review_stage_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ..._accept_recommendations_request_builder.go | 2 +- ...nstance_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 6 +- ...nce_contacted_reviewers_request_builder.go | 4 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...item_instance_decisions_request_builder.go | 4 +- ...tem_instance_definition_request_builder.go | 2 +- ...decisions_item_instance_request_builder.go | 6 +- ...nstance_reset_decisions_request_builder.go | 2 +- ..._instance_send_reminder_request_builder.go | 2 +- ...ce_stop_apply_decisions_request_builder.go | 2 +- ...ions_item_instance_stop_request_builder.go | 2 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...m_stages_item_decisions_request_builder.go | 4 +- ...s_item_stages_item_stop_request_builder.go | 2 +- ...m_instances_item_stages_request_builder.go | 4 +- ...em_stop_apply_decisions_request_builder.go | 2 +- ...tem_instances_item_stop_request_builder.go | 2 +- ...initions_item_instances_request_builder.go | 4 +- ...s_definitions_item_stop_request_builder.go | 2 +- ...ess_reviews_definitions_request_builder.go | 4 +- ...history_definition_item_request_builder.go | 6 +- ...w_history_instance_item_request_builder.go | 6 +- ...m_generate_download_uri_request_builder.go | 2 +- ...initions_item_instances_request_builder.go | 4 +- ...ews_history_definitions_request_builder.go | 4 +- .../access_reviews_policy_request_builder.go | 6 +- .../access_reviews_request_builder.go | 6 +- ...pp_consent_request_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...by_current_user_with_on_request_builder.go | 2 +- ..._requests_item_approval_request_builder.go | 6 +- ...teps_approval_step_item_request_builder.go | 6 +- ...sts_item_approval_steps_request_builder.go | 4 +- ...m_user_consent_requests_request_builder.go | 4 +- ...er_consent_request_item_request_builder.go | 6 +- ...nt_app_consent_requests_request_builder.go | 4 +- .../app_consent_request_builder.go | 6 +- ...0c3556c1f47d097bafa1e0817820d176b3eca94.go | 4 +- ...1d2d11feb1901364c66d4a22775422679339a09.go | 2 +- ...b60799d59f2b23d5a440ef70d49dccec55f56ce.go | 6 +- ...52bdfbbfddb0d47d1e5cb4e97b455e5bc0bf104.go | 2 +- ...14e91eb8fdd7873d592964902529907494d6fbf.go | 4 +- ...c9db681e66b8600cf6f9875e4c16d0609e663f1.go | 6 +- ...approvals_approval_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...teps_approval_step_item_request_builder.go | 6 +- ...nt_approvals_item_steps_request_builder.go | 4 +- ...ge_assignment_approvals_request_builder.go | 4 +- ..._assignment_policy_item_request_builder.go | 6 +- ..._access_package_catalog_request_builder.go | 2 +- ...ies_item_access_package_request_builder.go | 2 +- ..._extension_handler_item_request_builder.go | 6 +- ...s_item_custom_extension_request_builder.go | 2 +- ...stom_extension_handlers_request_builder.go | 4 +- ...sion_stage_setting_item_request_builder.go | 6 +- ...s_item_custom_extension_request_builder.go | 2 +- ...xtension_stage_settings_request_builder.go | 4 +- ...age_assignment_policies_request_builder.go | 4 +- ...assignment_request_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...cess_package_assignment_request_builder.go | 2 +- ...sts_item_access_package_request_builder.go | 2 +- ...nt_requests_item_cancel_request_builder.go | 2 +- ...requests_item_reprocess_request_builder.go | 2 +- ..._connected_organization_request_builder.go | 2 +- ...requests_item_requestor_request_builder.go | 6 +- ...nt_requests_item_resume_request_builder.go | 2 +- ...age_assignment_requests_request_builder.go | 4 +- ...ment_resource_role_item_request_builder.go | 6 +- ...package_assignment_item_request_builder.go | 2 +- ...ess_package_assignments_request_builder.go | 2 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ..._package_resource_roles_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...s_package_resource_role_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_scope_request_builder.go | 6 +- ..._connected_organization_request_builder.go | 2 +- ..._access_package_subject_request_builder.go | 6 +- ...nment_resource_roles_my_request_builder.go | 2 +- ...signment_resource_roles_request_builder.go | 4 +- ...package_assignment_item_request_builder.go | 6 +- ...ments_additional_access_request_builder.go | 2 +- ...tible_access_package_id_request_builder.go | 2 +- ...by_current_user_with_on_request_builder.go | 2 +- ..._assignment_policy_item_request_builder.go | 6 +- ..._access_package_catalog_request_builder.go | 2 +- ...ies_item_access_package_request_builder.go | 2 +- ..._extension_handler_item_request_builder.go | 6 +- ...s_item_custom_extension_request_builder.go | 2 +- ...stom_extension_handlers_request_builder.go | 4 +- ...sion_stage_setting_item_request_builder.go | 6 +- ...s_item_custom_extension_request_builder.go | 2 +- ...xtension_stage_settings_request_builder.go | 4 +- ...age_assignment_policies_request_builder.go | 4 +- ..._access_package_catalog_request_builder.go | 2 +- ...esource_role_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...s_package_resource_role_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_scope_request_builder.go | 6 +- ...ge_resource_role_scopes_request_builder.go | 4 +- ...ith_access_package_item_request_builder.go | 2 +- ...kages_incompatible_with_request_builder.go | 2 +- ..._access_package_catalog_request_builder.go | 2 +- ...t_policy_access_package_request_builder.go | 2 +- ..._extension_handler_item_request_builder.go | 6 +- ...s_item_custom_extension_request_builder.go | 2 +- ...stom_extension_handlers_request_builder.go | 4 +- ...sion_stage_setting_item_request_builder.go | 6 +- ...s_item_custom_extension_request_builder.go | 2 +- ...xtension_stage_settings_request_builder.go | 4 +- ...ckage_assignment_policy_request_builder.go | 6 +- ...assignment_request_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...cess_package_assignment_request_builder.go | 2 +- ...sts_item_access_package_request_builder.go | 2 +- ...nt_requests_item_cancel_request_builder.go | 2 +- ...requests_item_reprocess_request_builder.go | 2 +- ..._connected_organization_request_builder.go | 2 +- ...requests_item_requestor_request_builder.go | 6 +- ...nt_requests_item_resume_request_builder.go | 2 +- ...age_assignment_requests_request_builder.go | 4 +- ...ment_resource_role_item_request_builder.go | 6 +- ...package_assignment_item_request_builder.go | 2 +- ...ess_package_assignments_request_builder.go | 2 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...s_package_resource_role_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_scope_request_builder.go | 6 +- ..._connected_organization_request_builder.go | 2 +- ..._access_package_subject_request_builder.go | 6 +- ...nment_resource_roles_my_request_builder.go | 2 +- ...signment_resource_roles_request_builder.go | 4 +- ...ble_policy_requirements_request_builder.go | 2 +- ...ccess_packages_item_ref_request_builder.go | 2 +- ...ble_access_packages_ref_request_builder.go | 4 +- ...patible_access_packages_request_builder.go | 2 +- ...patible_groups_item_ref_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...incompatible_groups_ref_request_builder.go | 4 +- ...age_incompatible_groups_request_builder.go | 2 +- ...package_move_to_catalog_request_builder.go | 2 +- ...nts_item_access_package_request_builder.go | 6 +- ...ignments_item_reprocess_request_builder.go | 2 +- ..._connected_organization_request_builder.go | 2 +- ...assignments_item_target_request_builder.go | 6 +- ...ess_package_assignments_request_builder.go | 4 +- ...ss_package_catalog_item_request_builder.go | 6 +- ..._callout_extension_item_request_builder.go | 12 +- ...tom_workflow_extensions_request_builder.go | 4 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...s_package_resource_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ..._resources_item_refresh_request_builder.go | 2 +- ...ccess_package_resources_request_builder.go | 4 +- ...ges_access_package_item_request_builder.go | 2 +- ...gs_item_access_packages_request_builder.go | 2 +- ...workflow_extension_item_request_builder.go | 12 +- ...age_workflow_extensions_request_builder.go | 4 +- ...access_package_catalogs_request_builder.go | 4 +- ...package_catalogs_search_request_builder.go | 2 +- ...source_environment_item_request_builder.go | 6 +- ...s_package_resource_item_request_builder.go | 2 +- ...ccess_package_resources_request_builder.go | 2 +- ...e_resource_environments_request_builder.go | 4 +- ...e_resource_request_item_request_builder.go | 6 +- ...access_package_resource_request_builder.go | 2 +- ..._connected_organization_request_builder.go | 2 +- ...requests_item_requestor_request_builder.go | 6 +- ...ckage_resource_requests_request_builder.go | 4 +- ...esource_role_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ..._package_resource_roles_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...s_package_resource_role_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_scope_request_builder.go | 6 +- ...ge_resource_role_scopes_request_builder.go | 4 +- ...s_package_resource_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ..._resources_item_refresh_request_builder.go | 2 +- ...ccess_package_resources_request_builder.go | 4 +- ...ges_access_package_item_request_builder.go | 14 +- ...by_current_user_with_on_request_builder.go | 2 +- ..._assignment_policy_item_request_builder.go | 6 +- ..._access_package_catalog_request_builder.go | 2 +- ...ies_item_access_package_request_builder.go | 2 +- ..._extension_handler_item_request_builder.go | 6 +- ...s_item_custom_extension_request_builder.go | 2 +- ...stom_extension_handlers_request_builder.go | 4 +- ...sion_stage_setting_item_request_builder.go | 6 +- ...s_item_custom_extension_request_builder.go | 2 +- ...xtension_stage_settings_request_builder.go | 4 +- ...age_assignment_policies_request_builder.go | 4 +- ..._access_package_catalog_request_builder.go | 2 +- ...esource_role_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ..._package_resource_roles_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ...s_package_resource_role_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...kage_resource_role_item_request_builder.go | 6 +- ...ge_resource_environment_request_builder.go | 2 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_roles_request_builder.go | 4 +- ...age_resource_scope_item_request_builder.go | 6 +- ...package_resource_scopes_request_builder.go | 4 +- ...ackage_resource_refresh_request_builder.go | 2 +- ...access_package_resource_request_builder.go | 6 +- ..._package_resource_scope_request_builder.go | 6 +- ...ge_resource_role_scopes_request_builder.go | 4 +- ...ith_access_package_item_request_builder.go | 2 +- ...kages_incompatible_with_request_builder.go | 2 +- ...ble_policy_requirements_request_builder.go | 2 +- ...ccess_packages_item_ref_request_builder.go | 2 +- ...ble_access_packages_ref_request_builder.go | 4 +- ...patible_access_packages_request_builder.go | 2 +- ...patible_groups_item_ref_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...incompatible_groups_ref_request_builder.go | 4 +- ...tem_incompatible_groups_request_builder.go | 2 +- ...es_item_move_to_catalog_request_builder.go | 2 +- ...agement_access_packages_request_builder.go | 4 +- ..._access_packages_search_request_builder.go | 2 +- ...ected_organization_item_request_builder.go | 6 +- ...ernal_sponsors_item_ref_request_builder.go | 2 +- ...m_external_sponsors_ref_request_builder.go | 4 +- ..._item_external_sponsors_request_builder.go | 2 +- ...ernal_sponsors_item_ref_request_builder.go | 2 +- ...m_internal_sponsors_ref_request_builder.go | 4 +- ..._item_internal_sponsors_request_builder.go | 2 +- ...connected_organizations_request_builder.go | 4 +- .../entitlement_management_request_builder.go | 6 +- ...ent_management_settings_request_builder.go | 6 +- ...ss_package_subject_item_request_builder.go | 6 +- ..._connected_organization_request_builder.go | 2 +- ...ent_management_subjects_request_builder.go | 4 +- .../identity_governance_request_builder.go | 4 +- ...tom_task_extension_item_request_builder.go | 6 +- ...ted_by_mailbox_settings_request_builder.go | 4 +- ...ensions_item_created_by_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ied_by_mailbox_settings_request_builder.go | 4 +- ...s_item_last_modified_by_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ..._custom_task_extensions_request_builder.go | 4 +- ...workflows_deleted_items_request_builder.go | 4 +- ...ted_by_mailbox_settings_request_builder.go | 4 +- ...rkflows_item_created_by_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ws_item_execution_scope_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...ied_by_mailbox_settings_request_builder.go | 4 +- ...s_item_last_modified_by_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ity_governance_activate_request_builder.go | 2 +- ...ance_create_new_version_request_builder.go | 2 +- ...tity_governance_restore_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...user_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...ems_workflows_item_runs_request_builder.go | 2 +- ...lows_item_runs_run_item_request_builder.go | 2 +- ...ts_item_task_definition_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ..._task_reports_item_task_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...flows_item_task_reports_request_builder.go | 2 +- ...eports_task_report_item_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...ms_workflows_item_tasks_request_builder.go | 4 +- ...ws_item_tasks_task_item_request_builder.go | 6 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...user_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...ted_by_mailbox_settings_request_builder.go | 4 +- ...ersions_item_created_by_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ied_by_mailbox_settings_request_builder.go | 4 +- ...s_item_last_modified_by_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...tem_versions_item_tasks_request_builder.go | 4 +- ...ns_item_tasks_task_item_request_builder.go | 6 +- ...workflows_item_versions_request_builder.go | 2 +- ...ion_version_number_item_request_builder.go | 2 +- ...deleted_items_workflows_request_builder.go | 2 +- ...workflows_workflow_item_request_builder.go | 4 +- .../lifecycle_workflows_request_builder.go | 6 +- ...ycle_workflows_settings_request_builder.go | 4 +- ...kflows_task_definitions_request_builder.go | 2 +- ...ns_task_definition_item_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...ow_templates_item_tasks_request_builder.go | 2 +- ...es_item_tasks_task_item_request_builder.go | 2 +- ...lows_workflow_templates_request_builder.go | 2 +- ..._workflow_template_item_request_builder.go | 2 +- ...ted_by_mailbox_settings_request_builder.go | 4 +- ...rkflows_item_created_by_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ws_item_execution_scope_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...ied_by_mailbox_settings_request_builder.go | 4 +- ...s_item_last_modified_by_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ity_governance_activate_request_builder.go | 2 +- ...ance_create_new_version_request_builder.go | 2 +- ...tity_governance_restore_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...user_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...ows_workflows_item_runs_request_builder.go | 2 +- ...lows_item_runs_run_item_request_builder.go | 2 +- ...ts_item_task_definition_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ..._task_reports_item_task_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...flows_item_task_reports_request_builder.go | 2 +- ...eports_task_report_item_request_builder.go | 2 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...ws_workflows_item_tasks_request_builder.go | 4 +- ...ws_item_tasks_task_item_request_builder.go | 6 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...user_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...ted_by_mailbox_settings_request_builder.go | 4 +- ...ersions_item_created_by_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ied_by_mailbox_settings_request_builder.go | 4 +- ...s_item_last_modified_by_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ntity_governance_resume_request_builder.go | 2 +- ...ubject_mailbox_settings_request_builder.go | 4 +- ...ng_results_item_subject_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ssing_results_item_task_request_builder.go | 2 +- ...task_processing_results_request_builder.go | 2 +- ..._processing_result_item_request_builder.go | 2 +- ...tem_versions_item_tasks_request_builder.go | 4 +- ...ns_item_tasks_task_item_request_builder.go | 6 +- ...workflows_item_versions_request_builder.go | 2 +- ...ion_version_number_item_request_builder.go | 2 +- ...cle_workflows_workflows_request_builder.go | 4 +- ...workflows_workflow_item_request_builder.go | 6 +- ...s_findings_finding_item_request_builder.go | 6 +- ..._analytics_aws_findings_request_builder.go | 4 +- ...em_authorization_system_request_builder.go | 2 +- ...index_distribution_item_request_builder.go | 6 +- ...eep_index_distributions_request_builder.go | 4 +- ...rmissions_analytics_aws_request_builder.go | 6 +- ...e_findings_finding_item_request_builder.go | 6 +- ...nalytics_azure_findings_request_builder.go | 4 +- ...em_authorization_system_request_builder.go | 2 +- ...index_distribution_item_request_builder.go | 6 +- ...eep_index_distributions_request_builder.go | 4 +- ...issions_analytics_azure_request_builder.go | 6 +- ...p_findings_finding_item_request_builder.go | 6 +- ..._analytics_gcp_findings_request_builder.go | 4 +- ...em_authorization_system_request_builder.go | 2 +- ...index_distribution_item_request_builder.go | 6 +- ...eep_index_distributions_request_builder.go | 4 +- ...rmissions_analytics_gcp_request_builder.go | 6 +- .../permissions_analytics_request_builder.go | 6 +- ...ons_request_change_item_request_builder.go | 6 +- ...issions_request_changes_request_builder.go | 4 +- .../permissions_management_request_builder.go | 6 +- ...ed_permissions_requests_request_builder.go | 2 +- ...approvals_approval_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...teps_approval_step_item_request_builder.go | 6 +- ...nt_approvals_item_steps_request_builder.go | 4 +- ...up_assignment_approvals_request_builder.go | 4 +- ...by_current_user_with_on_request_builder.go | 2 +- ...es_item_activated_using_request_builder.go | 2 +- ...le_instances_item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...nstances_item_principal_request_builder.go | 2 +- ..._schedule_instance_item_request_builder.go | 6 +- ...ment_schedule_instances_request_builder.go | 4 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ts_item_activated_using_request_builder.go | 2 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ule_requests_item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...requests_item_principal_request_builder.go | 2 +- ...ts_item_target_schedule_request_builder.go | 2 +- ...t_schedule_request_item_request_builder.go | 6 +- ...nment_schedule_requests_request_builder.go | 4 +- ...by_current_user_with_on_request_builder.go | 2 +- ...es_item_activated_using_request_builder.go | 2 +- ...nt_schedules_item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...chedules_item_principal_request_builder.go | 2 +- ...ssignment_schedule_item_request_builder.go | 6 +- ...up_assignment_schedules_request_builder.go | 4 +- ...by_current_user_with_on_request_builder.go | 2 +- ...le_instances_item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...nstances_item_principal_request_builder.go | 2 +- ..._schedule_instance_item_request_builder.go | 6 +- ...lity_schedule_instances_request_builder.go | 4 +- ...by_current_user_with_on_request_builder.go | 2 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ule_requests_item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...requests_item_principal_request_builder.go | 2 +- ...ts_item_target_schedule_request_builder.go | 2 +- ...y_schedule_request_item_request_builder.go | 6 +- ...ility_schedule_requests_request_builder.go | 4 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ty_schedules_item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...chedules_item_principal_request_builder.go | 2 +- ...igibility_schedule_item_request_builder.go | 6 +- ...p_eligibility_schedules_request_builder.go | 4 +- ...privileged_access_group_request_builder.go | 6 +- .../privileged_access_request_builder.go | 6 +- ...s_item_alert_definition_request_builder.go | 2 +- ...ts_alert_configurations_request_builder.go | 4 +- ...lert_configuration_item_request_builder.go | 6 +- ...lerts_alert_definitions_request_builder.go | 4 +- ...t_alert_definition_item_request_builder.go | 6 +- ...tem_alert_configuration_request_builder.go | 2 +- ...s_item_alert_definition_request_builder.go | 2 +- ...ncidents_item_remediate_request_builder.go | 2 +- ...ts_item_alert_incidents_request_builder.go | 4 +- ...ent_alert_incident_item_request_builder.go | 6 +- ...rts_alerts_item_refresh_request_builder.go | 2 +- ...t_alerts_alerts_refresh_request_builder.go | 2 +- ...anagement_alerts_alerts_request_builder.go | 4 +- ...e_management_alert_item_request_builder.go | 6 +- ..._running_operation_item_request_builder.go | 6 +- ...ement_alerts_operations_request_builder.go | 4 +- .../role_management_alerts_request_builder.go | 6 +- ...reement_acceptance_item_request_builder.go | 6 +- ...e_agreement_acceptances_request_builder.go | 4 +- ...reements_agreement_item_request_builder.go | 14 +- ...reement_acceptance_item_request_builder.go | 6 +- ...ements_item_acceptances_request_builder.go | 4 +- ..._file_localization_item_request_builder.go | 6 +- ...ement_file_version_item_request_builder.go | 6 +- ...lizations_item_versions_request_builder.go | 4 +- ...item_file_localizations_request_builder.go | 4 +- ...se_agreements_item_file_request_builder.go | 6 +- ..._file_localization_item_request_builder.go | 6 +- ...ement_file_version_item_request_builder.go | 6 +- ...tem_files_item_versions_request_builder.go | 4 +- ...e_agreements_item_files_request_builder.go | 4 +- ...terms_of_use_agreements_request_builder.go | 4 +- .../terms_of_use_request_builder.go | 6 +- .../identity_protection_request_builder.go | 4 +- .../risk_detections_request_builder.go | 4 +- ...ons_risk_detection_item_request_builder.go | 14 +- ...als_confirm_compromised_request_builder.go | 2 +- ...vice_principals_dismiss_request_builder.go | 2 +- ...principals_item_history_request_builder.go | 4 +- ...cipal_history_item_item_request_builder.go | 6 +- ...isky_service_principals_request_builder.go | 4 +- ..._service_principal_item_request_builder.go | 6 +- ...ers_confirm_compromised_request_builder.go | 2 +- .../risky_users_dismiss_request_builder.go | 2 +- ...isky_users_item_history_request_builder.go | 4 +- ..._user_history_item_item_request_builder.go | 6 +- .../risky_users_request_builder.go | 4 +- ...y_users_risky_user_item_request_builder.go | 6 +- ...incipal_risk_detections_request_builder.go | 4 +- ...pal_risk_detection_item_request_builder.go | 6 +- ...vailable_provider_types_request_builder.go | 2 +- .../identity_provider_item_request_builder.go | 6 +- .../identity_providers_request_builder.go | 4 +- ...ocker_recovery_key_item_request_builder.go | 2 +- ...bitlocker_recovery_keys_request_builder.go | 2 +- .../bitlocker_request_builder.go | 2 +- ..._prevention_policy_item_request_builder.go | 6 +- ...ntion_policies_evaluate_request_builder.go | 2 +- ...oss_prevention_policies_request_builder.go | 4 +- .../decrypt_buffer_request_builder.go | 2 +- .../encrypt_buffer_request_builder.go | 2 +- .../information_protection_request_builder.go | 4 +- ...ls_evaluate_application_request_builder.go | 2 +- ..._classification_results_request_builder.go | 2 +- ...labels_evaluate_removal_request_builder.go | 2 +- ...cy_labels_extract_label_request_builder.go | 2 +- ...n_protection_label_item_request_builder.go | 6 +- .../policy_labels_request_builder.go | 4 +- .../policy_request_builder.go | 6 +- ...itivity_labels_evaluate_request_builder.go | 2 +- ...item_sublabels_evaluate_request_builder.go | 2 +- ...y_labels_item_sublabels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- .../sensitivity_labels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- ...itivity_policy_settings_request_builder.go | 6 +- .../sign_digest_request_builder.go | 2 +- ...t_requests_item_results_request_builder.go | 4 +- ..._assessment_result_item_request_builder.go | 6 +- ...eat_assessment_requests_request_builder.go | 4 +- ...assessment_request_item_request_builder.go | 6 +- .../verify_signature_request_builder.go | 2 +- .../invitation_item_request_builder.go | 6 +- invitations/invitations_request_builder.go | 4 +- ...d_user_mailbox_settings_request_builder.go | 4 +- .../item_invited_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...s_directory_object_item_request_builder.go | 2 +- ...m_invited_user_sponsors_request_builder.go | 2 +- kiota-lock.json | 4 +- .../message_event_item_request_builder.go | 6 +- .../message_events_request_builder.go | 4 +- ...ents_message_event_item_request_builder.go | 6 +- .../item_events_request_builder.go | 4 +- .../message_recipient_item_request_builder.go | 6 +- .../message_recipients_request_builder.go | 4 +- ...ents_message_event_item_request_builder.go | 6 +- ..._recipients_item_events_request_builder.go | 4 +- ..._message_recipient_item_request_builder.go | 6 +- .../item_recipients_request_builder.go | 4 +- .../message_trace_item_request_builder.go | 6 +- .../message_traces_request_builder.go | 4 +- ...ncluded_groups_item_ref_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...tem_included_groups_ref_request_builder.go | 4 +- .../item_included_groups_request_builder.go | 2 +- ...ity_management_policies_request_builder.go | 4 +- ..._management_policy_item_request_builder.go | 6 +- models/admin.go | 909 ++++++++--------- models/admin_windows.go | 75 ++ models/android_for_work_compliance_policy.go | 4 +- models/android_safety_net_evaluation_type.go | 4 +- .../android_work_profile_compliance_policy.go | 4 +- ...ndition_application_collection_response.go | 87 ++ models/authorization_policy.go | 4 +- models/call_recording.go | 4 +- models/callrecords/call_record.go | 96 +- models/callrecords/organizer.go | 41 + models/callrecords/participant.go | 41 + models/callrecords/participant_base.go | 96 ++ .../participant_collection_response.go | 88 ++ models/callrecords/participant_endpoint.go | 40 +- models/callrecords/user_identity.go | 78 ++ models/change_tracked_entity.go | 2 + models/cloud_p_c.go | 42 + models/cloud_pc_device_image.go | 42 + models/cloud_pc_disk_encryption_type.go | 40 + models/cloud_pc_export_job.go | 4 +- models/cloud_pc_on_premises_connection.go | 42 + ...ises_connection_health_check_error_type.go | 5 +- models/cloud_pc_partner_agent_name.go | 5 +- models/cloud_pc_provisioning_policy.go | 42 + models/cloud_pc_remote_action_name.go | 14 +- models/cloud_pc_report_name.go | 5 +- models/cloud_pc_scoped_permission.go | 188 ++++ models/cloud_pc_tenant_encryption_setting.go | 184 ++++ models/comms_operation.go | 2 + models/day_note.go | 149 +++ models/day_note_collection_response.go | 87 ++ ...configuration_choice_setting_definition.go | 8 +- ...figuration_referred_setting_information.go | 4 +- ...ion_setting_group_collection_definition.go | 8 +- ..._configuration_setting_group_definition.go | 4 +- models/devicemanagement/alert_rule.go | 12 +- models/entity.go | 8 + models/identity_set.go | 12 +- models/internal_domain_federation.go | 4 +- models/mac_os_lob_app_assignment_settings.go | 4 +- models/online_meeting.go | 921 +---------------- models/online_meeting_base.go | 944 ++++++++++++++++++ models/position_detail.go | 12 +- models/recommendation_type.go | 17 +- models/related_person.go | 8 +- models/schedule.go | 48 + models/search_hit.go | 36 - models/security/alert.go | 4 +- models/send_dtmf_completion_reason.go | 43 + models/send_dtmf_tones_operation.go | 76 ++ models/user.go | 4 +- models/vendor_escaped.go | 50 + models/vendor_escapedable.go | 59 -- models/virtual_event.go | 18 +- models/virtual_event_presenter.go | 84 ++ models/virtual_event_session.go | 132 ++- models/virtual_event_townhall.go | 208 ++++ .../windows_app_x_app_assignment_settings.go | 4 +- ...cords_alert_record_item_request_builder.go | 6 +- ...al_notification_as_sent_request_builder.go | 2 +- ...et_portal_notifications_request_builder.go | 2 +- monitoring/alert_records_request_builder.go | 4 +- ...t_rules_alert_rule_item_request_builder.go | 6 +- monitoring/alert_rules_request_builder.go | 4 +- monitoring/monitoring_request_builder.go | 4 +- ...anches_branch_site_item_request_builder.go | 6 +- ...configuration_link_item_request_builder.go | 6 +- ...ity_configuration_links_request_builder.go | 4 +- ...nectivity_configuration_request_builder.go | 6 +- ..._links_device_link_item_request_builder.go | 6 +- ...nches_item_device_links_request_builder.go | 4 +- ...forwarding_profile_item_request_builder.go | 6 +- ...em_policies_item_policy_request_builder.go | 2 +- ...licies_policy_link_item_request_builder.go | 6 +- ..._profiles_item_policies_request_builder.go | 4 +- ...tem_forwarding_profiles_request_builder.go | 4 +- .../connectivity_branches_request_builder.go | 4 +- networkaccess/connectivity_request_builder.go | 6 +- ..._forwarding_policy_item_request_builder.go | 6 +- ...ess_update_policy_rules_request_builder.go | 2 +- ..._rules_policy_rule_item_request_builder.go | 6 +- ...icies_item_policy_rules_request_builder.go | 4 +- .../forwarding_policies_request_builder.go | 4 +- ...forwarding_profile_item_request_builder.go | 6 +- ...em_policies_item_policy_request_builder.go | 2 +- ...licies_policy_link_item_request_builder.go | 6 +- ..._profiles_item_policies_request_builder.go | 4 +- .../forwarding_profiles_request_builder.go | 4 +- networkaccess/logs_request_builder.go | 6 +- ...raffic_transaction_item_request_builder.go | 6 +- networkaccess/logs_traffic_request_builder.go | 4 +- ...h_networkaccess_onboard_request_builder.go | 2 +- .../network_access_request_builder.go | 4 +- ...time_with_end_date_time_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...scovery_pivot_date_time_request_builder.go | 2 +- ...time_with_aggregated_by_request_builder.go | 2 +- ...ctivity_pivot_date_time_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- networkaccess/reports_request_builder.go | 6 +- ...ings_conditional_access_request_builder.go | 6 +- ...ngs_cross_tenant_access_request_builder.go | 6 +- ...ngs_enriched_audit_logs_request_builder.go | 6 +- ...ings_forwarding_options_request_builder.go | 6 +- networkaccess/settings_request_builder.go | 6 +- .../tenant_status_request_builder.go | 6 +- .../delta_request_builder.go | 2 +- ...2_permission_grant_item_request_builder.go | 6 +- ...auth2_permission_grants_request_builder.go | 4 +- ...m_agent_groups_item_ref_request_builder.go | 2 +- ...s_item_agent_groups_ref_request_builder.go | 4 +- ...gents_item_agent_groups_request_builder.go | 2 +- ..._on_premises_agent_item_request_builder.go | 6 +- ...gent_groups_item_agents_request_builder.go | 4 +- ...m_agent_groups_item_ref_request_builder.go | 2 +- ...s_item_agent_groups_ref_request_builder.go | 4 +- ...urces_item_agent_groups_request_builder.go | 4 +- ...published_resource_item_request_builder.go | 6 +- ...tem_published_resources_request_builder.go | 4 +- ...emises_agent_group_item_request_builder.go | 6 +- .../item_agent_groups_request_builder.go | 4 +- ...m_agent_groups_item_ref_request_builder.go | 2 +- ...s_item_agent_groups_ref_request_builder.go | 4 +- ...gents_item_agent_groups_request_builder.go | 2 +- ..._on_premises_agent_item_request_builder.go | 6 +- .../item_agents_request_builder.go | 4 +- ...ps_connector_group_item_request_builder.go | 6 +- ...ations_application_item_request_builder.go | 2 +- ..._applications_item_logo_request_builder.go | 4 +- ...roups_item_applications_request_builder.go | 2 +- ...s_item_members_item_ref_request_builder.go | 2 +- ...groups_item_members_ref_request_builder.go | 4 +- ...tor_groups_item_members_request_builder.go | 2 +- .../item_connector_groups_request_builder.go | 4 +- ...nnectors_connector_item_request_builder.go | 6 +- ...item_member_of_item_ref_request_builder.go | 2 +- ...tors_item_member_of_ref_request_builder.go | 4 +- ...nnectors_item_member_of_request_builder.go | 2 +- .../item_connectors_request_builder.go | 4 +- ...m_agent_groups_item_ref_request_builder.go | 2 +- ...s_item_agent_groups_ref_request_builder.go | 4 +- ...urces_item_agent_groups_request_builder.go | 4 +- ...published_resource_item_request_builder.go | 6 +- ...tem_published_resources_request_builder.go | 4 +- ...publishing_profile_item_request_builder.go | 6 +- ...ses_publishing_profiles_request_builder.go | 4 +- organization/delta_request_builder.go | 2 +- organization/get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...anding_background_image_request_builder.go | 4 +- ...em_branding_banner_logo_request_builder.go | 4 +- ...m_branding_custom_c_s_s_request_builder.go | 4 +- .../item_branding_favicon_request_builder.go | 4 +- ...em_branding_header_logo_request_builder.go | 4 +- ...s_item_background_image_request_builder.go | 4 +- ...ations_item_banner_logo_request_builder.go | 4 +- ...tions_item_custom_c_s_s_request_builder.go | 4 +- ...alizations_item_favicon_request_builder.go | 4 +- ...ations_item_header_logo_request_builder.go | 4 +- ...s_item_square_logo_dark_request_builder.go | 4 +- ...ations_item_square_logo_request_builder.go | 4 +- ...nding_localization_item_request_builder.go | 6 +- ..._branding_localizations_request_builder.go | 4 +- organization/item_branding_request_builder.go | 6 +- ...anding_square_logo_dark_request_builder.go | 4 +- ...em_branding_square_logo_request_builder.go | 4 +- ...auth_configuration_item_request_builder.go | 4 +- ...ased_auth_configuration_request_builder.go | 4 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- .../item_extensions_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- ...tem_partner_information_request_builder.go | 6 +- organization/item_restore_request_builder.go | 2 +- ...ce_management_authority_request_builder.go | 2 +- ...ttings_contact_insights_request_builder.go | 6 +- ..._settings_item_insights_request_builder.go | 6 +- ...application_data_access_request_builder.go | 6 +- ...ettings_people_insights_request_builder.go | 6 +- organization/item_settings_request_builder.go | 6 +- .../organization_item_request_builder.go | 6 +- organization/organization_request_builder.go | 4 +- .../validate_properties_request_builder.go | 2 +- .../payload_response_item_request_builder.go | 6 +- .../payload_response_request_builder.go | 4 +- permissiongrants/delta_request_builder.go | 2 +- .../get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- .../item_restore_request_builder.go | 2 +- .../permission_grants_request_builder.go | 4 +- ...c_permission_grant_item_request_builder.go | 6 +- .../validate_properties_request_builder.go | 2 +- places/graph_room_list_request_builder.go | 2 +- places/graph_room_request_builder.go | 2 +- .../item_graph_room_list_request_builder.go | 2 +- ...m_graph_room_list_rooms_request_builder.go | 4 +- ...om_list_rooms_room_item_request_builder.go | 6 +- ...ph_room_list_workspaces_request_builder.go | 4 +- ...rkspaces_workspace_item_request_builder.go | 6 +- places/item_graph_room_request_builder.go | 2 +- places/place_item_request_builder.go | 4 +- planner/buckets_delta_request_builder.go | 2 +- ...uckets_item_tasks_delta_request_builder.go | 2 +- ...ed_to_task_board_format_request_builder.go | 6 +- ...ucket_task_board_format_request_builder.go | 6 +- ...item_tasks_item_details_request_builder.go | 6 +- ...gress_task_board_format_request_builder.go | 6 +- ...tasks_planner_task_item_request_builder.go | 6 +- planner/buckets_item_tasks_request_builder.go | 4 +- ...ets_planner_bucket_item_request_builder.go | 6 +- planner/buckets_request_builder.go | 4 +- planner/planner_request_builder.go | 4 +- planner/plans_delta_request_builder.go | 2 +- ...lans_item_buckets_delta_request_builder.go | 2 +- ...uckets_item_tasks_delta_request_builder.go | 2 +- ...ed_to_task_board_format_request_builder.go | 6 +- ...ucket_task_board_format_request_builder.go | 6 +- ...item_tasks_item_details_request_builder.go | 6 +- ...gress_task_board_format_request_builder.go | 6 +- ...tasks_planner_task_item_request_builder.go | 6 +- ...item_buckets_item_tasks_request_builder.go | 4 +- ...ets_planner_bucket_item_request_builder.go | 6 +- planner/plans_item_buckets_request_builder.go | 4 +- planner/plans_item_details_request_builder.go | 6 +- ..._item_move_to_container_request_builder.go | 2 +- .../plans_item_tasks_delta_request_builder.go | 2 +- ...ed_to_task_board_format_request_builder.go | 6 +- ...ucket_task_board_format_request_builder.go | 6 +- ...item_tasks_item_details_request_builder.go | 6 +- ...gress_task_board_format_request_builder.go | 6 +- ...tasks_planner_task_item_request_builder.go | 6 +- planner/plans_item_tasks_request_builder.go | 4 +- ...plans_planner_plan_item_request_builder.go | 6 +- planner/plans_request_builder.go | 4 +- ...nner_roster_member_item_request_builder.go | 6 +- .../rosters_item_members_request_builder.go | 4 +- ...plans_planner_plan_item_request_builder.go | 2 +- planner/rosters_item_plans_request_builder.go | 2 +- ...ers_planner_roster_item_request_builder.go | 6 +- planner/rosters_request_builder.go | 4 +- planner/tasks_delta_request_builder.go | 2 +- ...ed_to_task_board_format_request_builder.go | 6 +- ...ucket_task_board_format_request_builder.go | 6 +- planner/tasks_item_details_request_builder.go | 6 +- ...gress_task_board_format_request_builder.go | 6 +- ...tasks_planner_task_item_request_builder.go | 6 +- planner/tasks_request_builder.go | 4 +- .../access_review_policy_request_builder.go | 6 +- ...sed_timeout_policy_item_request_builder.go | 6 +- ...o_directory_object_item_request_builder.go | 2 +- ...olicies_item_applies_to_request_builder.go | 2 +- ..._based_timeout_policies_request_builder.go | 4 +- ..._consent_request_policy_request_builder.go | 6 +- ..._management_policy_item_request_builder.go | 6 +- ...o_directory_object_item_request_builder.go | 2 +- ...olicies_item_applies_to_request_builder.go | 2 +- ...app_management_policies_request_builder.go | 4 +- ...entication_flows_policy_request_builder.go | 6 +- ...thod_configuration_item_request_builder.go | 6 +- ...n_method_configurations_request_builder.go | 4 +- ...tication_methods_policy_request_builder.go | 6 +- ...on_strength_policy_item_request_builder.go | 6 +- ...entication_method_modes_request_builder.go | 2 +- ...tion_configuration_item_request_builder.go | 6 +- ...bination_configurations_request_builder.go | 4 +- ...te_allowed_combinations_request_builder.go | 2 +- ...gth_policies_item_usage_request_builder.go | 2 +- ...ation_strength_policies_request_builder.go | 4 +- ...thorization_policy_item_request_builder.go | 6 +- ...user_role_override_item_request_builder.go | 6 +- ...ult_user_role_overrides_request_builder.go | 4 +- .../authorization_policy_request_builder.go | 4 +- ...tication_methods_policy_request_builder.go | 6 +- ...ims_mapping_policy_item_request_builder.go | 6 +- ...o_directory_object_item_request_builder.go | 2 +- ...olicies_item_applies_to_request_builder.go | 2 +- ...claims_mapping_policies_request_builder.go | 4 +- ...onal_access_policy_item_request_builder.go | 6 +- ...itional_access_policies_request_builder.go | 4 +- ...t_access_policy_default_request_builder.go | 6 +- ...reset_to_system_default_request_builder.go | 2 +- ...ion_partner_tenant_item_request_builder.go | 6 +- ...dentity_synchronization_request_builder.go | 6 +- ..._access_policy_partners_request_builder.go | 4 +- ...ss_tenant_access_policy_request_builder.go | 6 +- ...dentity_synchronization_request_builder.go | 6 +- ...set_to_default_settings_request_builder.go | 2 +- ...n_partner_configuration_request_builder.go | 6 +- ...set_to_default_settings_request_builder.go | 2 +- ...access_policy_templates_request_builder.go | 6 +- ...t_app_management_policy_request_builder.go | 6 +- ...ice_registration_policy_request_builder.go | 4 +- ...le_access_review_policy_request_builder.go | 6 +- ...ernal_identities_policy_request_builder.go | 6 +- ...ure_rollout_policy_item_request_builder.go | 6 +- ...tem_applies_to_item_ref_request_builder.go | 2 +- ...ies_item_applies_to_ref_request_builder.go | 4 +- ...olicies_item_applies_to_request_builder.go | 4 +- ...eature_rollout_policies_request_builder.go | 4 +- ...token_validation_policy_request_builder.go | 6 +- ...m_discovery_policy_item_request_builder.go | 6 +- ...o_directory_object_item_request_builder.go | 2 +- ...olicies_item_applies_to_request_builder.go | 2 +- ...ealm_discovery_policies_request_builder.go | 4 +- ...ults_enforcement_policy_request_builder.go | 6 +- ...ncluded_groups_item_ref_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...tem_included_groups_ref_request_builder.go | 4 +- ...es_item_included_groups_request_builder.go | 2 +- ..._management_policy_item_request_builder.go | 6 +- ...app_management_policies_request_builder.go | 4 +- ...ncluded_groups_item_ref_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...tem_included_groups_ref_request_builder.go | 4 +- ...es_item_included_groups_request_builder.go | 2 +- ..._management_policy_item_request_builder.go | 6 +- ...ice_management_policies_request_builder.go | 4 +- ...rant_condition_set_item_request_builder.go | 6 +- ..._policies_item_excludes_request_builder.go | 4 +- ...rant_condition_set_item_request_builder.go | 6 +- ..._policies_item_includes_request_builder.go | 4 +- ...ssion_grant_policy_item_request_builder.go | 6 +- ...rmission_grant_policies_request_builder.go | 4 +- policies/policies_request_builder.go | 4 +- ...es_item_effective_rules_request_builder.go | 4 +- ...gement_policy_rule_item_request_builder.go | 6 +- ...ent_policies_item_rules_request_builder.go | 4 +- ...gement_policy_rule_item_request_builder.go | 6 +- ...ole_management_policies_request_builder.go | 4 +- ..._management_policy_item_request_builder.go | 6 +- ...assignments_item_policy_request_builder.go | 2 +- ...ment_policy_assignments_request_builder.go | 4 +- ..._policy_assignment_item_request_builder.go | 6 +- ..._policies_item_excludes_request_builder.go | 4 +- ...tion_condition_set_item_request_builder.go | 6 +- ..._policies_item_includes_request_builder.go | 4 +- ...tion_condition_set_item_request_builder.go | 6 +- ...cipal_creation_policies_request_builder.go | 4 +- ...al_creation_policy_item_request_builder.go | 6 +- ...o_directory_object_item_request_builder.go | 2 +- ...olicies_item_applies_to_request_builder.go | 2 +- ...token_issuance_policies_request_builder.go | 4 +- ...en_issuance_policy_item_request_builder.go | 6 +- ...o_directory_object_item_request_builder.go | 2 +- ...olicies_item_applies_to_request_builder.go | 2 +- ...token_lifetime_policies_request_builder.go | 4 +- ...en_lifetime_policy_item_request_builder.go | 6 +- ...rs_print_connector_item_request_builder.go | 6 +- print/connectors_request_builder.go | 4 +- ...ns_print_operation_item_request_builder.go | 6 +- print/operations_request_builder.go | 4 +- print/print_request_builder.go | 4 +- ...allowed_groups_item_ref_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...item_allowed_groups_ref_request_builder.go | 4 +- ...res_item_allowed_groups_request_builder.go | 2 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ..._allowed_users_item_ref_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ..._item_allowed_users_ref_request_builder.go | 4 +- ...ares_item_allowed_users_request_builder.go | 2 +- ...es_item_jobs_item_abort_request_builder.go | 2 +- ...s_item_cancel_print_job_request_builder.go | 2 +- ...s_item_jobs_item_cancel_request_builder.go | 2 +- ...m_create_upload_session_request_builder.go | 2 +- ...ents_item_value_content_request_builder.go | 4 +- ...nts_print_document_item_request_builder.go | 6 +- ...tem_jobs_item_documents_request_builder.go | 4 +- ...item_jobs_item_redirect_request_builder.go | 2 +- ...bs_item_start_print_job_request_builder.go | 2 +- ...es_item_jobs_item_start_request_builder.go | 2 +- ...m_tasks_item_definition_request_builder.go | 2 +- ...item_tasks_item_trigger_request_builder.go | 2 +- ...m_tasks_print_task_item_request_builder.go | 6 +- ...es_item_jobs_item_tasks_request_builder.go | 4 +- ...tem_jobs_print_job_item_request_builder.go | 6 +- ...rinter_shares_item_jobs_request_builder.go | 4 +- ...ter_shares_item_printer_request_builder.go | 2 +- ...ares_printer_share_item_request_builder.go | 6 +- print/printer_shares_request_builder.go | 4 +- print/printers_create_request_builder.go | 2 +- ...rs_print_connector_item_request_builder.go | 2 +- ...rinters_item_connectors_request_builder.go | 2 +- ...s_item_get_capabilities_request_builder.go | 2 +- ...rs_item_jobs_item_abort_request_builder.go | 2 +- ...s_item_cancel_print_job_request_builder.go | 2 +- ...s_item_jobs_item_cancel_request_builder.go | 2 +- ...m_create_upload_session_request_builder.go | 2 +- ...ents_item_value_content_request_builder.go | 4 +- ...nts_print_document_item_request_builder.go | 6 +- ...tem_jobs_item_documents_request_builder.go | 4 +- ...item_jobs_item_redirect_request_builder.go | 2 +- ...bs_item_start_print_job_request_builder.go | 2 +- ...rs_item_jobs_item_start_request_builder.go | 2 +- ...m_tasks_item_definition_request_builder.go | 2 +- ...item_tasks_item_trigger_request_builder.go | 2 +- ...m_tasks_print_task_item_request_builder.go | 6 +- ...rs_item_jobs_item_tasks_request_builder.go | 4 +- ...tem_jobs_print_job_item_request_builder.go | 6 +- print/printers_item_jobs_request_builder.go | 4 +- ...ers_item_reset_defaults_request_builder.go | 2 +- ...estore_factory_defaults_request_builder.go | 2 +- print/printers_item_share_request_builder.go | 2 +- ...ares_printer_share_item_request_builder.go | 2 +- print/printers_item_shares_request_builder.go | 2 +- ...riggers_item_definition_request_builder.go | 2 +- ...print_task_trigger_item_request_builder.go | 6 +- ...ters_item_task_triggers_request_builder.go | 4 +- .../printers_printer_item_request_builder.go | 6 +- print/printers_request_builder.go | 4 +- ...t_service_endpoint_item_request_builder.go | 6 +- ...services_item_endpoints_request_builder.go | 4 +- ...ices_print_service_item_request_builder.go | 6 +- print/services_request_builder.go | 4 +- ...allowed_groups_item_ref_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...item_allowed_groups_ref_request_builder.go | 4 +- ...res_item_allowed_groups_request_builder.go | 2 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ..._allowed_users_item_ref_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ..._item_allowed_users_ref_request_builder.go | 4 +- ...ares_item_allowed_users_request_builder.go | 2 +- ...es_item_jobs_item_abort_request_builder.go | 2 +- ...s_item_cancel_print_job_request_builder.go | 2 +- ...s_item_jobs_item_cancel_request_builder.go | 2 +- ...m_create_upload_session_request_builder.go | 2 +- ...ents_item_value_content_request_builder.go | 4 +- ...nts_print_document_item_request_builder.go | 6 +- ...tem_jobs_item_documents_request_builder.go | 4 +- ...item_jobs_item_redirect_request_builder.go | 2 +- ...bs_item_start_print_job_request_builder.go | 2 +- ...es_item_jobs_item_start_request_builder.go | 2 +- ...m_tasks_item_definition_request_builder.go | 2 +- ...item_tasks_item_trigger_request_builder.go | 2 +- ...m_tasks_print_task_item_request_builder.go | 6 +- ...es_item_jobs_item_tasks_request_builder.go | 4 +- ...tem_jobs_print_job_item_request_builder.go | 6 +- print/shares_item_jobs_request_builder.go | 4 +- print/shares_item_printer_request_builder.go | 2 +- ...ares_printer_share_item_request_builder.go | 6 +- print/shares_request_builder.go | 4 +- ...m_tasks_item_definition_request_builder.go | 2 +- ...item_tasks_item_trigger_request_builder.go | 2 +- ...m_tasks_print_task_item_request_builder.go | 6 +- ..._definitions_item_tasks_request_builder.go | 4 +- ...nt_task_definition_item_request_builder.go | 6 +- print/task_definitions_request_builder.go | 4 +- privacy/privacy_request_builder.go | 4 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...requests_item_approvers_request_builder.go | 2 +- ...tem_approvers_user_item_request_builder.go | 2 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ests_item_collaborators_request_builder.go | 2 +- ...collaborators_user_item_request_builder.go | 2 +- ...em_get_final_attachment_request_builder.go | 2 +- ...s_item_get_final_report_request_builder.go | 2 +- ...otes_authored_note_item_request_builder.go | 6 +- ...hts_requests_item_notes_request_builder.go | 4 +- ...ghts_requests_item_team_request_builder.go | 2 +- ...subject_rights_requests_request_builder.go | 4 +- ...ect_rights_request_item_request_builder.go | 6 +- ...overnance_resource_item_request_builder.go | 6 +- ...m_resources_item_parent_request_builder.go | 2 +- ...assignment_request_item_request_builder.go | 6 +- ...nt_requests_item_cancel_request_builder.go | 2 +- ..._requests_item_resource_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- ...t_requests_item_subject_request_builder.go | 6 +- ...sts_item_update_request_request_builder.go | 2 +- ...ole_assignment_requests_request_builder.go | 4 +- ...role_assignments_export_request_builder.go | 2 +- ...ce_role_assignment_item_request_builder.go | 6 +- ...ligible_role_assignment_request_builder.go | 2 +- ...signments_item_resource_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- ...ssignments_item_subject_request_builder.go | 6 +- ...s_item_role_assignments_request_builder.go | 4 +- ...ce_role_definition_item_request_builder.go | 6 +- ...finitions_item_resource_request_builder.go | 2 +- ...tions_item_role_setting_request_builder.go | 2 +- ...s_item_role_definitions_request_builder.go | 4 +- ...nance_role_setting_item_request_builder.go | 6 +- ..._settings_item_resource_request_builder.go | 2 +- ...gs_item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- ...rces_item_role_settings_request_builder.go | 4 +- ...item_resources_register_request_builder.go | 2 +- .../item_resources_request_builder.go | 4 +- ...assignment_request_item_request_builder.go | 6 +- ...nt_requests_item_cancel_request_builder.go | 2 +- ..._requests_item_resource_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- ...t_requests_item_subject_request_builder.go | 6 +- ...sts_item_update_request_request_builder.go | 2 +- ...ole_assignment_requests_request_builder.go | 4 +- ...role_assignments_export_request_builder.go | 2 +- ...ce_role_assignment_item_request_builder.go | 6 +- ...ligible_role_assignment_request_builder.go | 2 +- ...signments_item_resource_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- ...ssignments_item_subject_request_builder.go | 6 +- .../item_role_assignments_request_builder.go | 4 +- ...ce_role_definition_item_request_builder.go | 6 +- ...finitions_item_resource_request_builder.go | 2 +- ...tions_item_role_setting_request_builder.go | 2 +- .../item_role_definitions_request_builder.go | 4 +- ...nance_role_setting_item_request_builder.go | 6 +- ..._settings_item_resource_request_builder.go | 2 +- ...gs_item_role_definition_request_builder.go | 6 +- ...ole_definition_resource_request_builder.go | 2 +- ...definition_role_setting_request_builder.go | 2 +- .../item_role_settings_request_builder.go | 4 +- .../privileged_access_item_request_builder.go | 6 +- .../privileged_access_request_builder.go | 4 +- .../item_request_request_builder.go | 2 +- ...ed_role_assignment_item_request_builder.go | 2 +- ...m_role_info_assignments_request_builder.go | 2 +- .../item_role_info_request_builder.go | 6 +- ...role_info_self_activate_request_builder.go | 2 +- ...le_info_self_deactivate_request_builder.go | 2 +- ...item_role_info_settings_request_builder.go | 6 +- .../item_role_info_summary_request_builder.go | 6 +- .../my_requests_request_builder.go | 2 +- ...rivileged_approval_item_request_builder.go | 6 +- .../privileged_approval_request_builder.go | 4 +- ...ed_operation_event_item_request_builder.go | 6 +- ...ileged_operation_events_request_builder.go | 4 +- .../item_cancel_request_builder.go | 2 +- ...ed_role_assignment_item_request_builder.go | 2 +- ...m_role_info_assignments_request_builder.go | 2 +- .../item_role_info_request_builder.go | 6 +- ...role_info_self_activate_request_builder.go | 2 +- ...le_info_self_deactivate_request_builder.go | 2 +- ...item_role_info_settings_request_builder.go | 6 +- .../item_role_info_summary_request_builder.go | 6 +- .../my_request_builder.go | 2 +- ...assignment_request_item_request_builder.go | 6 +- ...ole_assignment_requests_request_builder.go | 4 +- .../item_make_eligible_request_builder.go | 2 +- .../item_make_permanent_request_builder.go | 2 +- ...ed_role_assignment_item_request_builder.go | 2 +- ...m_role_info_assignments_request_builder.go | 2 +- .../item_role_info_request_builder.go | 6 +- ...role_info_self_activate_request_builder.go | 2 +- ...le_info_self_deactivate_request_builder.go | 2 +- ...item_role_info_settings_request_builder.go | 6 +- .../item_role_info_summary_request_builder.go | 6 +- .../my_request_builder.go | 2 +- ...ed_role_assignment_item_request_builder.go | 6 +- ...ileged_role_assignments_request_builder.go | 4 +- ...ed_role_assignment_item_request_builder.go | 2 +- .../item_assignments_request_builder.go | 2 +- .../item_self_activate_request_builder.go | 2 +- .../item_self_deactivate_request_builder.go | 2 +- .../item_settings_request_builder.go | 6 +- .../item_summary_request_builder.go | 6 +- .../privileged_role_item_request_builder.go | 6 +- .../privileged_roles_request_builder.go | 4 +- .../can_sign_up_request_builder.go | 2 +- .../complete_setup_request_builder.go | 2 +- .../is_signed_up_request_builder.go | 2 +- ...eged_signup_status_item_request_builder.go | 6 +- ...rivileged_signup_status_request_builder.go | 4 +- .../sign_up_request_builder.go | 2 +- ...ls_program_control_item_request_builder.go | 6 +- .../item_program_controls_request_builder.go | 4 +- .../item_program_request_builder.go | 6 +- .../program_control_item_request_builder.go | 6 +- .../program_controls_request_builder.go | 4 +- ...ogram_control_type_item_request_builder.go | 6 +- .../program_control_types_request_builder.go | 4 +- ...m_controls_item_program_request_builder.go | 6 +- ...ls_program_control_item_request_builder.go | 6 +- programs/item_controls_request_builder.go | 4 +- programs/program_item_request_builder.go | 6 +- programs/programs_request_builder.go | 4 +- ...l_sign_in_activity_item_request_builder.go | 6 +- ...tial_sign_in_activities_request_builder.go | 4 +- ...n_detailed_summary_item_request_builder.go | 6 +- ...ign_in_detailed_summary_request_builder.go | 4 +- .../authentication_methods_request_builder.go | 6 +- ...er_registration_details_request_builder.go | 4 +- ...gistration_details_item_request_builder.go | 6 +- ...s_registered_by_feature_request_builder.go | 2 +- ...ith_included_user_roles_request_builder.go | 2 +- ...rs_registered_by_method_request_builder.go | 2 +- ...ith_included_user_roles_request_builder.go | 2 +- ...gistration_details_item_request_builder.go | 6 +- ...er_registration_details_request_builder.go | 4 +- ...t_usage_by_printer_item_request_builder.go | 6 +- ..._print_usage_by_printer_request_builder.go | 4 +- ...rint_usage_by_user_item_request_builder.go | 6 +- ...ily_print_usage_by_user_request_builder.go | 4 +- ..._usage_print_usage_item_request_builder.go | 6 +- reports/daily_print_usage_request_builder.go | 4 +- ...t_usage_by_printer_item_request_builder.go | 6 +- ...ge_summaries_by_printer_request_builder.go | 4 +- ...rint_usage_by_user_item_request_builder.go | 6 +- ...usage_summaries_by_user_request_builder.go | 4 +- ...uration_device_activity_request_builder.go | 2 +- ...iguration_user_activity_request_builder.go | 2 +- ...lation_repeat_offenders_request_builder.go | 2 +- ...imulation_user_coverage_request_builder.go | 2 +- ..._training_user_coverage_request_builder.go | 2 +- ..._in_summary_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...age_summary_with_period_request_builder.go | 2 +- ...user_registration_count_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...y_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...e_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...y_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...p_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...sage_detail_with_period_request_builder.go | 2 +- ...lbox_counts_with_period_request_builder.go | 2 +- ...lbox_counts_with_period_request_builder.go | 2 +- ...age_storage_with_period_request_builder.go | 2 +- ...ce365_activation_counts_request_builder.go | 2 +- ...activations_user_counts_request_builder.go | 2 +- ...activations_user_detail_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...e_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...tivity_detail_with_date_request_builder.go | 2 +- ...vity_detail_with_period_request_builder.go | 2 +- ...file_counts_with_period_request_builder.go | 2 +- ...roup_counts_with_period_request_builder.go | 2 +- ...ity_storage_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...file_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...y_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...ount_counts_with_period_request_builder.go | 2 +- ...ccount_detail_with_date_request_builder.go | 2 +- ...ount_detail_with_period_request_builder.go | 2 +- ...file_counts_with_period_request_builder.go | 2 +- ...age_storage_with_period_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...led_summary_with_period_request_builder.go | 2 +- ...file_counts_with_period_request_builder.go | 2 +- ...ivity_pages_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...y_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ..._usage_detail_with_date_request_builder.go | 2 +- ...sage_detail_with_period_request_builder.go | 2 +- ...file_counts_with_period_request_builder.go | 2 +- ...usage_pages_with_period_request_builder.go | 2 +- ...site_counts_with_period_request_builder.go | 2 +- ...age_storage_with_period_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...y_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...e_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...nute_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...nute_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...nute_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...e_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...tivity_detail_with_date_request_builder.go | 2 +- ...vity_detail_with_period_request_builder.go | 2 +- ...tion_counts_with_period_request_builder.go | 2 +- ...team_counts_with_period_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...otal_counts_with_period_request_builder.go | 2 +- ...tion_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...y_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...y_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...user_counts_with_period_request_builder.go | 2 +- ...e_user_detail_with_date_request_builder.go | 2 +- ...user_detail_with_period_request_builder.go | 2 +- ...vity_counts_with_period_request_builder.go | 2 +- ...tivity_detail_with_date_request_builder.go | 2 +- ...vity_detail_with_period_request_builder.go | 2 +- ...roup_counts_with_period_request_builder.go | 2 +- ..._filter_with_skip_token_request_builder.go | 2 +- ..._filter_with_skip_token_request_builder.go | 2 +- ...ollment_failure_details_request_builder.go | 2 +- ..._filter_with_skip_token_request_builder.go | 2 +- ...rollment_failure_trends_request_builder.go | 2 +- ...enrollment_top_failures_request_builder.go | 2 +- ...op_failures_with_period_request_builder.go | 2 +- ...t_usage_by_printer_item_request_builder.go | 6 +- ..._print_usage_by_printer_request_builder.go | 4 +- ...rint_usage_by_user_item_request_builder.go | 6 +- ...hly_print_usage_by_user_request_builder.go | 4 +- ...t_usage_by_printer_item_request_builder.go | 6 +- ...ge_summaries_by_printer_request_builder.go | 4 +- ...rint_usage_by_user_item_request_builder.go | 6 +- ...usage_summaries_by_user_request_builder.go | 4 +- reports/reports_request_builder.go | 4 +- ...lation_repeat_offenders_request_builder.go | 2 +- ...imulation_user_coverage_request_builder.go | 2 +- ..._training_user_coverage_request_builder.go | 2 +- reports/security_request_builder.go | 6 +- ...ion_interval_in_minutes_request_builder.go | 2 +- ...ion_interval_in_minutes_request_builder.go | 2 +- ...ion_interval_in_minutes_request_builder.go | 2 +- ...ion_interval_in_minutes_request_builder.go | 2 +- ...ion_interval_in_minutes_request_builder.go | 2 +- reports/service_activity_request_builder.go | 6 +- ...ipal_sign_in_activities_request_builder.go | 4 +- ...l_sign_in_activity_item_request_builder.go | 6 +- ...zure_a_d_authentication_request_builder.go | 6 +- reports/sla_request_builder.go | 6 +- ...redential_usage_details_request_builder.go | 4 +- ...tial_usage_details_item_request_builder.go | 6 +- ...ctive_users_metric_item_request_builder.go | 2 +- ...s_breakdown_metric_item_request_builder.go | 2 +- ..._active_users_breakdown_request_builder.go | 2 +- ...ghts_daily_active_users_request_builder.go | 2 +- ...entications_metric_item_request_builder.go | 2 +- ...s_daily_authentications_request_builder.go | 2 +- ...application_metric_item_request_builder.go | 2 +- ...ve_users_by_application_request_builder.go | 2 +- ...ctive_users_metric_item_request_builder.go | 2 +- ...ts_daily_inactive_users_request_builder.go | 2 +- ..._completion_metric_item_request_builder.go | 2 +- ...s_daily_mfa_completions_request_builder.go | 2 +- .../user_insights_daily_request_builder.go | 6 +- ...insights_daily_sign_ups_request_builder.go | 2 +- ...ser_sign_up_metric_item_request_builder.go | 2 +- ...ry_insight_summary_item_request_builder.go | 2 +- ..._insights_daily_summary_request_builder.go | 2 +- ...sights_daily_user_count_request_builder.go | 2 +- ..._user_count_metric_item_request_builder.go | 2 +- ...ctive_users_metric_item_request_builder.go | 2 +- ...s_breakdown_metric_item_request_builder.go | 2 +- ..._active_users_breakdown_request_builder.go | 2 +- ...ts_monthly_active_users_request_builder.go | 2 +- ...entications_metric_item_request_builder.go | 2 +- ...monthly_authentications_request_builder.go | 2 +- ...application_metric_item_request_builder.go | 2 +- ...ve_users_by_application_request_builder.go | 2 +- ...ctive_users_metric_item_request_builder.go | 2 +- ..._monthly_inactive_users_request_builder.go | 2 +- ..._completion_metric_item_request_builder.go | 2 +- ...monthly_mfa_completions_request_builder.go | 2 +- .../user_insights_monthly_request_builder.go | 6 +- ...sights_monthly_requests_request_builder.go | 2 +- ...er_requests_metric_item_request_builder.go | 2 +- ...sights_monthly_sign_ups_request_builder.go | 2 +- ...ser_sign_up_metric_item_request_builder.go | 2 +- ...ry_insight_summary_item_request_builder.go | 2 +- ...nsights_monthly_summary_request_builder.go | 2 +- reports/user_insights_request_builder.go | 6 +- .../risk_detection_item_request_builder.go | 6 +- .../risk_detections_request_builder.go | 12 +- .../confirm_compromised_request_builder.go | 2 +- riskyusers/dismiss_request_builder.go | 2 +- riskyusers/item_history_request_builder.go | 4 +- ..._user_history_item_item_request_builder.go | 6 +- riskyusers/risky_user_item_request_builder.go | 6 +- riskyusers/risky_users_request_builder.go | 4 +- rolemanagement/cloud_p_c_request_builder.go | 6 +- ...import_resource_actions_request_builder.go | 2 +- ..._authentication_context_request_builder.go | 2 +- ...ons_item_resource_scope_request_builder.go | 6 +- ...s_item_resource_actions_request_builder.go | 4 +- ...ac_resource_action_item_request_builder.go | 6 +- ...p_c_resource_namespaces_request_builder.go | 4 +- ...resource_namespace_item_request_builder.go | 6 +- ...p_scopes_app_scope_item_request_builder.go | 6 +- ...gnments_item_app_scopes_request_builder.go | 4 +- ...s_directory_object_item_request_builder.go | 2 +- ...s_item_directory_scopes_request_builder.go | 2 +- ...s_directory_object_item_request_builder.go | 2 +- ...gnments_item_principals_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...ud_p_c_role_assignments_request_builder.go | 4 +- ...ssignment_multiple_item_request_builder.go | 6 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...herits_permissions_from_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- ...ud_p_c_role_definitions_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- .../device_management_request_builder.go | 6 +- ...import_resource_actions_request_builder.go | 2 +- ..._authentication_context_request_builder.go | 2 +- ...ons_item_resource_scope_request_builder.go | 6 +- ...s_item_resource_actions_request_builder.go | 4 +- ...ac_resource_action_item_request_builder.go | 6 +- ...ent_resource_namespaces_request_builder.go | 4 +- ...resource_namespace_item_request_builder.go | 6 +- ...p_scopes_app_scope_item_request_builder.go | 6 +- ...gnments_item_app_scopes_request_builder.go | 4 +- ...s_directory_object_item_request_builder.go | 2 +- ...s_item_directory_scopes_request_builder.go | 2 +- ...s_directory_object_item_request_builder.go | 2 +- ...gnments_item_principals_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...gement_role_assignments_request_builder.go | 4 +- ...ssignment_multiple_item_request_builder.go | 6 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...herits_permissions_from_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- ...gement_role_definitions_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- rolemanagement/directory_request_builder.go | 6 +- ...import_resource_actions_request_builder.go | 2 +- ..._authentication_context_request_builder.go | 2 +- ...ons_item_resource_scope_request_builder.go | 6 +- ...s_item_resource_actions_request_builder.go | 4 +- ...ac_resource_action_item_request_builder.go | 6 +- ...ory_resource_namespaces_request_builder.go | 4 +- ...resource_namespace_item_request_builder.go | 6 +- ...approvals_approval_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...teps_approval_step_item_request_builder.go | 6 +- ...nt_approvals_item_steps_request_builder.go | 4 +- ...le_assignment_approvals_request_builder.go | 4 +- ...by_current_user_with_on_request_builder.go | 2 +- ...es_item_activated_using_request_builder.go | 2 +- ...nstances_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...nstances_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...ment_schedule_instances_request_builder.go | 4 +- ..._schedule_instance_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ts_item_activated_using_request_builder.go | 2 +- ...requests_item_app_scope_request_builder.go | 2 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...requests_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...ts_item_target_schedule_request_builder.go | 2 +- ...nment_schedule_requests_request_builder.go | 4 +- ...t_schedule_request_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...es_item_activated_using_request_builder.go | 2 +- ...chedules_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...chedules_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...le_assignment_schedules_request_builder.go | 4 +- ...ssignment_schedule_item_request_builder.go | 6 +- ...ignments_item_app_scope_request_builder.go | 6 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...ignments_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...ectory_role_assignments_request_builder.go | 4 +- ...ed_role_assignment_item_request_builder.go | 6 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...herits_permissions_from_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- ...ectory_role_definitions_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...nstances_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...nstances_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...lity_schedule_instances_request_builder.go | 4 +- ..._schedule_instance_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...requests_item_app_scope_request_builder.go | 2 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...requests_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...ts_item_target_schedule_request_builder.go | 2 +- ...ility_schedule_requests_request_builder.go | 4 +- ...y_schedule_request_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...chedules_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...chedules_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...e_eligibility_schedules_request_builder.go | 4 +- ...igibility_schedule_item_request_builder.go | 6 +- ...n_id_role_definition_id_request_builder.go | 2 +- ...n_id_role_definition_id_request_builder.go | 2 +- ...ignments_item_app_scope_request_builder.go | 6 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...ignments_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...sitive_role_assignments_request_builder.go | 4 +- ...ed_role_assignment_item_request_builder.go | 6 +- ...import_resource_actions_request_builder.go | 2 +- ..._authentication_context_request_builder.go | 2 +- ...ons_item_resource_scope_request_builder.go | 6 +- ...s_item_resource_actions_request_builder.go | 4 +- ...ac_resource_action_item_request_builder.go | 6 +- ...tem_resource_namespaces_request_builder.go | 4 +- ...resource_namespace_item_request_builder.go | 6 +- ...approvals_approval_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...teps_approval_step_item_request_builder.go | 6 +- ...nt_approvals_item_steps_request_builder.go | 4 +- ...le_assignment_approvals_request_builder.go | 4 +- ...by_current_user_with_on_request_builder.go | 2 +- ...es_item_activated_using_request_builder.go | 2 +- ...nstances_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...nstances_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...ment_schedule_instances_request_builder.go | 4 +- ..._schedule_instance_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ts_item_activated_using_request_builder.go | 2 +- ...requests_item_app_scope_request_builder.go | 2 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...requests_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...ts_item_target_schedule_request_builder.go | 2 +- ...nment_schedule_requests_request_builder.go | 4 +- ...t_schedule_request_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...es_item_activated_using_request_builder.go | 2 +- ...chedules_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...chedules_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...le_assignment_schedules_request_builder.go | 4 +- ...ssignment_schedule_item_request_builder.go | 6 +- ...ignments_item_app_scope_request_builder.go | 6 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...ignments_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...s_item_role_assignments_request_builder.go | 4 +- ...ed_role_assignment_item_request_builder.go | 6 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...herits_permissions_from_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- ...s_item_role_definitions_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...nstances_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...nstances_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...lity_schedule_instances_request_builder.go | 4 +- ..._schedule_instance_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...requests_item_app_scope_request_builder.go | 2 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...requests_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...ts_item_target_schedule_request_builder.go | 2 +- ...ility_schedule_requests_request_builder.go | 4 +- ...y_schedule_request_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...chedules_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...chedules_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...e_eligibility_schedules_request_builder.go | 4 +- ...igibility_schedule_item_request_builder.go | 6 +- ...n_id_role_definition_id_request_builder.go | 2 +- ...n_id_role_definition_id_request_builder.go | 2 +- ...ignments_item_app_scope_request_builder.go | 6 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...ignments_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...sitive_role_assignments_request_builder.go | 4 +- ...ed_role_assignment_item_request_builder.go | 6 +- ...s_rbac_application_item_request_builder.go | 6 +- .../enterprise_apps_request_builder.go | 4 +- .../entitlement_management_request_builder.go | 6 +- ...import_resource_actions_request_builder.go | 2 +- ..._authentication_context_request_builder.go | 2 +- ...ons_item_resource_scope_request_builder.go | 6 +- ...s_item_resource_actions_request_builder.go | 4 +- ...ac_resource_action_item_request_builder.go | 6 +- ...ent_resource_namespaces_request_builder.go | 4 +- ...resource_namespace_item_request_builder.go | 6 +- ...approvals_approval_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...teps_approval_step_item_request_builder.go | 6 +- ...nt_approvals_item_steps_request_builder.go | 4 +- ...le_assignment_approvals_request_builder.go | 4 +- ...by_current_user_with_on_request_builder.go | 2 +- ...es_item_activated_using_request_builder.go | 2 +- ...nstances_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...nstances_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...ment_schedule_instances_request_builder.go | 4 +- ..._schedule_instance_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ts_item_activated_using_request_builder.go | 2 +- ...requests_item_app_scope_request_builder.go | 2 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...requests_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...ts_item_target_schedule_request_builder.go | 2 +- ...nment_schedule_requests_request_builder.go | 4 +- ...t_schedule_request_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...es_item_activated_using_request_builder.go | 2 +- ...chedules_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...chedules_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...le_assignment_schedules_request_builder.go | 4 +- ...ssignment_schedule_item_request_builder.go | 6 +- ...ignments_item_app_scope_request_builder.go | 6 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...ignments_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...gement_role_assignments_request_builder.go | 4 +- ...ed_role_assignment_item_request_builder.go | 6 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...herits_permissions_from_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- ...gement_role_definitions_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...nstances_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...nstances_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...lity_schedule_instances_request_builder.go | 4 +- ..._schedule_instance_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...requests_item_app_scope_request_builder.go | 2 +- ...le_requests_item_cancel_request_builder.go | 2 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...requests_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...ts_item_target_schedule_request_builder.go | 2 +- ...ility_schedule_requests_request_builder.go | 4 +- ...y_schedule_request_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...chedules_item_app_scope_request_builder.go | 2 +- ...es_item_directory_scope_request_builder.go | 2 +- ...chedules_item_principal_request_builder.go | 2 +- ...es_item_role_definition_request_builder.go | 2 +- ...e_eligibility_schedules_request_builder.go | 4 +- ...igibility_schedule_item_request_builder.go | 6 +- ...n_id_role_definition_id_request_builder.go | 2 +- ...n_id_role_definition_id_request_builder.go | 2 +- ...ignments_item_app_scope_request_builder.go | 6 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...ignments_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...sitive_role_assignments_request_builder.go | 4 +- ...ed_role_assignment_item_request_builder.go | 6 +- ...s_custom_app_scope_item_request_builder.go | 6 +- ...hange_custom_app_scopes_request_builder.go | 4 +- rolemanagement/exchange_request_builder.go | 6 +- ...import_resource_actions_request_builder.go | 2 +- ..._authentication_context_request_builder.go | 2 +- ...ons_item_resource_scope_request_builder.go | 6 +- ...s_item_resource_actions_request_builder.go | 4 +- ...ac_resource_action_item_request_builder.go | 6 +- ...nge_resource_namespaces_request_builder.go | 4 +- ...resource_namespace_item_request_builder.go | 6 +- ...ignments_item_app_scope_request_builder.go | 6 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...ignments_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...change_role_assignments_request_builder.go | 4 +- ...ed_role_assignment_item_request_builder.go | 6 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...e_id_directory_scope_id_request_builder.go | 2 +- ...herits_permissions_from_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- ...change_role_definitions_request_builder.go | 4 +- ...ed_role_definition_item_request_builder.go | 6 +- ...ignments_item_app_scope_request_builder.go | 6 +- ...ts_item_directory_scope_request_builder.go | 2 +- ...ignments_item_principal_request_builder.go | 2 +- ...ts_item_role_definition_request_builder.go | 2 +- ...sitive_role_assignments_request_builder.go | 4 +- ...ed_role_assignment_item_request_builder.go | 6 +- .../role_management_request_builder.go | 4 +- .../schema_extension_item_request_builder.go | 6 +- .../schema_extensions_request_builder.go | 4 +- ...ed_role_membership_item_request_builder.go | 6 +- ...scoped_role_memberships_request_builder.go | 4 +- .../acronyms_acronym_item_request_builder.go | 6 +- search/acronyms_request_builder.go | 4 +- ...bookmarks_bookmark_item_request_builder.go | 6 +- search/bookmarks_request_builder.go | 4 +- search/qnas_qna_item_request_builder.go | 6 +- search/qnas_request_builder.go | 4 +- search/query_request_builder.go | 2 +- search/search_request_builder.go | 4 +- security/alerts_alert_item_request_builder.go | 4 +- security/alerts_request_builder.go | 4 +- .../alerts_update_alerts_request_builder.go | 2 +- .../alerts_v2_alert_item_request_builder.go | 6 +- ...alerts_v2_item_comments_request_builder.go | 2 +- security/alerts_v2_request_builder.go | 4 +- ..._user_notification_item_request_builder.go | 6 +- ...otification_detail_item_request_builder.go | 6 +- ...ifications_item_details_request_builder.go | 4 +- ..._end_user_notifications_request_builder.go | 4 +- ...anding_page_detail_item_request_builder.go | 6 +- ...ding_pages_item_details_request_builder.go | 4 +- ...pages_landing_page_item_request_builder.go | 6 +- ...imulation_landing_pages_request_builder.go | 4 +- ...n_pages_login_page_item_request_builder.go | 6 +- ..._simulation_login_pages_request_builder.go | 4 +- ...mulation_operation_item_request_builder.go | 6 +- ...k_simulation_operations_request_builder.go | 4 +- ...n_payloads_payload_item_request_builder.go | 6 +- ...ack_simulation_payloads_request_builder.go | 4 +- security/attack_simulation_request_builder.go | 6 +- ...n_automations_item_runs_request_builder.go | 4 +- ...ion_automation_run_item_request_builder.go | 6 +- ..._simulation_automations_request_builder.go | 4 +- ...ulation_automation_item_request_builder.go | 6 +- ...tions_item_landing_page_request_builder.go | 2 +- ...lations_item_login_page_request_builder.go | 2 +- ...imulations_item_payload_request_builder.go | 2 +- ..._simulation_simulations_request_builder.go | 4 +- ...lations_simulation_item_request_builder.go | 6 +- ...s_item_language_details_request_builder.go | 4 +- ...ng_language_detail_item_request_builder.go | 6 +- ...ck_simulation_trainings_request_builder.go | 4 +- ...trainings_training_item_request_builder.go | 6 +- ...es_ediscovery_case_item_request_builder.go | 6 +- ...iscovery_custodian_item_request_builder.go | 6 +- ...em_last_index_operation_request_builder.go | 2 +- ...graph_security_activate_request_builder.go | 2 +- ...aph_security_apply_hold_request_builder.go | 2 +- ..._graph_security_release_request_builder.go | 2 +- ...ph_security_remove_hold_request_builder.go | 2 +- ...h_security_update_index_request_builder.go | 2 +- ..._site_sources_item_site_request_builder.go | 2 +- ...dians_item_site_sources_request_builder.go | 4 +- ...ources_site_source_item_request_builder.go | 6 +- ...roup_sources_item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...m_unified_group_sources_request_builder.go | 4 +- ...ified_group_source_item_request_builder.go | 6 +- ...dians_item_user_sources_request_builder.go | 4 +- ...ources_user_source_item_request_builder.go | 6 +- ...aph_security_apply_hold_request_builder.go | 2 +- ...ph_security_remove_hold_request_builder.go | 2 +- ...h_security_update_index_request_builder.go | 2 +- ...y_cases_item_custodians_request_builder.go | 4 +- ...covery_hold_policy_item_request_builder.go | 6 +- ..._site_sources_item_site_request_builder.go | 2 +- ...holds_item_site_sources_request_builder.go | 4 +- ...ources_site_source_item_request_builder.go | 6 +- ...holds_item_user_sources_request_builder.go | 4 +- ...ources_user_source_item_request_builder.go | 6 +- ..._cases_item_legal_holds_request_builder.go | 4 +- ...ft_graph_security_close_request_builder.go | 2 +- ...t_graph_security_reopen_request_builder.go | 2 +- ...todial_data_source_item_request_builder.go | 6 +- ...ources_item_data_source_request_builder.go | 6 +- ...em_last_index_operation_request_builder.go | 2 +- ...aph_security_apply_hold_request_builder.go | 2 +- ..._graph_security_release_request_builder.go | 2 +- ...ph_security_remove_hold_request_builder.go | 2 +- ...h_security_update_index_request_builder.go | 2 +- ...aph_security_apply_hold_request_builder.go | 2 +- ...ph_security_remove_hold_request_builder.go | 2 +- ...h_security_update_index_request_builder.go | 2 +- ...ncustodial_data_sources_request_builder.go | 4 +- ...ons_case_operation_item_request_builder.go | 6 +- ...y_cases_item_operations_request_builder.go | 4 +- ...scovery_review_set_item_request_builder.go | 6 +- ...es_ediscovery_file_item_request_builder.go | 6 +- ...item_files_item_content_request_builder.go | 4 +- ...em_files_item_custodian_request_builder.go | 2 +- ..._extracted_text_content_request_builder.go | 4 +- ...scovery_review_tag_item_request_builder.go | 2 +- ...ts_item_files_item_tags_request_builder.go | 2 +- ..._review_sets_item_files_request_builder.go | 4 +- ...urity_add_to_review_set_request_builder.go | 2 +- ...t_graph_security_export_request_builder.go | 2 +- ...y_review_set_query_item_request_builder.go | 6 +- ...aph_security_apply_tags_request_builder.go | 2 +- ...t_graph_security_export_request_builder.go | 2 +- ...soft_graph_security_run_request_builder.go | 2 +- ...eview_sets_item_queries_request_builder.go | 4 +- ..._cases_item_review_sets_request_builder.go | 4 +- ..._ediscovery_search_item_request_builder.go | 6 +- ...to_review_set_operation_request_builder.go | 2 +- ...ources_data_source_item_request_builder.go | 6 +- ...item_additional_sources_request_builder.go | 4 +- ...ources_data_source_item_request_builder.go | 4 +- ..._item_custodian_sources_request_builder.go | 2 +- ...te_statistics_operation_request_builder.go | 2 +- ...ity_estimate_statistics_request_builder.go | 2 +- ..._security_export_report_request_builder.go | 2 +- ..._security_export_result_request_builder.go | 2 +- ...aph_security_purge_data_request_builder.go | 2 +- ...todial_data_source_item_request_builder.go | 4 +- ...em_noncustodial_sources_request_builder.go | 2 +- ...ery_cases_item_searches_request_builder.go | 4 +- ...curity_reset_to_default_request_builder.go | 2 +- ...ery_cases_item_settings_request_builder.go | 6 +- ...scovery_review_tag_item_request_builder.go | 6 +- ...scovery_review_tag_item_request_builder.go | 2 +- ...em_tags_item_child_tags_request_builder.go | 2 +- ...s_item_tags_item_parent_request_builder.go | 2 +- ...h_security_as_hierarchy_request_builder.go | 2 +- ...scovery_cases_item_tags_request_builder.go | 4 +- .../cases_ediscovery_cases_request_builder.go | 4 +- security/cases_request_builder.go | 6 +- ...p_security_profile_item_request_builder.go | 6 +- ...d_app_security_profiles_request_builder.go | 4 +- ...n_security_profile_item_request_builder.go | 6 +- ...omain_security_profiles_request_builder.go | 4 +- ...e_security_profile_item_request_builder.go | 6 +- .../file_security_profiles_request_builder.go | 4 +- ...t_security_profile_item_request_builder.go | 6 +- .../host_security_profiles_request_builder.go | 4 +- ...incidents_incident_item_request_builder.go | 6 +- ..._item_alerts_alert_item_request_builder.go | 2 +- ...em_alerts_item_comments_request_builder.go | 2 +- .../incidents_item_alerts_request_builder.go | 2 +- security/incidents_request_builder.go | 4 +- ...n_label_policy_settings_request_builder.go | 6 +- .../information_protection_request_builder.go | 6 +- ...vity_labels_item_parent_request_builder.go | 6 +- ...ty_evaluate_application_request_builder.go | 2 +- ..._classification_results_request_builder.go | 2 +- ...curity_evaluate_removal_request_builder.go | 2 +- ...y_extract_content_label_request_builder.go | 2 +- ...tion_sensitivity_labels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- ...p_security_profile_item_request_builder.go | 6 +- .../ip_security_profiles_request_builder.go | 4 +- ...authority_template_item_request_builder.go | 6 +- .../labels_authorities_request_builder.go | 4 +- ..._category_template_item_request_builder.go | 6 +- ...ies_item_sub_categories_request_builder.go | 4 +- ..._category_template_item_request_builder.go | 6 +- security/labels_categories_request_builder.go | 4 +- ..._citation_template_item_request_builder.go | 6 +- security/labels_citations_request_builder.go | 4 +- ...epartment_template_item_request_builder.go | 6 +- .../labels_departments_request_builder.go | 4 +- ...reference_template_item_request_builder.go | 6 +- ...ls_file_plan_references_request_builder.go | 4 +- security/labels_request_builder.go | 6 +- ...tors_authority_template_request_builder.go | 2 +- ...ptors_category_template_request_builder.go | 2 +- ...ptors_citation_template_request_builder.go | 2 +- ...ors_department_template_request_builder.go | 2 +- ...plan_reference_template_request_builder.go | 2 +- ...labels_item_descriptors_request_builder.go | 6 +- ...ition_review_stage_item_request_builder.go | 6 +- ...sposition_review_stages_request_builder.go | 4 +- ...em_retention_event_type_request_builder.go | 2 +- ...labels_retention_labels_request_builder.go | 4 +- ...ls_retention_label_item_request_builder.go | 6 +- ...urity_run_hunting_query_request_builder.go | 2 +- ...der_tenant_setting_item_request_builder.go | 6 +- ...rovider_tenant_settings_request_builder.go | 4 +- ..._score_control_profiles_request_builder.go | 4 +- ...re_control_profile_item_request_builder.go | 6 +- security/secure_scores_request_builder.go | 4 +- ...cores_secure_score_item_request_builder.go | 6 +- ..._cancel_security_action_request_builder.go | 2 +- security/security_actions_request_builder.go | 4 +- ...ns_security_action_item_request_builder.go | 6 +- security/security_request_builder.go | 4 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...requests_item_approvers_request_builder.go | 2 +- ...tem_approvers_user_item_request_builder.go | 2 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ests_item_collaborators_request_builder.go | 2 +- ...collaborators_user_item_request_builder.go | 2 +- ...em_get_final_attachment_request_builder.go | 2 +- ...s_item_get_final_report_request_builder.go | 2 +- ...otes_authored_note_item_request_builder.go | 6 +- ...hts_requests_item_notes_request_builder.go | 4 +- ...ghts_requests_item_team_request_builder.go | 2 +- ...subject_rights_requests_request_builder.go | 4 +- ...ect_rights_request_item_request_builder.go | 6 +- ..._article_indicator_item_request_builder.go | 6 +- ...ndicators_item_artifact_request_builder.go | 2 +- ...ence_article_indicators_request_builder.go | 4 +- ...e_articles_article_item_request_builder.go | 6 +- ..._article_indicator_item_request_builder.go | 2 +- ...rticles_item_indicators_request_builder.go | 2 +- ...t_intelligence_articles_request_builder.go | 4 +- ...nts_host_component_item_request_builder.go | 6 +- ...st_components_item_host_request_builder.go | 2 +- ...ligence_host_components_request_builder.go | 4 +- ...ookies_host_cookie_item_request_builder.go | 6 +- ..._host_cookies_item_host_request_builder.go | 2 +- ...telligence_host_cookies_request_builder.go | 4 +- ...st_pairs_host_pair_item_request_builder.go | 6 +- ...t_pairs_item_child_host_request_builder.go | 2 +- ..._pairs_item_parent_host_request_builder.go | 2 +- ...intelligence_host_pairs_request_builder.go | 4 +- ...st_ports_host_port_item_request_builder.go | 6 +- ...ce_host_ports_item_host_request_builder.go | 2 +- ..._recent_ssl_certificate_request_builder.go | 2 +- ...intelligence_host_ports_request_builder.go | 4 +- ...st_ssl_certificate_item_request_builder.go | 6 +- ..._certificates_item_host_request_builder.go | 2 +- ...es_item_ssl_certificate_request_builder.go | 2 +- ...e_host_ssl_certificates_request_builder.go | 4 +- ...ckers_host_tracker_item_request_builder.go | 6 +- ...host_trackers_item_host_request_builder.go | 2 +- ...elligence_host_trackers_request_builder.go | 4 +- ...ligence_hosts_host_item_request_builder.go | 6 +- ...st_pairs_host_pair_item_request_builder.go | 2 +- ...s_item_child_host_pairs_request_builder.go | 2 +- ...nts_host_component_item_request_builder.go | 2 +- ...e_hosts_item_components_request_builder.go | 2 +- ...ookies_host_cookie_item_request_builder.go | 2 +- ...ence_hosts_item_cookies_request_builder.go | 2 +- ...st_pairs_host_pair_item_request_builder.go | 2 +- ...e_hosts_item_host_pairs_request_builder.go | 2 +- ...st_pairs_host_pair_item_request_builder.go | 2 +- ..._item_parent_host_pairs_request_builder.go | 2 +- ...passive_dns_record_item_request_builder.go | 2 +- ..._hosts_item_passive_dns_request_builder.go | 2 +- ...passive_dns_record_item_request_builder.go | 2 +- ...tem_passive_dns_reverse_request_builder.go | 2 +- ...em_ports_host_port_item_request_builder.go | 2 +- ...igence_hosts_item_ports_request_builder.go | 2 +- ...e_hosts_item_reputation_request_builder.go | 6 +- ...st_ssl_certificate_item_request_builder.go | 2 +- ...s_item_ssl_certificates_request_builder.go | 2 +- ...e_hosts_item_subdomains_request_builder.go | 2 +- ...bdomains_subdomain_item_request_builder.go | 2 +- ...ckers_host_tracker_item_request_builder.go | 2 +- ...nce_hosts_item_trackers_request_builder.go | 2 +- ...igence_hosts_item_whois_request_builder.go | 2 +- ...reat_intelligence_hosts_request_builder.go | 4 +- ...telligence_profile_item_request_builder.go | 6 +- ..._profile_indicator_item_request_builder.go | 2 +- ...rofiles_item_indicators_request_builder.go | 2 +- ...lligence_intel_profiles_request_builder.go | 4 +- ..._profile_indicator_item_request_builder.go | 6 +- ...ndicators_item_artifact_request_builder.go | 2 +- ...ence_profile_indicators_request_builder.go | 4 +- ...s_records_item_artifact_request_builder.go | 2 +- ...ecords_item_parent_host_request_builder.go | 2 +- ...passive_dns_record_item_request_builder.go | 6 +- ...nce_passive_dns_records_request_builder.go | 4 +- .../threat_intelligence_request_builder.go | 6 +- ...related_hosts_host_item_request_builder.go | 2 +- ...ates_item_related_hosts_request_builder.go | 2 +- ...igence_ssl_certificates_request_builder.go | 4 +- ...es_ssl_certificate_item_request_builder.go | 6 +- ...ce_subdomains_item_host_request_builder.go | 2 +- ...intelligence_subdomains_request_builder.go | 4 +- ...bdomains_subdomain_item_request_builder.go | 6 +- ...m_articles_article_item_request_builder.go | 2 +- ...abilities_item_articles_request_builder.go | 2 +- ...ilities_item_components_request_builder.go | 4 +- ...rability_component_item_request_builder.go | 6 +- ...ligence_vulnerabilities_request_builder.go | 4 +- ...ties_vulnerability_item_request_builder.go | 6 +- ...story_records_item_host_request_builder.go | 2 +- ...e_whois_history_records_request_builder.go | 4 +- ...ois_history_record_item_request_builder.go | 6 +- ...is_records_item_history_request_builder.go | 2 +- ...ois_history_record_item_request_builder.go | 2 +- ...whois_records_item_host_request_builder.go | 2 +- ...elligence_whois_records_request_builder.go | 4 +- ...cords_whois_record_item_request_builder.go | 6 +- ..._submission_policy_item_request_builder.go | 6 +- ...eat_submission_policies_request_builder.go | 4 +- ..._threat_submission_item_request_builder.go | 6 +- ...ubmission_email_threats_request_builder.go | 4 +- ..._threat_submission_item_request_builder.go | 6 +- ...submission_file_threats_request_builder.go | 4 +- security/threat_submission_request_builder.go | 6 +- ..._submission_url_threats_request_builder.go | 4 +- ..._threat_submission_item_request_builder.go | 6 +- ...dicators_by_external_id_request_builder.go | 2 +- ...rs_delete_ti_indicators_request_builder.go | 2 +- security/ti_indicators_request_builder.go | 4 +- ...rs_submit_ti_indicators_request_builder.go | 2 +- ...ators_ti_indicator_item_request_builder.go | 6 +- ...rs_update_ti_indicators_request_builder.go | 2 +- security/trigger_types_request_builder.go | 6 +- ...s_retention_event_types_request_builder.go | 4 +- ...tention_event_type_item_request_builder.go | 6 +- security/triggers_request_builder.go | 6 +- ...em_retention_event_type_request_builder.go | 2 +- ...iggers_retention_events_request_builder.go | 4 +- ...ts_retention_event_item_request_builder.go | 6 +- .../user_security_profiles_request_builder.go | 4 +- ...r_security_profile_item_request_builder.go | 6 +- serviceprincipals/delta_request_builder.go | 2 +- .../get_by_ids_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...ken_signing_certificate_request_builder.go | 2 +- ..._management_policy_item_request_builder.go | 4 +- ...app_management_policies_request_builder.go | 2 +- ...pp_role_assignment_item_request_builder.go | 6 +- ...em_app_role_assigned_to_request_builder.go | 4 +- ...pp_role_assignment_item_request_builder.go | 6 +- ...em_app_role_assignments_request_builder.go | 4 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- ...pping_policies_item_ref_request_builder.go | 2 +- ...ms_mapping_policies_ref_request_builder.go | 4 +- ...claims_mapping_policies_request_builder.go | 2 +- ...gle_sign_on_credentials_request_builder.go | 2 +- ...s_directory_object_item_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- .../item_created_objects_request_builder.go | 2 +- ...ion_classification_item_request_builder.go | 6 +- ...mission_classifications_request_builder.go | 4 +- ...gle_sign_on_credentials_request_builder.go | 2 +- ...endpoints_endpoint_item_request_builder.go | 6 +- .../item_endpoints_request_builder.go | 4 +- ...dentity_credential_item_request_builder.go | 6 +- ...ed_identity_credentials_request_builder.go | 4 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- ...gle_sign_on_credentials_request_builder.go | 2 +- ...overy_policies_item_ref_request_builder.go | 2 +- ..._discovery_policies_ref_request_builder.go | 4 +- ...ealm_discovery_policies_request_builder.go | 2 +- ...ls_license_details_item_request_builder.go | 6 +- .../item_license_details_request_builder.go | 4 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...of_graph_directory_role_request_builder.go | 2 +- ...m_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...em_graph_directory_role_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- .../item_member_of_request_builder.go | 2 +- ...2_permission_grant_item_request_builder.go | 2 +- ...auth2_permission_grants_request_builder.go | 2 +- ...s_directory_object_item_request_builder.go | 2 +- ...jects_graph_application_request_builder.go | 2 +- ..._objects_graph_endpoint_request_builder.go | 2 +- ...ned_objects_graph_group_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ..._item_graph_application_request_builder.go | 2 +- ...cts_item_graph_endpoint_request_builder.go | 2 +- ...bjects_item_graph_group_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- .../item_owned_objects_request_builder.go | 2 +- ...m_owners_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- .../item_owners_graph_user_request_builder.go | 2 +- ...ers_item_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ..._owners_item_graph_user_request_builder.go | 2 +- .../item_owners_item_ref_request_builder.go | 2 +- .../item_owners_ref_request_builder.go | 4 +- .../item_owners_request_builder.go | 2 +- ..._security_configuration_request_builder.go | 6 +- ...on_target_device_groups_request_builder.go | 4 +- ...arget_device_group_item_request_builder.go | 6 +- .../item_restore_request_builder.go | 2 +- ...on_acquire_access_token_request_builder.go | 2 +- ...n_jobs_item_bulk_upload_request_builder.go | 6 +- ...lk_upload_value_content_request_builder.go | 4 +- ...ization_jobs_item_pause_request_builder.go | 2 +- ...tem_provision_on_demand_request_builder.go | 2 +- ...ation_jobs_item_restart_request_builder.go | 2 +- ...rectory_definition_item_request_builder.go | 6 +- ...rectories_item_discover_request_builder.go | 2 +- ...item_schema_directories_request_builder.go | 4 +- ...schema_filter_operators_request_builder.go | 2 +- ...s_item_schema_functions_request_builder.go | 2 +- ...schema_parse_expression_request_builder.go | 2 +- ...zation_jobs_item_schema_request_builder.go | 6 +- ...ization_jobs_item_start_request_builder.go | 2 +- ...em_validate_credentials_request_builder.go | 2 +- ...em_synchronization_jobs_request_builder.go | 4 +- ...ynchronization_job_item_request_builder.go | 6 +- ...bs_validate_credentials_request_builder.go | 2 +- ...em_synchronization_ping_request_builder.go | 2 +- .../item_synchronization_request_builder.go | 6 +- ...synchronization_secrets_request_builder.go | 2 +- ...rectory_definition_item_request_builder.go | 6 +- ...rectories_item_discover_request_builder.go | 2 +- ...item_schema_directories_request_builder.go | 4 +- ...schema_filter_operators_request_builder.go | 2 +- ...s_item_schema_functions_request_builder.go | 2 +- ...schema_parse_expression_request_builder.go | 2 +- ...n_templates_item_schema_request_builder.go | 6 +- ...nchronization_templates_request_builder.go | 4 +- ...onization_template_item_request_builder.go | 6 +- ...token_issuance_policies_request_builder.go | 2 +- ...en_issuance_policy_item_request_builder.go | 2 +- ...token_lifetime_policies_request_builder.go | 2 +- ...en_lifetime_policy_item_request_builder.go | 2 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...of_graph_directory_role_request_builder.go | 2 +- ...e_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...em_graph_directory_role_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- ...em_transitive_member_of_request_builder.go | 2 +- ...gle_sign_on_credentials_request_builder.go | 2 +- .../service_principal_item_request_builder.go | 6 +- .../service_principals_request_builder.go | 4 +- .../validate_properties_request_builder.go | 2 +- ..._principals_with_app_id_request_builder.go | 6 +- .../directory_setting_item_request_builder.go | 6 +- settings/settings_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- .../item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...item_drive_item_content_request_builder.go | 4 +- shares/item_drive_item_request_builder.go | 2 +- ...m_items_drive_item_item_request_builder.go | 2 +- ...item_items_item_content_request_builder.go | 4 +- shares/item_items_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- .../item_list_activities_request_builder.go | 4 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- shares/item_list_columns_request_builder.go | 4 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 6 +- ...tible_hub_content_types_request_builder.go | 2 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ...content_types_item_base_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 2 +- ...t_types_item_base_types_request_builder.go | 2 +- ..._links_column_link_item_request_builder.go | 6 +- ...types_item_column_links_request_builder.go | 4 +- ..._column_definition_item_request_builder.go | 2 +- ...s_item_column_positions_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- ...tent_types_item_columns_request_builder.go | 4 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 2 +- ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- ...item_list_content_types_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...em_list_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- shares/item_list_drive_request_builder.go | 2 +- shares/item_list_item_request_builder.go | 2 +- .../item_list_items_delta_request_builder.go | 2 +- ..._items_delta_with_token_request_builder.go | 2 +- ...tem_activity_o_l_d_item_request_builder.go | 6 +- ...item_drive_item_content_request_builder.go | 4 +- ...ivities_item_drive_item_request_builder.go | 2 +- ...tivities_item_list_item_request_builder.go | 2 +- ...t_items_item_activities_request_builder.go | 4 +- ...st_items_item_analytics_request_builder.go | 2 +- ..._items_item_create_link_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...ms_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...cument_set_version_item_request_builder.go | 6 +- ...et_versions_item_fields_request_builder.go | 6 +- ...t_versions_item_restore_request_builder.go | 2 +- ...m_document_set_versions_request_builder.go | 4 +- ...item_drive_item_content_request_builder.go | 4 +- ...t_items_item_drive_item_request_builder.go | 2 +- ..._list_items_item_fields_request_builder.go | 6 +- ...date_time_with_interval_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...em_versions_item_fields_request_builder.go | 6 +- ...ns_item_restore_version_request_builder.go | 2 +- ..._list_item_version_item_request_builder.go | 6 +- ...ist_items_item_versions_request_builder.go | 4 +- ...st_items_list_item_item_request_builder.go | 6 +- shares/item_list_items_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...t_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- .../item_list_operations_request_builder.go | 4 +- ..._running_operation_item_request_builder.go | 6 +- shares/item_list_request_builder.go | 6 +- ...ptions_item_reauthorize_request_builder.go | 2 +- ...item_list_subscriptions_request_builder.go | 4 +- ...tions_subscription_item_request_builder.go | 6 +- .../item_permission_grant_request_builder.go | 2 +- shares/item_permission_request_builder.go | 6 +- ...ermission_revoke_grants_request_builder.go | 2 +- shares/item_root_content_request_builder.go | 4 +- shares/item_root_request_builder.go | 2 +- shares/item_site_request_builder.go | 2 +- .../shared_drive_item_item_request_builder.go | 6 +- shares/shares_request_builder.go | 4 +- sites/add_request_builder.go | 2 +- sites/delta_request_builder.go | 2 +- sites/get_all_sites_request_builder.go | 2 +- ...item_analytics_all_time_request_builder.go | 2 +- ...ties_item_activity_item_request_builder.go | 6 +- ...item_drive_item_content_request_builder.go | 4 +- ...ivities_item_drive_item_request_builder.go | 2 +- ...y_stats_item_activities_request_builder.go | 4 +- ...item_activity_stat_item_request_builder.go | 6 +- ...ics_item_activity_stats_request_builder.go | 4 +- ...alytics_last_seven_days_request_builder.go | 2 +- sites/item_analytics_request_builder.go | 6 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- sites/item_columns_request_builder.go | 4 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 6 +- ...tible_hub_content_types_request_builder.go | 2 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ...content_types_item_base_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 2 +- ...t_types_item_base_types_request_builder.go | 2 +- ..._links_column_link_item_request_builder.go | 6 +- ...types_item_column_links_request_builder.go | 4 +- ..._column_definition_item_request_builder.go | 2 +- ...s_item_column_positions_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- ...tent_types_item_columns_request_builder.go | 4 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 2 +- ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- sites/item_content_types_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- sites/item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- sites/item_drive_request_builder.go | 2 +- .../item_drives_drive_item_request_builder.go | 2 +- sites/item_drives_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 2 +- .../item_external_columns_request_builder.go | 2 +- ...date_time_with_interval_request_builder.go | 2 +- ...s_for_list_with_list_id_request_builder.go | 2 +- ...m_get_by_path_with_path_request_builder.go | 2 +- ...ocker_recovery_key_item_request_builder.go | 2 +- ...bitlocker_recovery_keys_request_builder.go | 2 +- ...on_protection_bitlocker_request_builder.go | 2 +- ..._prevention_policy_item_request_builder.go | 6 +- ...ntion_policies_evaluate_request_builder.go | 2 +- ...oss_prevention_policies_request_builder.go | 4 +- ...otection_decrypt_buffer_request_builder.go | 2 +- ...otection_encrypt_buffer_request_builder.go | 2 +- ...ls_evaluate_application_request_builder.go | 2 +- ..._classification_results_request_builder.go | 2 +- ...labels_evaluate_removal_request_builder.go | 2 +- ...cy_labels_extract_label_request_builder.go | 2 +- ...n_protection_label_item_request_builder.go | 6 +- ...rotection_policy_labels_request_builder.go | 4 +- ...ation_protection_policy_request_builder.go | 6 +- ..._information_protection_request_builder.go | 6 +- ...itivity_labels_evaluate_request_builder.go | 2 +- ...item_sublabels_evaluate_request_builder.go | 2 +- ...y_labels_item_sublabels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- ...tion_sensitivity_labels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- ...itivity_policy_settings_request_builder.go | 6 +- ..._protection_sign_digest_request_builder.go | 2 +- ...t_requests_item_results_request_builder.go | 4 +- ..._assessment_result_item_request_builder.go | 6 +- ...eat_assessment_requests_request_builder.go | 4 +- ...assessment_request_item_request_builder.go | 6 +- ...ection_verify_signature_request_builder.go | 2 +- ...em_items_base_item_item_request_builder.go | 2 +- sites/item_items_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...m_lists_item_activities_request_builder.go | 4 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- ...item_lists_item_columns_request_builder.go | 4 +- ...y_from_content_type_hub_request_builder.go | 2 +- ..._content_types_add_copy_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 6 +- ...tible_hub_content_types_request_builder.go | 2 +- ...ssociate_with_hub_sites_request_builder.go | 2 +- ...content_types_item_base_request_builder.go | 2 +- ...types_content_type_item_request_builder.go | 2 +- ...t_types_item_base_types_request_builder.go | 2 +- ..._links_column_link_item_request_builder.go | 6 +- ...types_item_column_links_request_builder.go | 4 +- ..._column_definition_item_request_builder.go | 2 +- ...s_item_column_positions_request_builder.go | 2 +- ..._column_definition_item_request_builder.go | 6 +- ...umns_item_source_column_request_builder.go | 2 +- ...tent_types_item_columns_request_builder.go | 4 +- ...efault_content_location_request_builder.go | 2 +- ...types_item_is_published_request_builder.go | 2 +- ...tent_types_item_publish_request_builder.go | 2 +- ...nt_types_item_unpublish_request_builder.go | 2 +- ...ists_item_content_types_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...ts_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- .../item_lists_item_drive_request_builder.go | 2 +- ..._lists_item_items_delta_request_builder.go | 2 +- ..._items_delta_with_token_request_builder.go | 2 +- ...tem_activity_o_l_d_item_request_builder.go | 6 +- ...item_drive_item_content_request_builder.go | 4 +- ...ivities_item_drive_item_request_builder.go | 2 +- ...tivities_item_list_item_request_builder.go | 2 +- ...m_items_item_activities_request_builder.go | 4 +- ...em_items_item_analytics_request_builder.go | 2 +- ..._items_item_create_link_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...ms_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...cument_set_version_item_request_builder.go | 6 +- ...et_versions_item_fields_request_builder.go | 6 +- ...t_versions_item_restore_request_builder.go | 2 +- ...m_document_set_versions_request_builder.go | 4 +- ...item_drive_item_content_request_builder.go | 4 +- ...m_items_item_drive_item_request_builder.go | 2 +- ..._item_items_item_fields_request_builder.go | 6 +- ...date_time_with_interval_request_builder.go | 2 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...em_versions_item_fields_request_builder.go | 6 +- ...ns_item_restore_version_request_builder.go | 2 +- ..._list_item_version_item_request_builder.go | 6 +- ...tem_items_item_versions_request_builder.go | 4 +- ...em_items_list_item_item_request_builder.go | 6 +- .../item_lists_item_items_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...m_lists_item_operations_request_builder.go | 4 +- ..._running_operation_item_request_builder.go | 6 +- ...ptions_item_reauthorize_request_builder.go | 2 +- ...ists_item_subscriptions_request_builder.go | 4 +- ...tions_subscription_item_request_builder.go | 6 +- sites/item_lists_list_item_request_builder.go | 6 +- sites/item_lists_request_builder.go | 4 +- ...t_notebook_from_web_url_request_builder.go | 2 +- ...lude_personal_notebooks_request_builder.go | 2 +- ...ooks_item_copy_notebook_request_builder.go | 2 +- ...ps_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 2 +- ...oups_section_group_item_request_builder.go | 2 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...on_groups_item_sections_request_builder.go | 4 +- ...oks_item_section_groups_request_builder.go | 4 +- ...oups_section_group_item_request_builder.go | 6 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...notebooks_item_sections_request_builder.go | 4 +- ...notebooks_notebook_item_request_builder.go | 6 +- .../item_onenote_notebooks_request_builder.go | 4 +- ..._onenote_operation_item_request_builder.go | 6 +- ...item_onenote_operations_request_builder.go | 4 +- ...note_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...note_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- sites/item_onenote_pages_request_builder.go | 4 +- sites/item_onenote_request_builder.go | 6 +- ..._resources_item_content_request_builder.go | 4 +- ...s_onenote_resource_item_request_builder.go | 6 +- .../item_onenote_resources_request_builder.go | 4 +- ...ps_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 2 +- ...oups_section_group_item_request_builder.go | 2 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...on_groups_item_sections_request_builder.go | 4 +- ..._onenote_section_groups_request_builder.go | 4 +- ...oups_section_group_item_request_builder.go | 6 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...ote_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- .../item_onenote_sections_request_builder.go | 4 +- sites/item_operations_request_builder.go | 4 +- ..._running_operation_item_request_builder.go | 6 +- ...ges_base_site_page_item_request_builder.go | 6 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...es_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- sites/item_pages_request_builder.go | 4 +- ..._permissions_item_grant_request_builder.go | 2 +- ...ions_item_revoke_grants_request_builder.go | 2 +- ...issions_permission_item_request_builder.go | 6 +- sites/item_permissions_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...cle_bin_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...ms_item_created_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...m_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...s_recycle_bin_item_item_request_builder.go | 6 +- .../item_recycle_bin_items_request_builder.go | 4 +- ...y_user_mailbox_settings_request_builder.go | 4 +- ...n_last_modified_by_user_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- sites/item_recycle_bin_request_builder.go | 6 +- sites/item_sites_request_builder.go | 2 +- sites/item_sites_site_item_request_builder.go | 2 +- ...store_groups_group_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ..._children_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...item_sets_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ..._sets_item_parent_group_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...tem_sets_item_relations_request_builder.go | 4 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tem_terms_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...em_terms_item_relations_request_builder.go | 4 +- ...ets_item_terms_item_set_request_builder.go | 2 +- ...ps_item_sets_item_terms_request_builder.go | 4 +- ...ts_item_terms_term_item_request_builder.go | 6 +- ..._store_groups_item_sets_request_builder.go | 4 +- ...oups_item_sets_set_item_request_builder.go | 6 +- .../item_term_store_groups_request_builder.go | 4 +- sites/item_term_store_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ..._children_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tore_sets_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ..._sets_item_parent_group_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ..._children_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...roup_sets_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...oup_sets_item_relations_request_builder.go | 4 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tem_terms_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...em_terms_item_relations_request_builder.go | 4 +- ...ets_item_terms_item_set_request_builder.go | 2 +- ...t_group_sets_item_terms_request_builder.go | 4 +- ...ts_item_terms_term_item_request_builder.go | 6 +- ..._item_parent_group_sets_request_builder.go | 4 +- ...ent_group_sets_set_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...ore_sets_item_relations_request_builder.go | 4 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tem_terms_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...em_terms_item_relations_request_builder.go | 4 +- ...ets_item_terms_item_set_request_builder.go | 2 +- ...m_store_sets_item_terms_request_builder.go | 4 +- ...ts_item_terms_term_item_request_builder.go | 6 +- sites/item_term_store_sets_request_builder.go | 4 +- ...erm_store_sets_set_item_request_builder.go | 6 +- sites/remove_request_builder.go | 2 +- sites/site_item_request_builder.go | 4 +- sites/sites_request_builder.go | 2 +- ..._business_scenario_item_request_builder.go | 6 +- ...s_item_planner_get_plan_request_builder.go | 2 +- ...ation_localization_item_request_builder.go | 6 +- ...iguration_localizations_request_builder.go | 4 +- ...nner_plan_configuration_request_builder.go | 6 +- ..._scenarios_item_planner_request_builder.go | 6 +- ...nner_task_configuration_request_builder.go | 6 +- ...ness_scenario_task_item_request_builder.go | 6 +- ...ed_to_task_board_format_request_builder.go | 6 +- ...ucket_task_board_format_request_builder.go | 6 +- ...nner_tasks_item_details_request_builder.go | 6 +- ...gress_task_board_format_request_builder.go | 6 +- ...rios_item_planner_tasks_request_builder.go | 4 +- .../business_scenarios_request_builder.go | 4 +- solutions/solutions_request_builder.go | 4 +- ...al_events_events_cancel_request_builder.go | 65 ++ ...ers_item_profile_photo_request_builder.go} | 50 +- ...rs_item_sessions_count_request_builder.go} | 36 +- ...resenters_item_sessions_request_builder.go | 108 ++ ...tual_event_session_item_request_builder.go | 81 ++ ..._events_item_presenters_request_builder.go | 4 +- ...al_event_presenter_item_request_builder.go | 14 +- ...m_alternative_recording_request_builder.go | 108 -- ..._attendance_record_item_request_builder.go | 6 +- ...item_attendance_records_request_builder.go | 4 +- ..._attendance_report_item_request_builder.go | 17 +- ...item_attendance_reports_request_builder.go | 17 +- ...tem_broadcast_recording_request_builder.go | 108 -- ...ttendance_records_count_request_builder.go | 80 -- ...port_attendance_records_request_builder.go | 154 --- ...eting_attendance_report_request_builder.go | 167 ---- ..._item_presenters_count_request_builder.go} | 36 +- ...ters_item_profile_photo_request_builder.go | 108 ++ ...essions_item_presenters_request_builder.go | 108 ++ ...al_event_presenter_item_request_builder.go | 85 ++ ...sessions_item_recording_request_builder.go | 108 -- ...ngs_call_recording_item_request_builder.go | 167 ---- ...ions_item_recordings_delta_get_response.go | 88 -- ...s_item_recordings_delta_request_builder.go | 110 -- ...sessions_item_recordings_delta_response.go | 28 - ...recordings_item_content_request_builder.go | 109 -- ...essions_item_recordings_request_builder.go | 155 --- ...istration_question_item_request_builder.go | 169 ---- ...ration_custom_questions_request_builder.go | 157 --- ...ation_registrants_count_request_builder.go | 80 -- ...ng_registrant_base_item_request_builder.go | 160 --- ...egistration_registrants_request_builder.go | 151 --- ...ions_item_registrations_request_builder.go | 2 +- ...event_registration_item_request_builder.go | 2 +- ...ts_call_transcript_item_request_builder.go | 171 ---- ...ons_item_transcripts_delta_get_response.go | 88 -- ..._item_transcripts_delta_request_builder.go | 110 -- ...essions_item_transcripts_delta_response.go | 28 - ...ranscripts_item_content_request_builder.go | 112 --- ...s_item_metadata_content_request_builder.go | 111 -- ...ssions_item_transcripts_request_builder.go | 158 --- ...ts_events_item_sessions_request_builder.go | 4 +- ...tual_event_session_item_request_builder.go | 42 +- ...l_events_events_publish_request_builder.go | 65 ++ .../virtual_events_events_request_builder.go | 12 +- ...ents_virtual_event_item_request_builder.go | 6 +- solutions/virtual_events_request_builder.go | 6 +- ..._with_user_id_with_role_request_builder.go | 2 +- ..._by_user_role_with_role_request_builder.go | 2 +- ...ers_item_profile_photo_request_builder.go} | 50 +- ...rs_item_sessions_count_request_builder.go} | 36 +- ...resenters_item_sessions_request_builder.go | 108 ++ ...tual_event_session_item_request_builder.go | 81 ++ ...ebinars_item_presenters_request_builder.go | 4 +- ...al_event_presenter_item_request_builder.go | 14 +- ...istration_configuration_request_builder.go | 2 +- ...m_alternative_recording_request_builder.go | 108 -- ...ns_item_attendee_report_request_builder.go | 108 -- ...tem_broadcast_recording_request_builder.go | 108 -- ...strations_item_sessions_request_builder.go | 2 +- ...tual_event_session_item_request_builder.go | 18 +- ...nars_item_registrations_request_builder.go | 4 +- ...event_registration_item_request_builder.go | 6 +- ...m_alternative_recording_request_builder.go | 108 -- ..._attendance_record_item_request_builder.go | 6 +- ...item_attendance_records_request_builder.go | 4 +- ..._attendance_report_item_request_builder.go | 17 +- ...item_attendance_reports_request_builder.go | 17 +- ...tem_broadcast_recording_request_builder.go | 108 -- ..._attendance_record_item_request_builder.go | 160 --- ...ttendance_records_count_request_builder.go | 80 -- ...port_attendance_records_request_builder.go | 154 --- ...eting_attendance_report_request_builder.go | 167 ---- ..._item_presenters_count_request_builder.go} | 36 +- ...ers_item_profile_photo_request_builder.go} | 50 +- ...essions_item_presenters_request_builder.go | 108 ++ ...al_event_presenter_item_request_builder.go | 85 ++ ...sessions_item_recording_request_builder.go | 108 -- ...ngs_call_recording_item_request_builder.go | 167 ---- ...ions_item_recordings_delta_get_response.go | 88 -- ...s_item_recordings_delta_request_builder.go | 110 -- ...sessions_item_recordings_delta_response.go | 28 - ...recordings_item_content_request_builder.go | 109 -- ...essions_item_recordings_request_builder.go | 155 --- ..._custom_questions_count_request_builder.go | 80 -- ...istration_question_item_request_builder.go | 169 ---- ...ration_custom_questions_request_builder.go | 157 --- ...ation_registrants_count_request_builder.go | 80 -- ...ng_registrant_base_item_request_builder.go | 160 --- ...egistration_registrants_request_builder.go | 151 --- ...sions_item_registration_request_builder.go | 177 ---- ...ions_item_registrations_request_builder.go | 2 +- ...event_registration_item_request_builder.go | 2 +- ...ts_call_transcript_item_request_builder.go | 171 ---- ...ons_item_transcripts_delta_get_response.go | 88 -- ..._item_transcripts_delta_request_builder.go | 110 -- ...essions_item_transcripts_delta_response.go | 28 - ...ranscripts_item_content_request_builder.go | 112 --- ...s_item_metadata_content_request_builder.go | 111 -- ...ssions_item_transcripts_request_builder.go | 158 --- ..._webinars_item_sessions_request_builder.go | 4 +- ...tual_event_session_item_request_builder.go | 42 +- ...virtual_events_webinars_request_builder.go | 4 +- ...tual_event_webinar_item_request_builder.go | 6 +- .../subscribed_sku_item_request_builder.go | 6 +- .../subscribed_skus_request_builder.go | 4 +- .../item_reauthorize_request_builder.go | 2 +- .../subscription_item_request_builder.go | 6 +- .../subscriptions_request_builder.go | 4 +- teams/all_messages_request_builder.go | 2 +- teams/get_all_messages_request_builder.go | 2 +- ...l_channels_channel_item_request_builder.go | 2 +- teams/item_all_channels_request_builder.go | 2 +- teams/item_archive_request_builder.go | 2 +- ...m_channels_all_messages_request_builder.go | 2 +- ...m_channels_channel_item_request_builder.go | 6 +- ...annels_get_all_messages_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 2 +- ...em_files_folder_content_request_builder.go | 4 +- ...nnels_item_files_folder_request_builder.go | 2 +- ...annels_item_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...m_channels_item_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- ...els_item_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- ..._channels_item_messages_request_builder.go | 10 +- ...ls_item_provision_email_request_builder.go | 2 +- ...nnels_item_remove_email_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 2 +- ...ed_with_teams_item_team_request_builder.go | 2 +- ..._item_shared_with_teams_request_builder.go | 4 +- ..._channel_team_info_item_request_builder.go | 6 +- ...tem_tabs_item_teams_app_request_builder.go | 2 +- ...item_channels_item_tabs_request_builder.go | 4 +- ...tem_tabs_teams_tab_item_request_builder.go | 6 +- teams/item_channels_request_builder.go | 4 +- teams/item_clone_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- teams/item_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...g_channels_channel_item_request_builder.go | 4 +- .../item_incoming_channels_request_builder.go | 2 +- ...em_teams_app_definition_request_builder.go | 2 +- ...led_apps_item_teams_app_request_builder.go | 2 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- teams/item_installed_apps_request_builder.go | 4 +- ...s_app_installation_item_request_builder.go | 6 +- teams/item_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- teams/item_members_request_builder.go | 4 +- teams/item_operations_request_builder.go | 4 +- ...ms_async_operation_item_request_builder.go | 6 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ...ice_provisioning_errors_request_builder.go | 8 +- teams/item_owners_request_builder.go | 2 +- .../item_owners_user_item_request_builder.go | 2 +- .../item_permission_grants_request_builder.go | 4 +- ...c_permission_grant_item_request_builder.go | 6 +- teams/item_photo_request_builder.go | 4 +- ...tem_photo_value_content_request_builder.go | 4 +- ...nnel_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 2 +- ...el_files_folder_content_request_builder.go | 4 +- ...ry_channel_files_folder_request_builder.go | 2 +- ...ary_channel_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...primary_channel_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- ..._channel_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...l_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- ...rimary_channel_messages_request_builder.go | 10 +- ...channel_provision_email_request_builder.go | 2 +- ...ry_channel_remove_email_request_builder.go | 2 +- teams/item_primary_channel_request_builder.go | 6 +- ...onversation_member_item_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 2 +- ...ed_with_teams_item_team_request_builder.go | 2 +- ...annel_shared_with_teams_request_builder.go | 4 +- ..._channel_team_info_item_request_builder.go | 6 +- ...nel_tabs_item_teams_app_request_builder.go | 2 +- ...em_primary_channel_tabs_request_builder.go | 4 +- ...nel_tabs_teams_tab_item_request_builder.go | 6 +- ...chedule_day_notes_count_request_builder.go | 80 ++ ...day_notes_day_note_item_request_builder.go | 80 +- ...item_schedule_day_notes_request_builder.go | 151 +++ ...ffer_shift_request_item_request_builder.go | 6 +- ...le_offer_shift_requests_request_builder.go | 4 +- ...ift_change_request_item_request_builder.go | 6 +- ...n_shift_change_requests_request_builder.go | 4 +- ..._shifts_open_shift_item_request_builder.go | 6 +- ...em_schedule_open_shifts_request_builder.go | 4 +- teams/item_schedule_request_builder.go | 10 +- ...edule_scheduling_groups_request_builder.go | 4 +- ...s_scheduling_group_item_request_builder.go | 6 +- teams/item_schedule_share_request_builder.go | 2 +- teams/item_schedule_shifts_request_builder.go | 4 +- ...edule_shifts_shift_item_request_builder.go | 6 +- ..._shifts_change_requests_request_builder.go | 4 +- ...fts_change_request_item_request_builder.go | 6 +- ...ule_time_cards_clock_in_request_builder.go | 2 +- ...me_cards_item_clock_out_request_builder.go | 2 +- ...time_cards_item_confirm_request_builder.go | 2 +- ...me_cards_item_end_break_request_builder.go | 2 +- ..._cards_item_start_break_request_builder.go | 2 +- ...tem_schedule_time_cards_request_builder.go | 4 +- ...me_cards_time_card_item_request_builder.go | 6 +- ...hedule_time_off_reasons_request_builder.go | 4 +- ...ns_time_off_reason_item_request_builder.go | 6 +- ...edule_time_off_requests_request_builder.go | 4 +- ...s_time_off_request_item_request_builder.go | 6 +- ...item_schedule_times_off_request_builder.go | 4 +- ...times_off_time_off_item_request_builder.go | 6 +- ...d_activity_notification_request_builder.go | 2 +- .../item_tags_item_members_request_builder.go | 4 +- ...eamwork_tag_member_item_request_builder.go | 6 +- teams/item_tags_request_builder.go | 4 +- ..._tags_teamwork_tag_item_request_builder.go | 6 +- ...tem_template_definition_request_builder.go | 2 +- teams/item_template_request_builder.go | 2 +- teams/item_unarchive_request_builder.go | 2 +- teams/team_item_request_builder.go | 6 +- teams/teams_request_builder.go | 4 +- .../teams_template_item_request_builder.go | 6 +- .../teams_templates_request_builder.go | 4 +- ...l_channels_channel_item_request_builder.go | 2 +- ...definition_all_channels_request_builder.go | 2 +- ...team_definition_archive_request_builder.go | 2 +- ...n_channels_all_messages_request_builder.go | 2 +- ...n_channels_channel_item_request_builder.go | 6 +- ...annels_get_all_messages_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 2 +- ...em_files_folder_content_request_builder.go | 4 +- ...nnels_item_files_folder_request_builder.go | 2 +- ...annels_item_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...n_channels_item_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- ...els_item_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- ..._channels_item_messages_request_builder.go | 10 +- ...ls_item_provision_email_request_builder.go | 2 +- ...nnels_item_remove_email_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 2 +- ...ed_with_teams_item_team_request_builder.go | 2 +- ..._item_shared_with_teams_request_builder.go | 4 +- ..._channel_team_info_item_request_builder.go | 6 +- ...tem_tabs_item_teams_app_request_builder.go | 2 +- ...tion_channels_item_tabs_request_builder.go | 4 +- ...tem_tabs_teams_tab_item_request_builder.go | 6 +- ...eam_definition_channels_request_builder.go | 4 +- ...m_team_definition_clone_request_builder.go | 2 +- ...tion_complete_migration_request_builder.go | 2 +- ...m_team_definition_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...g_channels_channel_item_request_builder.go | 4 +- ...ition_incoming_channels_request_builder.go | 2 +- ...em_teams_app_definition_request_builder.go | 2 +- ...led_apps_item_teams_app_request_builder.go | 2 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- ...finition_installed_apps_request_builder.go | 4 +- ...s_app_installation_item_request_builder.go | 6 +- ..._definition_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...team_definition_members_request_builder.go | 4 +- ...m_definition_operations_request_builder.go | 4 +- ...ms_async_operation_item_request_builder.go | 6 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ...ice_provisioning_errors_request_builder.go | 8 +- ..._team_definition_owners_request_builder.go | 2 +- ...nition_owners_user_item_request_builder.go | 2 +- ...ition_permission_grants_request_builder.go | 4 +- ...c_permission_grant_item_request_builder.go | 6 +- ...m_team_definition_photo_request_builder.go | 4 +- ...ion_photo_value_content_request_builder.go | 4 +- ...nnel_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 2 +- ...el_files_folder_content_request_builder.go | 4 +- ...ry_channel_files_folder_request_builder.go | 2 +- ...ary_channel_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...primary_channel_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- ..._channel_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...l_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- ...rimary_channel_messages_request_builder.go | 10 +- ...channel_provision_email_request_builder.go | 2 +- ...ry_channel_remove_email_request_builder.go | 2 +- ...inition_primary_channel_request_builder.go | 6 +- ...onversation_member_item_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 2 +- ...ed_with_teams_item_team_request_builder.go | 2 +- ...annel_shared_with_teams_request_builder.go | 4 +- ..._channel_team_info_item_request_builder.go | 6 +- ...nel_tabs_item_teams_app_request_builder.go | 2 +- ...on_primary_channel_tabs_request_builder.go | 4 +- ...nel_tabs_teams_tab_item_request_builder.go | 6 +- .../item_team_definition_request_builder.go | 6 +- ...chedule_day_notes_count_request_builder.go | 80 ++ ...day_notes_day_note_item_request_builder.go | 160 +++ ...tion_schedule_day_notes_request_builder.go | 151 +++ ...ffer_shift_request_item_request_builder.go | 6 +- ...le_offer_shift_requests_request_builder.go | 4 +- ...ift_change_request_item_request_builder.go | 6 +- ...n_shift_change_requests_request_builder.go | 4 +- ..._shifts_open_shift_item_request_builder.go | 6 +- ...on_schedule_open_shifts_request_builder.go | 4 +- ...eam_definition_schedule_request_builder.go | 10 +- ...edule_scheduling_groups_request_builder.go | 4 +- ...s_scheduling_group_item_request_builder.go | 6 +- ...finition_schedule_share_request_builder.go | 2 +- ...inition_schedule_shifts_request_builder.go | 4 +- ...edule_shifts_shift_item_request_builder.go | 6 +- ..._shifts_change_requests_request_builder.go | 4 +- ...fts_change_request_item_request_builder.go | 6 +- ...ule_time_cards_clock_in_request_builder.go | 2 +- ...me_cards_item_clock_out_request_builder.go | 2 +- ...time_cards_item_confirm_request_builder.go | 2 +- ...me_cards_item_end_break_request_builder.go | 2 +- ..._cards_item_start_break_request_builder.go | 2 +- ...ion_schedule_time_cards_request_builder.go | 4 +- ...me_cards_time_card_item_request_builder.go | 6 +- ...hedule_time_off_reasons_request_builder.go | 4 +- ...ns_time_off_reason_item_request_builder.go | 6 +- ...edule_time_off_requests_request_builder.go | 4 +- ...s_time_off_request_item_request_builder.go | 6 +- ...tion_schedule_times_off_request_builder.go | 4 +- ...times_off_time_off_item_request_builder.go | 6 +- ...d_activity_notification_request_builder.go | 2 +- ...ition_tags_item_members_request_builder.go | 4 +- ...eamwork_tag_member_item_request_builder.go | 6 +- ...em_team_definition_tags_request_builder.go | 4 +- ..._tags_teamwork_tag_item_request_builder.go | 6 +- ...ion_template_definition_request_builder.go | 2 +- ...eam_definition_template_request_builder.go | 2 +- ...am_definition_unarchive_request_builder.go | 2 +- ...emplate_definition_item_request_builder.go | 6 +- ...eam_template_definition_request_builder.go | 4 +- ...chats_deleted_chat_item_request_builder.go | 6 +- ..._chats_item_undo_delete_request_builder.go | 2 +- teamwork/deleted_chats_request_builder.go | 4 +- ...teams_deleted_team_item_request_builder.go | 6 +- ..._teams_get_all_messages_request_builder.go | 2 +- ...m_channels_all_messages_request_builder.go | 2 +- ...m_channels_channel_item_request_builder.go | 6 +- ...annels_get_all_messages_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 2 +- ...em_files_folder_content_request_builder.go | 4 +- ...nnels_item_files_folder_request_builder.go | 2 +- ...annels_item_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...m_channels_item_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- ...els_item_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- ..._channels_item_messages_request_builder.go | 10 +- ...ls_item_provision_email_request_builder.go | 2 +- ...nnels_item_remove_email_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 2 +- ...ed_with_teams_item_team_request_builder.go | 2 +- ..._item_shared_with_teams_request_builder.go | 4 +- ..._channel_team_info_item_request_builder.go | 6 +- ...tem_tabs_item_teams_app_request_builder.go | 2 +- ...item_channels_item_tabs_request_builder.go | 4 +- ...tem_tabs_teams_tab_item_request_builder.go | 6 +- ...ted_teams_item_channels_request_builder.go | 4 +- teamwork/deleted_teams_request_builder.go | 4 +- .../devices_item_activity_request_builder.go | 6 +- ...ices_item_configuration_request_builder.go | 6 +- .../devices_item_health_request_builder.go | 6 +- ...devices_item_operations_request_builder.go | 4 +- ...k_device_operation_item_request_builder.go | 6 +- .../devices_item_restart_request_builder.go | 2 +- ...es_item_run_diagnostics_request_builder.go | 2 +- ...es_item_update_software_request_builder.go | 2 +- teamwork/devices_request_builder.go | 4 +- ...es_teamwork_device_item_request_builder.go | 6 +- ...ification_to_recipients_request_builder.go | 2 +- ...l_channels_channel_item_request_builder.go | 2 +- ...definition_all_channels_request_builder.go | 2 +- ...team_definition_archive_request_builder.go | 2 +- ...n_channels_all_messages_request_builder.go | 2 +- ...n_channels_channel_item_request_builder.go | 6 +- ...annels_get_all_messages_request_builder.go | 2 +- ...item_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 2 +- ...em_files_folder_content_request_builder.go | 4 +- ...nnels_item_files_folder_request_builder.go | 2 +- ...annels_item_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...n_channels_item_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- ...els_item_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- ..._channels_item_messages_request_builder.go | 10 +- ...ls_item_provision_email_request_builder.go | 2 +- ...nnels_item_remove_email_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 2 +- ...ed_with_teams_item_team_request_builder.go | 2 +- ..._item_shared_with_teams_request_builder.go | 4 +- ..._channel_team_info_item_request_builder.go | 6 +- ...tem_tabs_item_teams_app_request_builder.go | 2 +- ...tion_channels_item_tabs_request_builder.go | 4 +- ...tem_tabs_teams_tab_item_request_builder.go | 6 +- ...eam_definition_channels_request_builder.go | 4 +- ...m_team_definition_clone_request_builder.go | 2 +- ...tion_complete_migration_request_builder.go | 2 +- ...m_team_definition_group_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 2 +- ...g_channels_channel_item_request_builder.go | 4 +- ...ition_incoming_channels_request_builder.go | 2 +- ...em_teams_app_definition_request_builder.go | 2 +- ...led_apps_item_teams_app_request_builder.go | 2 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- ...finition_installed_apps_request_builder.go | 4 +- ...s_app_installation_item_request_builder.go | 6 +- ..._definition_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...team_definition_members_request_builder.go | 4 +- ...m_definition_operations_request_builder.go | 4 +- ...ms_async_operation_item_request_builder.go | 6 +- ...s_item_mailbox_settings_request_builder.go | 4 +- ...ice_provisioning_errors_request_builder.go | 8 +- ..._team_definition_owners_request_builder.go | 2 +- ...nition_owners_user_item_request_builder.go | 2 +- ...ition_permission_grants_request_builder.go | 4 +- ...c_permission_grant_item_request_builder.go | 6 +- ...m_team_definition_photo_request_builder.go | 4 +- ...ion_photo_value_content_request_builder.go | 4 +- ...nnel_complete_migration_request_builder.go | 2 +- ...ame_user_principal_name_request_builder.go | 2 +- ...el_files_folder_content_request_builder.go | 4 +- ...ry_channel_files_folder_request_builder.go | 2 +- ...ary_channel_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...primary_channel_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- ..._channel_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...l_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- ...rimary_channel_messages_request_builder.go | 10 +- ...channel_provision_email_request_builder.go | 2 +- ...ry_channel_remove_email_request_builder.go | 2 +- ...inition_primary_channel_request_builder.go | 6 +- ...onversation_member_item_request_builder.go | 2 +- ...ms_item_allowed_members_request_builder.go | 2 +- ...ed_with_teams_item_team_request_builder.go | 2 +- ...annel_shared_with_teams_request_builder.go | 4 +- ..._channel_team_info_item_request_builder.go | 6 +- ...nel_tabs_item_teams_app_request_builder.go | 2 +- ...on_primary_channel_tabs_request_builder.go | 4 +- ...nel_tabs_teams_tab_item_request_builder.go | 6 +- ...ns_item_team_definition_request_builder.go | 6 +- ...chedule_day_notes_count_request_builder.go | 38 +- ...day_notes_day_note_item_request_builder.go | 160 +++ ...tion_schedule_day_notes_request_builder.go | 151 +++ ...ffer_shift_request_item_request_builder.go | 6 +- ...le_offer_shift_requests_request_builder.go | 4 +- ...ift_change_request_item_request_builder.go | 6 +- ...n_shift_change_requests_request_builder.go | 4 +- ..._shifts_open_shift_item_request_builder.go | 6 +- ...on_schedule_open_shifts_request_builder.go | 4 +- ...eam_definition_schedule_request_builder.go | 10 +- ...edule_scheduling_groups_request_builder.go | 4 +- ...s_scheduling_group_item_request_builder.go | 6 +- ...finition_schedule_share_request_builder.go | 2 +- ...inition_schedule_shifts_request_builder.go | 4 +- ...edule_shifts_shift_item_request_builder.go | 6 +- ..._shifts_change_requests_request_builder.go | 4 +- ...fts_change_request_item_request_builder.go | 6 +- ...ule_time_cards_clock_in_request_builder.go | 2 +- ...me_cards_item_clock_out_request_builder.go | 2 +- ...time_cards_item_confirm_request_builder.go | 2 +- ...me_cards_item_end_break_request_builder.go | 2 +- ..._cards_item_start_break_request_builder.go | 2 +- ...ion_schedule_time_cards_request_builder.go | 4 +- ...me_cards_time_card_item_request_builder.go | 6 +- ...hedule_time_off_reasons_request_builder.go | 4 +- ...ns_time_off_reason_item_request_builder.go | 6 +- ...edule_time_off_requests_request_builder.go | 4 +- ...s_time_off_request_item_request_builder.go | 6 +- ...tion_schedule_times_off_request_builder.go | 4 +- ...times_off_time_off_item_request_builder.go | 6 +- ...d_activity_notification_request_builder.go | 2 +- ...ition_tags_item_members_request_builder.go | 4 +- ...eamwork_tag_member_item_request_builder.go | 6 +- ...em_team_definition_tags_request_builder.go | 4 +- ..._tags_teamwork_tag_item_request_builder.go | 6 +- ...ion_template_definition_request_builder.go | 2 +- ...eam_definition_template_request_builder.go | 2 +- ...am_definition_unarchive_request_builder.go | 2 +- ...plates_item_definitions_request_builder.go | 4 +- ...emplate_definition_item_request_builder.go | 6 +- teamwork/team_templates_request_builder.go | 12 +- ...ates_team_template_item_request_builder.go | 6 +- .../teams_app_settings_request_builder.go | 6 +- teamwork/teamwork_request_builder.go | 4 +- .../workforce_integrations_request_builder.go | 4 +- ...kforce_integration_item_request_builder.go | 6 +- ...ted_admin_customer_item_request_builder.go | 6 +- ..._management_detail_item_request_builder.go | 6 +- ...vice_management_details_request_builder.go | 4 +- ...legated_admin_customers_request_builder.go | 4 +- ...admin_relationship_item_request_builder.go | 6 +- ..._access_assignment_item_request_builder.go | 6 +- ...item_access_assignments_request_builder.go | 4 +- ...tionship_operation_item_request_builder.go | 6 +- ...onships_item_operations_request_builder.go | 4 +- ...lationship_request_item_request_builder.go | 6 +- ...tionships_item_requests_request_builder.go | 4 +- ...ted_admin_relationships_request_builder.go | 4 +- ...n_name_with_domain_name_request_builder.go | 2 +- ...enant_id_with_tenant_id_request_builder.go | 2 +- ..._policy_compliance_item_request_builder.go | 6 +- ...ated_policy_compliances_request_builder.go | 4 +- ...es_app_performance_item_request_builder.go | 6 +- ...enants_app_performances_request_builder.go | 4 +- ...events_audit_event_item_request_builder.go | 6 +- ...ed_tenants_audit_events_request_builder.go | 4 +- ...loud_pc_connection_item_request_builder.go | 6 +- ...ts_cloud_pc_connections_request_builder.go | 4 +- ...es_cloud_pc_device_item_request_builder.go | 6 +- ...enants_cloud_pc_devices_request_builder.go | 4 +- ...pc_overview_tenant_item_request_builder.go | 6 +- ...ants_cloud_pcs_overview_request_builder.go | 4 +- ...ss_policy_coverage_item_request_builder.go | 6 +- ...access_policy_coverages_request_builder.go | 4 +- ...istrations_summary_item_request_builder.go | 6 +- ...registrations_summaries_request_builder.go | 4 +- ...ce_app_performance_item_request_builder.go | 6 +- ...device_app_performances_request_builder.go | 4 +- ...ting_state_summary_item_request_builder.go | 6 +- ...setting_state_summaries_request_builder.go | 4 +- ...vice_health_status_item_request_builder.go | 6 +- ..._device_health_statuses_request_builder.go | 4 +- ...e_compliance_trend_item_request_builder.go | 6 +- ...evice_compliance_trends_request_builder.go | 4 +- ..._device_compliance_item_request_builder.go | 6 +- ...aged_device_compliances_request_builder.go | 4 +- ...t_alert_logs_item_alert_request_builder.go | 2 +- ...d_tenant_alert_log_item_request_builder.go | 6 +- ...naged_tenant_alert_logs_request_builder.go | 4 +- ..._tenant_alert_rule_item_request_builder.go | 2 +- ...itions_item_alert_rules_request_builder.go | 2 +- ...rt_rule_definition_item_request_builder.go | 6 +- ..._alert_rule_definitions_request_builder.go | 4 +- ...naged_tenant_alert_item_request_builder.go | 2 +- ...alert_rules_item_alerts_request_builder.go | 2 +- ...es_item_rule_definition_request_builder.go | 2 +- ..._tenant_alert_rule_item_request_builder.go | 6 +- ...aged_tenant_alert_rules_request_builder.go | 4 +- ...d_tenant_alert_log_item_request_builder.go | 2 +- ..._alerts_item_alert_logs_request_builder.go | 2 +- ..._alerts_item_alert_rule_request_builder.go | 2 +- ...t_api_notification_item_request_builder.go | 2 +- ..._item_api_notifications_request_builder.go | 2 +- ...email_notification_item_request_builder.go | 2 +- ...tem_email_notifications_request_builder.go | 2 +- ...ants_add_user_input_log_request_builder.go | 2 +- ...naged_tenant_alert_item_request_builder.go | 6 +- ...s_managed_tenant_alerts_request_builder.go | 4 +- ...otifications_item_alert_request_builder.go | 2 +- ...t_api_notification_item_request_builder.go | 6 +- ...enant_api_notifications_request_builder.go | 4 +- ...otifications_item_alert_request_builder.go | 2 +- ...email_notification_item_request_builder.go | 6 +- ...ant_email_notifications_request_builder.go | 4 +- ...ticketing_endpoint_item_request_builder.go | 6 +- ...ant_ticketing_endpoints_request_builder.go | 4 +- ..._deployment_status_item_request_builder.go | 6 +- ...hange_deployment_status_request_builder.go | 2 +- ...ant_deployment_statuses_request_builder.go | 4 +- ...h_managed_tenants_apply_request_builder.go | 2 +- ..._management_action_item_request_builder.go | 6 +- ...ants_management_actions_request_builder.go | 4 +- ..._management_intent_item_request_builder.go | 6 +- ...ants_management_intents_request_builder.go | 4 +- ...ion_tenant_summary_item_request_builder.go | 6 +- ...ection_tenant_summaries_request_builder.go | 4 +- ...anagement_template_item_request_builder.go | 2 +- ...em_management_templates_request_builder.go | 2 +- ...emplate_collection_item_request_builder.go | 6 +- ...nt_template_collections_request_builder.go | 4 +- ...tep_tenant_summary_item_request_builder.go | 6 +- ...e_step_tenant_summaries_request_builder.go | 4 +- ...sions_item_accepted_for_request_builder.go | 2 +- ...hange_deployment_status_request_builder.go | 2 +- ...m_template_step_version_request_builder.go | 2 +- ...te_step_deployment_item_request_builder.go | 6 +- ...rsions_item_deployments_request_builder.go | 4 +- ...ions_item_template_step_request_builder.go | 2 +- ...plate_step_version_item_request_builder.go | 6 +- ..._template_step_versions_request_builder.go | 4 +- ...s_item_accepted_version_request_builder.go | 2 +- ...tem_management_template_request_builder.go | 2 +- ...plate_step_version_item_request_builder.go | 2 +- ...ate_steps_item_versions_request_builder.go | 2 +- ...ment_template_step_item_request_builder.go | 6 +- ...nagement_template_steps_request_builder.go | 4 +- ...emplate_collection_item_request_builder.go | 2 +- ...nt_template_collections_request_builder.go | 2 +- ...ment_template_step_item_request_builder.go | 2 +- ...nagement_template_steps_request_builder.go | 2 +- ...anagement_template_item_request_builder.go | 6 +- ...ts_management_templates_request_builder.go | 4 +- ...les_my_role_tenant_item_request_builder.go | 6 +- ...anaged_tenants_my_roles_request_builder.go | 4 +- .../managed_tenants_request_builder.go | 6 +- ...d_tenants_tenant_search_request_builder.go | 2 +- ...d_tenants_tenant_groups_request_builder.go | 4 +- ...roups_tenant_group_item_request_builder.go | 6 +- ...aged_tenants_assign_tag_request_builder.go | 2 +- ...ed_tenants_unassign_tag_request_builder.go | 2 +- ...ged_tenants_tenant_tags_request_builder.go | 4 +- ...nt_tags_tenant_tag_item_request_builder.go | 6 +- ..._customized_information_request_builder.go | 4 +- ...omized_information_item_request_builder.go | 6 +- ...ts_detailed_information_request_builder.go | 4 +- ...tailed_information_item_request_builder.go | 6 +- ...tenants_offboard_tenant_request_builder.go | 2 +- ...enant_onboarding_status_request_builder.go | 2 +- ...managed_tenants_tenants_request_builder.go | 4 +- ...nts_tenants_tenant_item_request_builder.go | 6 +- ...s_device_malware_states_request_builder.go | 4 +- ...vice_malware_state_item_request_builder.go | 6 +- ...ndows_protection_states_request_builder.go | 4 +- ...s_protection_state_item_request_builder.go | 6 +- ...ganization_join_request_request_builder.go | 4 +- ...lti_tenant_organization_request_builder.go | 10 +- ...rganization_member_item_request_builder.go | 6 +- ...nt_organization_tenants_request_builder.go | 4 +- .../tenant_relationships_request_builder.go | 4 +- .../groups_group_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ..._children_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...item_sets_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ..._sets_item_parent_group_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...tem_sets_item_relations_request_builder.go | 4 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tem_terms_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...em_terms_item_relations_request_builder.go | 4 +- ...ets_item_terms_item_set_request_builder.go | 2 +- ...ps_item_sets_item_terms_request_builder.go | 4 +- ...ts_item_terms_term_item_request_builder.go | 6 +- termstore/groups_item_sets_request_builder.go | 4 +- ...oups_item_sets_set_item_request_builder.go | 6 +- termstore/groups_request_builder.go | 4 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ..._children_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- .../sets_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- .../sets_item_parent_group_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ..._children_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...roup_sets_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...oup_sets_item_relations_request_builder.go | 4 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tem_terms_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...em_terms_item_relations_request_builder.go | 4 +- ...ets_item_terms_item_set_request_builder.go | 2 +- ...t_group_sets_item_terms_request_builder.go | 4 +- ...ts_item_terms_term_item_request_builder.go | 6 +- ..._item_parent_group_sets_request_builder.go | 4 +- ...ent_group_sets_set_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- .../sets_item_relations_request_builder.go | 4 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...children_item_relations_request_builder.go | 4 +- ..._item_children_item_set_request_builder.go | 2 +- ...tem_terms_item_children_request_builder.go | 4 +- ...item_children_term_item_request_builder.go | 6 +- ...elations_item_from_term_request_builder.go | 2 +- ...item_relations_item_set_request_builder.go | 2 +- ..._relations_item_to_term_request_builder.go | 2 +- ...relations_relation_item_request_builder.go | 6 +- ...em_terms_item_relations_request_builder.go | 4 +- ...ets_item_terms_item_set_request_builder.go | 2 +- termstore/sets_item_terms_request_builder.go | 4 +- ...ts_item_terms_term_item_request_builder.go | 6 +- termstore/sets_request_builder.go | 4 +- termstore/sets_set_item_request_builder.go | 6 +- termstore/term_store_request_builder.go | 4 +- ..._submission_policy_item_request_builder.go | 6 +- ...eat_submission_policies_request_builder.go | 4 +- ..._threat_submission_item_request_builder.go | 6 +- .../email_threats_request_builder.go | 4 +- ..._threat_submission_item_request_builder.go | 6 +- .../file_threats_request_builder.go | 4 +- .../threat_submission_request_builder.go | 4 +- .../url_threats_request_builder.go | 4 +- ..._threat_submission_item_request_builder.go | 6 +- ..._sets_item_generate_key_request_builder.go | 2 +- ...ets_item_get_active_key_request_builder.go | 2 +- ...item_upload_certificate_request_builder.go | 2 +- ...sets_item_upload_pkcs12_request_builder.go | 2 +- ...sets_item_upload_secret_request_builder.go | 2 +- trustframework/key_sets_request_builder.go | 4 +- ..._framework_key_set_item_request_builder.go | 6 +- ...cies_item_value_content_request_builder.go | 4 +- trustframework/policies_request_builder.go | 4 +- ...t_framework_policy_item_request_builder.go | 6 +- .../trust_framework_request_builder.go | 4 +- users/delta_request_builder.go | 2 +- users/get_by_ids_request_builder.go | 2 +- ...naged_app_blocked_users_request_builder.go | 2 +- .../get_user_owned_objects_request_builder.go | 2 +- ...ivity_history_item_item_request_builder.go | 6 +- ...ory_items_item_activity_request_builder.go | 2 +- ...ties_item_history_items_request_builder.go | 4 +- .../item_activities_recent_request_builder.go | 2 +- users/item_activities_request_builder.go | 4 +- ...ties_user_activity_item_request_builder.go | 6 +- ...reement_acceptance_item_request_builder.go | 2 +- ...m_agreement_acceptances_request_builder.go | 2 +- ...ctivity_statistics_item_request_builder.go | 6 +- ...ics_activity_statistics_request_builder.go | 4 +- users/item_analytics_request_builder.go | 6 +- ...pp_consent_request_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...by_current_user_with_on_request_builder.go | 2 +- ..._requests_item_approval_request_builder.go | 6 +- ...teps_approval_step_item_request_builder.go | 6 +- ...sts_item_approval_steps_request_builder.go | 4 +- ...m_user_consent_requests_request_builder.go | 4 +- ...er_consent_request_item_request_builder.go | 6 +- ...t_requests_for_approval_request_builder.go | 4 +- ...role_assigned_resources_request_builder.go | 2 +- ..._service_principal_item_request_builder.go | 2 +- ...pp_role_assignment_item_request_builder.go | 6 +- ...em_app_role_assignments_request_builder.go | 4 +- ...approvals_approval_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...teps_approval_step_item_request_builder.go | 6 +- ...em_approvals_item_steps_request_builder.go | 4 +- users/item_approvals_request_builder.go | 4 +- users/item_assign_license_request_builder.go | 2 +- ...hentication_method_item_request_builder.go | 6 +- ...ntication_email_methods_request_builder.go | 4 +- ...hentication_method_item_request_builder.go | 4 +- ...ntication_fido2_methods_request_builder.go | 2 +- ...hentication_method_item_request_builder.go | 4 +- ...tem_disable_sms_sign_in_request_builder.go | 2 +- ...item_enable_sms_sign_in_request_builder.go | 2 +- ...ods_item_reset_password_request_builder.go | 2 +- ..._authentication_methods_request_builder.go | 4 +- ...tor_methods_item_device_request_builder.go | 2 +- ...hentication_method_item_request_builder.go | 4 +- ...t_authenticator_methods_request_builder.go | 2 +- ..._running_operation_item_request_builder.go | 6 +- ...thentication_operations_request_builder.go | 4 +- ...hentication_method_item_request_builder.go | 2 +- ...cation_password_methods_request_builder.go | 4 +- ...tor_methods_item_device_request_builder.go | 2 +- ...hentication_method_item_request_builder.go | 4 +- ...t_authenticator_methods_request_builder.go | 2 +- ...hentication_method_item_request_builder.go | 6 +- ...ntication_phone_methods_request_builder.go | 4 +- ...ial_methods_item_device_request_builder.go | 2 +- ...hentication_method_item_request_builder.go | 4 +- ...form_credential_methods_request_builder.go | 2 +- users/item_authentication_request_builder.go | 6 +- ...n_software_oath_methods_request_builder.go | 2 +- ...hentication_method_item_request_builder.go | 4 +- ...ary_access_pass_methods_request_builder.go | 4 +- ...hentication_method_item_request_builder.go | 4 +- ...ess_methods_item_device_request_builder.go | 2 +- ...lo_for_business_methods_request_builder.go | 2 +- ...hentication_method_item_request_builder.go | 4 +- ...sharing_roles_with_user_request_builder.go | 2 +- ...alendar_permission_item_request_builder.go | 6 +- ...ar_calendar_permissions_request_builder.go | 4 +- ...dar_calendar_view_delta_request_builder.go | 2 +- ...alendar_view_event_item_request_builder.go | 2 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 4 +- ...ndar_view_item_calendar_request_builder.go | 2 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...ar_view_item_extensions_request_builder.go | 4 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 2 +- ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ..._calendar_calendar_view_request_builder.go | 2 +- ...m_calendar_events_delta_request_builder.go | 2 +- ...endar_events_event_item_request_builder.go | 6 +- ...ndar_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 4 +- ...ar_events_item_calendar_request_builder.go | 2 +- ...ndar_events_item_cancel_request_builder.go | 2 +- ...dar_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ..._events_item_extensions_request_builder.go | 4 +- ...dar_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...r_events_item_instances_request_builder.go | 2 +- ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- users/item_calendar_events_request_builder.go | 4 +- ...m_calendar_get_schedule_request_builder.go | 2 +- ...ups_calendar_group_item_request_builder.go | 6 +- ...calendars_calendar_item_request_builder.go | 6 +- ...sharing_roles_with_user_request_builder.go | 2 +- ...alendar_permission_item_request_builder.go | 6 +- ...em_calendar_permissions_request_builder.go | 4 +- ...tem_calendar_view_delta_request_builder.go | 2 +- ...alendar_view_event_item_request_builder.go | 2 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 4 +- ...ndar_view_item_calendar_request_builder.go | 2 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...ar_view_item_extensions_request_builder.go | 4 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 2 +- ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dars_item_calendar_view_request_builder.go | 2 +- ...ndars_item_events_delta_request_builder.go | 2 +- ..._item_events_event_item_request_builder.go | 6 +- ...item_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 4 +- ...em_events_item_calendar_request_builder.go | 2 +- ...item_events_item_cancel_request_builder.go | 2 +- ...tem_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ..._events_item_extensions_request_builder.go | 4 +- ...tem_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_events_item_instances_request_builder.go | 2 +- ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_calendars_item_events_request_builder.go | 4 +- ...ndars_item_get_schedule_request_builder.go | 2 +- ...r_groups_item_calendars_request_builder.go | 4 +- users/item_calendar_groups_request_builder.go | 4 +- users/item_calendar_request_builder.go | 4 +- ...tem_calendar_view_delta_request_builder.go | 2 +- ...alendar_view_event_item_request_builder.go | 2 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 4 +- ...ndar_view_item_calendar_request_builder.go | 2 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...ar_view_item_extensions_request_builder.go | 4 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 2 +- ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- users/item_calendar_view_request_builder.go | 2 +- ...calendars_calendar_item_request_builder.go | 6 +- ...sharing_roles_with_user_request_builder.go | 2 +- ...alendar_permission_item_request_builder.go | 6 +- ...em_calendar_permissions_request_builder.go | 4 +- ...tem_calendar_view_delta_request_builder.go | 2 +- ...alendar_view_event_item_request_builder.go | 2 +- ...lendar_view_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...r_view_item_attachments_request_builder.go | 4 +- ...ndar_view_item_calendar_request_builder.go | 2 +- ...lendar_view_item_cancel_request_builder.go | 2 +- ...endar_view_item_decline_request_builder.go | 2 +- ...w_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...ar_view_item_extensions_request_builder.go | 4 +- ...endar_view_item_forward_request_builder.go | 2 +- ...ew_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dar_view_item_instances_request_builder.go | 2 +- ...ew_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...dars_item_calendar_view_request_builder.go | 2 +- ...ndars_item_events_delta_request_builder.go | 2 +- ..._item_events_event_item_request_builder.go | 6 +- ...item_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 4 +- ...em_events_item_calendar_request_builder.go | 2 +- ...item_events_item_cancel_request_builder.go | 2 +- ...tem_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ..._events_item_extensions_request_builder.go | 4 +- ...tem_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_events_item_instances_request_builder.go | 2 +- ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_calendars_item_events_request_builder.go | 4 +- ...ndars_item_get_schedule_request_builder.go | 2 +- users/item_calendars_request_builder.go | 4 +- users/item_change_password_request_builder.go | 2 +- ...item_chats_all_messages_request_builder.go | 2 +- users/item_chats_chat_item_request_builder.go | 6 +- ..._chats_get_all_messages_request_builder.go | 2 +- ...hats_item_hide_for_user_request_builder.go | 2 +- ...em_teams_app_definition_request_builder.go | 2 +- ...led_apps_item_teams_app_request_builder.go | 2 +- ...alled_apps_item_upgrade_request_builder.go | 2 +- ...ats_item_installed_apps_request_builder.go | 4 +- ...s_app_installation_item_request_builder.go | 6 +- ...em_last_message_preview_request_builder.go | 6 +- ...mark_chat_read_for_user_request_builder.go | 2 +- ...rk_chat_unread_for_user_request_builder.go | 2 +- ..._chats_item_members_add_request_builder.go | 2 +- ...onversation_member_item_request_builder.go | 6 +- ...item_chats_item_members_request_builder.go | 4 +- ...sages_chat_message_item_request_builder.go | 6 +- ...ats_item_messages_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_chat_message_item_request_builder.go | 6 +- ...ages_item_replies_delta_request_builder.go | 2 +- ...age_hosted_content_item_request_builder.go | 6 +- ...ents_item_value_content_request_builder.go | 4 +- ...es_item_hosted_contents_request_builder.go | 4 +- ...plies_item_set_reaction_request_builder.go | 2 +- ...eplies_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ies_item_unset_reaction_request_builder.go | 2 +- ...m_messages_item_replies_request_builder.go | 4 +- ...sages_item_set_reaction_request_builder.go | 2 +- ...ssages_item_soft_delete_request_builder.go | 2 +- ...s_item_undo_soft_delete_request_builder.go | 2 +- ...ges_item_unset_reaction_request_builder.go | 2 +- ...tem_chats_item_messages_request_builder.go | 10 +- ...m_chats_item_operations_request_builder.go | 4 +- ...ms_async_operation_item_request_builder.go | 6 +- ..._item_permission_grants_request_builder.go | 4 +- ...c_permission_grant_item_request_builder.go | 6 +- ...d_messages_item_message_request_builder.go | 2 +- ..._chat_message_info_item_request_builder.go | 6 +- ...ts_item_pinned_messages_request_builder.go | 4 +- ...d_activity_notification_request_builder.go | 2 +- ...tem_tabs_item_teams_app_request_builder.go | 2 +- users/item_chats_item_tabs_request_builder.go | 4 +- ...tem_tabs_teams_tab_item_request_builder.go | 6 +- ...ts_item_unhide_for_user_request_builder.go | 2 +- users/item_chats_request_builder.go | 4 +- ...tem_check_member_groups_request_builder.go | 2 +- ...em_check_member_objects_request_builder.go | 2 +- ..._cloud_p_cs_bulk_resize_request_builder.go | 2 +- ...oud_p_cs_cloud_p_c_item_request_builder.go | 6 +- ...id_with_service_plan_id_request_builder.go | 2 +- ...hange_user_account_type_request_builder.go | 2 +- ...cs_item_create_snapshot_request_builder.go | 2 +- ...s_item_end_grace_period_request_builder.go | 2 +- ...pc_connectivity_history_request_builder.go | 2 +- ...et_cloud_pc_launch_info_request_builder.go | 2 +- ...e_cloud_pc_access_state_request_builder.go | 2 +- ...k_cloud_pc_access_state_request_builder.go | 2 +- ...cloud_pc_remote_actions_request_builder.go | 2 +- ...oud_p_cs_item_power_off_request_builder.go | 2 +- ...loud_p_cs_item_power_on_request_builder.go | 2 +- ..._cloud_p_cs_item_reboot_request_builder.go | 2 +- ..._cloud_p_cs_item_rename_request_builder.go | 2 +- ...d_p_cs_item_reprovision_request_builder.go | 2 +- ..._cloud_p_cs_item_resize_request_builder.go | 2 +- ...cloud_p_cs_item_restore_request_builder.go | 2 +- ...tner_agent_installation_request_builder.go | 2 +- ...m_cloud_p_cs_item_start_request_builder.go | 2 +- ...em_cloud_p_cs_item_stop_request_builder.go | 2 +- ..._p_cs_item_troubleshoot_request_builder.go | 2 +- users/item_cloud_p_cs_request_builder.go | 4 +- ...cs_validate_bulk_resize_request_builder.go | 2 +- ...ers_contact_folder_item_request_builder.go | 6 +- ...m_contact_folders_delta_request_builder.go | 2 +- ...ers_contact_folder_item_request_builder.go | 6 +- ...tem_child_folders_delta_request_builder.go | 2 +- ...m_contacts_contact_item_request_builder.go | 6 +- ...ers_item_contacts_delta_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...ontacts_item_extensions_request_builder.go | 4 +- ...tem_contacts_item_photo_request_builder.go | 4 +- ...tem_photo_value_content_request_builder.go | 4 +- ...d_folders_item_contacts_request_builder.go | 4 +- ...ders_item_child_folders_request_builder.go | 4 +- ...m_contacts_contact_item_request_builder.go | 6 +- ...ers_item_contacts_delta_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...ontacts_item_extensions_request_builder.go | 4 +- ...tem_contacts_item_photo_request_builder.go | 4 +- ...tem_photo_value_content_request_builder.go | 4 +- ...t_folders_item_contacts_request_builder.go | 4 +- users/item_contact_folders_request_builder.go | 4 +- ...m_contacts_contact_item_request_builder.go | 6 +- users/item_contacts_delta_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...ontacts_item_extensions_request_builder.go | 4 +- ...tem_contacts_item_photo_request_builder.go | 4 +- ...tem_photo_value_content_request_builder.go | 4 +- users/item_contacts_request_builder.go | 4 +- ...s_directory_object_item_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- users/item_created_objects_request_builder.go | 2 +- ...gle_sign_on_credentials_request_builder.go | 2 +- ...ification_configuration_request_builder.go | 2 +- ...ment_configuration_item_request_builder.go | 6 +- ...tions_has_payload_links_request_builder.go | 2 +- ...figurations_item_assign_request_builder.go | 2 +- ...uration_assignment_item_request_builder.go | 6 +- ...ations_item_assignments_request_builder.go | 4 +- ...tions_item_set_priority_request_builder.go | 2 +- ...rollment_configurations_request_builder.go | 4 +- ...ubleshooting_event_item_request_builder.go | 6 +- ..._troubleshooting_events_request_builder.go | 4 +- users/item_devices_delta_request_builder.go | 2 +- ...tem_devices_device_item_request_builder.go | 6 +- ...m_commands_command_item_request_builder.go | 6 +- ...ds_item_responsepayload_request_builder.go | 2 +- ...m_devices_item_commands_request_builder.go | 4 +- ...tensions_extension_item_request_builder.go | 6 +- ...devices_item_extensions_request_builder.go | 4 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...m_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- ..._devices_item_member_of_request_builder.go | 2 +- ...d_owners_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...tered_owners_graph_user_request_builder.go | 2 +- ...ers_item_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ..._owners_item_graph_user_request_builder.go | 2 +- ...istered_owners_item_ref_request_builder.go | 2 +- ...m_registered_owners_ref_request_builder.go | 4 +- ..._item_registered_owners_request_builder.go | 2 +- ...ed_users_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...stered_users_graph_user_request_builder.go | 2 +- ...ers_item_graph_endpoint_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ...d_users_item_graph_user_request_builder.go | 2 +- ...gistered_users_item_ref_request_builder.go | 2 +- ...em_registered_users_ref_request_builder.go | 4 +- ...s_item_registered_users_request_builder.go | 2 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...e_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- ...em_transitive_member_of_request_builder.go | 2 +- ...vices_item_usage_rights_request_builder.go | 4 +- ...rights_usage_right_item_request_builder.go | 6 +- users/item_devices_request_builder.go | 4 +- ...s_directory_object_item_request_builder.go | 2 +- ...ports_graph_org_contact_request_builder.go | 2 +- ...rect_reports_graph_user_request_builder.go | 2 +- ..._item_graph_org_contact_request_builder.go | 2 +- ...reports_item_graph_user_request_builder.go | 2 +- users/item_direct_reports_request_builder.go | 2 +- users/item_drive_request_builder.go | 2 +- .../item_drives_drive_item_request_builder.go | 2 +- users/item_drives_request_builder.go | 2 +- ...ng_course_activity_item_request_builder.go | 2 +- ...rning_course_activities_request_builder.go | 2 +- ...tem_employee_experience_request_builder.go | 6 +- users/item_events_delta_request_builder.go | 2 +- .../item_events_event_item_request_builder.go | 6 +- ...item_events_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...events_item_attachments_request_builder.go | 4 +- ...em_events_item_calendar_request_builder.go | 2 +- ...item_events_item_cancel_request_builder.go | 2 +- ...tem_events_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...urrences_item_instances_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ..._events_item_extensions_request_builder.go | 4 +- ...tem_events_item_forward_request_builder.go | 2 +- ...ts_item_instances_delta_request_builder.go | 2 +- ...em_instances_event_item_request_builder.go | 2 +- ...m_instances_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...tances_item_attachments_request_builder.go | 4 +- ...instances_item_calendar_request_builder.go | 2 +- ...m_instances_item_cancel_request_builder.go | 2 +- ..._instances_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...ption_occurrences_delta_request_builder.go | 2 +- ..._occurrences_event_item_request_builder.go | 2 +- ...occurrences_item_accept_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...rences_item_attachments_request_builder.go | 4 +- ...currences_item_calendar_request_builder.go | 2 +- ...occurrences_item_cancel_request_builder.go | 2 +- ...ccurrences_item_decline_request_builder.go | 2 +- ...s_item_dismiss_reminder_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...rrences_item_extensions_request_builder.go | 4 +- ...ccurrences_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_exception_occurrences_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...stances_item_extensions_request_builder.go | 4 +- ..._instances_item_forward_request_builder.go | 2 +- ...es_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- ...m_events_item_instances_request_builder.go | 2 +- ...ts_item_snooze_reminder_request_builder.go | 2 +- ...item_tentatively_accept_request_builder.go | 2 +- users/item_events_request_builder.go | 4 +- ...and_app_management_data_request_builder.go | 2 +- ...data_with_skip_with_top_request_builder.go | 2 +- ...em_export_personal_data_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- users/item_extensions_request_builder.go | 4 +- ...item_find_meeting_times_request_builder.go | 2 +- users/item_find_room_lists_request_builder.go | 2 +- users/item_find_rooms_request_builder.go | 2 +- ...nd_rooms_with_room_list_request_builder.go | 2 +- users/item_followed_sites_request_builder.go | 2 +- ...ollowed_sites_site_item_request_builder.go | 2 +- ...rollment_configurations_request_builder.go | 2 +- ...gged_on_managed_devices_request_builder.go | 2 +- users/item_get_mail_tips_request_builder.go | 2 +- ...app_diagnostic_statuses_request_builder.go | 2 +- ...et_managed_app_policies_request_builder.go | 2 +- ...vices_with_app_failures_request_builder.go | 2 +- ..._failed_or_pending_apps_request_builder.go | 2 +- .../item_get_member_groups_request_builder.go | 2 +- ...item_get_member_objects_request_builder.go | 2 +- ...gle_sign_on_credentials_request_builder.go | 2 +- ...ification_override_item_request_builder.go | 6 +- ...lassification_overrides_request_builder.go | 4 +- ...nference_classification_request_builder.go | 4 +- ...ocker_recovery_key_item_request_builder.go | 2 +- ...bitlocker_recovery_keys_request_builder.go | 2 +- ...on_protection_bitlocker_request_builder.go | 2 +- ..._prevention_policy_item_request_builder.go | 6 +- ...ntion_policies_evaluate_request_builder.go | 2 +- ...oss_prevention_policies_request_builder.go | 4 +- ...otection_decrypt_buffer_request_builder.go | 2 +- ...otection_encrypt_buffer_request_builder.go | 2 +- ...ls_evaluate_application_request_builder.go | 2 +- ..._classification_results_request_builder.go | 2 +- ...labels_evaluate_removal_request_builder.go | 2 +- ...cy_labels_extract_label_request_builder.go | 2 +- ...n_protection_label_item_request_builder.go | 6 +- ...rotection_policy_labels_request_builder.go | 4 +- ...ation_protection_policy_request_builder.go | 6 +- ..._information_protection_request_builder.go | 6 +- ...itivity_labels_evaluate_request_builder.go | 2 +- ...item_sublabels_evaluate_request_builder.go | 2 +- ...y_labels_item_sublabels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- ...tion_sensitivity_labels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- ...itivity_policy_settings_request_builder.go | 6 +- ..._protection_sign_digest_request_builder.go | 2 +- ...t_requests_item_results_request_builder.go | 4 +- ..._assessment_result_item_request_builder.go | 6 +- ...eat_assessment_requests_request_builder.go | 4 +- ...assessment_request_item_request_builder.go | 6 +- ...ection_verify_signature_request_builder.go | 2 +- users/item_insights_request_builder.go | 6 +- ...item_last_shared_method_request_builder.go | 2 +- ...ts_shared_item_resource_request_builder.go | 2 +- users/item_insights_shared_request_builder.go | 4 +- ...red_shared_insight_item_request_builder.go | 6 +- ..._trending_item_resource_request_builder.go | 2 +- .../item_insights_trending_request_builder.go | 4 +- ..._trending_trending_item_request_builder.go | 6 +- ...ghts_used_item_resource_request_builder.go | 2 +- users/item_insights_used_request_builder.go | 4 +- ..._used_used_insight_item_request_builder.go | 6 +- ...date_all_refresh_tokens_request_builder.go | 2 +- ...anaged_app_user_blocked_request_builder.go | 2 +- ...tem_joined_groups_delta_request_builder.go | 2 +- ...uate_dynamic_membership_request_builder.go | 2 +- users/item_joined_groups_request_builder.go | 2 +- users/item_joined_teams_request_builder.go | 2 +- ..._joined_teams_team_item_request_builder.go | 2 +- ...ls_license_details_item_request_builder.go | 6 +- users/item_license_details_request_builder.go | 4 +- ...item_mail_folders_delta_request_builder.go | 2 +- ...tem_child_folders_delta_request_builder.go | 2 +- ...child_folders_item_copy_request_builder.go | 2 +- ...rules_message_rule_item_request_builder.go | 6 +- ...ders_item_message_rules_request_builder.go | 4 +- ...ers_item_messages_delta_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...ssages_item_attachments_request_builder.go | 12 +- ...item_messages_item_copy_request_builder.go | 2 +- ...ges_item_create_forward_request_builder.go | 2 +- ...s_item_create_reply_all_request_builder.go | 2 +- ...sages_item_create_reply_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...essages_item_extensions_request_builder.go | 4 +- ...m_messages_item_forward_request_builder.go | 2 +- ...sages_item_mark_as_junk_request_builder.go | 2 +- ...s_item_mark_as_not_junk_request_builder.go | 2 +- ...m_mentions_mention_item_request_builder.go | 4 +- ..._messages_item_mentions_request_builder.go | 4 +- ...item_messages_item_move_request_builder.go | 2 +- ...messages_item_reply_all_request_builder.go | 2 +- ...tem_messages_item_reply_request_builder.go | 2 +- ...item_messages_item_send_request_builder.go | 2 +- ...ssages_item_unsubscribe_request_builder.go | 2 +- ...ages_item_value_content_request_builder.go | 4 +- ...m_messages_message_item_request_builder.go | 6 +- ...d_folders_item_messages_request_builder.go | 4 +- ...child_folders_item_move_request_builder.go | 2 +- ...tem_user_configurations_request_builder.go | 2 +- ...user_configuration_item_request_builder.go | 2 +- ...olders_mail_folder_item_request_builder.go | 6 +- ...ders_item_child_folders_request_builder.go | 4 +- ..._mail_folders_item_copy_request_builder.go | 2 +- ...rules_message_rule_item_request_builder.go | 6 +- ...ders_item_message_rules_request_builder.go | 4 +- ...ers_item_messages_delta_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...ssages_item_attachments_request_builder.go | 12 +- ...item_messages_item_copy_request_builder.go | 2 +- ...ges_item_create_forward_request_builder.go | 2 +- ...s_item_create_reply_all_request_builder.go | 2 +- ...sages_item_create_reply_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...essages_item_extensions_request_builder.go | 4 +- ...m_messages_item_forward_request_builder.go | 2 +- ...sages_item_mark_as_junk_request_builder.go | 2 +- ...s_item_mark_as_not_junk_request_builder.go | 2 +- ...m_mentions_mention_item_request_builder.go | 4 +- ..._messages_item_mentions_request_builder.go | 4 +- ...item_messages_item_move_request_builder.go | 2 +- ...messages_item_reply_all_request_builder.go | 2 +- ...tem_messages_item_reply_request_builder.go | 2 +- ...item_messages_item_send_request_builder.go | 2 +- ...ssages_item_unsubscribe_request_builder.go | 2 +- ...ages_item_value_content_request_builder.go | 4 +- ...m_messages_message_item_request_builder.go | 6 +- ...l_folders_item_messages_request_builder.go | 4 +- ..._mail_folders_item_move_request_builder.go | 2 +- ...tem_user_configurations_request_builder.go | 2 +- ...user_configuration_item_request_builder.go | 2 +- ...olders_mail_folder_item_request_builder.go | 6 +- users/item_mail_folders_request_builder.go | 4 +- .../item_mailbox_settings_request_builder.go | 4 +- ...d_app_registration_item_request_builder.go | 2 +- ...naged_app_registrations_request_builder.go | 2 +- ...pp_diagnostics_with_upn_request_builder.go | 2 +- ...lk_reprovision_cloud_pc_request_builder.go | 2 +- ...s_bulk_restore_cloud_pc_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...ownload_app_diagnostics_request_builder.go | 2 +- ..._devices_execute_action_request_builder.go | 2 +- ...em_activate_device_esim_request_builder.go | 2 +- ...ion_status_details_item_request_builder.go | 6 +- ...aluation_status_details_request_builder.go | 4 +- ..._bypass_activation_lock_request_builder.go | 2 +- ...em_clean_windows_device_request_builder.go | 2 +- ..._log_collection_request_request_builder.go | 2 +- ...rom_shared_apple_device_request_builder.go | 2 +- ...evices_item_deprovision_request_builder.go | 2 +- ..._apps_detected_app_item_request_builder.go | 2 +- ...ices_item_detected_apps_request_builder.go | 2 +- ...es_item_device_category_request_builder.go | 6 +- ...iance_policy_state_item_request_builder.go | 6 +- ...ompliance_policy_states_request_builder.go | 4 +- ...onfiguration_state_item_request_builder.go | 6 +- ...ce_configuration_states_request_builder.go | 4 +- ...ce_health_script_states_request_builder.go | 4 +- ...olicy_id_with_device_id_request_builder.go | 6 +- ..._item_disable_lost_mode_request_builder.go | 2 +- ...ed_devices_item_disable_request_builder.go | 2 +- ...s_item_enable_lost_mode_request_builder.go | 2 +- ..._item_enroll_now_action_request_builder.go | 2 +- ...c_remote_action_results_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...item_get_file_vault_key_request_builder.go | 2 +- ..._non_compliant_settings_request_builder.go | 2 +- ...management_key_recovery_request_builder.go | 2 +- ...d_proactive_remediation_request_builder.go | 2 +- ...ices_item_locate_device_request_builder.go | 2 +- ...ollection_response_item_request_builder.go | 6 +- ...tem_create_download_url_request_builder.go | 2 +- ...log_collection_requests_request_builder.go | 4 +- ...pple_device_active_user_request_builder.go | 2 +- ...onfiguration_state_item_request_builder.go | 6 +- ...pp_configuration_states_request_builder.go | 4 +- ...erride_compliance_state_request_builder.go | 2 +- ...e_configuration_refresh_request_builder.go | 2 +- ...em_play_lost_mode_sound_request_builder.go | 2 +- ...devices_item_reboot_now_request_builder.go | 2 +- ...s_item_recover_passcode_request_builder.go | 2 +- ...d_devices_item_reenable_request_builder.go | 2 +- ...evices_item_remote_lock_request_builder.go | 2 +- ...on_interface_management_request_builder.go | 2 +- ...em_reprovision_cloud_pc_request_builder.go | 2 +- ...quest_remote_assistance_request_builder.go | 2 +- ...ces_item_reset_passcode_request_builder.go | 2 +- ...es_item_resize_cloud_pc_request_builder.go | 2 +- ...s_item_restore_cloud_pc_request_builder.go | 2 +- ...ged_devices_item_retire_request_builder.go | 2 +- ...voke_apple_vpp_licenses_request_builder.go | 2 +- ..._rotate_bit_locker_keys_request_builder.go | 2 +- ...m_rotate_file_vault_key_request_builder.go | 2 +- ...te_local_admin_password_request_builder.go | 2 +- ...tes_item_setting_states_request_builder.go | 4 +- ...line_setting_state_item_request_builder.go | 6 +- ...ecurity_baseline_states_request_builder.go | 4 +- ...ity_baseline_state_item_request_builder.go | 6 +- ...ation_to_company_portal_request_builder.go | 2 +- ..._cloud_pc_review_status_request_builder.go | 2 +- ...es_item_set_device_name_request_builder.go | 2 +- ..._devices_item_shut_down_request_builder.go | 2 +- ...evices_item_sync_device_request_builder.go | 2 +- ...guration_manager_action_request_builder.go | 2 +- ..._windows_device_account_request_builder.go | 2 +- ...aged_devices_item_users_request_builder.go | 2 +- ...m_windows_defender_scan_request_builder.go | 2 +- ...ender_update_signatures_request_builder.go | 2 +- ..._detected_malware_state_request_builder.go | 4 +- ...vice_malware_state_item_request_builder.go | 6 +- ...indows_protection_state_request_builder.go | 6 +- ...naged_devices_item_wipe_request_builder.go | 2 +- ...ces_managed_device_item_request_builder.go | 6 +- ...ces_move_devices_to_o_u_request_builder.go | 2 +- users/item_managed_devices_request_builder.go | 4 +- users/item_manager_ref_request_builder.go | 6 +- users/item_manager_request_builder.go | 4 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...of_graph_directory_role_request_builder.go | 2 +- ...m_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...em_graph_directory_role_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- users/item_member_of_request_builder.go | 2 +- users/item_messages_delta_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...ssages_item_attachments_request_builder.go | 12 +- ...item_messages_item_copy_request_builder.go | 2 +- ...ges_item_create_forward_request_builder.go | 2 +- ...s_item_create_reply_all_request_builder.go | 2 +- ...sages_item_create_reply_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...essages_item_extensions_request_builder.go | 4 +- ...m_messages_item_forward_request_builder.go | 2 +- ...sages_item_mark_as_junk_request_builder.go | 2 +- ...s_item_mark_as_not_junk_request_builder.go | 2 +- ...m_mentions_mention_item_request_builder.go | 4 +- ..._messages_item_mentions_request_builder.go | 4 +- ...item_messages_item_move_request_builder.go | 2 +- ...messages_item_reply_all_request_builder.go | 2 +- ...tem_messages_item_reply_request_builder.go | 2 +- ...item_messages_item_send_request_builder.go | 2 +- ...ssages_item_unsubscribe_request_builder.go | 2 +- ...ages_item_value_content_request_builder.go | 6 +- ...m_messages_message_item_request_builder.go | 14 +- users/item_messages_request_builder.go | 12 +- ...p_intent_and_state_item_request_builder.go | 6 +- ...e_app_intent_and_states_request_builder.go | 4 +- ...collection_request_item_request_builder.go | 6 +- ...tem_create_download_url_request_builder.go | 2 +- ...log_collection_requests_request_builder.go | 4 +- ...ubleshooting_event_item_request_builder.go | 6 +- ..._troubleshooting_events_request_builder.go | 4 +- ...tions_notification_item_request_builder.go | 6 +- users/item_notifications_request_builder.go | 4 +- ...2_permission_grant_item_request_builder.go | 2 +- ...auth2_permission_grants_request_builder.go | 2 +- ...t_notebook_from_web_url_request_builder.go | 2 +- ...lude_personal_notebooks_request_builder.go | 2 +- ...ooks_item_copy_notebook_request_builder.go | 2 +- ...ps_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 2 +- ...oups_section_group_item_request_builder.go | 2 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...on_groups_item_sections_request_builder.go | 4 +- ...oks_item_section_groups_request_builder.go | 4 +- ...oups_section_group_item_request_builder.go | 6 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...notebooks_item_sections_request_builder.go | 4 +- ...notebooks_notebook_item_request_builder.go | 6 +- .../item_onenote_notebooks_request_builder.go | 4 +- ..._onenote_operation_item_request_builder.go | 6 +- ...item_onenote_operations_request_builder.go | 4 +- ...note_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...note_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- users/item_onenote_pages_request_builder.go | 4 +- users/item_onenote_request_builder.go | 6 +- ..._resources_item_content_request_builder.go | 4 +- ...s_onenote_resource_item_request_builder.go | 6 +- .../item_onenote_resources_request_builder.go | 4 +- ...ps_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ups_item_section_groups_request_builder.go | 2 +- ...oups_section_group_item_request_builder.go | 2 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...tem_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- ...on_groups_item_sections_request_builder.go | 4 +- ..._onenote_section_groups_request_builder.go | 4 +- ...oups_section_group_item_request_builder.go | 6 +- ...s_item_copy_to_notebook_request_builder.go | 2 +- ...m_copy_to_section_group_request_builder.go | 2 +- ...item_pages_item_content_request_builder.go | 4 +- ...es_item_copy_to_section_request_builder.go | 2 +- ...m_onenote_patch_content_request_builder.go | 2 +- ...es_item_parent_notebook_request_builder.go | 2 +- ...ges_item_parent_section_request_builder.go | 2 +- ...item_pages_item_preview_request_builder.go | 2 +- ...pages_onenote_page_item_request_builder.go | 6 +- ...ote_sections_item_pages_request_builder.go | 4 +- ...ns_item_parent_notebook_request_builder.go | 2 +- ...em_parent_section_group_request_builder.go | 2 +- ...ns_onenote_section_item_request_builder.go | 6 +- .../item_onenote_sections_request_builder.go | 4 +- ..._meetings_create_or_get_request_builder.go | 2 +- ...ings_get_all_recordings_request_builder.go | 2 +- ...ngs_get_all_transcripts_request_builder.go | 2 +- ...m_alternative_recording_request_builder.go | 4 +- ..._attendance_record_item_request_builder.go | 6 +- ...item_attendance_records_request_builder.go | 4 +- ..._attendance_report_item_request_builder.go | 17 +- ...item_attendance_reports_request_builder.go | 17 +- ...gs_item_attendee_report_request_builder.go | 4 +- ...tem_broadcast_recording_request_builder.go | 4 +- ...ppointment_join_web_url_request_builder.go | 2 +- ..._attendance_record_item_request_builder.go | 6 +- ...port_attendance_records_request_builder.go | 4 +- ...eting_attendance_report_request_builder.go | 6 +- ...meetings_item_recording_request_builder.go | 4 +- ...ngs_call_recording_item_request_builder.go | 6 +- ...s_item_recordings_delta_request_builder.go | 2 +- ...recordings_item_content_request_builder.go | 4 +- ...eetings_item_recordings_request_builder.go | 4 +- ...istration_question_item_request_builder.go | 6 +- ...ration_custom_questions_request_builder.go | 4 +- ...ng_registrant_base_item_request_builder.go | 6 +- ...egistration_registrants_request_builder.go | 4 +- ...tings_item_registration_request_builder.go | 6 +- ...ts_call_transcript_item_request_builder.go | 6 +- ..._item_transcripts_delta_request_builder.go | 2 +- ...ranscripts_item_content_request_builder.go | 4 +- ...s_item_metadata_content_request_builder.go | 4 +- ...etings_item_transcripts_request_builder.go | 4 +- ...ngs_online_meeting_item_request_builder.go | 8 +- users/item_online_meetings_request_builder.go | 4 +- ...s_outlook_category_item_request_builder.go | 6 +- ...tlook_master_categories_request_builder.go | 4 +- users/item_outlook_request_builder.go | 2 +- ...ook_supported_languages_request_builder.go | 2 +- ...ok_supported_time_zones_request_builder.go | 2 +- ...with_time_zone_standard_request_builder.go | 2 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ..._tasks_item_attachments_request_builder.go | 4 +- ...tem_tasks_item_complete_request_builder.go | 2 +- ...tasks_outlook_task_item_request_builder.go | 6 +- ...task_folders_item_tasks_request_builder.go | 4 +- ...utlook_task_folder_item_request_builder.go | 6 +- ...em_outlook_task_folders_request_builder.go | 4 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ..._tasks_item_attachments_request_builder.go | 4 +- ...tem_tasks_item_complete_request_builder.go | 2 +- ...tasks_outlook_task_item_request_builder.go | 6 +- ...task_folders_item_tasks_request_builder.go | 4 +- ...utlook_task_folder_item_request_builder.go | 6 +- ...roups_item_task_folders_request_builder.go | 4 +- ...outlook_task_group_item_request_builder.go | 6 +- ...tem_outlook_task_groups_request_builder.go | 4 +- ...chments_attachment_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ..._tasks_item_attachments_request_builder.go | 4 +- ...ook_tasks_item_complete_request_builder.go | 2 +- ...tasks_outlook_task_item_request_builder.go | 6 +- users/item_outlook_tasks_request_builder.go | 4 +- ...s_directory_object_item_request_builder.go | 2 +- ...ed_devices_graph_device_request_builder.go | 2 +- ..._devices_graph_endpoint_request_builder.go | 2 +- ...vices_item_graph_device_request_builder.go | 2 +- ...ces_item_graph_endpoint_request_builder.go | 2 +- users/item_owned_devices_request_builder.go | 2 +- ...s_directory_object_item_request_builder.go | 2 +- ...jects_graph_application_request_builder.go | 2 +- ...ned_objects_graph_group_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- ..._item_graph_application_request_builder.go | 2 +- ...bjects_item_graph_group_request_builder.go | 2 +- ...graph_service_principal_request_builder.go | 2 +- users/item_owned_objects_request_builder.go | 2 +- ...ss_review_instance_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ..._accept_recommendations_request_builder.go | 2 +- ...es_item_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 6 +- ...tem_contacted_reviewers_request_builder.go | 4 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ..._accept_recommendations_request_builder.go | 2 +- ...nstance_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 6 +- ...nce_contacted_reviewers_request_builder.go | 4 +- ...tem_instance_definition_request_builder.go | 2 +- ...decisions_item_instance_request_builder.go | 6 +- ...nstance_reset_decisions_request_builder.go | 2 +- ..._instance_send_reminder_request_builder.go | 2 +- ...ccess_review_stage_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...e_stages_item_decisions_request_builder.go | 4 +- ...stance_stages_item_stop_request_builder.go | 2 +- ...ns_item_instance_stages_request_builder.go | 4 +- ...ce_stop_apply_decisions_request_builder.go | 2 +- ...ions_item_instance_stop_request_builder.go | 2 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...nstances_item_decisions_request_builder.go | 4 +- ...stances_item_definition_request_builder.go | 2 +- ...es_item_reset_decisions_request_builder.go | 2 +- ...nces_item_send_reminder_request_builder.go | 2 +- ...ccess_review_stage_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ..._accept_recommendations_request_builder.go | 2 +- ...nstance_apply_decisions_request_builder.go | 2 +- ..._batch_record_decisions_request_builder.go | 2 +- ...ss_review_reviewer_item_request_builder.go | 6 +- ...nce_contacted_reviewers_request_builder.go | 4 +- ...ance_decision_item_item_request_builder.go | 6 +- ...by_current_user_with_on_request_builder.go | 2 +- ...governance_insight_item_request_builder.go | 6 +- ...decisions_item_insights_request_builder.go | 4 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...item_instance_decisions_request_builder.go | 4 +- ...tem_instance_definition_request_builder.go | 2 +- ...decisions_item_instance_request_builder.go | 6 +- ...nstance_reset_decisions_request_builder.go | 2 +- ..._instance_send_reminder_request_builder.go | 2 +- ...ce_stop_apply_decisions_request_builder.go | 2 +- ...ions_item_instance_stop_request_builder.go | 2 +- ...ns_record_all_decisions_request_builder.go | 2 +- ...m_stages_item_decisions_request_builder.go | 4 +- ...s_item_stages_item_stop_request_builder.go | 2 +- ...w_instances_item_stages_request_builder.go | 4 +- ...em_stop_apply_decisions_request_builder.go | 2 +- ...iew_instances_item_stop_request_builder.go | 2 +- ...access_review_instances_request_builder.go | 4 +- ...item_people_person_item_request_builder.go | 2 +- users/item_people_request_builder.go | 2 +- .../item_permission_grants_request_builder.go | 4 +- ...c_permission_grant_item_request_builder.go | 6 +- users/item_photo_request_builder.go | 6 +- ...tem_photo_value_content_request_builder.go | 4 +- ...otos_item_value_content_request_builder.go | 4 +- ...otos_profile_photo_item_request_builder.go | 2 +- users/item_photos_request_builder.go | 2 +- .../item_planner_all_delta_request_builder.go | 2 +- ..._all_planner_delta_item_request_builder.go | 6 +- users/item_planner_all_request_builder.go | 4 +- ...plans_planner_plan_item_request_builder.go | 2 +- ..._planner_favorite_plans_request_builder.go | 2 +- ...tem_planner_plans_delta_request_builder.go | 2 +- ...lans_item_buckets_delta_request_builder.go | 2 +- ...uckets_item_tasks_delta_request_builder.go | 2 +- ...ed_to_task_board_format_request_builder.go | 6 +- ...ucket_task_board_format_request_builder.go | 6 +- ...item_tasks_item_details_request_builder.go | 6 +- ...gress_task_board_format_request_builder.go | 6 +- ...tasks_planner_task_item_request_builder.go | 6 +- ...item_buckets_item_tasks_request_builder.go | 4 +- ...ets_planner_bucket_item_request_builder.go | 6 +- ...nner_plans_item_buckets_request_builder.go | 4 +- ...nner_plans_item_details_request_builder.go | 6 +- ..._item_move_to_container_request_builder.go | 2 +- ..._plans_item_tasks_delta_request_builder.go | 2 +- ...ed_to_task_board_format_request_builder.go | 6 +- ...ucket_task_board_format_request_builder.go | 6 +- ...item_tasks_item_details_request_builder.go | 6 +- ...gress_task_board_format_request_builder.go | 6 +- ...tasks_planner_task_item_request_builder.go | 6 +- ...lanner_plans_item_tasks_request_builder.go | 4 +- ...plans_planner_plan_item_request_builder.go | 6 +- users/item_planner_plans_request_builder.go | 4 +- ...plans_planner_plan_item_request_builder.go | 2 +- ...em_planner_recent_plans_request_builder.go | 2 +- users/item_planner_request_builder.go | 6 +- ...plans_planner_plan_item_request_builder.go | 2 +- ...em_planner_roster_plans_request_builder.go | 2 +- ...tem_planner_tasks_delta_request_builder.go | 2 +- ...ed_to_task_board_format_request_builder.go | 6 +- ...ucket_task_board_format_request_builder.go | 6 +- ...nner_tasks_item_details_request_builder.go | 6 +- ...gress_task_board_format_request_builder.go | 6 +- ...tasks_planner_task_item_request_builder.go | 6 +- users/item_planner_tasks_request_builder.go | 4 +- ...presence_clear_presence_request_builder.go | 2 +- ...user_preferred_presence_request_builder.go | 2 +- users/item_presence_request_builder.go | 14 +- ...m_presence_set_presence_request_builder.go | 2 +- ...ence_set_status_message_request_builder.go | 2 +- ...user_preferred_presence_request_builder.go | 2 +- users/item_profile_account_request_builder.go | 4 +- ...ccount_information_item_request_builder.go | 6 +- ...esses_item_address_item_request_builder.go | 6 +- .../item_profile_addresses_request_builder.go | 4 +- ...erson_annual_event_item_request_builder.go | 6 +- ...m_profile_anniversaries_request_builder.go | 4 +- ...wards_person_award_item_request_builder.go | 6 +- users/item_profile_awards_request_builder.go | 4 +- ...rson_certification_item_request_builder.go | 6 +- ..._profile_certifications_request_builder.go | 4 +- ...ucational_activity_item_request_builder.go | 6 +- ..._educational_activities_request_builder.go | 4 +- ..._emails_item_email_item_request_builder.go | 6 +- users/item_profile_emails_request_builder.go | 4 +- ...ts_person_interest_item_request_builder.go | 6 +- .../item_profile_interests_request_builder.go | 4 +- ...nguage_proficiency_item_request_builder.go | 6 +- .../item_profile_languages_request_builder.go | 4 +- ..._names_person_name_item_request_builder.go | 6 +- users/item_profile_names_request_builder.go | 4 +- ..._person_annotation_item_request_builder.go | 6 +- users/item_profile_notes_request_builder.go | 4 +- ...atents_item_patent_item_request_builder.go | 6 +- users/item_profile_patents_request_builder.go | 4 +- ..._phones_item_phone_item_request_builder.go | 6 +- users/item_profile_phones_request_builder.go | 4 +- .../item_profile_positions_request_builder.go | 4 +- ...ions_work_position_item_request_builder.go | 6 +- ...ject_participation_item_request_builder.go | 6 +- .../item_profile_projects_request_builder.go | 4 +- ...s_item_publication_item_request_builder.go | 6 +- ...em_profile_publications_request_builder.go | 4 +- users/item_profile_request_builder.go | 6 +- users/item_profile_skills_request_builder.go | 4 +- ..._skill_proficiency_item_request_builder.go | 6 +- ...em_profile_web_accounts_request_builder.go | 4 +- ...counts_web_account_item_request_builder.go | 6 +- ...tes_person_website_item_request_builder.go | 6 +- .../item_profile_websites_request_builder.go | 4 +- ...s_directory_object_item_request_builder.go | 2 +- ...ed_devices_graph_device_request_builder.go | 2 +- ..._devices_graph_endpoint_request_builder.go | 2 +- ...vices_item_graph_device_request_builder.go | 2 +- ...ces_item_graph_endpoint_request_builder.go | 2 +- ...item_registered_devices_request_builder.go | 2 +- ...time_with_end_date_time_request_builder.go | 2 +- ...devices_from_management_request_builder.go | 2 +- ...cess_license_assignment_request_builder.go | 2 +- users/item_restore_request_builder.go | 2 +- ...ry_service_provisioning_request_builder.go | 2 +- ...revoke_sign_in_sessions_request_builder.go | 2 +- ...m_scoped_role_member_of_request_builder.go | 4 +- ...ed_role_membership_item_request_builder.go | 6 +- ...n_label_policy_settings_request_builder.go | 6 +- ..._information_protection_request_builder.go | 6 +- ...vity_labels_item_parent_request_builder.go | 6 +- ...ty_evaluate_application_request_builder.go | 2 +- ..._classification_results_request_builder.go | 2 +- ...curity_evaluate_removal_request_builder.go | 2 +- ...y_extract_content_label_request_builder.go | 2 +- ...tion_sensitivity_labels_request_builder.go | 4 +- ..._sensitivity_label_item_request_builder.go | 6 +- users/item_security_request_builder.go | 6 +- users/item_send_mail_request_builder.go | 2 +- ...ice_provisioning_errors_request_builder.go | 8 +- ...ntact_merge_suggestions_request_builder.go | 6 +- ..._settings_item_insights_request_builder.go | 6 +- ...l_and_language_settings_request_builder.go | 6 +- users/item_settings_request_builder.go | 6 +- ...tings_shift_preferences_request_builder.go | 6 +- ...s_directory_object_item_request_builder.go | 4 +- users/item_sponsors_request_builder.go | 2 +- ...sociated_team_info_item_request_builder.go | 6 +- ...ociated_teams_item_team_request_builder.go | 2 +- ...amwork_associated_teams_request_builder.go | 4 +- ...nstalled_apps_item_chat_request_builder.go | 2 +- ...em_teams_app_definition_request_builder.go | 2 +- ...led_apps_item_teams_app_request_builder.go | 2 +- ...teamwork_installed_apps_request_builder.go | 4 +- ...s_app_installation_item_request_builder.go | 6 +- users/item_teamwork_request_builder.go | 6 +- ...d_activity_notification_request_builder.go | 2 +- .../item_todo_lists_delta_request_builder.go | 2 +- ...tensions_extension_item_request_builder.go | 6 +- ...o_lists_item_extensions_request_builder.go | 4 +- ..._lists_item_tasks_delta_request_builder.go | 2 +- ...attachment_session_item_request_builder.go | 6 +- ...t_sessions_item_content_request_builder.go | 4 +- ...tem_attachment_sessions_request_builder.go | 2 +- ...ts_attachment_base_item_request_builder.go | 4 +- ...s_create_upload_session_request_builder.go | 2 +- ...ents_item_value_content_request_builder.go | 4 +- ..._tasks_item_attachments_request_builder.go | 4 +- ...ems_checklist_item_item_request_builder.go | 6 +- ...ks_item_checklist_items_request_builder.go | 4 +- ...tensions_extension_item_request_builder.go | 6 +- ...m_tasks_item_extensions_request_builder.go | 4 +- ...es_linked_resource_item_request_builder.go | 6 +- ...s_item_linked_resources_request_builder.go | 4 +- ...m_todo_lists_item_tasks_request_builder.go | 4 +- ...em_tasks_todo_task_item_request_builder.go | 6 +- users/item_todo_lists_request_builder.go | 4 +- ...sts_todo_task_list_item_request_builder.go | 6 +- users/item_todo_request_builder.go | 6 +- ...f_directory_object_item_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...of_graph_directory_role_request_builder.go | 2 +- ...e_member_of_graph_group_request_builder.go | 2 +- ...aph_administrative_unit_request_builder.go | 2 +- ...em_graph_directory_role_request_builder.go | 2 +- ...ber_of_item_graph_group_request_builder.go | 2 +- ...em_transitive_member_of_request_builder.go | 2 +- ...s_directory_object_item_request_builder.go | 2 +- ...item_transitive_reports_request_builder.go | 2 +- ..._translate_exchange_ids_request_builder.go | 2 +- ...em_unblock_managed_apps_request_builder.go | 2 +- users/item_usage_rights_request_builder.go | 4 +- ...rights_usage_right_item_request_builder.go | 6 +- users/item_virtual_events_request_builder.go | 6 +- ...virtual_events_webinars_request_builder.go | 2 +- ...tual_event_webinar_item_request_builder.go | 2 +- ...on_device_registrations_request_builder.go | 2 +- ...evice_registration_item_request_builder.go | 2 +- ..._and_block_managed_apps_request_builder.go | 2 +- ...istration_by_device_tag_request_builder.go | 2 +- ...s_by_azure_ad_device_id_request_builder.go | 2 +- ...strations_by_device_tag_request_builder.go | 2 +- users/user_item_request_builder.go | 6 +- users/users_request_builder.go | 4 +- users/validate_password_request_builder.go | 2 +- users/validate_properties_request_builder.go | 2 +- 10506 files changed, 27721 insertions(+), 26722 deletions(-) create mode 100644 app/calls_item_send_dtmf_tones_post_request_body.go create mode 100644 app/calls_item_send_dtmf_tones_request_builder.go create mode 100644 communications/call_records_item_organizer_v2_request_builder.go create mode 100644 communications/call_records_item_participants_v2_count_request_builder.go create mode 100644 communications/call_records_item_participants_v2_participant_item_request_builder.go create mode 100644 communications/call_records_item_participants_v2_request_builder.go create mode 100644 communications/calls_item_send_dtmf_tones_post_request_body.go create mode 100644 communications/calls_item_send_dtmf_tones_request_builder.go create mode 100644 devicemanagement/virtual_endpoint_reports_get_action_status_reports_post_request_body.go create mode 100644 devicemanagement/virtual_endpoint_reports_get_action_status_reports_request_builder.go create mode 100644 devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_post_request_body.go create mode 100644 devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_request_builder.go create mode 100644 devicemanagement/virtual_endpoint_retrieve_scoped_permissions_get_response.go create mode 100644 devicemanagement/virtual_endpoint_retrieve_scoped_permissions_request_builder.go create mode 100644 devicemanagement/virtual_endpoint_retrieve_scoped_permissions_response.go create mode 100644 devicemanagement/virtual_endpoint_retrieve_tenant_encryption_setting_request_builder.go create mode 100644 groups/item_team_schedule_day_notes_count_request_builder.go create mode 100644 groups/item_team_schedule_day_notes_day_note_item_request_builder.go create mode 100644 groups/item_team_schedule_day_notes_request_builder.go rename solutions/virtual_events_events_item_sessions_item_registration_request_builder.go => identity/authentication_events_flows_item_conditions_applications_include_applications_authentication_condition_application_app_item_request_builder.go (52%) create mode 100644 identity/authentication_events_flows_item_conditions_applications_include_applications_count_request_builder.go create mode 100644 identity/authentication_events_flows_item_conditions_applications_include_applications_request_builder.go create mode 100644 identity/authentication_events_flows_item_conditions_applications_request_builder.go create mode 100644 identity/authentication_events_flows_item_conditions_request_builder.go create mode 100644 identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_authentication_condition_application_app_item_request_builder.go create mode 100644 identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_count_request_builder.go create mode 100644 identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_request_builder.go create mode 100644 identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_request_builder.go create mode 100644 identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_request_builder.go create mode 100644 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_request_builder.go create mode 100644 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_request_builder.go create mode 100644 models/admin_windows.go create mode 100644 models/authentication_condition_application_collection_response.go create mode 100644 models/callrecords/organizer.go create mode 100644 models/callrecords/participant.go create mode 100644 models/callrecords/participant_base.go create mode 100644 models/callrecords/participant_collection_response.go create mode 100644 models/callrecords/user_identity.go create mode 100644 models/cloud_pc_disk_encryption_type.go create mode 100644 models/cloud_pc_scoped_permission.go create mode 100644 models/cloud_pc_tenant_encryption_setting.go create mode 100644 models/day_note.go create mode 100644 models/day_note_collection_response.go create mode 100644 models/online_meeting_base.go create mode 100644 models/send_dtmf_completion_reason.go create mode 100644 models/send_dtmf_tones_operation.go delete mode 100644 models/vendor_escapedable.go create mode 100644 models/virtual_event_townhall.go create mode 100644 solutions/virtual_events_events_cancel_request_builder.go rename solutions/{virtual_events_events_item_sessions_item_attendee_report_request_builder.go => virtual_events_events_item_presenters_item_profile_photo_request_builder.go} (68%) rename solutions/{virtual_events_events_item_sessions_item_transcripts_count_request_builder.go => virtual_events_events_item_presenters_item_sessions_count_request_builder.go} (50%) create mode 100644 solutions/virtual_events_events_item_presenters_item_sessions_request_builder.go create mode 100644 solutions/virtual_events_events_item_presenters_item_sessions_virtual_event_session_item_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_alternative_recording_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_broadcast_recording_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_request_builder.go rename solutions/{virtual_events_events_item_sessions_item_recordings_count_request_builder.go => virtual_events_events_item_sessions_item_presenters_count_request_builder.go} (73%) create mode 100644 solutions/virtual_events_events_item_sessions_item_presenters_item_profile_photo_request_builder.go create mode 100644 solutions/virtual_events_events_item_sessions_item_presenters_request_builder.go create mode 100644 solutions/virtual_events_events_item_sessions_item_presenters_virtual_event_presenter_item_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_recording_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_recordings_call_recording_item_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_recordings_delta_get_response.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_recordings_delta_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_recordings_delta_response.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_recordings_item_content_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_recordings_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_registration_custom_questions_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_registration_registrants_count_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_registration_registrants_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_transcripts_call_transcript_item_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_transcripts_delta_get_response.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_transcripts_delta_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_transcripts_delta_response.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_transcripts_item_content_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_transcripts_item_metadata_content_request_builder.go delete mode 100644 solutions/virtual_events_events_item_sessions_item_transcripts_request_builder.go create mode 100644 solutions/virtual_events_events_publish_request_builder.go rename solutions/{virtual_events_webinars_item_sessions_item_attendee_report_request_builder.go => virtual_events_webinars_item_presenters_item_profile_photo_request_builder.go} (66%) rename solutions/{virtual_events_webinars_item_sessions_item_transcripts_count_request_builder.go => virtual_events_webinars_item_presenters_item_sessions_count_request_builder.go} (50%) create mode 100644 solutions/virtual_events_webinars_item_presenters_item_sessions_request_builder.go create mode 100644 solutions/virtual_events_webinars_item_presenters_item_sessions_virtual_event_session_item_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_registrations_item_sessions_item_alternative_recording_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_registrations_item_sessions_item_attendee_report_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_registrations_item_sessions_item_broadcast_recording_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_alternative_recording_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_broadcast_recording_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_request_builder.go rename solutions/{virtual_events_webinars_item_sessions_item_recordings_count_request_builder.go => virtual_events_webinars_item_sessions_item_presenters_count_request_builder.go} (73%) rename solutions/{virtual_events_webinars_item_registrations_item_sessions_item_recording_request_builder.go => virtual_events_webinars_item_sessions_item_presenters_item_profile_photo_request_builder.go} (56%) create mode 100644 solutions/virtual_events_webinars_item_sessions_item_presenters_request_builder.go create mode 100644 solutions/virtual_events_webinars_item_sessions_item_presenters_virtual_event_presenter_item_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_recording_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_recordings_call_recording_item_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_recordings_delta_get_response.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_recordings_delta_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_recordings_delta_response.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_recordings_item_content_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_recordings_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_count_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_registration_registrants_count_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_registration_registrants_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_registration_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_transcripts_call_transcript_item_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_get_response.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_response.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_transcripts_item_content_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_transcripts_item_metadata_content_request_builder.go delete mode 100644 solutions/virtual_events_webinars_item_sessions_item_transcripts_request_builder.go create mode 100644 teams/item_schedule_day_notes_count_request_builder.go rename solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go => teams/item_schedule_day_notes_day_note_item_request_builder.go (51%) create mode 100644 teams/item_schedule_day_notes_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_schedule_day_notes_count_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_schedule_day_notes_day_note_item_request_builder.go create mode 100644 teamtemplatedefinition/item_team_definition_schedule_day_notes_request_builder.go rename solutions/virtual_events_events_item_sessions_item_registration_custom_questions_count_request_builder.go => teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_count_request_builder.go (56%) create mode 100644 teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_day_note_item_request_builder.go create mode 100644 teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_request_builder.go diff --git a/accessreviewdecisions/access_review_decision_item_request_builder.go b/accessreviewdecisions/access_review_decision_item_request_builder.go index af3126f4d0f..cdf69671376 100644 --- a/accessreviewdecisions/access_review_decision_item_request_builder.go +++ b/accessreviewdecisions/access_review_decision_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewDecisionItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from accessReviewDecisions by key @@ -134,7 +134,7 @@ func (m *AccessReviewDecisionItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in accessReviewDecisions @@ -147,7 +147,7 @@ func (m *AccessReviewDecisionItemRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviewdecisions/access_review_decisions_request_builder.go b/accessreviewdecisions/access_review_decisions_request_builder.go index 31022b23e15..c15c61f1d5b 100644 --- a/accessreviewdecisions/access_review_decisions_request_builder.go +++ b/accessreviewdecisions/access_review_decisions_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewDecisionsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to accessReviewDecisions @@ -138,7 +138,7 @@ func (m *AccessReviewDecisionsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/access_review_item_request_builder.go b/accessreviews/access_review_item_request_builder.go index c60dc60513a..aff7ccc3705 100644 --- a/accessreviews/access_review_item_request_builder.go +++ b/accessreviews/access_review_item_request_builder.go @@ -159,7 +159,7 @@ func (m *AccessReviewItemRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -175,7 +175,7 @@ func (m *AccessReviewItemRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -188,7 +188,7 @@ func (m *AccessReviewItemRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/access_reviews_request_builder.go b/accessreviews/access_reviews_request_builder.go index 2acc3d9307e..17c88501bf9 100644 --- a/accessreviews/access_reviews_request_builder.go +++ b/accessreviews/access_reviews_request_builder.go @@ -131,7 +131,7 @@ func (m *AccessReviewsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *AccessReviewsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_apply_decisions_request_builder.go b/accessreviews/item_apply_decisions_request_builder.go index 4d7dd67bd11..70b2b64a279 100644 --- a/accessreviews/item_apply_decisions_request_builder.go +++ b/accessreviews/item_apply_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemApplyDecisionsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/accessreviews/item_decisions_access_review_decision_item_request_builder.go b/accessreviews/item_decisions_access_review_decision_item_request_builder.go index b2c18205922..6a82b51436b 100644 --- a/accessreviews/item_decisions_access_review_decision_item_request_builder.go +++ b/accessreviews/item_decisions_access_review_decision_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemDecisionsAccessReviewDecisionItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of decisions for this access review. @@ -134,7 +134,7 @@ func (m *ItemDecisionsAccessReviewDecisionItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property decisions in accessReviews @@ -147,7 +147,7 @@ func (m *ItemDecisionsAccessReviewDecisionItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_decisions_request_builder.go b/accessreviews/item_decisions_request_builder.go index fa909953370..2c4e79ef19b 100644 --- a/accessreviews/item_decisions_request_builder.go +++ b/accessreviews/item_decisions_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for accessReviews @@ -141,7 +141,7 @@ func (m *ItemDecisionsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_instances_access_review_item_request_builder.go b/accessreviews/item_instances_access_review_item_request_builder.go index e75a734df73..8a8597b101b 100644 --- a/accessreviews/item_instances_access_review_item_request_builder.go +++ b/accessreviews/item_instances_access_review_item_request_builder.go @@ -146,7 +146,7 @@ func (m *ItemInstancesAccessReviewItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of access reviews instances past, present and future, if this object is a recurring access review. @@ -162,7 +162,7 @@ func (m *ItemInstancesAccessReviewItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property instances in accessReviews @@ -175,7 +175,7 @@ func (m *ItemInstancesAccessReviewItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_instances_item_apply_decisions_request_builder.go b/accessreviews/item_instances_item_apply_decisions_request_builder.go index e21785addae..43294e210ab 100644 --- a/accessreviews/item_instances_item_apply_decisions_request_builder.go +++ b/accessreviews/item_instances_item_apply_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemInstancesItemApplyDecisionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/accessreviews/item_instances_item_decisions_access_review_decision_item_request_builder.go b/accessreviews/item_instances_item_decisions_access_review_decision_item_request_builder.go index 4a318e9aaa5..12618d997f0 100644 --- a/accessreviews/item_instances_item_decisions_access_review_decision_item_request_builder.go +++ b/accessreviews/item_instances_item_decisions_access_review_decision_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemInstancesItemDecisionsAccessReviewDecisionItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of decisions for this access review. @@ -134,7 +134,7 @@ func (m *ItemInstancesItemDecisionsAccessReviewDecisionItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property decisions in accessReviews @@ -147,7 +147,7 @@ func (m *ItemInstancesItemDecisionsAccessReviewDecisionItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_instances_item_decisions_request_builder.go b/accessreviews/item_instances_item_decisions_request_builder.go index 3a59bfd39d1..1c59181c6b2 100644 --- a/accessreviews/item_instances_item_decisions_request_builder.go +++ b/accessreviews/item_instances_item_decisions_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemInstancesItemDecisionsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for accessReviews @@ -141,7 +141,7 @@ func (m *ItemInstancesItemDecisionsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_instances_item_my_decisions_access_review_decision_item_request_builder.go b/accessreviews/item_instances_item_my_decisions_access_review_decision_item_request_builder.go index 897b56db62c..757f4a936f7 100644 --- a/accessreviews/item_instances_item_my_decisions_access_review_decision_item_request_builder.go +++ b/accessreviews/item_instances_item_my_decisions_access_review_decision_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemInstancesItemMyDecisionsAccessReviewDecisionItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of decisions for the caller, if the caller is a reviewer. @@ -134,7 +134,7 @@ func (m *ItemInstancesItemMyDecisionsAccessReviewDecisionItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property myDecisions in accessReviews @@ -147,7 +147,7 @@ func (m *ItemInstancesItemMyDecisionsAccessReviewDecisionItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_instances_item_my_decisions_request_builder.go b/accessreviews/item_instances_item_my_decisions_request_builder.go index b6ac1647339..e2dd2ade0c2 100644 --- a/accessreviews/item_instances_item_my_decisions_request_builder.go +++ b/accessreviews/item_instances_item_my_decisions_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemInstancesItemMyDecisionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to myDecisions for accessReviews @@ -141,7 +141,7 @@ func (m *ItemInstancesItemMyDecisionsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_instances_item_reset_decisions_request_builder.go b/accessreviews/item_instances_item_reset_decisions_request_builder.go index cad2cc3563a..abb020fdef3 100644 --- a/accessreviews/item_instances_item_reset_decisions_request_builder.go +++ b/accessreviews/item_instances_item_reset_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemInstancesItemResetDecisionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go b/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go index 7531e970838..9cc960884eb 100644 --- a/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go +++ b/accessreviews/item_instances_item_reviewers_access_review_reviewer_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of reviewers for an access review, if access review reviewerType is of type delegated. @@ -137,7 +137,7 @@ func (m *ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property reviewers in accessReviews @@ -150,7 +150,7 @@ func (m *ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_instances_item_reviewers_request_builder.go b/accessreviews/item_instances_item_reviewers_request_builder.go index 9b69c659b74..e95cb06ec5a 100644 --- a/accessreviews/item_instances_item_reviewers_request_builder.go +++ b/accessreviews/item_instances_item_reviewers_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemInstancesItemReviewersRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemInstancesItemReviewersRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_instances_item_send_reminder_request_builder.go b/accessreviews/item_instances_item_send_reminder_request_builder.go index a97c4ffbb52..fe3f194f995 100644 --- a/accessreviews/item_instances_item_send_reminder_request_builder.go +++ b/accessreviews/item_instances_item_send_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemInstancesItemSendReminderRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/accessreviews/item_instances_item_stop_request_builder.go b/accessreviews/item_instances_item_stop_request_builder.go index c9ee4685d4a..7d76e2f934f 100644 --- a/accessreviews/item_instances_item_stop_request_builder.go +++ b/accessreviews/item_instances_item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemInstancesItemStopRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/accessreviews/item_instances_request_builder.go b/accessreviews/item_instances_request_builder.go index efe446c25c8..7014ccf94ff 100644 --- a/accessreviews/item_instances_request_builder.go +++ b/accessreviews/item_instances_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemInstancesRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to instances for accessReviews @@ -138,7 +138,7 @@ func (m *ItemInstancesRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_my_decisions_access_review_decision_item_request_builder.go b/accessreviews/item_my_decisions_access_review_decision_item_request_builder.go index 517eeb97604..1e78b27bc9c 100644 --- a/accessreviews/item_my_decisions_access_review_decision_item_request_builder.go +++ b/accessreviews/item_my_decisions_access_review_decision_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemMyDecisionsAccessReviewDecisionItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of decisions for the caller, if the caller is a reviewer. @@ -134,7 +134,7 @@ func (m *ItemMyDecisionsAccessReviewDecisionItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property myDecisions in accessReviews @@ -147,7 +147,7 @@ func (m *ItemMyDecisionsAccessReviewDecisionItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_my_decisions_request_builder.go b/accessreviews/item_my_decisions_request_builder.go index 03073291f18..61dbbb7fc48 100644 --- a/accessreviews/item_my_decisions_request_builder.go +++ b/accessreviews/item_my_decisions_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemMyDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to myDecisions for accessReviews @@ -141,7 +141,7 @@ func (m *ItemMyDecisionsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_reset_decisions_request_builder.go b/accessreviews/item_reset_decisions_request_builder.go index 72a3b204ac0..2565648d02f 100644 --- a/accessreviews/item_reset_decisions_request_builder.go +++ b/accessreviews/item_reset_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemResetDecisionsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go b/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go index 9faaa6c4ad9..e45bdb8e844 100644 --- a/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go +++ b/accessreviews/item_reviewers_access_review_reviewer_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemReviewersAccessReviewReviewerItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of reviewers for an access review, if access review reviewerType is of type delegated. @@ -137,7 +137,7 @@ func (m *ItemReviewersAccessReviewReviewerItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property reviewers in accessReviews @@ -150,7 +150,7 @@ func (m *ItemReviewersAccessReviewReviewerItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_reviewers_request_builder.go b/accessreviews/item_reviewers_request_builder.go index f36eb331918..bf2e32087b5 100644 --- a/accessreviews/item_reviewers_request_builder.go +++ b/accessreviews/item_reviewers_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemReviewersRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemReviewersRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/accessreviews/item_send_reminder_request_builder.go b/accessreviews/item_send_reminder_request_builder.go index 4cc7d2ae822..35f2dbb7582 100644 --- a/accessreviews/item_send_reminder_request_builder.go +++ b/accessreviews/item_send_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSendReminderRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/accessreviews/item_stop_request_builder.go b/accessreviews/item_stop_request_builder.go index 00cc7bf6eb7..99e55aa8a0b 100644 --- a/accessreviews/item_stop_request_builder.go +++ b/accessreviews/item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemStopRequestBuilder) ToPostRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/activitystatistics/activity_statistics_item_request_builder.go b/activitystatistics/activity_statistics_item_request_builder.go index 760cfbd6c3d..b6ef2210734 100644 --- a/activitystatistics/activity_statistics_item_request_builder.go +++ b/activitystatistics/activity_statistics_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ActivityStatisticsItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from activitystatistics by key @@ -134,7 +134,7 @@ func (m *ActivityStatisticsItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in activitystatistics @@ -147,7 +147,7 @@ func (m *ActivityStatisticsItemRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/activitystatistics/activitystatistics_request_builder.go b/activitystatistics/activitystatistics_request_builder.go index 38064dc703a..a5c7739533b 100644 --- a/activitystatistics/activitystatistics_request_builder.go +++ b/activitystatistics/activitystatistics_request_builder.go @@ -125,7 +125,7 @@ func (m *ActivitystatisticsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to activitystatistics @@ -138,7 +138,7 @@ func (m *ActivitystatisticsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/admin_request_builder.go b/admin/admin_request_builder.go index c1602f1e4f6..7539bfd1018 100644 --- a/admin/admin_request_builder.go +++ b/admin/admin_request_builder.go @@ -134,7 +134,7 @@ func (m *AdminRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update admin @@ -147,7 +147,7 @@ func (m *AdminRequestBuilder) ToPatchRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/apps_and_services_request_builder.go b/admin/apps_and_services_request_builder.go index a42528f5431..8246e93ac70 100644 --- a/admin/apps_and_services_request_builder.go +++ b/admin/apps_and_services_request_builder.go @@ -124,7 +124,7 @@ func (m *AppsAndServicesRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a adminAppsAndServices object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *AppsAndServicesRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a adminAppsAndServices object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *AppsAndServicesRequestBuilder) ToPatchRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/dynamics_request_builder.go b/admin/dynamics_request_builder.go index a32238e9272..d3a05e4c795 100644 --- a/admin/dynamics_request_builder.go +++ b/admin/dynamics_request_builder.go @@ -124,7 +124,7 @@ func (m *DynamicsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a adminDynamics object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *DynamicsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a adminDynamics object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *DynamicsRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/edge_internet_explorer_mode_request_builder.go b/admin/edge_internet_explorer_mode_request_builder.go index 956e6e766b1..9f925c299ab 100644 --- a/admin/edge_internet_explorer_mode_request_builder.go +++ b/admin/edge_internet_explorer_mode_request_builder.go @@ -122,7 +122,7 @@ func (m *EdgeInternetExplorerModeRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a container for Internet Explorer mode resources. @@ -138,7 +138,7 @@ func (m *EdgeInternetExplorerModeRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property internetExplorerMode in admin @@ -151,7 +151,7 @@ func (m *EdgeInternetExplorerModeRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go index da90edb1dde..f3aed11af8b 100644 --- a/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_browser_site_list_item_request_builder.go @@ -139,7 +139,7 @@ func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a browserSiteList that contains browserSite and browserSharedCookie resources. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a browserSiteList object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *EdgeInternetExplorerModeSiteListsBrowserSiteListItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go index 2ad648a6253..2324620805c 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_publish_request_builder.go @@ -63,7 +63,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemPublishRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go index 2b1abd80ff6..862378eabd6 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_browser_shared_cookie_item_request_builder.go @@ -127,7 +127,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a browserSharedCookie object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesBrowserSharedCookieIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go index 22ea1649a50..557dab3b486 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_shared_cookies_request_builder.go @@ -131,7 +131,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new browserSharedCookie object in a browserSiteList. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSharedCookiesRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go index 936fb33e671..1f90e74d117 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_sites_browser_site_item_request_builder.go @@ -127,7 +127,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a browserSite that resides on a browserSiteList. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a browserSite object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesBrowserSiteItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go index f1e82f245c7..21f78e523a5 100644 --- a/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_item_sites_request_builder.go @@ -131,7 +131,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new browserSite object in a browserSiteList. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *EdgeInternetExplorerModeSiteListsItemSitesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/edge_internet_explorer_mode_site_lists_request_builder.go b/admin/edge_internet_explorer_mode_site_lists_request_builder.go index 170e51192aa..c4c15758249 100644 --- a/admin/edge_internet_explorer_mode_site_lists_request_builder.go +++ b/admin/edge_internet_explorer_mode_site_lists_request_builder.go @@ -131,7 +131,7 @@ func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new browserSiteList object to support Internet Explorer mode. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *EdgeInternetExplorerModeSiteListsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/edge_request_builder.go b/admin/edge_request_builder.go index eec10f40015..c646de31319 100644 --- a/admin/edge_request_builder.go +++ b/admin/edge_request_builder.go @@ -122,7 +122,7 @@ func (m *EdgeRequestBuilder) ToDeleteRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a container for Microsoft Edge resources. Read-only. @@ -138,7 +138,7 @@ func (m *EdgeRequestBuilder) ToGetRequestInformation(ctx context.Context, reques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property edge in admin @@ -151,7 +151,7 @@ func (m *EdgeRequestBuilder) ToPatchRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/forms_request_builder.go b/admin/forms_request_builder.go index 92b15b55970..1ff76647529 100644 --- a/admin/forms_request_builder.go +++ b/admin/forms_request_builder.go @@ -124,7 +124,7 @@ func (m *FormsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a adminForms object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *FormsRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a adminForms object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *FormsRequestBuilder) ToPatchRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/people_profile_card_properties_profile_card_property_item_request_builder.go b/admin/people_profile_card_properties_profile_card_property_item_request_builder.go index a3022907fb5..1019e4a21c4 100644 --- a/admin/people_profile_card_properties_profile_card_property_item_request_builder.go +++ b/admin/people_profile_card_properties_profile_card_property_item_request_builder.go @@ -127,7 +127,7 @@ func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a profileCardProperty object, identified by its directoryPropertyName property. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *PeopleProfileCardPropertiesProfileCardPropertyItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/people_profile_card_properties_request_builder.go b/admin/people_profile_card_properties_request_builder.go index 35e90747029..f06f75924eb 100644 --- a/admin/people_profile_card_properties_request_builder.go +++ b/admin/people_profile_card_properties_request_builder.go @@ -131,7 +131,7 @@ func (m *PeopleProfileCardPropertiesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *PeopleProfileCardPropertiesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/people_pronouns_request_builder.go b/admin/people_pronouns_request_builder.go index 1a037ba9a8d..825d049e13d 100644 --- a/admin/people_pronouns_request_builder.go +++ b/admin/people_pronouns_request_builder.go @@ -124,7 +124,7 @@ func (m *PeoplePronounsRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *PeoplePronounsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *PeoplePronounsRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/people_request_builder.go b/admin/people_request_builder.go index b676f31d5c0..3d5e3a9f301 100644 --- a/admin/people_request_builder.go +++ b/admin/people_request_builder.go @@ -129,7 +129,7 @@ func (m *PeopleRequestBuilder) ToDeleteRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a peopleAdminSettings object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *PeopleRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property people in admin @@ -158,7 +158,7 @@ func (m *PeopleRequestBuilder) ToPatchRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/report_settings_request_builder.go b/admin/report_settings_request_builder.go index 7e4937036d4..594ae9343a1 100644 --- a/admin/report_settings_request_builder.go +++ b/admin/report_settings_request_builder.go @@ -124,7 +124,7 @@ func (m *ReportSettingsRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the tenant-level settings for Microsoft 365 reports. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ReportSettingsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update tenant-level settings for Microsoft 365 reports. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ReportSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go b/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go index bdf96417331..0492d6f9917 100644 --- a/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go +++ b/admin/service_announcement_health_overviews_item_issues_item_incident_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesItemIncidentReportRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/admin/service_announcement_health_overviews_item_issues_request_builder.go b/admin/service_announcement_health_overviews_item_issues_request_builder.go index 58616cca579..f598a6562b8 100644 --- a/admin/service_announcement_health_overviews_item_issues_request_builder.go +++ b/admin/service_announcement_health_overviews_item_issues_request_builder.go @@ -125,7 +125,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to issues for admin @@ -138,7 +138,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_health_overviews_item_issues_service_health_issue_item_request_builder.go b/admin/service_announcement_health_overviews_item_issues_service_health_issue_item_request_builder.go index 914177d5f68..5ebcb6d75ea 100644 --- a/admin/service_announcement_health_overviews_item_issues_service_health_issue_item_request_builder.go +++ b/admin/service_announcement_health_overviews_item_issues_service_health_issue_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesServiceHealthIssueItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of issues that happened on the service, with detailed information for each issue. @@ -138,7 +138,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesServiceHealthIssueItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property issues in admin @@ -151,7 +151,7 @@ func (m *ServiceAnnouncementHealthOverviewsItemIssuesServiceHealthIssueItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_health_overviews_request_builder.go b/admin/service_announcement_health_overviews_request_builder.go index 1f2463f7259..c51dac0f79b 100644 --- a/admin/service_announcement_health_overviews_request_builder.go +++ b/admin/service_announcement_health_overviews_request_builder.go @@ -128,7 +128,7 @@ func (m *ServiceAnnouncementHealthOverviewsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to healthOverviews for admin @@ -141,7 +141,7 @@ func (m *ServiceAnnouncementHealthOverviewsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_health_overviews_service_health_item_request_builder.go b/admin/service_announcement_health_overviews_service_health_item_request_builder.go index 53fb3f32aa0..de10df59a38 100644 --- a/admin/service_announcement_health_overviews_service_health_item_request_builder.go +++ b/admin/service_announcement_health_overviews_service_health_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property healthOverviews in admin @@ -154,7 +154,7 @@ func (m *ServiceAnnouncementHealthOverviewsServiceHealthItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_issues_item_incident_report_request_builder.go b/admin/service_announcement_issues_item_incident_report_request_builder.go index 4f222d7a32f..4a8b7241344 100644 --- a/admin/service_announcement_issues_item_incident_report_request_builder.go +++ b/admin/service_announcement_issues_item_incident_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ServiceAnnouncementIssuesItemIncidentReportRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/admin/service_announcement_issues_request_builder.go b/admin/service_announcement_issues_request_builder.go index dc4a96a542b..ec9677e6cb7 100644 --- a/admin/service_announcement_issues_request_builder.go +++ b/admin/service_announcement_issues_request_builder.go @@ -128,7 +128,7 @@ func (m *ServiceAnnouncementIssuesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to issues for admin @@ -141,7 +141,7 @@ func (m *ServiceAnnouncementIssuesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_issues_service_health_issue_item_request_builder.go b/admin/service_announcement_issues_service_health_issue_item_request_builder.go index 289b324799a..3e56cd3e0fa 100644 --- a/admin/service_announcement_issues_service_health_issue_item_request_builder.go +++ b/admin/service_announcement_issues_service_health_issue_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property issues in admin @@ -154,7 +154,7 @@ func (m *ServiceAnnouncementIssuesServiceHealthIssueItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_messages_archive_request_builder.go b/admin/service_announcement_messages_archive_request_builder.go index fc12c5cf7b0..b385111bfb6 100644 --- a/admin/service_announcement_messages_archive_request_builder.go +++ b/admin/service_announcement_messages_archive_request_builder.go @@ -85,7 +85,7 @@ func (m *ServiceAnnouncementMessagesArchiveRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_messages_favorite_request_builder.go b/admin/service_announcement_messages_favorite_request_builder.go index 372538a41e9..1cc116683b5 100644 --- a/admin/service_announcement_messages_favorite_request_builder.go +++ b/admin/service_announcement_messages_favorite_request_builder.go @@ -85,7 +85,7 @@ func (m *ServiceAnnouncementMessagesFavoriteRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_messages_item_attachments_archive_request_builder.go b/admin/service_announcement_messages_item_attachments_archive_request_builder.go index f63d15ccde5..95de64c50c6 100644 --- a/admin/service_announcement_messages_item_attachments_archive_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_archive_request_builder.go @@ -88,7 +88,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsArchiveRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the zip file of all attachments for a message. @@ -101,7 +101,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsArchiveRequestBuilder) ToPutR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/admin/service_announcement_messages_item_attachments_item_content_request_builder.go b/admin/service_announcement_messages_item_attachments_item_content_request_builder.go index ec3ccc481e5..63e5466c64a 100644 --- a/admin/service_announcement_messages_item_attachments_item_content_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_item_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsItemContentRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the attachment content. @@ -102,7 +102,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsItemContentRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/admin/service_announcement_messages_item_attachments_request_builder.go b/admin/service_announcement_messages_item_attachments_request_builder.go index 243914b9d6f..ad1a8814009 100644 --- a/admin/service_announcement_messages_item_attachments_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_request_builder.go @@ -128,7 +128,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attachments for admin @@ -141,7 +141,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go b/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go index 0a3dc3b62fa..a22f2b8b938 100644 --- a/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go +++ b/admin/service_announcement_messages_item_attachments_service_announcement_attachment_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a serviceAnnouncementAttachment object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attachments in admin @@ -154,7 +154,7 @@ func (m *ServiceAnnouncementMessagesItemAttachmentsServiceAnnouncementAttachment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_messages_mark_read_request_builder.go b/admin/service_announcement_messages_mark_read_request_builder.go index 453e915b79c..ff3bdadad57 100644 --- a/admin/service_announcement_messages_mark_read_request_builder.go +++ b/admin/service_announcement_messages_mark_read_request_builder.go @@ -85,7 +85,7 @@ func (m *ServiceAnnouncementMessagesMarkReadRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_messages_mark_unread_request_builder.go b/admin/service_announcement_messages_mark_unread_request_builder.go index d75ab1f9090..2a5fe90fa3b 100644 --- a/admin/service_announcement_messages_mark_unread_request_builder.go +++ b/admin/service_announcement_messages_mark_unread_request_builder.go @@ -85,7 +85,7 @@ func (m *ServiceAnnouncementMessagesMarkUnreadRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_messages_request_builder.go b/admin/service_announcement_messages_request_builder.go index 4341494c54c..d87564eb634 100644 --- a/admin/service_announcement_messages_request_builder.go +++ b/admin/service_announcement_messages_request_builder.go @@ -144,7 +144,7 @@ func (m *ServiceAnnouncementMessagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to messages for admin @@ -157,7 +157,7 @@ func (m *ServiceAnnouncementMessagesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_messages_service_update_message_item_request_builder.go b/admin/service_announcement_messages_service_update_message_item_request_builder.go index 91fcd6ae3b0..7a5d527dee5 100644 --- a/admin/service_announcement_messages_service_update_message_item_request_builder.go +++ b/admin/service_announcement_messages_service_update_message_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -145,7 +145,7 @@ func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property messages in admin @@ -158,7 +158,7 @@ func (m *ServiceAnnouncementMessagesServiceUpdateMessageItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_messages_unarchive_request_builder.go b/admin/service_announcement_messages_unarchive_request_builder.go index 7c06471ae4c..f4a647789f6 100644 --- a/admin/service_announcement_messages_unarchive_request_builder.go +++ b/admin/service_announcement_messages_unarchive_request_builder.go @@ -85,7 +85,7 @@ func (m *ServiceAnnouncementMessagesUnarchiveRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_messages_unfavorite_request_builder.go b/admin/service_announcement_messages_unfavorite_request_builder.go index 8ff304ecbfd..fe7f7040a75 100644 --- a/admin/service_announcement_messages_unfavorite_request_builder.go +++ b/admin/service_announcement_messages_unfavorite_request_builder.go @@ -85,7 +85,7 @@ func (m *ServiceAnnouncementMessagesUnfavoriteRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/service_announcement_request_builder.go b/admin/service_announcement_request_builder.go index 9eaf79ff516..043a0fb04d9 100644 --- a/admin/service_announcement_request_builder.go +++ b/admin/service_announcement_request_builder.go @@ -130,7 +130,7 @@ func (m *ServiceAnnouncementRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a container for service communications resources. Read-only. @@ -146,7 +146,7 @@ func (m *ServiceAnnouncementRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property serviceAnnouncement in admin @@ -159,7 +159,7 @@ func (m *ServiceAnnouncementRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/sharepoint_request_builder.go b/admin/sharepoint_request_builder.go index 153e71064c4..a71810711a5 100644 --- a/admin/sharepoint_request_builder.go +++ b/admin/sharepoint_request_builder.go @@ -122,7 +122,7 @@ func (m *SharepointRequestBuilder) ToDeleteRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sharepoint from admin @@ -138,7 +138,7 @@ func (m *SharepointRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharepoint in admin @@ -151,7 +151,7 @@ func (m *SharepointRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/sharepoint_settings_request_builder.go b/admin/sharepoint_settings_request_builder.go index 846c62a14b2..f7ddde030cd 100644 --- a/admin/sharepoint_settings_request_builder.go +++ b/admin/sharepoint_settings_request_builder.go @@ -124,7 +124,7 @@ func (m *SharepointSettingsRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *SharepointSettingsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update one or more tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *SharepointSettingsRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/todo_request_builder.go b/admin/todo_request_builder.go index 90b7643be5e..0a3d130a1aa 100644 --- a/admin/todo_request_builder.go +++ b/admin/todo_request_builder.go @@ -124,7 +124,7 @@ func (m *TodoRequestBuilder) ToDeleteRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a adminTodo object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *TodoRequestBuilder) ToGetRequestInformation(ctx context.Context, reques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a adminTodo object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *TodoRequestBuilder) ToPatchRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_request_builder.go b/admin/windows_request_builder.go index 5d9bd0a6ef2..882d3a7cb34 100644 --- a/admin/windows_request_builder.go +++ b/admin/windows_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a container for all Windows administrator functionalities. Read-only. @@ -134,7 +134,7 @@ func (m *WindowsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windows in admin @@ -147,7 +147,7 @@ func (m *WindowsRequestBuilder) ToPatchRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_catalog_entries_catalog_entry_item_request_builder.go b/admin/windows_updates_catalog_entries_catalog_entry_item_request_builder.go index 0b4a88426b9..c1ec0d4a7ff 100644 --- a/admin/windows_updates_catalog_entries_catalog_entry_item_request_builder.go +++ b/admin/windows_updates_catalog_entries_catalog_entry_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsUpdatesCatalogEntriesCatalogEntryItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation lists the content that you can approve for deployment. Read-only. @@ -134,7 +134,7 @@ func (m *WindowsUpdatesCatalogEntriesCatalogEntryItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property entries in admin @@ -147,7 +147,7 @@ func (m *WindowsUpdatesCatalogEntriesCatalogEntryItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_catalog_entries_request_builder.go b/admin/windows_updates_catalog_entries_request_builder.go index 59183ebea44..245c911552c 100644 --- a/admin/windows_updates_catalog_entries_request_builder.go +++ b/admin/windows_updates_catalog_entries_request_builder.go @@ -128,7 +128,7 @@ func (m *WindowsUpdatesCatalogEntriesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to entries for admin @@ -141,7 +141,7 @@ func (m *WindowsUpdatesCatalogEntriesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_catalog_request_builder.go b/admin/windows_updates_catalog_request_builder.go index b8e80068100..666fcdedf88 100644 --- a/admin/windows_updates_catalog_request_builder.go +++ b/admin/windows_updates_catalog_request_builder.go @@ -122,7 +122,7 @@ func (m *WindowsUpdatesCatalogRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation catalog of content that can be approved for deployment by the deployment service. Read-only. @@ -138,7 +138,7 @@ func (m *WindowsUpdatesCatalogRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property catalog in admin @@ -151,7 +151,7 @@ func (m *WindowsUpdatesCatalogRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go b/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go index d152d252266..d4f05e40206 100644 --- a/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go +++ b/admin/windows_updates_deployment_audiences_deployment_audience_item_request_builder.go @@ -140,7 +140,7 @@ func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a deploymentAudience object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deploymentAudiences in admin @@ -169,7 +169,7 @@ func (m *WindowsUpdatesDeploymentAudiencesDeploymentAudienceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 562cb2aec36..b32cf5f8797 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go index 54f39fc47b4..62f2374fb0c 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 7fe876f1cb9..c96443150b1 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go index c3fe8fa394b..6fc9c2a4451 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index 68a4c98ea5b..1be0d595628 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go index ef5984290d9..ecd59cbe2e0 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index 9f8d529e936..b98157094b2 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index 000179c5c87..a2561623739 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go index ba2e20c1aa1..e175a618ac6 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_request_builder.go @@ -144,7 +144,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to exclusions for admin @@ -157,7 +157,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_exclusions_updatable_asset_item_request_builder.go b/admin/windows_updates_deployment_audiences_item_exclusions_updatable_asset_item_request_builder.go index 7e3dd076eed..b9b887cc6a4 100644 --- a/admin/windows_updates_deployment_audiences_item_exclusions_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_exclusions_updatable_asset_item_request_builder.go @@ -134,7 +134,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsUpdatableAssetItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation specifies the assets to exclude from the audience. @@ -150,7 +150,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsUpdatableAssetItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exclusions in admin @@ -163,7 +163,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemExclusionsUpdatableAssetItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 842070c207e..c93b99e3497 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go index e3fb64e2b42..153997c54e7 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 5208f6c57bf..21dd17f721b 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 54ca7fa1bd5..6a5957ce182 100644 --- a/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersItemMicrosoftGraphWindowsUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index 8a6c2611755..14f70dac49a 100644 --- a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go index 53112d079e8..141b10c7563 100644 --- a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index f3738d3f826..cc50758c233 100644 --- a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index e937075baac..6d1dfb87441 100644 --- a/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersMicrosoftGraphWindowsUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_members_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_request_builder.go index e94fb9a4884..4f2505cecce 100644 --- a/admin/windows_updates_deployment_audiences_item_members_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_request_builder.go @@ -144,7 +144,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to members for admin @@ -157,7 +157,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_members_updatable_asset_item_request_builder.go b/admin/windows_updates_deployment_audiences_item_members_updatable_asset_item_request_builder.go index f588b0fb903..7f4dc44febf 100644 --- a/admin/windows_updates_deployment_audiences_item_members_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_members_updatable_asset_item_request_builder.go @@ -134,7 +134,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersUpdatableAssetItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation specifies the assets to include in the audience. @@ -150,7 +150,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersUpdatableAssetItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in admin @@ -163,7 +163,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMembersUpdatableAssetItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go index a7080db14b3..256586f96df 100644 --- a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go index db09ac9919c..277849c667e 100644 --- a/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go +++ b/admin/windows_updates_deployment_audiences_item_microsoft_graph_windows_updates_update_audience_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentAudiencesItemMicrosoftGraphWindowsUpdatesUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployment_audiences_request_builder.go b/admin/windows_updates_deployment_audiences_request_builder.go index c5586c9be3f..26571e08290 100644 --- a/admin/windows_updates_deployment_audiences_request_builder.go +++ b/admin/windows_updates_deployment_audiences_request_builder.go @@ -131,7 +131,7 @@ func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new deploymentAudience object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *WindowsUpdatesDeploymentAudiencesRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_deployment_item_request_builder.go b/admin/windows_updates_deployments_deployment_item_request_builder.go index 41a9680ed12..c95c553922f 100644 --- a/admin/windows_updates_deployments_deployment_item_request_builder.go +++ b/admin/windows_updates_deployments_deployment_item_request_builder.go @@ -131,7 +131,7 @@ func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a deployment object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a deployment object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *WindowsUpdatesDeploymentsDeploymentItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 7895635c698..b806b6c87b3 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go index d8b6686a7f4..637afa206fb 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index d58046bb65b..84e97b8f34d 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go index e4fd9178abe..594fb562286 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index 4499cb171a9..e1d48c3ca31 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go index f5e336c055a..e3d9df3b63a 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index 3fbd64aba9b..fc9e4ab204d 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index bff7c45bf40..3c4d9a9b6fd 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go index 7ce2ebe22ea..2dfdd1ecad2 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_request_builder.go @@ -144,7 +144,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to exclusions for admin @@ -157,7 +157,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_exclusions_updatable_asset_item_request_builder.go b/admin/windows_updates_deployments_item_audience_exclusions_updatable_asset_item_request_builder.go index 1f6a8b42925..6369a93dcc9 100644 --- a/admin/windows_updates_deployments_item_audience_exclusions_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_exclusions_updatable_asset_item_request_builder.go @@ -134,7 +134,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsUpdatableAssetItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation specifies the assets to exclude from the audience. @@ -150,7 +150,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsUpdatableAssetItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exclusions in admin @@ -163,7 +163,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceExclusionsUpdatableAssetItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 3f830369ad1..08ab394d939 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go index 9a9fc4923d6..04f8049071c 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index a7b282458c5..c6b0302ad33 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 55116218302..0e471552660 100644 --- a/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersItemMicrosoftGraphWindowsUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index 4f004f2a089..53c61e1142c 100644 --- a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go index 198f8c39edf..b8c4dbf2648 100644 --- a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index 50bee1a80b3..7eed03c8788 100644 --- a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index c48db26c494..41e6acd18d4 100644 --- a/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersMicrosoftGraphWindowsUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_members_request_builder.go b/admin/windows_updates_deployments_item_audience_members_request_builder.go index 777c72f5487..4cbb8001823 100644 --- a/admin/windows_updates_deployments_item_audience_members_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_request_builder.go @@ -144,7 +144,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to members for admin @@ -157,7 +157,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_members_updatable_asset_item_request_builder.go b/admin/windows_updates_deployments_item_audience_members_updatable_asset_item_request_builder.go index a5a814e0a76..13cb2eb0ad0 100644 --- a/admin/windows_updates_deployments_item_audience_members_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_members_updatable_asset_item_request_builder.go @@ -134,7 +134,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersUpdatableAssetItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation specifies the assets to include in the audience. @@ -150,7 +150,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersUpdatableAssetItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in admin @@ -163,7 +163,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMembersUpdatableAssetItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go index 893a3be893a..b1f0f92aaa5 100644 --- a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go index d61edc1bb36..5ebd3ad77ae 100644 --- a/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceMicrosoftGraphWindowsUpdatesUpdate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_item_audience_request_builder.go b/admin/windows_updates_deployments_item_audience_request_builder.go index aafd3a7c4c3..e673b1906cf 100644 --- a/admin/windows_updates_deployments_item_audience_request_builder.go +++ b/admin/windows_updates_deployments_item_audience_request_builder.go @@ -134,7 +134,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation specifies the audience to which content is deployed. @@ -150,7 +150,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property audience in admin @@ -163,7 +163,7 @@ func (m *WindowsUpdatesDeploymentsItemAudienceRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_deployments_request_builder.go b/admin/windows_updates_deployments_request_builder.go index aa12c67cccc..365fac9e656 100644 --- a/admin/windows_updates_deployments_request_builder.go +++ b/admin/windows_updates_deployments_request_builder.go @@ -131,7 +131,7 @@ func (m *WindowsUpdatesDeploymentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new deployment object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *WindowsUpdatesDeploymentsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_request_builder.go b/admin/windows_updates_request_builder.go index fc02b0b7008..5eeb59a5e4f 100644 --- a/admin/windows_updates_request_builder.go +++ b/admin/windows_updates_request_builder.go @@ -134,7 +134,7 @@ func (m *WindowsUpdatesRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only. @@ -150,7 +150,7 @@ func (m *WindowsUpdatesRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property updates in admin @@ -163,7 +163,7 @@ func (m *WindowsUpdatesRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_resource_connections_request_builder.go b/admin/windows_updates_resource_connections_request_builder.go index aab13673abe..772043745a3 100644 --- a/admin/windows_updates_resource_connections_request_builder.go +++ b/admin/windows_updates_resource_connections_request_builder.go @@ -131,7 +131,7 @@ func (m *WindowsUpdatesResourceConnectionsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new operationalInsightsConnection object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *WindowsUpdatesResourceConnectionsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go b/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go index ffaaab2c5cb..e1de8c88a2e 100644 --- a/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go +++ b/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go @@ -54,10 +54,10 @@ func NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a resourceConnection object. This API is available in the following national cloud deployments. +// Delete delete an operationalInsightsConnection object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-1.0 func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -114,7 +114,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable), nil } -// ToDeleteRequestInformation delete a resourceConnection object. This API is available in the following national cloud deployments. +// ToDeleteRequestInformation delete an operationalInsightsConnection object. This API is available in the following national cloud deployments. func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -124,7 +124,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an operationalInsightsConnection object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceConnections in admin @@ -153,7 +153,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index b19180dc2b3..f000ef9491e 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembers requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go index 741c2047af9..e783fdc0c81 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesAddMembers requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index e9c85210827..64a8239c429 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMemb requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 983cfb9ecb0..0e09782fab5 100644 --- a/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_updatable_assets_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatableAssetsItemMicrosoftGraphWindowsUpdatesRemoveMemb requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index e5497e9b4f8..116f5744d0e 100644 --- a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesEnrollAssetsBy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_request_builder.go index 3602322579b..23e883c5499 100644 --- a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesEnrollAssetsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index 92304442498..7107820b1e3 100644 --- a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssets requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index ee492db594d..c18b3e6d03b 100644 --- a/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_updatable_assets_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatableAssetsMicrosoftGraphWindowsUpdatesUnenrollAssets requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_updatable_assets_request_builder.go b/admin/windows_updates_updatable_assets_request_builder.go index c88bacace0b..472be15ad84 100644 --- a/admin/windows_updates_updatable_assets_request_builder.go +++ b/admin/windows_updates_updatable_assets_request_builder.go @@ -147,7 +147,7 @@ func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new updatableAssetGroup object. The updatableAssetGroup resource inherits from updatableAsset. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *WindowsUpdatesUpdatableAssetsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go index f9b62806c9c..780a44ac172 100644 --- a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go @@ -54,10 +54,10 @@ func NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete 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 delete an updatableAsset object. This API is available in the following national cloud deployments. // [Find more info here] // -// [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 func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -130,7 +130,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Patch(ct } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToDeleteRequestInformation 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. +// ToDeleteRequestInformation delete an updatableAsset object. This API is available in the following national cloud deployments. func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -140,7 +140,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of an azureADDevice object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property updatableAssets in admin @@ -169,7 +169,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index abb294c7c31..0c34a954ecb 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go index c1bb210fe6e..0d51d93a5a6 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index b1526e4ca84..c9ed5d739b7 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go index 5aa50c9f23a..0f07e976bfa 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsItemMicrosoftGraphWin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index b23d1f93eac..f816eb4bc49 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindows requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go index 902d27b437b..2c186181d9a 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindows requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index a5ce6426ee9..e7851e16833 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindows requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index 1a2fa271747..9b930963830 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsMicrosoftGraphWindows requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go index 5a175b3d52e..70493e2e88d 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_request_builder.go @@ -144,7 +144,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to exclusions for admin @@ -157,7 +157,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_exclusions_updatable_asset_item_request_builder.go b/admin/windows_updates_update_policies_item_audience_exclusions_updatable_asset_item_request_builder.go index 539c8534758..73f51f248e9 100644 --- a/admin/windows_updates_update_policies_item_audience_exclusions_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_exclusions_updatable_asset_item_request_builder.go @@ -134,7 +134,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsUpdatableAssetItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation specifies the assets to exclude from the audience. @@ -150,7 +150,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsUpdatableAssetItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exclusions in admin @@ -163,7 +163,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceExclusionsUpdatableAssetItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go index 2113ebd8e67..0bffcb01017 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go index 36d18b1823a..c7698cf199c 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_add_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go index 042797c27f8..f610e6f5d8a 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go index e3d495e7279..55504d907ba 100644 --- a/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_item_microsoft_graph_windows_updates_remove_members_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersItemMicrosoftGraphWindow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go index 0a1ffb82315..39af4cc8a0f 100644 --- a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go index 3c70e6239f2..3c51743e777 100644 --- a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_enroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go index 8e958427888..01bd799adcb 100644 --- a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go index 9ac4f7b043d..fbfb55fb5af 100644 --- a/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_microsoft_graph_windows_updates_unenroll_assets_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersMicrosoftGraphWindowsUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_members_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_request_builder.go index ebbebf21bcb..738028f3b4e 100644 --- a/admin/windows_updates_update_policies_item_audience_members_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_request_builder.go @@ -144,7 +144,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to members for admin @@ -157,7 +157,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_members_updatable_asset_item_request_builder.go b/admin/windows_updates_update_policies_item_audience_members_updatable_asset_item_request_builder.go index 6ab5a7a83df..2b1f9d73179 100644 --- a/admin/windows_updates_update_policies_item_audience_members_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_members_updatable_asset_item_request_builder.go @@ -134,7 +134,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersUpdatableAssetItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation specifies the assets to include in the audience. @@ -150,7 +150,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersUpdatableAssetItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in admin @@ -163,7 +163,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMembersUpdatableAssetItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go index ba59e210697..cb847395afa 100644 --- a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_by_id_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go index 6b118b50551..197d0b1a0da 100644 --- a/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_microsoft_graph_windows_updates_update_audience_request_builder.go @@ -59,7 +59,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceMicrosoftGraphWindowsUpdatesUpd requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_audience_request_builder.go b/admin/windows_updates_update_policies_item_audience_request_builder.go index c90360b1b4b..e4c69fdffd2 100644 --- a/admin/windows_updates_update_policies_item_audience_request_builder.go +++ b/admin/windows_updates_update_policies_item_audience_request_builder.go @@ -134,7 +134,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation specifies the audience to target. @@ -150,7 +150,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property audience in admin @@ -163,7 +163,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemAudienceRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go b/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go index 1168d254272..33dde1b596e 100644 --- a/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go +++ b/admin/windows_updates_update_policies_item_compliance_changes_compliance_change_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters read the properties and relationships of a complianceChange object. This API is available in the following national cloud deployments. +// WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters read the properties and relationships of a contentApproval object. This API is available in the following national cloud deployments. type WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,10 +54,10 @@ func NewWindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemReq urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a complianceChange object. This API is available in the following national cloud deployments. +// Delete delete a contentApproval object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,10 +73,10 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe } return nil } -// Get read the properties and relationships of a complianceChange object. This API is available in the following national cloud deployments. +// Get read the properties and relationships of a contentApproval object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-1.0 func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -117,7 +117,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ComplianceChangeable), nil } -// ToDeleteRequestInformation delete a complianceChange object. This API is available in the following national cloud deployments. +// ToDeleteRequestInformation delete a contentApproval object. This API is available in the following national cloud deployments. func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -127,10 +127,10 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a complianceChange object. This API is available in the following national cloud deployments. +// ToGetRequestInformation read the properties and relationships of a contentApproval object. This API is available in the following national cloud deployments. func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -143,7 +143,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a contentApproval object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesComplianceChangeItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_item_compliance_changes_item_update_policy_request_builder.go b/admin/windows_updates_update_policies_item_compliance_changes_item_update_policy_request_builder.go index 46aeb187672..c0c74c7321e 100644 --- a/admin/windows_updates_update_policies_item_compliance_changes_item_update_policy_request_builder.go +++ b/admin/windows_updates_update_policies_item_compliance_changes_item_update_policy_request_builder.go @@ -72,7 +72,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesItemUpdatePolicyReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go b/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go index e8722dea2de..fe63eb1b1ac 100644 --- a/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go +++ b/admin/windows_updates_update_policies_item_compliance_changes_request_builder.go @@ -131,7 +131,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new contentApproval object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *WindowsUpdatesUpdatePoliciesItemComplianceChangesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_request_builder.go b/admin/windows_updates_update_policies_request_builder.go index 3aa85194ec8..46f2f0a2a5e 100644 --- a/admin/windows_updates_update_policies_request_builder.go +++ b/admin/windows_updates_update_policies_request_builder.go @@ -131,7 +131,7 @@ func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new updatePolicy object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *WindowsUpdatesUpdatePoliciesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/admin/windows_updates_update_policies_update_policy_item_request_builder.go b/admin/windows_updates_update_policies_update_policy_item_request_builder.go index 1c0d42473d0..c3b8f32280f 100644 --- a/admin/windows_updates_update_policies_update_policy_item_request_builder.go +++ b/admin/windows_updates_update_policies_update_policy_item_request_builder.go @@ -135,7 +135,7 @@ func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an updatePolicy object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an updatePolicy object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *WindowsUpdatesUpdatePoliciesUpdatePolicyItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/administrative_unit_item_request_builder.go b/administrativeunits/administrative_unit_item_request_builder.go index 54df946ba45..74a02606123 100644 --- a/administrativeunits/administrative_unit_item_request_builder.go +++ b/administrativeunits/administrative_unit_item_request_builder.go @@ -159,7 +159,7 @@ func (m *AdministrativeUnitItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -175,7 +175,7 @@ func (m *AdministrativeUnitItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an administrativeUnit object. This API is available in the following national cloud deployments. @@ -188,7 +188,7 @@ func (m *AdministrativeUnitItemRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/administrative_units_request_builder.go b/administrativeunits/administrative_units_request_builder.go index 471f4d0166d..a7d9eed4b16 100644 --- a/administrativeunits/administrative_units_request_builder.go +++ b/administrativeunits/administrative_units_request_builder.go @@ -143,7 +143,7 @@ func (m *AdministrativeUnitsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new administrativeUnit. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *AdministrativeUnitsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/delta_request_builder.go b/administrativeunits/delta_request_builder.go index 70f12ddfce2..428975b677f 100644 --- a/administrativeunits/delta_request_builder.go +++ b/administrativeunits/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/get_by_ids_request_builder.go b/administrativeunits/get_by_ids_request_builder.go index 34c10f64b14..dbfb91147b4 100644 --- a/administrativeunits/get_by_ids_request_builder.go +++ b/administrativeunits/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/get_user_owned_objects_request_builder.go b/administrativeunits/get_user_owned_objects_request_builder.go index 1555e16e829..f75f5ea2121 100644 --- a/administrativeunits/get_user_owned_objects_request_builder.go +++ b/administrativeunits/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/item_check_member_groups_request_builder.go b/administrativeunits/item_check_member_groups_request_builder.go index badc4bed0cd..af0c7803055 100644 --- a/administrativeunits/item_check_member_groups_request_builder.go +++ b/administrativeunits/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/item_check_member_objects_request_builder.go b/administrativeunits/item_check_member_objects_request_builder.go index 68dd25661b1..ea2f36fbeed 100644 --- a/administrativeunits/item_check_member_objects_request_builder.go +++ b/administrativeunits/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/item_extensions_extension_item_request_builder.go b/administrativeunits/item_extensions_extension_item_request_builder.go index 5ba7804c485..e41d17a44dd 100644 --- a/administrativeunits/item_extensions_extension_item_request_builder.go +++ b/administrativeunits/item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for this administrative unit. Nullable. @@ -134,7 +134,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in administrativeUnits @@ -147,7 +147,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/item_extensions_request_builder.go b/administrativeunits/item_extensions_request_builder.go index e1b4e32a1f6..cdc583beb4d 100644 --- a/administrativeunits/item_extensions_request_builder.go +++ b/administrativeunits/item_extensions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for administrativeUnits @@ -138,7 +138,7 @@ func (m *ItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/item_get_member_groups_request_builder.go b/administrativeunits/item_get_member_groups_request_builder.go index 5cd9493509d..49fa690a8b7 100644 --- a/administrativeunits/item_get_member_groups_request_builder.go +++ b/administrativeunits/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/item_get_member_objects_request_builder.go b/administrativeunits/item_get_member_objects_request_builder.go index 15cf7783cb8..145d54fd8e1 100644 --- a/administrativeunits/item_get_member_objects_request_builder.go +++ b/administrativeunits/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/item_members_graph_application_request_builder.go b/administrativeunits/item_members_graph_application_request_builder.go index 4044e93f2c0..63419e22eb7 100644 --- a/administrativeunits/item_members_graph_application_request_builder.go +++ b/administrativeunits/item_members_graph_application_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphApplicationRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_graph_device_request_builder.go b/administrativeunits/item_members_graph_device_request_builder.go index 5db2524e4de..3e75c62c1a0 100644 --- a/administrativeunits/item_members_graph_device_request_builder.go +++ b/administrativeunits/item_members_graph_device_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphDeviceRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_graph_group_request_builder.go b/administrativeunits/item_members_graph_group_request_builder.go index 6fffb9bdf60..2b8695599bc 100644 --- a/administrativeunits/item_members_graph_group_request_builder.go +++ b/administrativeunits/item_members_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphGroupRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_graph_org_contact_request_builder.go b/administrativeunits/item_members_graph_org_contact_request_builder.go index b79f85e3248..761197f00b7 100644 --- a/administrativeunits/item_members_graph_org_contact_request_builder.go +++ b/administrativeunits/item_members_graph_org_contact_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphOrgContactRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_graph_service_principal_request_builder.go b/administrativeunits/item_members_graph_service_principal_request_builder.go index 3fd11754836..e4744068fe6 100644 --- a/administrativeunits/item_members_graph_service_principal_request_builder.go +++ b/administrativeunits/item_members_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphServicePrincipalRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_graph_user_request_builder.go b/administrativeunits/item_members_graph_user_request_builder.go index f823f49ed57..fdfd4615864 100644 --- a/administrativeunits/item_members_graph_user_request_builder.go +++ b/administrativeunits/item_members_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphUserRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_item_graph_application_request_builder.go b/administrativeunits/item_members_item_graph_application_request_builder.go index 74276e1c089..5196a15ca8b 100644 --- a/administrativeunits/item_members_item_graph_application_request_builder.go +++ b/administrativeunits/item_members_item_graph_application_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphApplicationRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_item_graph_device_request_builder.go b/administrativeunits/item_members_item_graph_device_request_builder.go index 5e3bbbeec29..d8fbb526856 100644 --- a/administrativeunits/item_members_item_graph_device_request_builder.go +++ b/administrativeunits/item_members_item_graph_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphDeviceRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_item_graph_group_request_builder.go b/administrativeunits/item_members_item_graph_group_request_builder.go index 99d552e4ee1..db950fa5db0 100644 --- a/administrativeunits/item_members_item_graph_group_request_builder.go +++ b/administrativeunits/item_members_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_item_graph_org_contact_request_builder.go b/administrativeunits/item_members_item_graph_org_contact_request_builder.go index 47f4de60af3..6eb05b221c6 100644 --- a/administrativeunits/item_members_item_graph_org_contact_request_builder.go +++ b/administrativeunits/item_members_item_graph_org_contact_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphOrgContactRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_item_graph_service_principal_request_builder.go b/administrativeunits/item_members_item_graph_service_principal_request_builder.go index 38c842eef1e..ed453e65925 100644 --- a/administrativeunits/item_members_item_graph_service_principal_request_builder.go +++ b/administrativeunits/item_members_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphServicePrincipalRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_item_graph_user_request_builder.go b/administrativeunits/item_members_item_graph_user_request_builder.go index 8612276832a..e78f6698fff 100644 --- a/administrativeunits/item_members_item_graph_user_request_builder.go +++ b/administrativeunits/item_members_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_item_ref_request_builder.go b/administrativeunits/item_members_item_ref_request_builder.go index 2145728cc92..729c02d18ef 100644 --- a/administrativeunits/item_members_item_ref_request_builder.go +++ b/administrativeunits/item_members_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *ItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_members_ref_request_builder.go b/administrativeunits/item_members_ref_request_builder.go index 5e8657f269f..e48e138cb82 100644 --- a/administrativeunits/item_members_ref_request_builder.go +++ b/administrativeunits/item_members_ref_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to members for administrativeUnits @@ -119,7 +119,7 @@ func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/item_members_request_builder.go b/administrativeunits/item_members_request_builder.go index 26d4472fff9..fea7b74b5b0 100644 --- a/administrativeunits/item_members_request_builder.go +++ b/administrativeunits/item_members_request_builder.go @@ -156,7 +156,7 @@ func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to members for administrativeUnits @@ -169,7 +169,7 @@ func (m *ItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/item_restore_request_builder.go b/administrativeunits/item_restore_request_builder.go index 843cb2a2b19..b7aa990a91e 100644 --- a/administrativeunits/item_restore_request_builder.go +++ b/administrativeunits/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/administrativeunits/item_scoped_role_members_request_builder.go b/administrativeunits/item_scoped_role_members_request_builder.go index 1312fd68f4e..2cfe55f005e 100644 --- a/administrativeunits/item_scoped_role_members_request_builder.go +++ b/administrativeunits/item_scoped_role_members_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemScopedRoleMembersRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemScopedRoleMembersRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go b/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go index 7375b4cd919..28de4a3ee13 100644 --- a/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go +++ b/administrativeunits/item_scoped_role_members_scoped_role_membership_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property scopedRoleMembers in administrativeUnits @@ -153,7 +153,7 @@ func (m *ItemScopedRoleMembersScopedRoleMembershipItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/administrativeunits/validate_properties_request_builder.go b/administrativeunits/validate_properties_request_builder.go index ccc4c59d823..3a6695d9ab3 100644 --- a/administrativeunits/validate_properties_request_builder.go +++ b/administrativeunits/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreementacceptances/agreement_acceptance_item_request_builder.go b/agreementacceptances/agreement_acceptance_item_request_builder.go index 7aed04dc155..f52d43ad206 100644 --- a/agreementacceptances/agreement_acceptance_item_request_builder.go +++ b/agreementacceptances/agreement_acceptance_item_request_builder.go @@ -116,7 +116,7 @@ func (m *AgreementAcceptanceItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from agreementAcceptances by key @@ -132,7 +132,7 @@ func (m *AgreementAcceptanceItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in agreementAcceptances @@ -145,7 +145,7 @@ func (m *AgreementAcceptanceItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreementacceptances/agreement_acceptances_request_builder.go b/agreementacceptances/agreement_acceptances_request_builder.go index 7840f507a55..ae5c763ec10 100644 --- a/agreementacceptances/agreement_acceptances_request_builder.go +++ b/agreementacceptances/agreement_acceptances_request_builder.go @@ -109,7 +109,7 @@ func (m *AgreementAcceptancesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to agreementAcceptances @@ -122,7 +122,7 @@ func (m *AgreementAcceptancesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/agreement_item_request_builder.go b/agreements/agreement_item_request_builder.go index 3a3e10c0396..e461e5c3315 100644 --- a/agreements/agreement_item_request_builder.go +++ b/agreements/agreement_item_request_builder.go @@ -128,7 +128,7 @@ func (m *AgreementItemRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from agreements by key @@ -144,7 +144,7 @@ func (m *AgreementItemRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in agreements @@ -157,7 +157,7 @@ func (m *AgreementItemRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/agreements_request_builder.go b/agreements/agreements_request_builder.go index 85054805705..2e9aad9f674 100644 --- a/agreements/agreements_request_builder.go +++ b/agreements/agreements_request_builder.go @@ -109,7 +109,7 @@ func (m *AgreementsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to agreements @@ -122,7 +122,7 @@ func (m *AgreementsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_acceptances_agreement_acceptance_item_request_builder.go b/agreements/item_acceptances_agreement_acceptance_item_request_builder.go index 557f0834f83..174ea77e103 100644 --- a/agreements/item_acceptances_agreement_acceptance_item_request_builder.go +++ b/agreements/item_acceptances_agreement_acceptance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemAcceptancesAgreementAcceptanceItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Information about acceptances of this agreement. @@ -134,7 +134,7 @@ func (m *ItemAcceptancesAgreementAcceptanceItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property acceptances in agreements @@ -147,7 +147,7 @@ func (m *ItemAcceptancesAgreementAcceptanceItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_acceptances_request_builder.go b/agreements/item_acceptances_request_builder.go index 9c2ae4fba49..73b1a72d0df 100644 --- a/agreements/item_acceptances_request_builder.go +++ b/agreements/item_acceptances_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemAcceptancesRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to acceptances for agreements @@ -141,7 +141,7 @@ func (m *ItemAcceptancesRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_file_localizations_agreement_file_localization_item_request_builder.go b/agreements/item_file_localizations_agreement_file_localization_item_request_builder.go index 4bbe44d88db..00846d053e0 100644 --- a/agreements/item_file_localizations_agreement_file_localization_item_request_builder.go +++ b/agreements/item_file_localizations_agreement_file_localization_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the localized version of the terms of use agreement files attached to the agreement. @@ -134,7 +134,7 @@ func (m *ItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property localizations in agreements @@ -147,7 +147,7 @@ func (m *ItemFileLocalizationsAgreementFileLocalizationItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_file_localizations_item_versions_agreement_file_version_item_request_builder.go b/agreements/item_file_localizations_item_versions_agreement_file_version_item_request_builder.go index 9d769f645fc..b81bd9d61c2 100644 --- a/agreements/item_file_localizations_item_versions_agreement_file_version_item_request_builder.go +++ b/agreements/item_file_localizations_item_versions_agreement_file_version_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. @@ -134,7 +134,7 @@ func (m *ItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property versions in agreements @@ -147,7 +147,7 @@ func (m *ItemFileLocalizationsItemVersionsAgreementFileVersionItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_file_localizations_item_versions_request_builder.go b/agreements/item_file_localizations_item_versions_request_builder.go index ed07c1ed10e..2a8d57feee5 100644 --- a/agreements/item_file_localizations_item_versions_request_builder.go +++ b/agreements/item_file_localizations_item_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemFileLocalizationsItemVersionsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to versions for agreements @@ -138,7 +138,7 @@ func (m *ItemFileLocalizationsItemVersionsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_file_localizations_request_builder.go b/agreements/item_file_localizations_request_builder.go index 0b0b48962f4..6ee0e6426d9 100644 --- a/agreements/item_file_localizations_request_builder.go +++ b/agreements/item_file_localizations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemFileLocalizationsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to localizations for agreements @@ -141,7 +141,7 @@ func (m *ItemFileLocalizationsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_file_request_builder.go b/agreements/item_file_request_builder.go index 8950a520959..2f0b5ac6443 100644 --- a/agreements/item_file_request_builder.go +++ b/agreements/item_file_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemFileRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemFileRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property file in agreements @@ -154,7 +154,7 @@ func (m *ItemFileRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_files_agreement_file_localization_item_request_builder.go b/agreements/item_files_agreement_file_localization_item_request_builder.go index 9ab6bb1b78e..5f9cb1f7cf6 100644 --- a/agreements/item_files_agreement_file_localization_item_request_builder.go +++ b/agreements/item_files_agreement_file_localization_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemFilesAgreementFileLocalizationItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation pDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. @@ -134,7 +134,7 @@ func (m *ItemFilesAgreementFileLocalizationItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in agreements @@ -147,7 +147,7 @@ func (m *ItemFilesAgreementFileLocalizationItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_files_item_versions_agreement_file_version_item_request_builder.go b/agreements/item_files_item_versions_agreement_file_version_item_request_builder.go index d5d2f8864fe..6485c304907 100644 --- a/agreements/item_files_item_versions_agreement_file_version_item_request_builder.go +++ b/agreements/item_files_item_versions_agreement_file_version_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. @@ -134,7 +134,7 @@ func (m *ItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property versions in agreements @@ -147,7 +147,7 @@ func (m *ItemFilesItemVersionsAgreementFileVersionItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_files_item_versions_request_builder.go b/agreements/item_files_item_versions_request_builder.go index 5df9d983188..d4c9afcac4b 100644 --- a/agreements/item_files_item_versions_request_builder.go +++ b/agreements/item_files_item_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemFilesItemVersionsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to versions for agreements @@ -138,7 +138,7 @@ func (m *ItemFilesItemVersionsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/agreements/item_files_request_builder.go b/agreements/item_files_request_builder.go index 2e84dd75e0f..b66a6154a80 100644 --- a/agreements/item_files_request_builder.go +++ b/agreements/item_files_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemFilesRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new localized agreement file. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemFilesRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/alloweddatalocations/allowed_data_location_item_request_builder.go b/alloweddatalocations/allowed_data_location_item_request_builder.go index 488848d05e7..eb1c588014f 100644 --- a/alloweddatalocations/allowed_data_location_item_request_builder.go +++ b/alloweddatalocations/allowed_data_location_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AllowedDataLocationItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from allowedDataLocations by key @@ -134,7 +134,7 @@ func (m *AllowedDataLocationItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in allowedDataLocations @@ -147,7 +147,7 @@ func (m *AllowedDataLocationItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/alloweddatalocations/allowed_data_locations_request_builder.go b/alloweddatalocations/allowed_data_locations_request_builder.go index 560fa7ad9cb..59c1cac2b94 100644 --- a/alloweddatalocations/allowed_data_locations_request_builder.go +++ b/alloweddatalocations/allowed_data_locations_request_builder.go @@ -125,7 +125,7 @@ func (m *AllowedDataLocationsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to allowedDataLocations @@ -138,7 +138,7 @@ func (m *AllowedDataLocationsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/app_request_builder.go b/app/app_request_builder.go index ee185c9e93a..2554c5625cd 100644 --- a/app/app_request_builder.go +++ b/app/app_request_builder.go @@ -106,7 +106,7 @@ func (m *AppRequestBuilder) ToGetRequestInformation(ctx context.Context, request requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update app @@ -119,7 +119,7 @@ func (m *AppRequestBuilder) ToPatchRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_call_item_request_builder.go b/app/calls_call_item_request_builder.go index 708c6a734f0..d6f29391788 100644 --- a/app/calls_call_item_request_builder.go +++ b/app/calls_call_item_request_builder.go @@ -168,6 +168,10 @@ func (m *CallsCallItemRequestBuilder) Redirect()(*CallsItemRedirectRequestBuilde func (m *CallsCallItemRequestBuilder) Reject()(*CallsItemRejectRequestBuilder) { return NewCallsItemRejectRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// SendDtmfTones provides operations to call the sendDtmfTones method. +func (m *CallsCallItemRequestBuilder) SendDtmfTones()(*CallsItemSendDtmfTonesRequestBuilder) { + return NewCallsItemSendDtmfTonesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // SubscribeToTone provides operations to call the subscribeToTone method. func (m *CallsCallItemRequestBuilder) SubscribeToTone()(*CallsItemSubscribeToToneRequestBuilder) { return NewCallsItemSubscribeToToneRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -182,7 +186,7 @@ func (m *CallsCallItemRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get calls from app @@ -198,7 +202,7 @@ func (m *CallsCallItemRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property calls in app @@ -211,7 +215,7 @@ func (m *CallsCallItemRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_add_large_gallery_view_request_builder.go b/app/calls_item_add_large_gallery_view_request_builder.go index 9ec18371d38..19442c93c8e 100644 --- a/app/calls_item_add_large_gallery_view_request_builder.go +++ b/app/calls_item_add_large_gallery_view_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemAddLargeGalleryViewRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_answer_request_builder.go b/app/calls_item_answer_request_builder.go index 929a5b2a5b5..03eed2e9d43 100644 --- a/app/calls_item_answer_request_builder.go +++ b/app/calls_item_answer_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemAnswerRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go b/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go index be216ad7551..0d81e9f6183 100644 --- a/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go +++ b/app/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go @@ -127,7 +127,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation modify sources and receivers of an audioRoutingGroup. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_audio_routing_groups_request_builder.go b/app/calls_item_audio_routing_groups_request_builder.go index df8558e5904..fbba3a006f0 100644 --- a/app/calls_item_audio_routing_groups_request_builder.go +++ b/app/calls_item_audio_routing_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new audioRoutingGroup. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_cancel_media_processing_request_builder.go b/app/calls_item_cancel_media_processing_request_builder.go index 5c7339e6a5e..4e793ae6e6e 100644 --- a/app/calls_item_cancel_media_processing_request_builder.go +++ b/app/calls_item_cancel_media_processing_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemCancelMediaProcessingRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_change_screen_sharing_role_request_builder.go b/app/calls_item_change_screen_sharing_role_request_builder.go index 4cb9489d4a4..0d1e3566361 100644 --- a/app/calls_item_change_screen_sharing_role_request_builder.go +++ b/app/calls_item_change_screen_sharing_role_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemChangeScreenSharingRoleRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go b/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go index c7ebcf14b16..5025941c3f6 100644 --- a/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go +++ b/app/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go @@ -121,7 +121,7 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of a contentSharingSession object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentSharingSessions in app @@ -150,7 +150,7 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_content_sharing_sessions_request_builder.go b/app/calls_item_content_sharing_sessions_request_builder.go index 64c600ca0a1..1b3f4d0e841 100644 --- a/app/calls_item_content_sharing_sessions_request_builder.go +++ b/app/calls_item_content_sharing_sessions_request_builder.go @@ -128,7 +128,7 @@ func (m *CallsItemContentSharingSessionsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentSharingSessions for app @@ -141,7 +141,7 @@ func (m *CallsItemContentSharingSessionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_keep_alive_request_builder.go b/app/calls_item_keep_alive_request_builder.go index 70c02802091..f0a42c650cf 100644 --- a/app/calls_item_keep_alive_request_builder.go +++ b/app/calls_item_keep_alive_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemKeepAliveRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/app/calls_item_mute_request_builder.go b/app/calls_item_mute_request_builder.go index 44f5ac5851b..f69aecfad8a 100644 --- a/app/calls_item_mute_request_builder.go +++ b/app/calls_item_mute_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemMuteRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_operations_comms_operation_item_request_builder.go b/app/calls_item_operations_comms_operation_item_request_builder.go index 4ee57aeba07..d49162fe3ca 100644 --- a/app/calls_item_operations_comms_operation_item_request_builder.go +++ b/app/calls_item_operations_comms_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in app @@ -150,7 +150,7 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_operations_request_builder.go b/app/calls_item_operations_request_builder.go index 80292876a56..ffa5ad3d5eb 100644 --- a/app/calls_item_operations_request_builder.go +++ b/app/calls_item_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *CallsItemOperationsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for app @@ -138,7 +138,7 @@ func (m *CallsItemOperationsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_participants_invite_request_builder.go b/app/calls_item_participants_invite_request_builder.go index 1ca4813a94c..2bf2871baea 100644 --- a/app/calls_item_participants_invite_request_builder.go +++ b/app/calls_item_participants_invite_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_participants_item_mute_request_builder.go b/app/calls_item_participants_item_mute_request_builder.go index d21af18ab3c..20f889005ba 100644 --- a/app/calls_item_participants_item_mute_request_builder.go +++ b/app/calls_item_participants_item_mute_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemParticipantsItemMuteRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_participants_item_start_hold_music_request_builder.go b/app/calls_item_participants_item_start_hold_music_request_builder.go index 7b194848083..84f7144ffb7 100644 --- a/app/calls_item_participants_item_start_hold_music_request_builder.go +++ b/app/calls_item_participants_item_start_hold_music_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemParticipantsItemStartHoldMusicRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_participants_item_stop_hold_music_request_builder.go b/app/calls_item_participants_item_stop_hold_music_request_builder.go index 253103218d2..6cf6a7b332f 100644 --- a/app/calls_item_participants_item_stop_hold_music_request_builder.go +++ b/app/calls_item_participants_item_stop_hold_music_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemParticipantsItemStopHoldMusicRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_participants_mute_all_request_builder.go b/app/calls_item_participants_mute_all_request_builder.go index 4fad1f9397e..30d39c1734a 100644 --- a/app/calls_item_participants_mute_all_request_builder.go +++ b/app/calls_item_participants_mute_all_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemParticipantsMuteAllRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_participants_participant_item_request_builder.go b/app/calls_item_participants_participant_item_request_builder.go index 1d518915e6a..cf6d4dc5ced 100644 --- a/app/calls_item_participants_participant_item_request_builder.go +++ b/app/calls_item_participants_participant_item_request_builder.go @@ -136,7 +136,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property participants in app @@ -165,7 +165,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_participants_request_builder.go b/app/calls_item_participants_request_builder.go index f9cfbc76777..f293331c28f 100644 --- a/app/calls_item_participants_request_builder.go +++ b/app/calls_item_participants_request_builder.go @@ -136,7 +136,7 @@ func (m *CallsItemParticipantsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to participants for app @@ -149,7 +149,7 @@ func (m *CallsItemParticipantsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_play_prompt_request_builder.go b/app/calls_item_play_prompt_request_builder.go index 0c29bc8c19d..9945743e9d9 100644 --- a/app/calls_item_play_prompt_request_builder.go +++ b/app/calls_item_play_prompt_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemPlayPromptRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_record_request_builder.go b/app/calls_item_record_request_builder.go index 97d8f36844a..616070482c4 100644 --- a/app/calls_item_record_request_builder.go +++ b/app/calls_item_record_request_builder.go @@ -60,7 +60,7 @@ func (m *CallsItemRecordRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_record_response_request_builder.go b/app/calls_item_record_response_request_builder.go index 31a59a5eb9e..c7559cc57f4 100644 --- a/app/calls_item_record_response_request_builder.go +++ b/app/calls_item_record_response_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemRecordResponseRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_redirect_request_builder.go b/app/calls_item_redirect_request_builder.go index 4911547fce9..1b6141b2616 100644 --- a/app/calls_item_redirect_request_builder.go +++ b/app/calls_item_redirect_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemRedirectRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_reject_request_builder.go b/app/calls_item_reject_request_builder.go index d9680a75208..51b650a478b 100644 --- a/app/calls_item_reject_request_builder.go +++ b/app/calls_item_reject_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemRejectRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_send_dtmf_tones_post_request_body.go b/app/calls_item_send_dtmf_tones_post_request_body.go new file mode 100644 index 00000000000..caf35482fe0 --- /dev/null +++ b/app/calls_item_send_dtmf_tones_post_request_body.go @@ -0,0 +1,189 @@ +package app + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// CallsItemSendDtmfTonesPostRequestBody +type CallsItemSendDtmfTonesPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCallsItemSendDtmfTonesPostRequestBody instantiates a new CallsItemSendDtmfTonesPostRequestBody and sets the default values. +func NewCallsItemSendDtmfTonesPostRequestBody()(*CallsItemSendDtmfTonesPostRequestBody) { + m := &CallsItemSendDtmfTonesPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCallsItemSendDtmfTonesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateCallsItemSendDtmfTonesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCallsItemSendDtmfTonesPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CallsItemSendDtmfTonesPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +func (m *CallsItemSendDtmfTonesPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetClientContext gets the clientContext property value. The clientContext property +func (m *CallsItemSendDtmfTonesPostRequestBody) GetClientContext()(*string) { + val, err := m.GetBackingStore().Get("clientContext") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDelayBetweenTonesMs gets the delayBetweenTonesMs property value. The delayBetweenTonesMs property +func (m *CallsItemSendDtmfTonesPostRequestBody) GetDelayBetweenTonesMs()(*int32) { + val, err := m.GetBackingStore().Get("delayBetweenTonesMs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *CallsItemSendDtmfTonesPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["clientContext"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientContext(val) + } + return nil + } + res["delayBetweenTonesMs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetDelayBetweenTonesMs(val) + } + return nil + } + res["tones"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseTone) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone)) + } + } + m.SetTones(res) + } + return nil + } + return res +} +// GetTones gets the tones property value. The tones property +func (m *CallsItemSendDtmfTonesPostRequestBody) GetTones()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone) { + val, err := m.GetBackingStore().Get("tones") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone) + } + return nil +} +// Serialize serializes information the current object +func (m *CallsItemSendDtmfTonesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("clientContext", m.GetClientContext()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("delayBetweenTonesMs", m.GetDelayBetweenTonesMs()) + if err != nil { + return err + } + } + if m.GetTones() != nil { + err := writer.WriteCollectionOfStringValues("tones", ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SerializeTone(m.GetTones())) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CallsItemSendDtmfTonesPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CallsItemSendDtmfTonesPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetClientContext sets the clientContext property value. The clientContext property +func (m *CallsItemSendDtmfTonesPostRequestBody) SetClientContext(value *string)() { + err := m.GetBackingStore().Set("clientContext", value) + if err != nil { + panic(err) + } +} +// SetDelayBetweenTonesMs sets the delayBetweenTonesMs property value. The delayBetweenTonesMs property +func (m *CallsItemSendDtmfTonesPostRequestBody) SetDelayBetweenTonesMs(value *int32)() { + err := m.GetBackingStore().Set("delayBetweenTonesMs", value) + if err != nil { + panic(err) + } +} +// SetTones sets the tones property value. The tones property +func (m *CallsItemSendDtmfTonesPostRequestBody) SetTones(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone)() { + err := m.GetBackingStore().Set("tones", value) + if err != nil { + panic(err) + } +} +// CallsItemSendDtmfTonesPostRequestBodyable +type CallsItemSendDtmfTonesPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetClientContext()(*string) + GetDelayBetweenTonesMs()(*int32) + GetTones()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetClientContext(value *string)() + SetDelayBetweenTonesMs(value *int32)() + SetTones(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone)() +} diff --git a/app/calls_item_send_dtmf_tones_request_builder.go b/app/calls_item_send_dtmf_tones_request_builder.go new file mode 100644 index 00000000000..dc4ffe63baa --- /dev/null +++ b/app/calls_item_send_dtmf_tones_request_builder.go @@ -0,0 +1,73 @@ +package app + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CallsItemSendDtmfTonesRequestBuilder provides operations to call the sendDtmfTones method. +type CallsItemSendDtmfTonesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CallsItemSendDtmfTonesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallsItemSendDtmfTonesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCallsItemSendDtmfTonesRequestBuilderInternal instantiates a new SendDtmfTonesRequestBuilder and sets the default values. +func NewCallsItemSendDtmfTonesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallsItemSendDtmfTonesRequestBuilder) { + m := &CallsItemSendDtmfTonesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/sendDtmfTones", pathParameters), + } + return m +} +// NewCallsItemSendDtmfTonesRequestBuilder instantiates a new SendDtmfTonesRequestBuilder and sets the default values. +func NewCallsItemSendDtmfTonesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallsItemSendDtmfTonesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCallsItemSendDtmfTonesRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action sendDtmfTones +func (m *CallsItemSendDtmfTonesRequestBuilder) Post(ctx context.Context, body CallsItemSendDtmfTonesPostRequestBodyable, requestConfiguration *CallsItemSendDtmfTonesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SendDtmfTonesOperationable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSendDtmfTonesOperationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SendDtmfTonesOperationable), nil +} +// ToPostRequestInformation invoke action sendDtmfTones +func (m *CallsItemSendDtmfTonesRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemSendDtmfTonesPostRequestBodyable, requestConfiguration *CallsItemSendDtmfTonesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CallsItemSendDtmfTonesRequestBuilder) WithUrl(rawUrl string)(*CallsItemSendDtmfTonesRequestBuilder) { + return NewCallsItemSendDtmfTonesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/app/calls_item_subscribe_to_tone_request_builder.go b/app/calls_item_subscribe_to_tone_request_builder.go index 226baf18529..8928d5e548d 100644 --- a/app/calls_item_subscribe_to_tone_request_builder.go +++ b/app/calls_item_subscribe_to_tone_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemSubscribeToToneRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_transfer_request_builder.go b/app/calls_item_transfer_request_builder.go index ec4800f86e7..2e216a2e2ce 100644 --- a/app/calls_item_transfer_request_builder.go +++ b/app/calls_item_transfer_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemTransferRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_unmute_request_builder.go b/app/calls_item_unmute_request_builder.go index f3c192e8b0b..e243228840b 100644 --- a/app/calls_item_unmute_request_builder.go +++ b/app/calls_item_unmute_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemUnmuteRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_item_update_recording_status_request_builder.go b/app/calls_item_update_recording_status_request_builder.go index 7708ce7b5b2..2487b8a267f 100644 --- a/app/calls_item_update_recording_status_request_builder.go +++ b/app/calls_item_update_recording_status_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemUpdateRecordingStatusRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_log_teleconference_device_quality_request_builder.go b/app/calls_log_teleconference_device_quality_request_builder.go index 36ddaaa4516..bef0156f2fe 100644 --- a/app/calls_log_teleconference_device_quality_request_builder.go +++ b/app/calls_log_teleconference_device_quality_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsLogTeleconferenceDeviceQualityRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/calls_request_builder.go b/app/calls_request_builder.go index 22f9e4e38fb..0c46633434c 100644 --- a/app/calls_request_builder.go +++ b/app/calls_request_builder.go @@ -129,7 +129,7 @@ func (m *CallsRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to calls for app @@ -142,7 +142,7 @@ func (m *CallsRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_create_or_get_request_builder.go b/app/online_meetings_create_or_get_request_builder.go index b791aed5801..72bc6bad244 100644 --- a/app/online_meetings_create_or_get_request_builder.go +++ b/app/online_meetings_create_or_get_request_builder.go @@ -63,7 +63,7 @@ func (m *OnlineMeetingsCreateOrGetRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_get_all_recordings_request_builder.go b/app/online_meetings_get_all_recordings_request_builder.go index 8dcc0445513..456e655c584 100644 --- a/app/online_meetings_get_all_recordings_request_builder.go +++ b/app/online_meetings_get_all_recordings_request_builder.go @@ -101,7 +101,7 @@ func (m *OnlineMeetingsGetAllRecordingsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/app/online_meetings_get_all_transcripts_request_builder.go b/app/online_meetings_get_all_transcripts_request_builder.go index 8f45bd9135b..ed1a87e1519 100644 --- a/app/online_meetings_get_all_transcripts_request_builder.go +++ b/app/online_meetings_get_all_transcripts_request_builder.go @@ -101,7 +101,7 @@ func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/app/online_meetings_item_alternative_recording_request_builder.go b/app/online_meetings_item_alternative_recording_request_builder.go index 10738db3b4c..a60fb16b8f3 100644 --- a/app/online_meetings_item_alternative_recording_request_builder.go +++ b/app/online_meetings_item_alternative_recording_request_builder.go @@ -85,7 +85,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update alternativeRecording for the navigation property onlineMeetings in app @@ -98,7 +98,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToPutRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/app/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go b/app/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go index 67ea0ef9dda..8d158ae7dd1 100644 --- a/app/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go +++ b/app/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of attendance records of an attendance report. Read-only. @@ -134,7 +134,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceRecords in app @@ -147,7 +147,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go b/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go index 027e28bbf89..848419c2a56 100644 --- a/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go +++ b/app/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go @@ -128,7 +128,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceRecords for app @@ -141,7 +141,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go b/app/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go index db4311abb4a..f175cc26e70 100644 --- a/app/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go +++ b/app/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go @@ -7,7 +7,7 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. type OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } @@ -18,7 +18,7 @@ type OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters 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. +// OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters get attendanceReports from app type OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,10 +74,7 @@ func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu } return nil } -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 +// Get get attendanceReports from app func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -125,10 +122,10 @@ func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get attendanceReports from app func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -141,7 +138,7 @@ func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceReports in app @@ -154,7 +151,7 @@ func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_attendance_reports_request_builder.go b/app/online_meetings_item_attendance_reports_request_builder.go index c5330f6a2d7..c6ceec6e3e5 100644 --- a/app/online_meetings_item_attendance_reports_request_builder.go +++ b/app/online_meetings_item_attendance_reports_request_builder.go @@ -7,11 +7,11 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// OnlineMeetingsItemAttendanceReportsRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// OnlineMeetingsItemAttendanceReportsRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. type OnlineMeetingsItemAttendanceReportsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemAttendanceReportsRequestBuilderGetQueryParameters 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. +// OnlineMeetingsItemAttendanceReportsRequestBuilderGetQueryParameters get attendanceReports from app type OnlineMeetingsItemAttendanceReportsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,7 +46,7 @@ type OnlineMeetingsItemAttendanceReportsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportId(meetingAttendanceReportId string)(*OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { @@ -74,10 +74,7 @@ func NewOnlineMeetingsItemAttendanceReportsRequestBuilder(rawUrl string, request func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) Count()(*OnlineMeetingsItemAttendanceReportsCountRequestBuilder) { return NewOnlineMeetingsItemAttendanceReportsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 +// Get get attendanceReports from app func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +112,7 @@ func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get attendanceReports from app func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -128,7 +125,7 @@ func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceReports for app @@ -141,7 +138,7 @@ func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_attendee_report_request_builder.go b/app/online_meetings_item_attendee_report_request_builder.go index 2baefee66e2..674a7b69bb2 100644 --- a/app/online_meetings_item_attendee_report_request_builder.go +++ b/app/online_meetings_item_attendee_report_request_builder.go @@ -85,7 +85,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update attendeeReport for the navigation property onlineMeetings in app @@ -98,7 +98,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToPutRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/app/online_meetings_item_broadcast_recording_request_builder.go b/app/online_meetings_item_broadcast_recording_request_builder.go index 38ed06dcf62..346a13b0471 100644 --- a/app/online_meetings_item_broadcast_recording_request_builder.go +++ b/app/online_meetings_item_broadcast_recording_request_builder.go @@ -85,7 +85,7 @@ func (m *OnlineMeetingsItemBroadcastRecordingRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update broadcastRecording for the navigation property onlineMeetings in app @@ -98,7 +98,7 @@ func (m *OnlineMeetingsItemBroadcastRecordingRequestBuilder) ToPutRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go b/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go index 196e3553c40..b178ef971f1 100644 --- a/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go +++ b/app/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go @@ -79,7 +79,7 @@ func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/app/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go b/app/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go index 1cd349523ae..b02b4bd3eab 100644 --- a/app/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go +++ b/app/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of attendance records of an attendance report. Read-only. @@ -134,7 +134,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceRecords in app @@ -147,7 +147,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go b/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go index eb11fcb48e5..36ec7afbd3c 100644 --- a/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/app/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go @@ -128,7 +128,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceRecords for app @@ -141,7 +141,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_meeting_attendance_report_request_builder.go b/app/online_meetings_item_meeting_attendance_report_request_builder.go index dc1ebdbba66..b62b327e68f 100644 --- a/app/online_meetings_item_meeting_attendance_report_request_builder.go +++ b/app/online_meetings_item_meeting_attendance_report_request_builder.go @@ -125,7 +125,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property meetingAttendanceReport in app @@ -154,7 +154,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_recording_request_builder.go b/app/online_meetings_item_recording_request_builder.go index 7ade6333b78..3b27708db6c 100644 --- a/app/online_meetings_item_recording_request_builder.go +++ b/app/online_meetings_item_recording_request_builder.go @@ -85,7 +85,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update recording for the navigation property onlineMeetings in app @@ -98,7 +98,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) ToPutRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/app/online_meetings_item_recordings_call_recording_item_request_builder.go b/app/online_meetings_item_recordings_call_recording_item_request_builder.go index 2dc21f9fb49..3e18659c7f1 100644 --- a/app/online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/app/online_meetings_item_recordings_call_recording_item_request_builder.go @@ -125,7 +125,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property recordings in app @@ -154,7 +154,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_recordings_delta_request_builder.go b/app/online_meetings_item_recordings_delta_request_builder.go index 79a92cb27d8..78b5a02222f 100644 --- a/app/online_meetings_item_recordings_delta_request_builder.go +++ b/app/online_meetings_item_recordings_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *OnlineMeetingsItemRecordingsDeltaRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/app/online_meetings_item_recordings_item_content_request_builder.go b/app/online_meetings_item_recordings_item_content_request_builder.go index 428cc854609..d7e38c1cd93 100644 --- a/app/online_meetings_item_recordings_item_content_request_builder.go +++ b/app/online_meetings_item_recordings_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *OnlineMeetingsItemRecordingsItemContentRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content of the recording. Read-only. @@ -99,7 +99,7 @@ func (m *OnlineMeetingsItemRecordingsItemContentRequestBuilder) ToPutRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/app/online_meetings_item_recordings_request_builder.go b/app/online_meetings_item_recordings_request_builder.go index 6b86669b86c..56f349f9a30 100644 --- a/app/online_meetings_item_recordings_request_builder.go +++ b/app/online_meetings_item_recordings_request_builder.go @@ -129,7 +129,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to recordings for app @@ -142,7 +142,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index 4b0662e2608..c640f7b87e6 100644 --- a/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/app/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -127,7 +127,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_registration_custom_questions_request_builder.go b/app/online_meetings_item_registration_custom_questions_request_builder.go index 51c35bbc506..3b3e4aac02a 100644 --- a/app/online_meetings_item_registration_custom_questions_request_builder.go +++ b/app/online_meetings_item_registration_custom_questions_request_builder.go @@ -131,7 +131,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/app/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go index 871c2f07d11..7263981284b 100644 --- a/app/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ b/app/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go @@ -118,7 +118,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation registrants of the online meeting. @@ -134,7 +134,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property registrants in app @@ -147,7 +147,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_registration_registrants_request_builder.go b/app/online_meetings_item_registration_registrants_request_builder.go index 2fde2f8642a..a32f1ba14db 100644 --- a/app/online_meetings_item_registration_registrants_request_builder.go +++ b/app/online_meetings_item_registration_registrants_request_builder.go @@ -125,7 +125,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to registrants for app @@ -138,7 +138,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_registration_request_builder.go b/app/online_meetings_item_registration_request_builder.go index 332f081cd91..bfe251697b9 100644 --- a/app/online_meetings_item_registration_request_builder.go +++ b/app/online_meetings_item_registration_request_builder.go @@ -135,7 +135,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -164,7 +164,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go b/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go index ed1d3b1da9a..67f240ebf49 100644 --- a/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/app/online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -129,7 +129,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -145,7 +145,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property transcripts in app @@ -158,7 +158,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_item_transcripts_delta_request_builder.go b/app/online_meetings_item_transcripts_delta_request_builder.go index 5febbe65105..ca8e9d64747 100644 --- a/app/online_meetings_item_transcripts_delta_request_builder.go +++ b/app/online_meetings_item_transcripts_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *OnlineMeetingsItemTranscriptsDeltaRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/app/online_meetings_item_transcripts_item_content_request_builder.go b/app/online_meetings_item_transcripts_item_content_request_builder.go index 61672923ab9..923560379b6 100644 --- a/app/online_meetings_item_transcripts_item_content_request_builder.go +++ b/app/online_meetings_item_transcripts_item_content_request_builder.go @@ -89,7 +89,7 @@ func (m *OnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content of the transcript. Read-only. @@ -102,7 +102,7 @@ func (m *OnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToPutRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go b/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go index f98c5c02101..9c7a08ccb57 100644 --- a/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/app/online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -88,7 +88,7 @@ func (m *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. @@ -101,7 +101,7 @@ func (m *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToPutRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/app/online_meetings_item_transcripts_request_builder.go b/app/online_meetings_item_transcripts_request_builder.go index 663fd5a714a..77244d25370 100644 --- a/app/online_meetings_item_transcripts_request_builder.go +++ b/app/online_meetings_item_transcripts_request_builder.go @@ -132,7 +132,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to transcripts for app @@ -145,7 +145,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_online_meeting_item_request_builder.go b/app/online_meetings_online_meeting_item_request_builder.go index 63c065fabc3..004e5520fd7 100644 --- a/app/online_meetings_online_meeting_item_request_builder.go +++ b/app/online_meetings_online_meeting_item_request_builder.go @@ -45,7 +45,7 @@ type OnlineMeetingsOnlineMeetingItemRequestBuilderPatchRequestConfiguration stru func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) AlternativeRecording()(*OnlineMeetingsItemAlternativeRecordingRequestBuilder) { return NewOnlineMeetingsItemAlternativeRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// AttendanceReports provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// AttendanceReports provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) AttendanceReports()(*OnlineMeetingsItemAttendanceReportsRequestBuilder) { return NewOnlineMeetingsItemAttendanceReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } @@ -154,7 +154,7 @@ func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get onlineMeetings from app @@ -170,7 +170,7 @@ func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property onlineMeetings in app @@ -183,7 +183,7 @@ func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/app/online_meetings_request_builder.go b/app/online_meetings_request_builder.go index 8b1cd81c9ff..041b81fcc56 100644 --- a/app/online_meetings_request_builder.go +++ b/app/online_meetings_request_builder.go @@ -137,7 +137,7 @@ func (m *OnlineMeetingsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to onlineMeetings for app @@ -150,7 +150,7 @@ func (m *OnlineMeetingsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/appcatalogs/app_catalogs_request_builder.go b/appcatalogs/app_catalogs_request_builder.go index 1ae7fa55b80..49463dfdecc 100644 --- a/appcatalogs/app_catalogs_request_builder.go +++ b/appcatalogs/app_catalogs_request_builder.go @@ -102,7 +102,7 @@ func (m *AppCatalogsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update appCatalogs @@ -115,7 +115,7 @@ func (m *AppCatalogsRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go index 420b532e305..9accdb09bf1 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_bot_request_builder.go @@ -121,7 +121,7 @@ func (m *TeamsAppsItemAppDefinitionsItemBotRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the bot associated with a specific definition of the TeamsApp. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *TeamsAppsItemAppDefinitionsItemBotRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bot in appCatalogs @@ -150,7 +150,7 @@ func (m *TeamsAppsItemAppDefinitionsItemBotRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go index ae298fe1fff..8722c897e90 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the hosted content in an app's icon. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContent in appCatalogs @@ -154,7 +154,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go index 024c27b6c9c..b4cb11f2ac6 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_hosted_content_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentValueContentReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContent in appCatalogs @@ -101,7 +101,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconHostedContentValueContentReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go index 09ebedaa2a8..4a1a40847f0 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_color_icon_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a Teams app icon associated with a specific definition of an app. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property colorIcon in appCatalogs @@ -154,7 +154,7 @@ func (m *TeamsAppsItemAppDefinitionsItemColorIconRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go index e2696648888..8a1798875e5 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the hosted content in an app's icon. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContent in appCatalogs @@ -154,7 +154,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go index 1b74d8244d6..4471b022038 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_hosted_content_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentValueContentRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContent in appCatalogs @@ -101,7 +101,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconHostedContentValueContentRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go index 136ceee9790..ed055c1b3f0 100644 --- a/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_item_outline_icon_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a Teams app icon associated with a specific definition of an app. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property outlineIcon in appCatalogs @@ -154,7 +154,7 @@ func (m *TeamsAppsItemAppDefinitionsItemOutlineIconRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/appcatalogs/teams_apps_item_app_definitions_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_request_builder.go index 3f369e82554..82b799b89fe 100644 --- a/appcatalogs/teams_apps_item_app_definitions_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_request_builder.go @@ -128,7 +128,7 @@ func (m *TeamsAppsItemAppDefinitionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -141,7 +141,7 @@ func (m *TeamsAppsItemAppDefinitionsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go b/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go index a3d94acc54d..c29c7175f4c 100644 --- a/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go +++ b/appcatalogs/teams_apps_item_app_definitions_teams_app_definition_item_request_builder.go @@ -133,7 +133,7 @@ func (m *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the details for each version of the app. @@ -149,7 +149,7 @@ func (m *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -162,7 +162,7 @@ func (m *TeamsAppsItemAppDefinitionsTeamsAppDefinitionItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/appcatalogs/teams_apps_request_builder.go b/appcatalogs/teams_apps_request_builder.go index bd8e42ac1bc..eb7da2b8c71 100644 --- a/appcatalogs/teams_apps_request_builder.go +++ b/appcatalogs/teams_apps_request_builder.go @@ -131,7 +131,7 @@ func (m *TeamsAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *TeamsAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/appcatalogs/teams_apps_teams_app_item_request_builder.go b/appcatalogs/teams_apps_teams_app_item_request_builder.go index 03d28cbdd9b..51ab8d2a32e 100644 --- a/appcatalogs/teams_apps_teams_app_item_request_builder.go +++ b/appcatalogs/teams_apps_teams_app_item_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamsAppsTeamsAppItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get teamsApps from appCatalogs @@ -141,7 +141,7 @@ func (m *TeamsAppsTeamsAppItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property teamsApps in appCatalogs @@ -154,7 +154,7 @@ func (m *TeamsAppsTeamsAppItemRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/application_item_request_builder.go b/applications/application_item_request_builder.go index 52b3caa387e..5e2871489c8 100644 --- a/applications/application_item_request_builder.go +++ b/applications/application_item_request_builder.go @@ -203,7 +203,7 @@ func (m *ApplicationItemRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of an application object. This API is available in the following national cloud deployments. @@ -219,7 +219,7 @@ func (m *ApplicationItemRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // TokenIssuancePolicies provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.application entity. @@ -240,7 +240,7 @@ func (m *ApplicationItemRequestBuilder) ToPatchRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/applications_request_builder.go b/applications/applications_request_builder.go index 11fe02a7208..48b20003fd9 100644 --- a/applications/applications_request_builder.go +++ b/applications/applications_request_builder.go @@ -143,7 +143,7 @@ func (m *ApplicationsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new application object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ApplicationsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/delta_request_builder.go b/applications/delta_request_builder.go index 6ab10dd319a..19f61f46a43 100644 --- a/applications/delta_request_builder.go +++ b/applications/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/get_by_ids_request_builder.go b/applications/get_by_ids_request_builder.go index 84f4a2d3fab..5ade37e006d 100644 --- a/applications/get_by_ids_request_builder.go +++ b/applications/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/get_user_owned_objects_request_builder.go b/applications/get_user_owned_objects_request_builder.go index af8ae183663..43e1a69a6d3 100644 --- a/applications/get_user_owned_objects_request_builder.go +++ b/applications/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_add_key_request_builder.go b/applications/item_add_key_request_builder.go index 415dad0ad1e..43ac9a7aaa6 100644 --- a/applications/item_add_key_request_builder.go +++ b/applications/item_add_key_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemAddKeyRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_add_password_request_builder.go b/applications/item_add_password_request_builder.go index b1f8856f2e1..34d31ddebba 100644 --- a/applications/item_add_password_request_builder.go +++ b/applications/item_add_password_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemAddPasswordRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_app_management_policies_item_ref_request_builder.go b/applications/item_app_management_policies_item_ref_request_builder.go index b8b3a50c958..c04193ec502 100644 --- a/applications/item_app_management_policies_item_ref_request_builder.go +++ b/applications/item_app_management_policies_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemAppManagementPoliciesItemRefRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_app_management_policies_ref_request_builder.go b/applications/item_app_management_policies_ref_request_builder.go index 020bc564dd1..648c92c4588 100644 --- a/applications/item_app_management_policies_ref_request_builder.go +++ b/applications/item_app_management_policies_ref_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemAppManagementPoliciesRefRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -119,7 +119,7 @@ func (m *ItemAppManagementPoliciesRefRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_app_management_policies_request_builder.go b/applications/item_app_management_policies_request_builder.go index 78c610f8ab1..1cc0a29c6c0 100644 --- a/applications/item_app_management_policies_request_builder.go +++ b/applications/item_app_management_policies_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemAppManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_check_member_groups_request_builder.go b/applications/item_check_member_groups_request_builder.go index 38a4a94ca20..af622a4d2c4 100644 --- a/applications/item_check_member_groups_request_builder.go +++ b/applications/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_check_member_objects_request_builder.go b/applications/item_check_member_objects_request_builder.go index 049732256b5..82eaf9fd500 100644 --- a/applications/item_check_member_objects_request_builder.go +++ b/applications/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_connector_group_ref_request_builder.go b/applications/item_connector_group_ref_request_builder.go index 6f51745c1b2..fab9cfaebac 100644 --- a/applications/item_connector_group_ref_request_builder.go +++ b/applications/item_connector_group_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemConnectorGroupRefRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the connectorGroup the application is using with Microsoft Entra application proxy. Nullable. @@ -122,7 +122,7 @@ func (m *ItemConnectorGroupRefRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation assign a connectorGroup to an application. This API is available in the following national cloud deployments. @@ -135,7 +135,7 @@ func (m *ItemConnectorGroupRefRequestBuilder) ToPutRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_connector_group_request_builder.go b/applications/item_connector_group_request_builder.go index 7b535d5e80f..1087fe77c08 100644 --- a/applications/item_connector_group_request_builder.go +++ b/applications/item_connector_group_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemConnectorGroupRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_created_on_behalf_of_request_builder.go b/applications/item_created_on_behalf_of_request_builder.go index fe2446a8b40..0f800cdcd21 100644 --- a/applications/item_created_on_behalf_of_request_builder.go +++ b/applications/item_created_on_behalf_of_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemCreatedOnBehalfOfRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_extension_properties_extension_property_item_request_builder.go b/applications/item_extension_properties_extension_property_item_request_builder.go index 2d4f9a2184a..79a7a47f574 100644 --- a/applications/item_extension_properties_extension_property_item_request_builder.go +++ b/applications/item_extension_properties_extension_property_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read a directory extension definition represented by an extensionProperty object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensionProperties in applications @@ -153,7 +153,7 @@ func (m *ItemExtensionPropertiesExtensionPropertyItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_extension_properties_request_builder.go b/applications/item_extension_properties_request_builder.go index 6ea37cef093..45d38fcb9da 100644 --- a/applications/item_extension_properties_request_builder.go +++ b/applications/item_extension_properties_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemExtensionPropertiesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new directory extension definition, represented by an extensionProperty object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemExtensionPropertiesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go b/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go index ab7aa1bb38e..56a8d8f4579 100644 --- a/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go +++ b/applications/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a federatedIdentityCredential object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a federatedIdentityCredential object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_federated_identity_credentials_request_builder.go b/applications/item_federated_identity_credentials_request_builder.go index f035f8ea7bb..e948f96672f 100644 --- a/applications/item_federated_identity_credentials_request_builder.go +++ b/applications/item_federated_identity_credentials_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_get_member_groups_request_builder.go b/applications/item_get_member_groups_request_builder.go index 480953ab256..607695a6de6 100644 --- a/applications/item_get_member_groups_request_builder.go +++ b/applications/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_get_member_objects_request_builder.go b/applications/item_get_member_objects_request_builder.go index 0188ecbb768..dbcf9b1bca5 100644 --- a/applications/item_get_member_objects_request_builder.go +++ b/applications/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go b/applications/item_home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go index ac6f46d6e0b..6c9a95e08cf 100644 --- a/applications/item_home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go +++ b/applications/item_home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_home_realm_discovery_policies_request_builder.go b/applications/item_home_realm_discovery_policies_request_builder.go index c1d24fe0ed0..50388fd43c4 100644 --- a/applications/item_home_realm_discovery_policies_request_builder.go +++ b/applications/item_home_realm_discovery_policies_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_logo_request_builder.go b/applications/item_logo_request_builder.go index 925c064372f..be88011baab 100644 --- a/applications/item_logo_request_builder.go +++ b/applications/item_logo_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemLogoRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the main logo for the application. Not nullable. @@ -98,7 +98,7 @@ func (m *ItemLogoRequestBuilder) ToPutRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/applications/item_owners_graph_endpoint_request_builder.go b/applications/item_owners_graph_endpoint_request_builder.go index c02254a6a16..52d714da87b 100644 --- a/applications/item_owners_graph_endpoint_request_builder.go +++ b/applications/item_owners_graph_endpoint_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphEndpointRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_owners_graph_service_principal_request_builder.go b/applications/item_owners_graph_service_principal_request_builder.go index 24c1167fa63..1d907c40501 100644 --- a/applications/item_owners_graph_service_principal_request_builder.go +++ b/applications/item_owners_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphServicePrincipalRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_owners_graph_user_request_builder.go b/applications/item_owners_graph_user_request_builder.go index c483be82cd8..e6618da0eeb 100644 --- a/applications/item_owners_graph_user_request_builder.go +++ b/applications/item_owners_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphUserRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_owners_item_graph_endpoint_request_builder.go b/applications/item_owners_item_graph_endpoint_request_builder.go index 403a9eb5ae1..6302d3f6610 100644 --- a/applications/item_owners_item_graph_endpoint_request_builder.go +++ b/applications/item_owners_item_graph_endpoint_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphEndpointRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_owners_item_graph_service_principal_request_builder.go b/applications/item_owners_item_graph_service_principal_request_builder.go index 2a021eeb90d..2ccfd9fe9b4 100644 --- a/applications/item_owners_item_graph_service_principal_request_builder.go +++ b/applications/item_owners_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphServicePrincipalRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_owners_item_graph_user_request_builder.go b/applications/item_owners_item_graph_user_request_builder.go index ac3cb99eadb..2ce051367bf 100644 --- a/applications/item_owners_item_graph_user_request_builder.go +++ b/applications/item_owners_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_owners_item_ref_request_builder.go b/applications/item_owners_item_ref_request_builder.go index bde98ed8fd4..de7af602fe9 100644 --- a/applications/item_owners_item_ref_request_builder.go +++ b/applications/item_owners_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemOwnersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_owners_ref_request_builder.go b/applications/item_owners_ref_request_builder.go index 9abf36f1a23..9a72ed7120a 100644 --- a/applications/item_owners_ref_request_builder.go +++ b/applications/item_owners_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *ItemOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_owners_request_builder.go b/applications/item_owners_request_builder.go index cb509b862cc..68b18e323fe 100644 --- a/applications/item_owners_request_builder.go +++ b/applications/item_owners_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_remove_key_request_builder.go b/applications/item_remove_key_request_builder.go index 4e2de9fa48f..2b8f888ff26 100644 --- a/applications/item_remove_key_request_builder.go +++ b/applications/item_remove_key_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemRemoveKeyRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_remove_password_request_builder.go b/applications/item_remove_password_request_builder.go index de314067c9d..8e4a9b15dc6 100644 --- a/applications/item_remove_password_request_builder.go +++ b/applications/item_remove_password_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemRemovePasswordRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_restore_request_builder.go b/applications/item_restore_request_builder.go index a69771c883d..f6782ab152c 100644 --- a/applications/item_restore_request_builder.go +++ b/applications/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_set_verified_publisher_request_builder.go b/applications/item_set_verified_publisher_request_builder.go index 1ef710364ca..3acf971b45f 100644 --- a/applications/item_set_verified_publisher_request_builder.go +++ b/applications/item_set_verified_publisher_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSetVerifiedPublisherRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_acquire_access_token_request_builder.go b/applications/item_synchronization_acquire_access_token_request_builder.go index 9d851c81ace..edfcff9fe99 100644 --- a/applications/item_synchronization_acquire_access_token_request_builder.go +++ b/applications/item_synchronization_acquire_access_token_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSynchronizationAcquireAccessTokenRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_item_bulk_upload_request_builder.go b/applications/item_synchronization_jobs_item_bulk_upload_request_builder.go index df355a52f61..7bbc7d07d24 100644 --- a/applications/item_synchronization_jobs_item_bulk_upload_request_builder.go +++ b/applications/item_synchronization_jobs_item_bulk_upload_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSynchronizationJobsItemBulkUploadRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the bulk upload operation for the job. @@ -138,7 +138,7 @@ func (m *ItemSynchronizationJobsItemBulkUploadRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bulkUpload in applications @@ -151,7 +151,7 @@ func (m *ItemSynchronizationJobsItemBulkUploadRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go b/applications/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go index c32c531d5f9..9eb95eba722 100644 --- a/applications/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go +++ b/applications/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property bulkUpload in applications @@ -98,7 +98,7 @@ func (m *ItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder) ToPutR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/applications/item_synchronization_jobs_item_pause_request_builder.go b/applications/item_synchronization_jobs_item_pause_request_builder.go index 772bd0e053a..27dc387c7e6 100644 --- a/applications/item_synchronization_jobs_item_pause_request_builder.go +++ b/applications/item_synchronization_jobs_item_pause_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSynchronizationJobsItemPauseRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go b/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go index 8b4778ea7fb..cddf905d1ee 100644 --- a/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go +++ b/applications/item_synchronization_jobs_item_provision_on_demand_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSynchronizationJobsItemProvisionOnDemandRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_item_restart_request_builder.go b/applications/item_synchronization_jobs_item_restart_request_builder.go index d8045ef94c7..ea605e29e7c 100644 --- a/applications/item_synchronization_jobs_item_restart_request_builder.go +++ b/applications/item_synchronization_jobs_item_restart_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSynchronizationJobsItemRestartRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go b/applications/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go index 052cc3b1fb6..f33ef0cce2a 100644 --- a/applications/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation contains the collection of directories and all of their objects. @@ -138,7 +138,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property directories in applications @@ -151,7 +151,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go b/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go index 8f5b877ccfd..e6c56554197 100644 --- a/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_synchronization_jobs_item_schema_directories_request_builder.go b/applications/item_synchronization_jobs_item_schema_directories_request_builder.go index be10b7caf21..455a70aa07b 100644 --- a/applications/item_synchronization_jobs_item_schema_directories_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_directories_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to directories for applications @@ -138,7 +138,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go b/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go index 6d0f747def3..2d63c163a79 100644 --- a/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_filter_operators_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_synchronization_jobs_item_schema_functions_request_builder.go b/applications/item_synchronization_jobs_item_schema_functions_request_builder.go index c10dc0ba113..05c22a1cbad 100644 --- a/applications/item_synchronization_jobs_item_schema_functions_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_functions_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go b/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go index 8dec54980ae..b3d309a4173 100644 --- a/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_parse_expression_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_item_schema_request_builder.go b/applications/item_synchronization_jobs_item_schema_request_builder.go index 7eae0d08602..4bd0e0c0e5a 100644 --- a/applications/item_synchronization_jobs_item_schema_request_builder.go +++ b/applications/item_synchronization_jobs_item_schema_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. @@ -169,7 +169,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_item_start_request_builder.go b/applications/item_synchronization_jobs_item_start_request_builder.go index 9785931e84d..c748352d13c 100644 --- a/applications/item_synchronization_jobs_item_start_request_builder.go +++ b/applications/item_synchronization_jobs_item_start_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSynchronizationJobsItemStartRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go b/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go index 46dcbbcee6d..9bef2a2df95 100644 --- a/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go +++ b/applications/item_synchronization_jobs_item_validate_credentials_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_request_builder.go b/applications/item_synchronization_jobs_request_builder.go index d77d3fe5567..9e2662a8cb1 100644 --- a/applications/item_synchronization_jobs_request_builder.go +++ b/applications/item_synchronization_jobs_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSynchronizationJobsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemSynchronizationJobsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go b/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go index 11687855be1..ef8c2c641f2 100644 --- a/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go +++ b/applications/item_synchronization_jobs_synchronization_job_item_request_builder.go @@ -148,7 +148,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property jobs in applications @@ -177,7 +177,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_jobs_validate_credentials_request_builder.go b/applications/item_synchronization_jobs_validate_credentials_request_builder.go index 9ead5b650b8..72f8a1bdd8c 100644 --- a/applications/item_synchronization_jobs_validate_credentials_request_builder.go +++ b/applications/item_synchronization_jobs_validate_credentials_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemSynchronizationJobsValidateCredentialsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_ping_request_builder.go b/applications/item_synchronization_ping_request_builder.go index a84c5406a32..ef1794b8575 100644 --- a/applications/item_synchronization_ping_request_builder.go +++ b/applications/item_synchronization_ping_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemSynchronizationPingRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_synchronization_request_builder.go b/applications/item_synchronization_request_builder.go index dc5ba53878f..489c3cd7470 100644 --- a/applications/item_synchronization_request_builder.go +++ b/applications/item_synchronization_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemSynchronizationRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API. @@ -154,7 +154,7 @@ func (m *ItemSynchronizationRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property synchronization in applications @@ -167,7 +167,7 @@ func (m *ItemSynchronizationRequestBuilder) ToPutRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_secrets_request_builder.go b/applications/item_synchronization_secrets_request_builder.go index a2a98f24602..184d1684d8a 100644 --- a/applications/item_synchronization_secrets_request_builder.go +++ b/applications/item_synchronization_secrets_request_builder.go @@ -68,7 +68,7 @@ func (m *ItemSynchronizationSecretsRequestBuilder) ToPutRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(body)) for i, v := range body { if v != nil { diff --git a/applications/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go b/applications/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go index 0f05da10a4f..5bbfd4278cc 100644 --- a/applications/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation contains the collection of directories and all of their objects. @@ -138,7 +138,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property directories in applications @@ -151,7 +151,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go b/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go index 2bbf0f234ad..f57170ecb0b 100644 --- a/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_synchronization_templates_item_schema_directories_request_builder.go b/applications/item_synchronization_templates_item_schema_directories_request_builder.go index 774c6b457e6..287d755d6f4 100644 --- a/applications/item_synchronization_templates_item_schema_directories_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_directories_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to directories for applications @@ -138,7 +138,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go b/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go index 72ce0d609cd..59609546f73 100644 --- a/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_filter_operators_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_synchronization_templates_item_schema_functions_request_builder.go b/applications/item_synchronization_templates_item_schema_functions_request_builder.go index df8675f9adb..87f4a5f83a5 100644 --- a/applications/item_synchronization_templates_item_schema_functions_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_functions_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go b/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go index 67462b3d83f..703a3e70db4 100644 --- a/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_parse_expression_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_templates_item_schema_request_builder.go b/applications/item_synchronization_templates_item_schema_request_builder.go index ceec84cb588..b524f78e8b7 100644 --- a/applications/item_synchronization_templates_item_schema_request_builder.go +++ b/applications/item_synchronization_templates_item_schema_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation default synchronization schema for the jobs based on this template. @@ -150,7 +150,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property schema in applications @@ -163,7 +163,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_templates_request_builder.go b/applications/item_synchronization_templates_request_builder.go index 179cc2e32f3..440887d85b8 100644 --- a/applications/item_synchronization_templates_request_builder.go +++ b/applications/item_synchronization_templates_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSynchronizationTemplatesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to templates for applications @@ -141,7 +141,7 @@ func (m *ItemSynchronizationTemplatesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_synchronization_templates_synchronization_template_item_request_builder.go b/applications/item_synchronization_templates_synchronization_template_item_request_builder.go index ae839ba2a2e..1ab961daa07 100644 --- a/applications/item_synchronization_templates_synchronization_template_item_request_builder.go +++ b/applications/item_synchronization_templates_synchronization_template_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation pre-configured synchronization settings for a particular application. @@ -141,7 +141,7 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update (override) the synchronization template associated with a given application. This API is available in the following national cloud deployments. @@ -154,7 +154,7 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_token_issuance_policies_item_ref_request_builder.go b/applications/item_token_issuance_policies_item_ref_request_builder.go index d7fda466005..39cd29cfc55 100644 --- a/applications/item_token_issuance_policies_item_ref_request_builder.go +++ b/applications/item_token_issuance_policies_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemTokenIssuancePoliciesItemRefRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_token_issuance_policies_ref_request_builder.go b/applications/item_token_issuance_policies_ref_request_builder.go index c8f6117e42b..59ba082ab0d 100644 --- a/applications/item_token_issuance_policies_ref_request_builder.go +++ b/applications/item_token_issuance_policies_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation assign a tokenIssuancePolicy to an application. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *ItemTokenIssuancePoliciesRefRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_token_issuance_policies_request_builder.go b/applications/item_token_issuance_policies_request_builder.go index 8a8af410437..1ffa1e94dd8 100644 --- a/applications/item_token_issuance_policies_request_builder.go +++ b/applications/item_token_issuance_policies_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemTokenIssuancePoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_token_lifetime_policies_item_ref_request_builder.go b/applications/item_token_lifetime_policies_item_ref_request_builder.go index 90ccfecc5a4..bd8e8dffcee 100644 --- a/applications/item_token_lifetime_policies_item_ref_request_builder.go +++ b/applications/item_token_lifetime_policies_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemTokenLifetimePoliciesItemRefRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_token_lifetime_policies_ref_request_builder.go b/applications/item_token_lifetime_policies_ref_request_builder.go index 8a7b53fa7e8..800c21a6a7a 100644 --- a/applications/item_token_lifetime_policies_ref_request_builder.go +++ b/applications/item_token_lifetime_policies_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applications/item_token_lifetime_policies_request_builder.go b/applications/item_token_lifetime_policies_request_builder.go index ceaf320161c..302e6704067 100644 --- a/applications/item_token_lifetime_policies_request_builder.go +++ b/applications/item_token_lifetime_policies_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemTokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/item_unset_verified_publisher_request_builder.go b/applications/item_unset_verified_publisher_request_builder.go index ecaf651a66d..31b8bc96475 100644 --- a/applications/item_unset_verified_publisher_request_builder.go +++ b/applications/item_unset_verified_publisher_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemUnsetVerifiedPublisherRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applications/validate_properties_request_builder.go b/applications/validate_properties_request_builder.go index c42a4a50252..d31d96c4b88 100644 --- a/applications/validate_properties_request_builder.go +++ b/applications/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applicationswithappid/applications_with_app_id_request_builder.go b/applicationswithappid/applications_with_app_id_request_builder.go index 11d1c964c6b..2f649900e23 100644 --- a/applicationswithappid/applications_with_app_id_request_builder.go +++ b/applicationswithappid/applications_with_app_id_request_builder.go @@ -130,7 +130,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of an application object. This API is available in the following national cloud deployments. @@ -146,7 +146,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an application object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applicationswithuniquename/applications_with_unique_name_request_builder.go b/applicationswithuniquename/applications_with_unique_name_request_builder.go index b97b665c63b..a4a59827675 100644 --- a/applicationswithuniquename/applications_with_unique_name_request_builder.go +++ b/applicationswithuniquename/applications_with_unique_name_request_builder.go @@ -130,7 +130,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of an application object. This API is available in the following national cloud deployments. @@ -146,7 +146,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an application object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/applicationtemplates/application_template_item_request_builder.go b/applicationtemplates/application_template_item_request_builder.go index 087f859f23c..18870c1ad4c 100644 --- a/applicationtemplates/application_template_item_request_builder.go +++ b/applicationtemplates/application_template_item_request_builder.go @@ -79,7 +79,7 @@ func (m *ApplicationTemplateItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applicationtemplates/application_templates_request_builder.go b/applicationtemplates/application_templates_request_builder.go index 3fe0a93100c..294191f2c68 100644 --- a/applicationtemplates/application_templates_request_builder.go +++ b/applicationtemplates/application_templates_request_builder.go @@ -102,7 +102,7 @@ func (m *ApplicationTemplatesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/applicationtemplates/item_instantiate_request_builder.go b/applicationtemplates/item_instantiate_request_builder.go index bf30c186f94..b8e6898318f 100644 --- a/applicationtemplates/item_instantiate_request_builder.go +++ b/applicationtemplates/item_instantiate_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemInstantiateRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approleassignments/app_role_assignment_item_request_builder.go b/approleassignments/app_role_assignment_item_request_builder.go index ff7fc91ec9c..91d0c4a3aca 100644 --- a/approleassignments/app_role_assignment_item_request_builder.go +++ b/approleassignments/app_role_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AppRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from appRoleAssignments by key @@ -134,7 +134,7 @@ func (m *AppRoleAssignmentItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in appRoleAssignments @@ -147,7 +147,7 @@ func (m *AppRoleAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approleassignments/app_role_assignments_request_builder.go b/approleassignments/app_role_assignments_request_builder.go index c039f7f8ae0..e386c9358d3 100644 --- a/approleassignments/app_role_assignments_request_builder.go +++ b/approleassignments/app_role_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *AppRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to appRoleAssignments @@ -138,7 +138,7 @@ func (m *AppRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approvalworkflowproviders/approval_workflow_provider_item_request_builder.go b/approvalworkflowproviders/approval_workflow_provider_item_request_builder.go index 060c18bd9b3..748e5a75cdc 100644 --- a/approvalworkflowproviders/approval_workflow_provider_item_request_builder.go +++ b/approvalworkflowproviders/approval_workflow_provider_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ApprovalWorkflowProviderItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from approvalWorkflowProviders by key @@ -146,7 +146,7 @@ func (m *ApprovalWorkflowProviderItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in approvalWorkflowProviders @@ -159,7 +159,7 @@ func (m *ApprovalWorkflowProviderItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approvalworkflowproviders/approval_workflow_providers_request_builder.go b/approvalworkflowproviders/approval_workflow_providers_request_builder.go index 1b671f108fb..61b5ffc2d0d 100644 --- a/approvalworkflowproviders/approval_workflow_providers_request_builder.go +++ b/approvalworkflowproviders/approval_workflow_providers_request_builder.go @@ -125,7 +125,7 @@ func (m *ApprovalWorkflowProvidersRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to approvalWorkflowProviders @@ -138,7 +138,7 @@ func (m *ApprovalWorkflowProvidersRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approvalworkflowproviders/item_business_flows_business_flow_item_request_builder.go b/approvalworkflowproviders/item_business_flows_business_flow_item_request_builder.go index fcad45bb883..df3ca0345ae 100644 --- a/approvalworkflowproviders/item_business_flows_business_flow_item_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_business_flow_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemBusinessFlowsBusinessFlowItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get businessFlows from approvalWorkflowProviders @@ -138,7 +138,7 @@ func (m *ItemBusinessFlowsBusinessFlowItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property businessFlows in approvalWorkflowProviders @@ -151,7 +151,7 @@ func (m *ItemBusinessFlowsBusinessFlowItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approvalworkflowproviders/item_business_flows_item_record_decisions_request_builder.go b/approvalworkflowproviders/item_business_flows_item_record_decisions_request_builder.go index 87b2ac2c299..bad2f52ac6a 100644 --- a/approvalworkflowproviders/item_business_flows_item_record_decisions_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_item_record_decisions_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemBusinessFlowsItemRecordDecisionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approvalworkflowproviders/item_business_flows_request_builder.go b/approvalworkflowproviders/item_business_flows_request_builder.go index c5cba9708c2..df01e3d441f 100644 --- a/approvalworkflowproviders/item_business_flows_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemBusinessFlowsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to businessFlows for approvalWorkflowProviders @@ -138,7 +138,7 @@ func (m *ItemBusinessFlowsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_business_flow_item_request_builder.go b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_business_flow_item_request_builder.go index 9c32ae4bfaa..8812c167c91 100644 --- a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_business_flow_item_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_business_flow_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionBusinessFlowItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get businessFlowsWithRequestsAwaitingMyDecision from approvalWorkflowProviders @@ -138,7 +138,7 @@ func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionBusinessFlowItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property businessFlowsWithRequestsAwaitingMyDecision in approvalWorkflowProviders @@ -151,7 +151,7 @@ func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionBusinessFlowItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_item_record_decisions_request_builder.go b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_item_record_decisions_request_builder.go index 26c0b8ee237..06e0b795748 100644 --- a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_item_record_decisions_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_item_record_decisions_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionItemRecordDecisionsReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_request_builder.go b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_request_builder.go index 04e97adc2dd..d36237dcc83 100644 --- a/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_request_builder.go +++ b/approvalworkflowproviders/item_business_flows_with_requests_awaiting_my_decision_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to businessFlowsWithRequestsAwaitingMyDecision for approvalWorkflowProviders @@ -138,7 +138,7 @@ func (m *ItemBusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approvalworkflowproviders/item_policy_templates_governance_policy_template_item_request_builder.go b/approvalworkflowproviders/item_policy_templates_governance_policy_template_item_request_builder.go index 715bbbbcd74..096062aa006 100644 --- a/approvalworkflowproviders/item_policy_templates_governance_policy_template_item_request_builder.go +++ b/approvalworkflowproviders/item_policy_templates_governance_policy_template_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPolicyTemplatesGovernancePolicyTemplateItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get policyTemplates from approvalWorkflowProviders @@ -134,7 +134,7 @@ func (m *ItemPolicyTemplatesGovernancePolicyTemplateItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policyTemplates in approvalWorkflowProviders @@ -147,7 +147,7 @@ func (m *ItemPolicyTemplatesGovernancePolicyTemplateItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/approvalworkflowproviders/item_policy_templates_request_builder.go b/approvalworkflowproviders/item_policy_templates_request_builder.go index 8027714f66e..6c1980f5200 100644 --- a/approvalworkflowproviders/item_policy_templates_request_builder.go +++ b/approvalworkflowproviders/item_policy_templates_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemPolicyTemplatesRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to policyTemplates for approvalWorkflowProviders @@ -138,7 +138,7 @@ func (m *ItemPolicyTemplatesRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/audit_logs_request_builder.go b/auditlogs/audit_logs_request_builder.go index 2a73977a4c3..b9f16f9cab0 100644 --- a/auditlogs/audit_logs_request_builder.go +++ b/auditlogs/audit_logs_request_builder.go @@ -118,7 +118,7 @@ func (m *AuditLogsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update auditLogs @@ -131,7 +131,7 @@ func (m *AuditLogsRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/custom_security_attribute_audits_custom_security_attribute_audit_item_request_builder.go b/auditlogs/custom_security_attribute_audits_custom_security_attribute_audit_item_request_builder.go index 9eb44335641..0eca17e7270 100644 --- a/auditlogs/custom_security_attribute_audits_custom_security_attribute_audit_item_request_builder.go +++ b/auditlogs/custom_security_attribute_audits_custom_security_attribute_audit_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CustomSecurityAttributeAuditsCustomSecurityAttributeAuditItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customSecurityAttributeAudits from auditLogs @@ -134,7 +134,7 @@ func (m *CustomSecurityAttributeAuditsCustomSecurityAttributeAuditItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customSecurityAttributeAudits in auditLogs @@ -147,7 +147,7 @@ func (m *CustomSecurityAttributeAuditsCustomSecurityAttributeAuditItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/custom_security_attribute_audits_request_builder.go b/auditlogs/custom_security_attribute_audits_request_builder.go index 17dd16669cc..f617e3ef69d 100644 --- a/auditlogs/custom_security_attribute_audits_request_builder.go +++ b/auditlogs/custom_security_attribute_audits_request_builder.go @@ -125,7 +125,7 @@ func (m *CustomSecurityAttributeAuditsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customSecurityAttributeAudits for auditLogs @@ -138,7 +138,7 @@ func (m *CustomSecurityAttributeAuditsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/directory_audits_directory_audit_item_request_builder.go b/auditlogs/directory_audits_directory_audit_item_request_builder.go index 538ae2c822a..a78cc702ffd 100644 --- a/auditlogs/directory_audits_directory_audit_item_request_builder.go +++ b/auditlogs/directory_audits_directory_audit_item_request_builder.go @@ -121,7 +121,7 @@ func (m *DirectoryAuditsDirectoryAuditItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *DirectoryAuditsDirectoryAuditItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property directoryAudits in auditLogs @@ -150,7 +150,7 @@ func (m *DirectoryAuditsDirectoryAuditItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/directory_audits_request_builder.go b/auditlogs/directory_audits_request_builder.go index 15d88486acc..2d2e48c580a 100644 --- a/auditlogs/directory_audits_request_builder.go +++ b/auditlogs/directory_audits_request_builder.go @@ -128,7 +128,7 @@ func (m *DirectoryAuditsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to directoryAudits for auditLogs @@ -141,7 +141,7 @@ func (m *DirectoryAuditsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/directory_provisioning_provisioning_object_summary_item_request_builder.go b/auditlogs/directory_provisioning_provisioning_object_summary_item_request_builder.go index de620f39521..238afdac184 100644 --- a/auditlogs/directory_provisioning_provisioning_object_summary_item_request_builder.go +++ b/auditlogs/directory_provisioning_provisioning_object_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DirectoryProvisioningProvisioningObjectSummaryItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get directoryProvisioning from auditLogs @@ -134,7 +134,7 @@ func (m *DirectoryProvisioningProvisioningObjectSummaryItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property directoryProvisioning in auditLogs @@ -147,7 +147,7 @@ func (m *DirectoryProvisioningProvisioningObjectSummaryItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/directory_provisioning_request_builder.go b/auditlogs/directory_provisioning_request_builder.go index 881d53f0bee..5f8bd6075ca 100644 --- a/auditlogs/directory_provisioning_request_builder.go +++ b/auditlogs/directory_provisioning_request_builder.go @@ -125,7 +125,7 @@ func (m *DirectoryProvisioningRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to directoryProvisioning for auditLogs @@ -138,7 +138,7 @@ func (m *DirectoryProvisioningRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/provisioning_provisioning_object_summary_item_request_builder.go b/auditlogs/provisioning_provisioning_object_summary_item_request_builder.go index 828659374c2..596cf47d32d 100644 --- a/auditlogs/provisioning_provisioning_object_summary_item_request_builder.go +++ b/auditlogs/provisioning_provisioning_object_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ProvisioningProvisioningObjectSummaryItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get provisioning from auditLogs @@ -134,7 +134,7 @@ func (m *ProvisioningProvisioningObjectSummaryItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property provisioning in auditLogs @@ -147,7 +147,7 @@ func (m *ProvisioningProvisioningObjectSummaryItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/provisioning_request_builder.go b/auditlogs/provisioning_request_builder.go index 56f771bff70..bd2fc31aab4 100644 --- a/auditlogs/provisioning_request_builder.go +++ b/auditlogs/provisioning_request_builder.go @@ -128,7 +128,7 @@ func (m *ProvisioningRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to provisioning for auditLogs @@ -141,7 +141,7 @@ func (m *ProvisioningRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/sign_ins_confirm_compromised_request_builder.go b/auditlogs/sign_ins_confirm_compromised_request_builder.go index c86fb12a2e7..3510301dd2e 100644 --- a/auditlogs/sign_ins_confirm_compromised_request_builder.go +++ b/auditlogs/sign_ins_confirm_compromised_request_builder.go @@ -59,7 +59,7 @@ func (m *SignInsConfirmCompromisedRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/sign_ins_confirm_safe_request_builder.go b/auditlogs/sign_ins_confirm_safe_request_builder.go index 2ad4fc7dcf1..52e387250fe 100644 --- a/auditlogs/sign_ins_confirm_safe_request_builder.go +++ b/auditlogs/sign_ins_confirm_safe_request_builder.go @@ -59,7 +59,7 @@ func (m *SignInsConfirmSafeRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/sign_ins_request_builder.go b/auditlogs/sign_ins_request_builder.go index c2f3d97af8c..0ddb207d1b7 100644 --- a/auditlogs/sign_ins_request_builder.go +++ b/auditlogs/sign_ins_request_builder.go @@ -136,7 +136,7 @@ func (m *SignInsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to signIns for auditLogs @@ -149,7 +149,7 @@ func (m *SignInsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/auditlogs/sign_ins_sign_in_item_request_builder.go b/auditlogs/sign_ins_sign_in_item_request_builder.go index b86ece168aa..7fb9476c1d1 100644 --- a/auditlogs/sign_ins_sign_in_item_request_builder.go +++ b/auditlogs/sign_ins_sign_in_item_request_builder.go @@ -121,7 +121,7 @@ func (m *SignInsSignInItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *SignInsSignInItemRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property signIns in auditLogs @@ -150,7 +150,7 @@ func (m *SignInsSignInItemRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/authenticationmethodconfigurations/authentication_method_configuration_item_request_builder.go b/authenticationmethodconfigurations/authentication_method_configuration_item_request_builder.go index 78c293643cc..fb23f86f9c9 100644 --- a/authenticationmethodconfigurations/authentication_method_configuration_item_request_builder.go +++ b/authenticationmethodconfigurations/authentication_method_configuration_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AuthenticationMethodConfigurationItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from authenticationMethodConfigurations by key @@ -134,7 +134,7 @@ func (m *AuthenticationMethodConfigurationItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in authenticationMethodConfigurations @@ -147,7 +147,7 @@ func (m *AuthenticationMethodConfigurationItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/authenticationmethodconfigurations/authentication_method_configurations_request_builder.go b/authenticationmethodconfigurations/authentication_method_configurations_request_builder.go index ac4ad2c28ac..8dcd394014c 100644 --- a/authenticationmethodconfigurations/authentication_method_configurations_request_builder.go +++ b/authenticationmethodconfigurations/authentication_method_configurations_request_builder.go @@ -125,7 +125,7 @@ func (m *AuthenticationMethodConfigurationsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to authenticationMethodConfigurations @@ -138,7 +138,7 @@ func (m *AuthenticationMethodConfigurationsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/authenticationmethodspolicy/authentication_method_configurations_authentication_method_configuration_item_request_builder.go b/authenticationmethodspolicy/authentication_method_configurations_authentication_method_configuration_item_request_builder.go index b4075067c66..233bfe00cd6 100644 --- a/authenticationmethodspolicy/authentication_method_configurations_authentication_method_configuration_item_request_builder.go +++ b/authenticationmethodspolicy/authentication_method_configurations_authentication_method_configuration_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. @@ -134,7 +134,7 @@ func (m *AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authenticationMethodConfigurations in authenticationMethodsPolicy @@ -147,7 +147,7 @@ func (m *AuthenticationMethodConfigurationsAuthenticationMethodConfigurationItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/authenticationmethodspolicy/authentication_method_configurations_request_builder.go b/authenticationmethodspolicy/authentication_method_configurations_request_builder.go index 4dea0a4f7c0..d521a63443a 100644 --- a/authenticationmethodspolicy/authentication_method_configurations_request_builder.go +++ b/authenticationmethodspolicy/authentication_method_configurations_request_builder.go @@ -125,7 +125,7 @@ func (m *AuthenticationMethodConfigurationsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to authenticationMethodConfigurations for authenticationMethodsPolicy @@ -138,7 +138,7 @@ func (m *AuthenticationMethodConfigurationsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/authenticationmethodspolicy/authentication_methods_policy_request_builder.go b/authenticationmethodspolicy/authentication_methods_policy_request_builder.go index 55e207db87b..c4d4474077b 100644 --- a/authenticationmethodspolicy/authentication_methods_policy_request_builder.go +++ b/authenticationmethodspolicy/authentication_methods_policy_request_builder.go @@ -102,7 +102,7 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update authenticationMethodsPolicy @@ -115,7 +115,7 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/booking_business_item_request_builder.go b/bookingbusinesses/booking_business_item_request_builder.go index d9086b77e76..253245b1a27 100644 --- a/bookingbusinesses/booking_business_item_request_builder.go +++ b/bookingbusinesses/booking_business_item_request_builder.go @@ -159,7 +159,7 @@ func (m *BookingBusinessItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a bookingBusiness object. This API is available in the following national cloud deployments. @@ -175,7 +175,7 @@ func (m *BookingBusinessItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a bookingBusiness object. This API is available in the following national cloud deployments. @@ -188,7 +188,7 @@ func (m *BookingBusinessItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/booking_businesses_request_builder.go b/bookingbusinesses/booking_businesses_request_builder.go index b1be2296cc5..9c979cd45a7 100644 --- a/bookingbusinesses/booking_businesses_request_builder.go +++ b/bookingbusinesses/booking_businesses_request_builder.go @@ -131,7 +131,7 @@ func (m *BookingBusinessesRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *BookingBusinessesRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go b/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go index ccd77b34fbb..ad0293a3a2f 100644 --- a/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go +++ b/bookingbusinesses/item_appointments_booking_appointment_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -147,7 +147,7 @@ func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a bookingAppointment object in the specified bookingBusiness. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemAppointmentsBookingAppointmentItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_appointments_item_cancel_request_builder.go b/bookingbusinesses/item_appointments_item_cancel_request_builder.go index 7abc70abf05..8d70620d6d9 100644 --- a/bookingbusinesses/item_appointments_item_cancel_request_builder.go +++ b/bookingbusinesses/item_appointments_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemAppointmentsItemCancelRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_appointments_request_builder.go b/bookingbusinesses/item_appointments_request_builder.go index 46646479d3e..11a1d258f7f 100644 --- a/bookingbusinesses/item_appointments_request_builder.go +++ b/bookingbusinesses/item_appointments_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemAppointmentsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new bookingAppointment for the specified bookingBusiness. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemAppointmentsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_calendar_view_booking_appointment_item_request_builder.go b/bookingbusinesses/item_calendar_view_booking_appointment_item_request_builder.go index fee62ba15c0..0516a3cb484 100644 --- a/bookingbusinesses/item_calendar_view_booking_appointment_item_request_builder.go +++ b/bookingbusinesses/item_calendar_view_booking_appointment_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewBookingAppointmentItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the set of appointments of this business in a specified date range. Read-only. Nullable. @@ -142,7 +142,7 @@ func (m *ItemCalendarViewBookingAppointmentItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property calendarView in bookingBusinesses @@ -155,7 +155,7 @@ func (m *ItemCalendarViewBookingAppointmentItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go b/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go index e11350361f8..fad7a8c6783 100644 --- a/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go +++ b/bookingbusinesses/item_calendar_view_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemCancelRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_calendar_view_request_builder.go b/bookingbusinesses/item_calendar_view_request_builder.go index c344cbe2a15..f1483f0994f 100644 --- a/bookingbusinesses/item_calendar_view_request_builder.go +++ b/bookingbusinesses/item_calendar_view_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemCalendarViewRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to calendarView for bookingBusinesses @@ -145,7 +145,7 @@ func (m *ItemCalendarViewRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go b/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go index 752e7f9fdd3..c3471a43592 100644 --- a/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go +++ b/bookingbusinesses/item_custom_questions_booking_custom_question_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a bookingCustomQuestion object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a bookingCustomQuestion object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemCustomQuestionsBookingCustomQuestionItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_custom_questions_request_builder.go b/bookingbusinesses/item_custom_questions_request_builder.go index 561fc4618fe..a97c2bdbbc4 100644 --- a/bookingbusinesses/item_custom_questions_request_builder.go +++ b/bookingbusinesses/item_custom_questions_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemCustomQuestionsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new bookingCustomQuestion object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemCustomQuestionsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_customers_booking_customer_item_request_builder.go b/bookingbusinesses/item_customers_booking_customer_item_request_builder.go index 0696657214f..15c54711c39 100644 --- a/bookingbusinesses/item_customers_booking_customer_item_request_builder.go +++ b/bookingbusinesses/item_customers_booking_customer_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemCustomersBookingCustomerItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a bookingCustomer object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemCustomersBookingCustomerItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a bookingCustomer object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemCustomersBookingCustomerItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_customers_request_builder.go b/bookingbusinesses/item_customers_request_builder.go index cd6d7133c80..740cad6fa18 100644 --- a/bookingbusinesses/item_customers_request_builder.go +++ b/bookingbusinesses/item_customers_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemCustomersRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new bookingCustomer object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemCustomersRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_get_staff_availability_request_builder.go b/bookingbusinesses/item_get_staff_availability_request_builder.go index ceee47a4a9f..a570a4c84d7 100644 --- a/bookingbusinesses/item_get_staff_availability_request_builder.go +++ b/bookingbusinesses/item_get_staff_availability_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetStaffAvailabilityRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_publish_request_builder.go b/bookingbusinesses/item_publish_request_builder.go index 8cd97280dad..07158076213 100644 --- a/bookingbusinesses/item_publish_request_builder.go +++ b/bookingbusinesses/item_publish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPublishRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/bookingbusinesses/item_services_booking_service_item_request_builder.go b/bookingbusinesses/item_services_booking_service_item_request_builder.go index 8d02d54b5c2..1ad892d026b 100644 --- a/bookingbusinesses/item_services_booking_service_item_request_builder.go +++ b/bookingbusinesses/item_services_booking_service_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *ItemServicesBookingServiceItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_services_request_builder.go b/bookingbusinesses/item_services_request_builder.go index c73f1bcbba5..b826287a311 100644 --- a/bookingbusinesses/item_services_request_builder.go +++ b/bookingbusinesses/item_services_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemServicesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new bookingService for the specified bookingBusiness. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemServicesRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go b/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go index c02d7047f89..5d67c907834 100644 --- a/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go +++ b/bookingbusinesses/item_staff_members_booking_staff_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemStaffMembersBookingStaffMemberItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_staff_members_request_builder.go b/bookingbusinesses/item_staff_members_request_builder.go index 0df394c9cb5..7ba30890900 100644 --- a/bookingbusinesses/item_staff_members_request_builder.go +++ b/bookingbusinesses/item_staff_members_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemStaffMembersRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new staff member in the specified bookingBusiness. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemStaffMembersRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingbusinesses/item_unpublish_request_builder.go b/bookingbusinesses/item_unpublish_request_builder.go index aa55b5dea08..4fc82be55d3 100644 --- a/bookingbusinesses/item_unpublish_request_builder.go +++ b/bookingbusinesses/item_unpublish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemUnpublishRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/bookingcurrencies/booking_currencies_request_builder.go b/bookingcurrencies/booking_currencies_request_builder.go index c8a18fadfe3..2bcb057246c 100644 --- a/bookingcurrencies/booking_currencies_request_builder.go +++ b/bookingcurrencies/booking_currencies_request_builder.go @@ -128,7 +128,7 @@ func (m *BookingCurrenciesRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to bookingCurrencies @@ -141,7 +141,7 @@ func (m *BookingCurrenciesRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/bookingcurrencies/booking_currency_item_request_builder.go b/bookingcurrencies/booking_currency_item_request_builder.go index 5474dad976f..63f00446036 100644 --- a/bookingcurrencies/booking_currency_item_request_builder.go +++ b/bookingcurrencies/booking_currency_item_request_builder.go @@ -121,7 +121,7 @@ func (m *BookingCurrencyItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *BookingCurrencyItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in bookingCurrencies @@ -150,7 +150,7 @@ func (m *BookingCurrencyItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/businessflowtemplates/business_flow_template_item_request_builder.go b/businessflowtemplates/business_flow_template_item_request_builder.go index d8d7d5d8861..e30e347f938 100644 --- a/businessflowtemplates/business_flow_template_item_request_builder.go +++ b/businessflowtemplates/business_flow_template_item_request_builder.go @@ -118,7 +118,7 @@ func (m *BusinessFlowTemplateItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from businessFlowTemplates by key @@ -134,7 +134,7 @@ func (m *BusinessFlowTemplateItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in businessFlowTemplates @@ -147,7 +147,7 @@ func (m *BusinessFlowTemplateItemRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/businessflowtemplates/business_flow_templates_request_builder.go b/businessflowtemplates/business_flow_templates_request_builder.go index f3c741ce117..3d697b36954 100644 --- a/businessflowtemplates/business_flow_templates_request_builder.go +++ b/businessflowtemplates/business_flow_templates_request_builder.go @@ -128,7 +128,7 @@ func (m *BusinessFlowTemplatesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to businessFlowTemplates @@ -141,7 +141,7 @@ func (m *BusinessFlowTemplatesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/certificatebasedauthconfiguration/certificate_based_auth_configuration_item_request_builder.go b/certificatebasedauthconfiguration/certificate_based_auth_configuration_item_request_builder.go index 9e92222c1a5..cab3a58ba89 100644 --- a/certificatebasedauthconfiguration/certificate_based_auth_configuration_item_request_builder.go +++ b/certificatebasedauthconfiguration/certificate_based_auth_configuration_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CertificateBasedAuthConfigurationItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from certificateBasedAuthConfiguration by key @@ -134,7 +134,7 @@ func (m *CertificateBasedAuthConfigurationItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in certificateBasedAuthConfiguration @@ -147,7 +147,7 @@ func (m *CertificateBasedAuthConfigurationItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/certificatebasedauthconfiguration/certificate_based_auth_configuration_request_builder.go b/certificatebasedauthconfiguration/certificate_based_auth_configuration_request_builder.go index 38ae447583c..2fd877314f7 100644 --- a/certificatebasedauthconfiguration/certificate_based_auth_configuration_request_builder.go +++ b/certificatebasedauthconfiguration/certificate_based_auth_configuration_request_builder.go @@ -125,7 +125,7 @@ func (m *CertificateBasedAuthConfigurationRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to certificateBasedAuthConfiguration @@ -138,7 +138,7 @@ func (m *CertificateBasedAuthConfigurationRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/all_messages_request_builder.go b/chats/all_messages_request_builder.go index 9b61aedf3b2..0fd7ef0b89f 100644 --- a/chats/all_messages_request_builder.go +++ b/chats/all_messages_request_builder.go @@ -101,7 +101,7 @@ func (m *AllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/chat_item_request_builder.go b/chats/chat_item_request_builder.go index 8a7611d02cd..5e801a7774f 100644 --- a/chats/chat_item_request_builder.go +++ b/chats/chat_item_request_builder.go @@ -175,7 +175,7 @@ func (m *ChatItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -191,7 +191,7 @@ func (m *ChatItemRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a chat object. This API is available in the following national cloud deployments. @@ -204,7 +204,7 @@ func (m *ChatItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/chats_request_builder.go b/chats/chats_request_builder.go index 308ba9c8dea..8f5bbb020ad 100644 --- a/chats/chats_request_builder.go +++ b/chats/chats_request_builder.go @@ -139,7 +139,7 @@ func (m *ChatsRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new chat object. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *ChatsRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/get_all_messages_request_builder.go b/chats/get_all_messages_request_builder.go index 6843722c95d..e266a070ea9 100644 --- a/chats/get_all_messages_request_builder.go +++ b/chats/get_all_messages_request_builder.go @@ -103,7 +103,7 @@ func (m *GetAllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_hide_for_user_request_builder.go b/chats/item_hide_for_user_request_builder.go index d63f7f322f7..2f8b73f9ad2 100644 --- a/chats/item_hide_for_user_request_builder.go +++ b/chats/item_hide_for_user_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemHideForUserRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_installed_apps_item_teams_app_definition_request_builder.go b/chats/item_installed_apps_item_teams_app_definition_request_builder.go index ef3cf5c1368..2084c8e06a6 100644 --- a/chats/item_installed_apps_item_teams_app_definition_request_builder.go +++ b/chats/item_installed_apps_item_teams_app_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_installed_apps_item_teams_app_request_builder.go b/chats/item_installed_apps_item_teams_app_request_builder.go index 181f7ddbf60..10373002463 100644 --- a/chats/item_installed_apps_item_teams_app_request_builder.go +++ b/chats/item_installed_apps_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemInstalledAppsItemTeamsAppRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_installed_apps_item_upgrade_request_builder.go b/chats/item_installed_apps_item_upgrade_request_builder.go index f9561785101..c824b96f557 100644 --- a/chats/item_installed_apps_item_upgrade_request_builder.go +++ b/chats/item_installed_apps_item_upgrade_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemInstalledAppsItemUpgradeRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_installed_apps_request_builder.go b/chats/item_installed_apps_request_builder.go index 91fd177eba2..9ddc62223e1 100644 --- a/chats/item_installed_apps_request_builder.go +++ b/chats/item_installed_apps_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation install a teamsApp to the specified chat. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemInstalledAppsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_installed_apps_teams_app_installation_item_request_builder.go b/chats/item_installed_apps_teams_app_installation_item_request_builder.go index 47f0a68c267..8631e0543c0 100644 --- a/chats/item_installed_apps_teams_app_installation_item_request_builder.go +++ b/chats/item_installed_apps_teams_app_installation_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an app installed in a chat. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property installedApps in chats @@ -161,7 +161,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_last_message_preview_request_builder.go b/chats/item_last_message_preview_request_builder.go index a01c0e90521..2a8c4ebe3e8 100644 --- a/chats/item_last_message_preview_request_builder.go +++ b/chats/item_last_message_preview_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemLastMessagePreviewRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. @@ -134,7 +134,7 @@ func (m *ItemLastMessagePreviewRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property lastMessagePreview in chats @@ -147,7 +147,7 @@ func (m *ItemLastMessagePreviewRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_mark_chat_read_for_user_request_builder.go b/chats/item_mark_chat_read_for_user_request_builder.go index 607cab75527..f486b602bff 100644 --- a/chats/item_mark_chat_read_for_user_request_builder.go +++ b/chats/item_mark_chat_read_for_user_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMarkChatReadForUserRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_mark_chat_unread_for_user_request_builder.go b/chats/item_mark_chat_unread_for_user_request_builder.go index 04b7e76a37f..7dc7bfa212d 100644 --- a/chats/item_mark_chat_unread_for_user_request_builder.go +++ b/chats/item_mark_chat_unread_for_user_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMarkChatUnreadForUserRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_members_add_request_builder.go b/chats/item_members_add_request_builder.go index dfc3d9babb1..70d16025e73 100644 --- a/chats/item_members_add_request_builder.go +++ b/chats/item_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_members_conversation_member_item_request_builder.go b/chats/item_members_conversation_member_item_request_builder.go index e622f3855a9..9e0bfdb9fe6 100644 --- a/chats/item_members_conversation_member_item_request_builder.go +++ b/chats/item_members_conversation_member_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in chats @@ -153,7 +153,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_members_request_builder.go b/chats/item_members_request_builder.go index bb9e70352d4..f2625ba0752 100644 --- a/chats/item_members_request_builder.go +++ b/chats/item_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a conversationMember to a chat. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_chat_message_item_request_builder.go b/chats/item_messages_chat_message_item_request_builder.go index 36aba7a31f8..2cd1dbedf76 100644 --- a/chats/item_messages_chat_message_item_request_builder.go +++ b/chats/item_messages_chat_message_item_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemMessagesChatMessageItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemMessagesChatMessageItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property messages in chats @@ -166,7 +166,7 @@ func (m *ItemMessagesChatMessageItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_delta_request_builder.go b/chats/item_messages_delta_request_builder.go index 44045704847..04abfacdd2d 100644 --- a/chats/item_messages_delta_request_builder.go +++ b/chats/item_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 6025a12f641..a58394f3721 100644 --- a/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/chats/item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in chats @@ -154,7 +154,7 @@ func (m *ItemMessagesItemHostedContentsChatMessageHostedContentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go b/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go index 54405e859a9..2f110b2317c 100644 --- a/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/chats/item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMessagesItemHostedContentsItemValueContentRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in chats @@ -101,7 +101,7 @@ func (m *ItemMessagesItemHostedContentsItemValueContentRequestBuilder) ToPutRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/chats/item_messages_item_hosted_contents_request_builder.go b/chats/item_messages_item_hosted_contents_request_builder.go index b102e052809..b0a16497802 100644 --- a/chats/item_messages_item_hosted_contents_request_builder.go +++ b/chats/item_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for chats @@ -141,7 +141,7 @@ func (m *ItemMessagesItemHostedContentsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_item_replies_chat_message_item_request_builder.go b/chats/item_messages_item_replies_chat_message_item_request_builder.go index 78a9d1e9542..4f6ca7dfae6 100644 --- a/chats/item_messages_item_replies_chat_message_item_request_builder.go +++ b/chats/item_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemMessagesItemRepliesChatMessageItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in chats @@ -162,7 +162,7 @@ func (m *ItemMessagesItemRepliesChatMessageItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_item_replies_delta_request_builder.go b/chats/item_messages_item_replies_delta_request_builder.go index f740d5cf681..983c85f6e34 100644 --- a/chats/item_messages_item_replies_delta_request_builder.go +++ b/chats/item_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 4b9fb9a76f9..0104076e403 100644 --- a/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/chats/item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in chats @@ -154,7 +154,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsChatMessageHostedContentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 28c29440aaf..f0f563f7e3e 100644 --- a/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/chats/item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in chats @@ -101,7 +101,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsItemValueContentRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/chats/item_messages_item_replies_item_hosted_contents_request_builder.go b/chats/item_messages_item_replies_item_hosted_contents_request_builder.go index 5c721a0e574..e77a878e1e9 100644 --- a/chats/item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/chats/item_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for chats @@ -141,7 +141,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_item_replies_item_set_reaction_request_builder.go b/chats/item_messages_item_replies_item_set_reaction_request_builder.go index 65d8d121972..e704680af68 100644 --- a/chats/item_messages_item_replies_item_set_reaction_request_builder.go +++ b/chats/item_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemMessagesItemRepliesItemSetReactionRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_item_replies_item_soft_delete_request_builder.go b/chats/item_messages_item_replies_item_soft_delete_request_builder.go index 159f9c0b236..e4c83ee5cba 100644 --- a/chats/item_messages_item_replies_item_soft_delete_request_builder.go +++ b/chats/item_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMessagesItemRepliesItemSoftDeleteRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go b/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go index 51fe39a6aef..5414a8a5fd9 100644 --- a/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/chats/item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_messages_item_replies_item_unset_reaction_request_builder.go b/chats/item_messages_item_replies_item_unset_reaction_request_builder.go index ce7d096af9a..7d0ff9b6485 100644 --- a/chats/item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/chats/item_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemMessagesItemRepliesItemUnsetReactionRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_item_replies_request_builder.go b/chats/item_messages_item_replies_request_builder.go index cd38df6a54e..753810b0f4b 100644 --- a/chats/item_messages_item_replies_request_builder.go +++ b/chats/item_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_item_set_reaction_request_builder.go b/chats/item_messages_item_set_reaction_request_builder.go index 3c8fbf18864..53edd298a89 100644 --- a/chats/item_messages_item_set_reaction_request_builder.go +++ b/chats/item_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemMessagesItemSetReactionRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_item_soft_delete_request_builder.go b/chats/item_messages_item_soft_delete_request_builder.go index 39848d0ffad..176291a1e70 100644 --- a/chats/item_messages_item_soft_delete_request_builder.go +++ b/chats/item_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMessagesItemSoftDeleteRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_messages_item_undo_soft_delete_request_builder.go b/chats/item_messages_item_undo_soft_delete_request_builder.go index c4bbbae9802..29aef18e03c 100644 --- a/chats/item_messages_item_undo_soft_delete_request_builder.go +++ b/chats/item_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMessagesItemUndoSoftDeleteRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_messages_item_unset_reaction_request_builder.go b/chats/item_messages_item_unset_reaction_request_builder.go index 367b0a4096c..48291022261 100644 --- a/chats/item_messages_item_unset_reaction_request_builder.go +++ b/chats/item_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemMessagesItemUnsetReactionRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index 628351cb0ef..bc26e7fe2f8 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post 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. +// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation 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. +// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_operations_request_builder.go b/chats/item_operations_request_builder.go index c86451aff12..e539c5a6ecc 100644 --- a/chats/item_operations_request_builder.go +++ b/chats/item_operations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for chats @@ -141,7 +141,7 @@ func (m *ItemOperationsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_operations_teams_async_operation_item_request_builder.go b/chats/item_operations_teams_async_operation_item_request_builder.go index 0dff8502e73..e798f71ac69 100644 --- a/chats/item_operations_teams_async_operation_item_request_builder.go +++ b/chats/item_operations_teams_async_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in chats @@ -150,7 +150,7 @@ func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_permission_grants_request_builder.go b/chats/item_permission_grants_request_builder.go index 09a0f25cc6c..74a26e2d082 100644 --- a/chats/item_permission_grants_request_builder.go +++ b/chats/item_permission_grants_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionGrants for chats @@ -141,7 +141,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_permission_grants_resource_specific_permission_grant_item_request_builder.go b/chats/item_permission_grants_resource_specific_permission_grant_item_request_builder.go index 1a2b62a7a55..82d041bf7a2 100644 --- a/chats/item_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/chats/item_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of permissions granted to apps for the chat. @@ -134,7 +134,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionGrants in chats @@ -147,7 +147,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_pinned_messages_item_message_request_builder.go b/chats/item_pinned_messages_item_message_request_builder.go index 630d0aa41a3..cf631737010 100644 --- a/chats/item_pinned_messages_item_message_request_builder.go +++ b/chats/item_pinned_messages_item_message_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemPinnedMessagesItemMessageRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go b/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go index 2f57ba8bdce..125751213d2 100644 --- a/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go +++ b/chats/item_pinned_messages_pinned_chat_message_info_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the pinned messages in the chat. Nullable. @@ -141,7 +141,7 @@ func (m *ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pinnedMessages in chats @@ -154,7 +154,7 @@ func (m *ItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_pinned_messages_request_builder.go b/chats/item_pinned_messages_request_builder.go index fed2fcbfeeb..c3b2b711820 100644 --- a/chats/item_pinned_messages_request_builder.go +++ b/chats/item_pinned_messages_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemPinnedMessagesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemPinnedMessagesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_send_activity_notification_request_builder.go b/chats/item_send_activity_notification_request_builder.go index 578e0f8eff2..d0c2f5cc7ab 100644 --- a/chats/item_send_activity_notification_request_builder.go +++ b/chats/item_send_activity_notification_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSendActivityNotificationRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_tabs_item_teams_app_request_builder.go b/chats/item_tabs_item_teams_app_request_builder.go index 464893d2739..c6afde55f8d 100644 --- a/chats/item_tabs_item_teams_app_request_builder.go +++ b/chats/item_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTabsItemTeamsAppRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/chats/item_tabs_request_builder.go b/chats/item_tabs_request_builder.go index f6a614f707c..941b3f56112 100644 --- a/chats/item_tabs_request_builder.go +++ b/chats/item_tabs_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemTabsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_tabs_teams_tab_item_request_builder.go b/chats/item_tabs_teams_tab_item_request_builder.go index c3c39442290..7687e5f1f91 100644 --- a/chats/item_tabs_teams_tab_item_request_builder.go +++ b/chats/item_tabs_teams_tab_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTabsTeamsTabItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemTabsTeamsTabItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -160,7 +160,7 @@ func (m *ItemTabsTeamsTabItemRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/chats/item_unhide_for_user_request_builder.go b/chats/item_unhide_for_user_request_builder.go index 3ead4ee9486..94bd0769fe1 100644 --- a/chats/item_unhide_for_user_request_builder.go +++ b/chats/item_unhide_for_user_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemUnhideForUserRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/commands/command_item_request_builder.go b/commands/command_item_request_builder.go index dcf511452a3..6f4ad9558cc 100644 --- a/commands/command_item_request_builder.go +++ b/commands/command_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CommandItemRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from commands by key @@ -138,7 +138,7 @@ func (m *CommandItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in commands @@ -151,7 +151,7 @@ func (m *CommandItemRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/commands/commands_request_builder.go b/commands/commands_request_builder.go index ad9e64d67a9..a3c9939e303 100644 --- a/commands/commands_request_builder.go +++ b/commands/commands_request_builder.go @@ -125,7 +125,7 @@ func (m *CommandsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to commands @@ -138,7 +138,7 @@ func (m *CommandsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/commands/item_responsepayload_request_builder.go b/commands/item_responsepayload_request_builder.go index ea65043c9d4..1119c8b391b 100644 --- a/commands/item_responsepayload_request_builder.go +++ b/commands/item_responsepayload_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResponsepayloadRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/call_records_call_record_item_request_builder.go b/communications/call_records_call_record_item_request_builder.go index 28955f95819..1256c96ff8e 100644 --- a/communications/call_records_call_record_item_request_builder.go +++ b/communications/call_records_call_record_item_request_builder.go @@ -18,7 +18,7 @@ type CallRecordsCallRecordItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CallRecordsCallRecordItemRequestBuilderGetQueryParameters 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. +// CallRecordsCallRecordItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: This API is available in the following national cloud deployments. type CallRecordsCallRecordItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *CallRecordsCallRecordItemRequestBuilder) Delete(ctx context.Context, re } return nil } -// Get 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 retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: This API is available in the following national cloud deployments. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/callrecords-callrecord-get?view=graph-rest-1.0 @@ -92,6 +92,14 @@ func (m *CallRecordsCallRecordItemRequestBuilder) Get(ctx context.Context, reque } return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CallRecordable), nil } +// Organizer_v2 provides operations to manage the organizer_v2 property of the microsoft.graph.callRecords.callRecord entity. +func (m *CallRecordsCallRecordItemRequestBuilder) Organizer_v2()(*CallRecordsItemOrganizer_v2RequestBuilder) { + return NewCallRecordsItemOrganizer_v2RequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Participants_v2 provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. +func (m *CallRecordsCallRecordItemRequestBuilder) Participants_v2()(*CallRecordsItemParticipants_v2RequestBuilder) { + return NewCallRecordsItemParticipants_v2RequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property callRecords in communications func (m *CallRecordsCallRecordItemRequestBuilder) Patch(ctx context.Context, body iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CallRecordable, requestConfiguration *CallRecordsCallRecordItemRequestBuilderPatchRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CallRecordable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); @@ -125,10 +133,10 @@ func (m *CallRecordsCallRecordItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: This API is available in the following national cloud deployments. func (m *CallRecordsCallRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsCallRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -141,7 +149,7 @@ func (m *CallRecordsCallRecordItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property callRecords in communications @@ -154,7 +162,7 @@ func (m *CallRecordsCallRecordItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/call_records_item_organizer_v2_request_builder.go b/communications/call_records_item_organizer_v2_request_builder.go new file mode 100644 index 00000000000..8d26986466c --- /dev/null +++ b/communications/call_records_item_organizer_v2_request_builder.go @@ -0,0 +1,160 @@ +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f "github.com/microsoftgraph/msgraph-beta-sdk-go/models/callrecords" +) + +// CallRecordsItemOrganizer_v2RequestBuilder provides operations to manage the organizer_v2 property of the microsoft.graph.callRecords.callRecord entity. +type CallRecordsItemOrganizer_v2RequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CallRecordsItemOrganizer_v2RequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallRecordsItemOrganizer_v2RequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CallRecordsItemOrganizer_v2RequestBuilderGetQueryParameters identity of the organizer of the call. This relationship is expanded by default in callRecord methods. +type CallRecordsItemOrganizer_v2RequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CallRecordsItemOrganizer_v2RequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallRecordsItemOrganizer_v2RequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CallRecordsItemOrganizer_v2RequestBuilderGetQueryParameters +} +// CallRecordsItemOrganizer_v2RequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallRecordsItemOrganizer_v2RequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCallRecordsItemOrganizer_v2RequestBuilderInternal instantiates a new Organizer_v2RequestBuilder and sets the default values. +func NewCallRecordsItemOrganizer_v2RequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallRecordsItemOrganizer_v2RequestBuilder) { + m := &CallRecordsItemOrganizer_v2RequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/callRecords/{callRecord%2Did}/organizer_v2{?%24select,%24expand}", pathParameters), + } + return m +} +// NewCallRecordsItemOrganizer_v2RequestBuilder instantiates a new Organizer_v2RequestBuilder and sets the default values. +func NewCallRecordsItemOrganizer_v2RequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallRecordsItemOrganizer_v2RequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCallRecordsItemOrganizer_v2RequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property organizer_v2 for communications +func (m *CallRecordsItemOrganizer_v2RequestBuilder) Delete(ctx context.Context, requestConfiguration *CallRecordsItemOrganizer_v2RequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get identity of the organizer of the call. This relationship is expanded by default in callRecord methods. +func (m *CallRecordsItemOrganizer_v2RequestBuilder) Get(ctx context.Context, requestConfiguration *CallRecordsItemOrganizer_v2RequestBuilderGetRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Organizerable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CreateOrganizerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Organizerable), nil +} +// Patch update the navigation property organizer_v2 in communications +func (m *CallRecordsItemOrganizer_v2RequestBuilder) Patch(ctx context.Context, body iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Organizerable, requestConfiguration *CallRecordsItemOrganizer_v2RequestBuilderPatchRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Organizerable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CreateOrganizerFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Organizerable), nil +} +// ToDeleteRequestInformation delete navigation property organizer_v2 for communications +func (m *CallRecordsItemOrganizer_v2RequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CallRecordsItemOrganizer_v2RequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation identity of the organizer of the call. This relationship is expanded by default in callRecord methods. +func (m *CallRecordsItemOrganizer_v2RequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsItemOrganizer_v2RequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property organizer_v2 in communications +func (m *CallRecordsItemOrganizer_v2RequestBuilder) ToPatchRequestInformation(ctx context.Context, body iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Organizerable, requestConfiguration *CallRecordsItemOrganizer_v2RequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CallRecordsItemOrganizer_v2RequestBuilder) WithUrl(rawUrl string)(*CallRecordsItemOrganizer_v2RequestBuilder) { + return NewCallRecordsItemOrganizer_v2RequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_item_participants_v2_count_request_builder.go b/communications/call_records_item_participants_v2_count_request_builder.go new file mode 100644 index 00000000000..42ff48b7fc3 --- /dev/null +++ b/communications/call_records_item_participants_v2_count_request_builder.go @@ -0,0 +1,80 @@ +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CallRecordsItemParticipants_v2CountRequestBuilder provides operations to count the resources in the collection. +type CallRecordsItemParticipants_v2CountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CallRecordsItemParticipants_v2CountRequestBuilderGetQueryParameters get the number of the resource +type CallRecordsItemParticipants_v2CountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CallRecordsItemParticipants_v2CountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallRecordsItemParticipants_v2CountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CallRecordsItemParticipants_v2CountRequestBuilderGetQueryParameters +} +// NewCallRecordsItemParticipants_v2CountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewCallRecordsItemParticipants_v2CountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallRecordsItemParticipants_v2CountRequestBuilder) { + m := &CallRecordsItemParticipants_v2CountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/callRecords/{callRecord%2Did}/participants_v2/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewCallRecordsItemParticipants_v2CountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewCallRecordsItemParticipants_v2CountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallRecordsItemParticipants_v2CountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCallRecordsItemParticipants_v2CountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *CallRecordsItemParticipants_v2CountRequestBuilder) Get(ctx context.Context, requestConfiguration *CallRecordsItemParticipants_v2CountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *CallRecordsItemParticipants_v2CountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsItemParticipants_v2CountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CallRecordsItemParticipants_v2CountRequestBuilder) WithUrl(rawUrl string)(*CallRecordsItemParticipants_v2CountRequestBuilder) { + return NewCallRecordsItemParticipants_v2CountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_item_participants_v2_participant_item_request_builder.go b/communications/call_records_item_participants_v2_participant_item_request_builder.go new file mode 100644 index 00000000000..ea11de36f2a --- /dev/null +++ b/communications/call_records_item_participants_v2_participant_item_request_builder.go @@ -0,0 +1,160 @@ +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f "github.com/microsoftgraph/msgraph-beta-sdk-go/models/callrecords" +) + +// CallRecordsItemParticipants_v2ParticipantItemRequestBuilder provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. +type CallRecordsItemParticipants_v2ParticipantItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CallRecordsItemParticipants_v2ParticipantItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallRecordsItemParticipants_v2ParticipantItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CallRecordsItemParticipants_v2ParticipantItemRequestBuilderGetQueryParameters list of distinct participants in the call. +type CallRecordsItemParticipants_v2ParticipantItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CallRecordsItemParticipants_v2ParticipantItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallRecordsItemParticipants_v2ParticipantItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CallRecordsItemParticipants_v2ParticipantItemRequestBuilderGetQueryParameters +} +// CallRecordsItemParticipants_v2ParticipantItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallRecordsItemParticipants_v2ParticipantItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCallRecordsItemParticipants_v2ParticipantItemRequestBuilderInternal instantiates a new ParticipantItemRequestBuilder and sets the default values. +func NewCallRecordsItemParticipants_v2ParticipantItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) { + m := &CallRecordsItemParticipants_v2ParticipantItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/callRecords/{callRecord%2Did}/participants_v2/{participant%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewCallRecordsItemParticipants_v2ParticipantItemRequestBuilder instantiates a new ParticipantItemRequestBuilder and sets the default values. +func NewCallRecordsItemParticipants_v2ParticipantItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCallRecordsItemParticipants_v2ParticipantItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property participants_v2 for communications +func (m *CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CallRecordsItemParticipants_v2ParticipantItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get list of distinct participants in the call. +func (m *CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CallRecordsItemParticipants_v2ParticipantItemRequestBuilderGetRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CreateParticipantFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable), nil +} +// Patch update the navigation property participants_v2 in communications +func (m *CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) Patch(ctx context.Context, body iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable, requestConfiguration *CallRecordsItemParticipants_v2ParticipantItemRequestBuilderPatchRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CreateParticipantFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable), nil +} +// ToDeleteRequestInformation delete navigation property participants_v2 for communications +func (m *CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CallRecordsItemParticipants_v2ParticipantItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation list of distinct participants in the call. +func (m *CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsItemParticipants_v2ParticipantItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property participants_v2 in communications +func (m *CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable, requestConfiguration *CallRecordsItemParticipants_v2ParticipantItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) WithUrl(rawUrl string)(*CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) { + return NewCallRecordsItemParticipants_v2ParticipantItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_item_participants_v2_request_builder.go b/communications/call_records_item_participants_v2_request_builder.go new file mode 100644 index 00000000000..4b7ad303d25 --- /dev/null +++ b/communications/call_records_item_participants_v2_request_builder.go @@ -0,0 +1,154 @@ +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f "github.com/microsoftgraph/msgraph-beta-sdk-go/models/callrecords" +) + +// CallRecordsItemParticipants_v2RequestBuilder provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. +type CallRecordsItemParticipants_v2RequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CallRecordsItemParticipants_v2RequestBuilderGetQueryParameters get the list of participants associated with a callRecord. +type CallRecordsItemParticipants_v2RequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// CallRecordsItemParticipants_v2RequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallRecordsItemParticipants_v2RequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CallRecordsItemParticipants_v2RequestBuilderGetQueryParameters +} +// CallRecordsItemParticipants_v2RequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallRecordsItemParticipants_v2RequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByParticipantId provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. +func (m *CallRecordsItemParticipants_v2RequestBuilder) ByParticipantId(participantId string)(*CallRecordsItemParticipants_v2ParticipantItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if participantId != "" { + urlTplParams["participant%2Did"] = participantId + } + return NewCallRecordsItemParticipants_v2ParticipantItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCallRecordsItemParticipants_v2RequestBuilderInternal instantiates a new Participants_v2RequestBuilder and sets the default values. +func NewCallRecordsItemParticipants_v2RequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallRecordsItemParticipants_v2RequestBuilder) { + m := &CallRecordsItemParticipants_v2RequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/callRecords/{callRecord%2Did}/participants_v2{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewCallRecordsItemParticipants_v2RequestBuilder instantiates a new Participants_v2RequestBuilder and sets the default values. +func NewCallRecordsItemParticipants_v2RequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallRecordsItemParticipants_v2RequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCallRecordsItemParticipants_v2RequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *CallRecordsItemParticipants_v2RequestBuilder) Count()(*CallRecordsItemParticipants_v2CountRequestBuilder) { + return NewCallRecordsItemParticipants_v2CountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the list of participants associated with a callRecord. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/callrecords-callrecord-list-participants?view=graph-rest-1.0 +func (m *CallRecordsItemParticipants_v2RequestBuilder) Get(ctx context.Context, requestConfiguration *CallRecordsItemParticipants_v2RequestBuilderGetRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.ParticipantCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CreateParticipantCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.ParticipantCollectionResponseable), nil +} +// Post create new navigation property to participants_v2 for communications +func (m *CallRecordsItemParticipants_v2RequestBuilder) Post(ctx context.Context, body iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable, requestConfiguration *CallRecordsItemParticipants_v2RequestBuilderPostRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CreateParticipantFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable), nil +} +// ToGetRequestInformation get the list of participants associated with a callRecord. +func (m *CallRecordsItemParticipants_v2RequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsItemParticipants_v2RequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to participants_v2 for communications +func (m *CallRecordsItemParticipants_v2RequestBuilder) ToPostRequestInformation(ctx context.Context, body iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Participantable, requestConfiguration *CallRecordsItemParticipants_v2RequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CallRecordsItemParticipants_v2RequestBuilder) WithUrl(rawUrl string)(*CallRecordsItemParticipants_v2RequestBuilder) { + return NewCallRecordsItemParticipants_v2RequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/call_records_item_sessions_item_segments_request_builder.go b/communications/call_records_item_sessions_item_segments_request_builder.go index 328bd78089d..4d4f0c99b12 100644 --- a/communications/call_records_item_sessions_item_segments_request_builder.go +++ b/communications/call_records_item_sessions_item_segments_request_builder.go @@ -125,7 +125,7 @@ func (m *CallRecordsItemSessionsItemSegmentsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to segments for communications @@ -138,7 +138,7 @@ func (m *CallRecordsItemSessionsItemSegmentsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/call_records_item_sessions_item_segments_segment_item_request_builder.go b/communications/call_records_item_sessions_item_segments_segment_item_request_builder.go index a8c872c9730..025e69eaf51 100644 --- a/communications/call_records_item_sessions_item_segments_segment_item_request_builder.go +++ b/communications/call_records_item_sessions_item_segments_segment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CallRecordsItemSessionsItemSegmentsSegmentItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of segments involved in the session. Read-only. Nullable. @@ -134,7 +134,7 @@ func (m *CallRecordsItemSessionsItemSegmentsSegmentItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property segments in communications @@ -147,7 +147,7 @@ func (m *CallRecordsItemSessionsItemSegmentsSegmentItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/call_records_item_sessions_request_builder.go b/communications/call_records_item_sessions_request_builder.go index a8ee6bc6d30..249e8c40835 100644 --- a/communications/call_records_item_sessions_request_builder.go +++ b/communications/call_records_item_sessions_request_builder.go @@ -11,7 +11,7 @@ import ( type CallRecordsItemSessionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// CallRecordsItemSessionsRequestBuilderGetQueryParameters 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. +// CallRecordsItemSessionsRequestBuilderGetQueryParameters retrieve the list of sessions associated with a callRecord object. This API is available in the following national cloud deployments. type CallRecordsItemSessionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,10 +74,10 @@ func NewCallRecordsItemSessionsRequestBuilder(rawUrl string, requestAdapter i2ae func (m *CallRecordsItemSessionsRequestBuilder) Count()(*CallRecordsItemSessionsCountRequestBuilder) { return NewCallRecordsItemSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. +// Get retrieve the list of sessions associated with a callRecord object. This API is available in the following national cloud deployments. // [Find more info here] // -// [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 func (m *CallRecordsItemSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallRecordsItemSessionsRequestBuilderGetRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.SessionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +115,7 @@ func (m *CallRecordsItemSessionsRequestBuilder) Post(ctx context.Context, body i } return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.Sessionable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation retrieve the list of sessions associated with a callRecord object. This API is available in the following national cloud deployments. func (m *CallRecordsItemSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsItemSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -128,7 +128,7 @@ func (m *CallRecordsItemSessionsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sessions for communications @@ -141,7 +141,7 @@ func (m *CallRecordsItemSessionsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/call_records_item_sessions_session_item_request_builder.go b/communications/call_records_item_sessions_session_item_request_builder.go index 8642b07e637..c0abb7de039 100644 --- a/communications/call_records_item_sessions_session_item_request_builder.go +++ b/communications/call_records_item_sessions_session_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CallRecordsItemSessionsSessionItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -138,7 +138,7 @@ func (m *CallRecordsItemSessionsSessionItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sessions in communications @@ -151,7 +151,7 @@ func (m *CallRecordsItemSessionsSessionItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/call_records_microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.go b/communications/call_records_microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.go index 9ef5a186468..57ea80c91ee 100644 --- a/communications/call_records_microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.go +++ b/communications/call_records_microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *CallRecordsMicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/call_records_microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.go b/communications/call_records_microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.go index d9f39a497fd..369b615b925 100644 --- a/communications/call_records_microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.go +++ b/communications/call_records_microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *CallRecordsMicrosoftGraphCallRecordsGetPstnBlockedUsersLogWithFromDateT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/call_records_microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.go b/communications/call_records_microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.go index 518bb141886..d6f2f81a1a1 100644 --- a/communications/call_records_microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.go +++ b/communications/call_records_microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *CallRecordsMicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/call_records_microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.go b/communications/call_records_microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.go index f98cda3a583..0fd6371c2f7 100644 --- a/communications/call_records_microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.go +++ b/communications/call_records_microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *CallRecordsMicrosoftGraphCallRecordsGetPstnOnlineMeetingDialoutReportWi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/call_records_microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.go b/communications/call_records_microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.go index d02324250ce..4347beaf940 100644 --- a/communications/call_records_microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.go +++ b/communications/call_records_microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *CallRecordsMicrosoftGraphCallRecordsGetSmsLogWithFromDateTimeWithToDate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/call_records_request_builder.go b/communications/call_records_request_builder.go index e32ea5bd502..ffb85e8a273 100644 --- a/communications/call_records_request_builder.go +++ b/communications/call_records_request_builder.go @@ -12,7 +12,7 @@ import ( type CallRecordsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// 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. +// CallRecordsRequestBuilderGetQueryParameters 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. type CallRecordsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -75,7 +75,10 @@ func NewCallRecordsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 func (m *CallRecordsRequestBuilder) Count()(*CallRecordsCountRequestBuilder) { return NewCallRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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 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. +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/callrecords-callrecord-list?view=graph-rest-1.0 func (m *CallRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *CallRecordsRequestBuilderGetRequestConfiguration)(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CallRecordCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -133,7 +136,7 @@ func (m *CallRecordsRequestBuilder) Post(ctx context.Context, body iabe42a55de44 } return res.(iabe42a55de44a0960e4cc683a105812061defb936fe89e1bc4ab83c390c3839f.CallRecordable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation 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. func (m *CallRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -146,7 +149,7 @@ func (m *CallRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to callRecords for communications @@ -159,7 +162,7 @@ func (m *CallRecordsRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_call_item_request_builder.go b/communications/calls_call_item_request_builder.go index 422db1d3f71..56f2e592adc 100644 --- a/communications/calls_call_item_request_builder.go +++ b/communications/calls_call_item_request_builder.go @@ -174,6 +174,10 @@ func (m *CallsCallItemRequestBuilder) Redirect()(*CallsItemRedirectRequestBuilde func (m *CallsCallItemRequestBuilder) Reject()(*CallsItemRejectRequestBuilder) { return NewCallsItemRejectRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// SendDtmfTones provides operations to call the sendDtmfTones method. +func (m *CallsCallItemRequestBuilder) SendDtmfTones()(*CallsItemSendDtmfTonesRequestBuilder) { + return NewCallsItemSendDtmfTonesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // SubscribeToTone provides operations to call the subscribeToTone method. func (m *CallsCallItemRequestBuilder) SubscribeToTone()(*CallsItemSubscribeToToneRequestBuilder) { return NewCallsItemSubscribeToToneRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -188,7 +192,7 @@ func (m *CallsCallItemRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. @@ -204,7 +208,7 @@ func (m *CallsCallItemRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property calls in communications @@ -217,7 +221,7 @@ func (m *CallsCallItemRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_add_large_gallery_view_request_builder.go b/communications/calls_item_add_large_gallery_view_request_builder.go index a92162c4fcc..e0f5e2de829 100644 --- a/communications/calls_item_add_large_gallery_view_request_builder.go +++ b/communications/calls_item_add_large_gallery_view_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemAddLargeGalleryViewRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_answer_request_builder.go b/communications/calls_item_answer_request_builder.go index 4be8a873ab0..76ea5bc3539 100644 --- a/communications/calls_item_answer_request_builder.go +++ b/communications/calls_item_answer_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemAnswerRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go b/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go index 386fbb1b8b0..ffc6af539d8 100644 --- a/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go +++ b/communications/calls_item_audio_routing_groups_audio_routing_group_item_request_builder.go @@ -127,7 +127,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation modify sources and receivers of an audioRoutingGroup. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *CallsItemAudioRoutingGroupsAudioRoutingGroupItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_audio_routing_groups_request_builder.go b/communications/calls_item_audio_routing_groups_request_builder.go index 4ace054fcc9..898b2a8e69d 100644 --- a/communications/calls_item_audio_routing_groups_request_builder.go +++ b/communications/calls_item_audio_routing_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new audioRoutingGroup. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CallsItemAudioRoutingGroupsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_cancel_media_processing_request_builder.go b/communications/calls_item_cancel_media_processing_request_builder.go index b916d10931e..302126c06e1 100644 --- a/communications/calls_item_cancel_media_processing_request_builder.go +++ b/communications/calls_item_cancel_media_processing_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemCancelMediaProcessingRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_change_screen_sharing_role_request_builder.go b/communications/calls_item_change_screen_sharing_role_request_builder.go index 1157aa2091e..20bd6a1cc7c 100644 --- a/communications/calls_item_change_screen_sharing_role_request_builder.go +++ b/communications/calls_item_change_screen_sharing_role_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemChangeScreenSharingRoleRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go b/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go index 6979c2f535e..3f05e28235a 100644 --- a/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go +++ b/communications/calls_item_content_sharing_sessions_content_sharing_session_item_request_builder.go @@ -121,7 +121,7 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of a contentSharingSession object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentSharingSessions in communications @@ -150,7 +150,7 @@ func (m *CallsItemContentSharingSessionsContentSharingSessionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_content_sharing_sessions_request_builder.go b/communications/calls_item_content_sharing_sessions_request_builder.go index c130b25a467..8758c50f264 100644 --- a/communications/calls_item_content_sharing_sessions_request_builder.go +++ b/communications/calls_item_content_sharing_sessions_request_builder.go @@ -128,7 +128,7 @@ func (m *CallsItemContentSharingSessionsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentSharingSessions for communications @@ -141,7 +141,7 @@ func (m *CallsItemContentSharingSessionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_keep_alive_request_builder.go b/communications/calls_item_keep_alive_request_builder.go index 53237b33b22..abfbf340637 100644 --- a/communications/calls_item_keep_alive_request_builder.go +++ b/communications/calls_item_keep_alive_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemKeepAliveRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/calls_item_mute_request_builder.go b/communications/calls_item_mute_request_builder.go index ca67fa9eaac..4820c6fdcdf 100644 --- a/communications/calls_item_mute_request_builder.go +++ b/communications/calls_item_mute_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemMuteRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_operations_comms_operation_item_request_builder.go b/communications/calls_item_operations_comms_operation_item_request_builder.go index 955e3eb3969..2ea6194668f 100644 --- a/communications/calls_item_operations_comms_operation_item_request_builder.go +++ b/communications/calls_item_operations_comms_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in communications @@ -150,7 +150,7 @@ func (m *CallsItemOperationsCommsOperationItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_operations_request_builder.go b/communications/calls_item_operations_request_builder.go index a871f5c4811..67528759d2b 100644 --- a/communications/calls_item_operations_request_builder.go +++ b/communications/calls_item_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *CallsItemOperationsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for communications @@ -138,7 +138,7 @@ func (m *CallsItemOperationsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_participants_invite_request_builder.go b/communications/calls_item_participants_invite_request_builder.go index 08e6f908cc2..9a157e27d7a 100644 --- a/communications/calls_item_participants_invite_request_builder.go +++ b/communications/calls_item_participants_invite_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_participants_item_mute_request_builder.go b/communications/calls_item_participants_item_mute_request_builder.go index f2b1d5977e0..61496eaee22 100644 --- a/communications/calls_item_participants_item_mute_request_builder.go +++ b/communications/calls_item_participants_item_mute_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemParticipantsItemMuteRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_participants_item_start_hold_music_request_builder.go b/communications/calls_item_participants_item_start_hold_music_request_builder.go index 082f7bc9082..00ccc18aeda 100644 --- a/communications/calls_item_participants_item_start_hold_music_request_builder.go +++ b/communications/calls_item_participants_item_start_hold_music_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemParticipantsItemStartHoldMusicRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_participants_item_stop_hold_music_request_builder.go b/communications/calls_item_participants_item_stop_hold_music_request_builder.go index 5362b7eb6ac..b7628455629 100644 --- a/communications/calls_item_participants_item_stop_hold_music_request_builder.go +++ b/communications/calls_item_participants_item_stop_hold_music_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemParticipantsItemStopHoldMusicRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_participants_mute_all_request_builder.go b/communications/calls_item_participants_mute_all_request_builder.go index 505850b615c..7926375eb5e 100644 --- a/communications/calls_item_participants_mute_all_request_builder.go +++ b/communications/calls_item_participants_mute_all_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemParticipantsMuteAllRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_participants_participant_item_request_builder.go b/communications/calls_item_participants_participant_item_request_builder.go index edcfb44e75a..4b0e26a08a5 100644 --- a/communications/calls_item_participants_participant_item_request_builder.go +++ b/communications/calls_item_participants_participant_item_request_builder.go @@ -136,7 +136,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property participants in communications @@ -165,7 +165,7 @@ func (m *CallsItemParticipantsParticipantItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_participants_request_builder.go b/communications/calls_item_participants_request_builder.go index a4f9ea20fb0..e9ff028cd63 100644 --- a/communications/calls_item_participants_request_builder.go +++ b/communications/calls_item_participants_request_builder.go @@ -136,7 +136,7 @@ func (m *CallsItemParticipantsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to participants for communications @@ -149,7 +149,7 @@ func (m *CallsItemParticipantsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_play_prompt_request_builder.go b/communications/calls_item_play_prompt_request_builder.go index 8e832985453..3c0ea9467fc 100644 --- a/communications/calls_item_play_prompt_request_builder.go +++ b/communications/calls_item_play_prompt_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemPlayPromptRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_record_request_builder.go b/communications/calls_item_record_request_builder.go index 49eb66fa402..a215ea88d55 100644 --- a/communications/calls_item_record_request_builder.go +++ b/communications/calls_item_record_request_builder.go @@ -60,7 +60,7 @@ func (m *CallsItemRecordRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_record_response_request_builder.go b/communications/calls_item_record_response_request_builder.go index 719366560b2..40684857e4e 100644 --- a/communications/calls_item_record_response_request_builder.go +++ b/communications/calls_item_record_response_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemRecordResponseRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_redirect_request_builder.go b/communications/calls_item_redirect_request_builder.go index d729058dc32..6a39d763657 100644 --- a/communications/calls_item_redirect_request_builder.go +++ b/communications/calls_item_redirect_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemRedirectRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_reject_request_builder.go b/communications/calls_item_reject_request_builder.go index 98b7d2c0005..875c01b1dee 100644 --- a/communications/calls_item_reject_request_builder.go +++ b/communications/calls_item_reject_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemRejectRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_send_dtmf_tones_post_request_body.go b/communications/calls_item_send_dtmf_tones_post_request_body.go new file mode 100644 index 00000000000..032e789546d --- /dev/null +++ b/communications/calls_item_send_dtmf_tones_post_request_body.go @@ -0,0 +1,189 @@ +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// CallsItemSendDtmfTonesPostRequestBody +type CallsItemSendDtmfTonesPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCallsItemSendDtmfTonesPostRequestBody instantiates a new CallsItemSendDtmfTonesPostRequestBody and sets the default values. +func NewCallsItemSendDtmfTonesPostRequestBody()(*CallsItemSendDtmfTonesPostRequestBody) { + m := &CallsItemSendDtmfTonesPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCallsItemSendDtmfTonesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateCallsItemSendDtmfTonesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCallsItemSendDtmfTonesPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CallsItemSendDtmfTonesPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +func (m *CallsItemSendDtmfTonesPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetClientContext gets the clientContext property value. The clientContext property +func (m *CallsItemSendDtmfTonesPostRequestBody) GetClientContext()(*string) { + val, err := m.GetBackingStore().Get("clientContext") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDelayBetweenTonesMs gets the delayBetweenTonesMs property value. The delayBetweenTonesMs property +func (m *CallsItemSendDtmfTonesPostRequestBody) GetDelayBetweenTonesMs()(*int32) { + val, err := m.GetBackingStore().Get("delayBetweenTonesMs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *CallsItemSendDtmfTonesPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["clientContext"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientContext(val) + } + return nil + } + res["delayBetweenTonesMs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetDelayBetweenTonesMs(val) + } + return nil + } + res["tones"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseTone) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone)) + } + } + m.SetTones(res) + } + return nil + } + return res +} +// GetTones gets the tones property value. The tones property +func (m *CallsItemSendDtmfTonesPostRequestBody) GetTones()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone) { + val, err := m.GetBackingStore().Get("tones") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone) + } + return nil +} +// Serialize serializes information the current object +func (m *CallsItemSendDtmfTonesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("clientContext", m.GetClientContext()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("delayBetweenTonesMs", m.GetDelayBetweenTonesMs()) + if err != nil { + return err + } + } + if m.GetTones() != nil { + err := writer.WriteCollectionOfStringValues("tones", ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SerializeTone(m.GetTones())) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CallsItemSendDtmfTonesPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CallsItemSendDtmfTonesPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetClientContext sets the clientContext property value. The clientContext property +func (m *CallsItemSendDtmfTonesPostRequestBody) SetClientContext(value *string)() { + err := m.GetBackingStore().Set("clientContext", value) + if err != nil { + panic(err) + } +} +// SetDelayBetweenTonesMs sets the delayBetweenTonesMs property value. The delayBetweenTonesMs property +func (m *CallsItemSendDtmfTonesPostRequestBody) SetDelayBetweenTonesMs(value *int32)() { + err := m.GetBackingStore().Set("delayBetweenTonesMs", value) + if err != nil { + panic(err) + } +} +// SetTones sets the tones property value. The tones property +func (m *CallsItemSendDtmfTonesPostRequestBody) SetTones(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone)() { + err := m.GetBackingStore().Set("tones", value) + if err != nil { + panic(err) + } +} +// CallsItemSendDtmfTonesPostRequestBodyable +type CallsItemSendDtmfTonesPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetClientContext()(*string) + GetDelayBetweenTonesMs()(*int32) + GetTones()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetClientContext(value *string)() + SetDelayBetweenTonesMs(value *int32)() + SetTones(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Tone)() +} diff --git a/communications/calls_item_send_dtmf_tones_request_builder.go b/communications/calls_item_send_dtmf_tones_request_builder.go new file mode 100644 index 00000000000..78630f3e383 --- /dev/null +++ b/communications/calls_item_send_dtmf_tones_request_builder.go @@ -0,0 +1,73 @@ +package communications + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CallsItemSendDtmfTonesRequestBuilder provides operations to call the sendDtmfTones method. +type CallsItemSendDtmfTonesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CallsItemSendDtmfTonesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CallsItemSendDtmfTonesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCallsItemSendDtmfTonesRequestBuilderInternal instantiates a new SendDtmfTonesRequestBuilder and sets the default values. +func NewCallsItemSendDtmfTonesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallsItemSendDtmfTonesRequestBuilder) { + m := &CallsItemSendDtmfTonesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/sendDtmfTones", pathParameters), + } + return m +} +// NewCallsItemSendDtmfTonesRequestBuilder instantiates a new SendDtmfTonesRequestBuilder and sets the default values. +func NewCallsItemSendDtmfTonesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CallsItemSendDtmfTonesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCallsItemSendDtmfTonesRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action sendDtmfTones +func (m *CallsItemSendDtmfTonesRequestBuilder) Post(ctx context.Context, body CallsItemSendDtmfTonesPostRequestBodyable, requestConfiguration *CallsItemSendDtmfTonesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SendDtmfTonesOperationable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateSendDtmfTonesOperationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SendDtmfTonesOperationable), nil +} +// ToPostRequestInformation invoke action sendDtmfTones +func (m *CallsItemSendDtmfTonesRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemSendDtmfTonesPostRequestBodyable, requestConfiguration *CallsItemSendDtmfTonesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *CallsItemSendDtmfTonesRequestBuilder) WithUrl(rawUrl string)(*CallsItemSendDtmfTonesRequestBuilder) { + return NewCallsItemSendDtmfTonesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/calls_item_subscribe_to_tone_request_builder.go b/communications/calls_item_subscribe_to_tone_request_builder.go index 2e9a78ca690..837da134c88 100644 --- a/communications/calls_item_subscribe_to_tone_request_builder.go +++ b/communications/calls_item_subscribe_to_tone_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemSubscribeToToneRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_transfer_request_builder.go b/communications/calls_item_transfer_request_builder.go index 208f9beb893..5c4c42b9949 100644 --- a/communications/calls_item_transfer_request_builder.go +++ b/communications/calls_item_transfer_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsItemTransferRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_unmute_request_builder.go b/communications/calls_item_unmute_request_builder.go index 5fba2c1df80..08da44ee598 100644 --- a/communications/calls_item_unmute_request_builder.go +++ b/communications/calls_item_unmute_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemUnmuteRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_item_update_recording_status_request_builder.go b/communications/calls_item_update_recording_status_request_builder.go index 21344be4823..f8e473cc756 100644 --- a/communications/calls_item_update_recording_status_request_builder.go +++ b/communications/calls_item_update_recording_status_request_builder.go @@ -63,7 +63,7 @@ func (m *CallsItemUpdateRecordingStatusRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_log_teleconference_device_quality_request_builder.go b/communications/calls_log_teleconference_device_quality_request_builder.go index ad6e0f94af2..efe1278f6fc 100644 --- a/communications/calls_log_teleconference_device_quality_request_builder.go +++ b/communications/calls_log_teleconference_device_quality_request_builder.go @@ -59,7 +59,7 @@ func (m *CallsLogTeleconferenceDeviceQualityRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/calls_request_builder.go b/communications/calls_request_builder.go index ea043066cf2..da2718f463f 100644 --- a/communications/calls_request_builder.go +++ b/communications/calls_request_builder.go @@ -132,7 +132,7 @@ func (m *CallsRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -145,7 +145,7 @@ func (m *CallsRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/communications_request_builder.go b/communications/communications_request_builder.go index e391f456e40..8dcc40448fc 100644 --- a/communications/communications_request_builder.go +++ b/communications/communications_request_builder.go @@ -118,7 +118,7 @@ func (m *CommunicationsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update communications @@ -131,7 +131,7 @@ func (m *CommunicationsRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/get_presences_by_user_id_request_builder.go b/communications/get_presences_by_user_id_request_builder.go index 1c8dd20ae00..2d600384e09 100644 --- a/communications/get_presences_by_user_id_request_builder.go +++ b/communications/get_presences_by_user_id_request_builder.go @@ -85,7 +85,7 @@ func (m *GetPresencesByUserIdRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_create_or_get_request_builder.go b/communications/online_meetings_create_or_get_request_builder.go index 2779849d8c7..25b9be6acd8 100644 --- a/communications/online_meetings_create_or_get_request_builder.go +++ b/communications/online_meetings_create_or_get_request_builder.go @@ -63,7 +63,7 @@ func (m *OnlineMeetingsCreateOrGetRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_get_all_recordings_request_builder.go b/communications/online_meetings_get_all_recordings_request_builder.go index bc530aa8be8..5fef7b65e62 100644 --- a/communications/online_meetings_get_all_recordings_request_builder.go +++ b/communications/online_meetings_get_all_recordings_request_builder.go @@ -101,7 +101,7 @@ func (m *OnlineMeetingsGetAllRecordingsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/online_meetings_get_all_transcripts_request_builder.go b/communications/online_meetings_get_all_transcripts_request_builder.go index dab02f59333..dcbe811b550 100644 --- a/communications/online_meetings_get_all_transcripts_request_builder.go +++ b/communications/online_meetings_get_all_transcripts_request_builder.go @@ -101,7 +101,7 @@ func (m *OnlineMeetingsGetAllTranscriptsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/online_meetings_item_alternative_recording_request_builder.go b/communications/online_meetings_item_alternative_recording_request_builder.go index cd194c7d07d..bd575bff0ba 100644 --- a/communications/online_meetings_item_alternative_recording_request_builder.go +++ b/communications/online_meetings_item_alternative_recording_request_builder.go @@ -88,7 +88,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update alternativeRecording for the navigation property onlineMeetings in communications @@ -101,7 +101,7 @@ func (m *OnlineMeetingsItemAlternativeRecordingRequestBuilder) ToPutRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/communications/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go b/communications/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go index 934a8e57122..7e8fbd3113a 100644 --- a/communications/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of attendance records of an attendance report. Read-only. @@ -134,7 +134,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceRecords in communications @@ -147,7 +147,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go b/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go index 40150800bcf..2e6ddd99777 100644 --- a/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_item_attendance_records_request_builder.go @@ -128,7 +128,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceRecords for communications @@ -141,7 +141,7 @@ func (m *OnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go b/communications/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go index a05df5c50a1..5a9cab720ba 100644 --- a/communications/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go @@ -7,7 +7,7 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. type OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } @@ -18,7 +18,7 @@ type OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilde // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters 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. +// OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters get attendanceReports from communications type OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,10 +74,7 @@ func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu } return nil } -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 +// Get get attendanceReports from communications func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -125,10 +122,10 @@ func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get attendanceReports from communications func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -141,7 +138,7 @@ func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceReports in communications @@ -154,7 +151,7 @@ func (m *OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_attendance_reports_request_builder.go b/communications/online_meetings_item_attendance_reports_request_builder.go index 6e87c5e8342..12b4856ef6b 100644 --- a/communications/online_meetings_item_attendance_reports_request_builder.go +++ b/communications/online_meetings_item_attendance_reports_request_builder.go @@ -7,11 +7,11 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// OnlineMeetingsItemAttendanceReportsRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// OnlineMeetingsItemAttendanceReportsRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. type OnlineMeetingsItemAttendanceReportsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// OnlineMeetingsItemAttendanceReportsRequestBuilderGetQueryParameters 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. +// OnlineMeetingsItemAttendanceReportsRequestBuilderGetQueryParameters get attendanceReports from communications type OnlineMeetingsItemAttendanceReportsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,7 +46,7 @@ type OnlineMeetingsItemAttendanceReportsRequestBuilderPostRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportId(meetingAttendanceReportId string)(*OnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { @@ -74,10 +74,7 @@ func NewOnlineMeetingsItemAttendanceReportsRequestBuilder(rawUrl string, request func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) Count()(*OnlineMeetingsItemAttendanceReportsCountRequestBuilder) { return NewOnlineMeetingsItemAttendanceReportsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 +// Get get attendanceReports from communications func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +112,7 @@ func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get attendanceReports from communications func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *OnlineMeetingsItemAttendanceReportsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -128,7 +125,7 @@ func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceReports for communications @@ -141,7 +138,7 @@ func (m *OnlineMeetingsItemAttendanceReportsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_attendee_report_request_builder.go b/communications/online_meetings_item_attendee_report_request_builder.go index e7f94af8d0d..b574d0305b1 100644 --- a/communications/online_meetings_item_attendee_report_request_builder.go +++ b/communications/online_meetings_item_attendee_report_request_builder.go @@ -88,7 +88,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update attendeeReport for the navigation property onlineMeetings in communications @@ -101,7 +101,7 @@ func (m *OnlineMeetingsItemAttendeeReportRequestBuilder) ToPutRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/communications/online_meetings_item_broadcast_recording_request_builder.go b/communications/online_meetings_item_broadcast_recording_request_builder.go index 76d1e818178..c3c5cc8e54b 100644 --- a/communications/online_meetings_item_broadcast_recording_request_builder.go +++ b/communications/online_meetings_item_broadcast_recording_request_builder.go @@ -88,7 +88,7 @@ func (m *OnlineMeetingsItemBroadcastRecordingRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update broadcastRecording for the navigation property onlineMeetings in communications @@ -101,7 +101,7 @@ func (m *OnlineMeetingsItemBroadcastRecordingRequestBuilder) ToPutRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go b/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go index fa8e767e6c8..a8a16f89335 100644 --- a/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go +++ b/communications/online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go @@ -79,7 +79,7 @@ func (m *OnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go b/communications/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go index 7251e46ca0e..4720d202a68 100644 --- a/communications/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go +++ b/communications/online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of attendance records of an attendance report. Read-only. @@ -134,7 +134,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceRecords in communications @@ -147,7 +147,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go b/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go index 91070801dd0..bc3db29fb3d 100644 --- a/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/communications/online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go @@ -128,7 +128,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceRecords for communications @@ -141,7 +141,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_meeting_attendance_report_request_builder.go b/communications/online_meetings_item_meeting_attendance_report_request_builder.go index 5392021d2f0..dd3dbbf9142 100644 --- a/communications/online_meetings_item_meeting_attendance_report_request_builder.go +++ b/communications/online_meetings_item_meeting_attendance_report_request_builder.go @@ -125,7 +125,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property meetingAttendanceReport in communications @@ -154,7 +154,7 @@ func (m *OnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_recording_request_builder.go b/communications/online_meetings_item_recording_request_builder.go index 9baa727fc1c..65bed7f3bb1 100644 --- a/communications/online_meetings_item_recording_request_builder.go +++ b/communications/online_meetings_item_recording_request_builder.go @@ -88,7 +88,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update recording for the navigation property onlineMeetings in communications @@ -101,7 +101,7 @@ func (m *OnlineMeetingsItemRecordingRequestBuilder) ToPutRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/communications/online_meetings_item_recordings_call_recording_item_request_builder.go b/communications/online_meetings_item_recordings_call_recording_item_request_builder.go index 65cf45d83b9..1b2ef03f78c 100644 --- a/communications/online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/communications/online_meetings_item_recordings_call_recording_item_request_builder.go @@ -125,7 +125,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property recordings in communications @@ -154,7 +154,7 @@ func (m *OnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_recordings_delta_request_builder.go b/communications/online_meetings_item_recordings_delta_request_builder.go index d01425a1880..059c37abf56 100644 --- a/communications/online_meetings_item_recordings_delta_request_builder.go +++ b/communications/online_meetings_item_recordings_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *OnlineMeetingsItemRecordingsDeltaRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/online_meetings_item_recordings_item_content_request_builder.go b/communications/online_meetings_item_recordings_item_content_request_builder.go index a0552655f5e..5e9a5aeb087 100644 --- a/communications/online_meetings_item_recordings_item_content_request_builder.go +++ b/communications/online_meetings_item_recordings_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *OnlineMeetingsItemRecordingsItemContentRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content of the recording. Read-only. @@ -99,7 +99,7 @@ func (m *OnlineMeetingsItemRecordingsItemContentRequestBuilder) ToPutRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/communications/online_meetings_item_recordings_request_builder.go b/communications/online_meetings_item_recordings_request_builder.go index 4914fbecf86..d86ba4d2826 100644 --- a/communications/online_meetings_item_recordings_request_builder.go +++ b/communications/online_meetings_item_recordings_request_builder.go @@ -129,7 +129,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to recordings for communications @@ -142,7 +142,7 @@ func (m *OnlineMeetingsItemRecordingsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index be2d5c76950..387625d5d0c 100644 --- a/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/communications/online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -127,7 +127,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQuestio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_registration_custom_questions_request_builder.go b/communications/online_meetings_item_registration_custom_questions_request_builder.go index 1350a5ad08b..7de27006022 100644 --- a/communications/online_meetings_item_registration_custom_questions_request_builder.go +++ b/communications/online_meetings_item_registration_custom_questions_request_builder.go @@ -131,7 +131,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *OnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/communications/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go index a32446aacde..734ea9ba892 100644 --- a/communications/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ b/communications/online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go @@ -118,7 +118,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation registrants of the online meeting. @@ -134,7 +134,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property registrants in communications @@ -147,7 +147,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_registration_registrants_request_builder.go b/communications/online_meetings_item_registration_registrants_request_builder.go index c99ba074d8e..022aa6e0f54 100644 --- a/communications/online_meetings_item_registration_registrants_request_builder.go +++ b/communications/online_meetings_item_registration_registrants_request_builder.go @@ -125,7 +125,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to registrants for communications @@ -138,7 +138,7 @@ func (m *OnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_registration_request_builder.go b/communications/online_meetings_item_registration_request_builder.go index 3ff914e54d5..826053b5189 100644 --- a/communications/online_meetings_item_registration_request_builder.go +++ b/communications/online_meetings_item_registration_request_builder.go @@ -135,7 +135,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -164,7 +164,7 @@ func (m *OnlineMeetingsItemRegistrationRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go b/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go index 0f82dabf82c..47e83692802 100644 --- a/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/communications/online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -129,7 +129,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -145,7 +145,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property transcripts in communications @@ -158,7 +158,7 @@ func (m *OnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_item_transcripts_delta_request_builder.go b/communications/online_meetings_item_transcripts_delta_request_builder.go index 283b81fe4d4..146d356e108 100644 --- a/communications/online_meetings_item_transcripts_delta_request_builder.go +++ b/communications/online_meetings_item_transcripts_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *OnlineMeetingsItemTranscriptsDeltaRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/online_meetings_item_transcripts_item_content_request_builder.go b/communications/online_meetings_item_transcripts_item_content_request_builder.go index 85e575479ec..a8868b46e03 100644 --- a/communications/online_meetings_item_transcripts_item_content_request_builder.go +++ b/communications/online_meetings_item_transcripts_item_content_request_builder.go @@ -89,7 +89,7 @@ func (m *OnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content of the transcript. Read-only. @@ -102,7 +102,7 @@ func (m *OnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToPutRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go b/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go index 019841a8181..7adb41173b7 100644 --- a/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/communications/online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -88,7 +88,7 @@ func (m *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. @@ -101,7 +101,7 @@ func (m *OnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToPutRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/communications/online_meetings_item_transcripts_request_builder.go b/communications/online_meetings_item_transcripts_request_builder.go index f289fe7ecce..71f3b886d55 100644 --- a/communications/online_meetings_item_transcripts_request_builder.go +++ b/communications/online_meetings_item_transcripts_request_builder.go @@ -132,7 +132,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to transcripts for communications @@ -145,7 +145,7 @@ func (m *OnlineMeetingsItemTranscriptsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_online_meeting_item_request_builder.go b/communications/online_meetings_online_meeting_item_request_builder.go index b220424c3e4..1e388adb8e5 100644 --- a/communications/online_meetings_online_meeting_item_request_builder.go +++ b/communications/online_meetings_online_meeting_item_request_builder.go @@ -45,7 +45,7 @@ type OnlineMeetingsOnlineMeetingItemRequestBuilderPatchRequestConfiguration stru func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) AlternativeRecording()(*OnlineMeetingsItemAlternativeRecordingRequestBuilder) { return NewOnlineMeetingsItemAlternativeRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// AttendanceReports provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// AttendanceReports provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) AttendanceReports()(*OnlineMeetingsItemAttendanceReportsRequestBuilder) { return NewOnlineMeetingsItemAttendanceReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } @@ -154,7 +154,7 @@ func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get onlineMeetings from communications @@ -170,7 +170,7 @@ func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property onlineMeetings in communications @@ -183,7 +183,7 @@ func (m *OnlineMeetingsOnlineMeetingItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/online_meetings_request_builder.go b/communications/online_meetings_request_builder.go index 1d81d44bc9e..0f1116037ee 100644 --- a/communications/online_meetings_request_builder.go +++ b/communications/online_meetings_request_builder.go @@ -140,7 +140,7 @@ func (m *OnlineMeetingsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to onlineMeetings for communications @@ -153,7 +153,7 @@ func (m *OnlineMeetingsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/presences_item_clear_presence_request_builder.go b/communications/presences_item_clear_presence_request_builder.go index e1a9c36b394..2692a6870bd 100644 --- a/communications/presences_item_clear_presence_request_builder.go +++ b/communications/presences_item_clear_presence_request_builder.go @@ -59,7 +59,7 @@ func (m *PresencesItemClearPresenceRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/presences_item_clear_user_preferred_presence_request_builder.go b/communications/presences_item_clear_user_preferred_presence_request_builder.go index 3353424f01e..a377cb9c67f 100644 --- a/communications/presences_item_clear_user_preferred_presence_request_builder.go +++ b/communications/presences_item_clear_user_preferred_presence_request_builder.go @@ -59,7 +59,7 @@ func (m *PresencesItemClearUserPreferredPresenceRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/communications/presences_item_set_presence_request_builder.go b/communications/presences_item_set_presence_request_builder.go index 927ddff48a8..f1cd5ebf971 100644 --- a/communications/presences_item_set_presence_request_builder.go +++ b/communications/presences_item_set_presence_request_builder.go @@ -59,7 +59,7 @@ func (m *PresencesItemSetPresenceRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/presences_item_set_status_message_request_builder.go b/communications/presences_item_set_status_message_request_builder.go index 7558b556b18..c9caf228957 100644 --- a/communications/presences_item_set_status_message_request_builder.go +++ b/communications/presences_item_set_status_message_request_builder.go @@ -59,7 +59,7 @@ func (m *PresencesItemSetStatusMessageRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/presences_item_set_user_preferred_presence_request_builder.go b/communications/presences_item_set_user_preferred_presence_request_builder.go index d7bbad33672..5ee246521a4 100644 --- a/communications/presences_item_set_user_preferred_presence_request_builder.go +++ b/communications/presences_item_set_user_preferred_presence_request_builder.go @@ -59,7 +59,7 @@ func (m *PresencesItemSetUserPreferredPresenceRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/presences_presence_item_request_builder.go b/communications/presences_presence_item_request_builder.go index 9e39273273e..6fb24796085 100644 --- a/communications/presences_presence_item_request_builder.go +++ b/communications/presences_presence_item_request_builder.go @@ -141,7 +141,7 @@ func (m *PresencesPresenceItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a user's presence information. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *PresencesPresenceItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property presences in communications @@ -170,7 +170,7 @@ func (m *PresencesPresenceItemRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/communications/presences_request_builder.go b/communications/presences_request_builder.go index af8b27aa46b..0e92bfaf01e 100644 --- a/communications/presences_request_builder.go +++ b/communications/presences_request_builder.go @@ -125,7 +125,7 @@ func (m *PresencesRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to presences for communications @@ -138,7 +138,7 @@ func (m *PresencesRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/compliance_request_builder.go b/compliance/compliance_request_builder.go index a0bcdcea091..bc98c7ea6ef 100644 --- a/compliance/compliance_request_builder.go +++ b/compliance/compliance_request_builder.go @@ -102,7 +102,7 @@ func (m *ComplianceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update compliance @@ -115,7 +115,7 @@ func (m *ComplianceRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_case_item_request_builder.go b/compliance/ediscovery_cases_case_item_request_builder.go index 216e68d35d5..49e2c1c9696 100644 --- a/compliance/ediscovery_cases_case_item_request_builder.go +++ b/compliance/ediscovery_cases_case_item_request_builder.go @@ -171,7 +171,7 @@ func (m *EdiscoveryCasesCaseItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a case object. This API is available in the following national cloud deployments. @@ -188,7 +188,7 @@ func (m *EdiscoveryCasesCaseItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a case object. This API is available in the following national cloud deployments. @@ -202,7 +202,7 @@ func (m *EdiscoveryCasesCaseItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go index 7af0ab2b2d2..463d078dcd9 100644 --- a/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_custodian_item_request_builder.go @@ -156,7 +156,7 @@ func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a custodian object. This API is available in the following national cloud deployments. @@ -173,7 +173,7 @@ func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a custodian object. This API is available in the following national cloud deployments. @@ -187,7 +187,7 @@ func (m *EdiscoveryCasesItemCustodiansCustodianItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go index 5890fce95c6..eab615d4ff5 100644 --- a/compliance/ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go @@ -74,7 +74,7 @@ func (m *EdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go index f32e5a942e8..d82c1263b5a 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_activate_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryActivateReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_apply_hold_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_apply_hold_request_builder.go index b405090b673..f895d36a874 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_apply_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_apply_hold_request_builder.go @@ -58,7 +58,7 @@ func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryApplyHoldReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go index 341703f1b7a..8466c85e3f3 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_release_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryReleaseRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_remove_hold_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_remove_hold_request_builder.go index 622d606c69d..0e2ca3e2414 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_remove_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_remove_hold_request_builder.go @@ -58,7 +58,7 @@ func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryRemoveHoldRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_update_index_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_update_index_request_builder.go index 2f462c1c1b5..c2e5c294d3e 100644 --- a/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_update_index_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_microsoft_graph_ediscovery_update_index_request_builder.go @@ -58,7 +58,7 @@ func (m *EdiscoveryCasesItemCustodiansItemMicrosoftGraphEdiscoveryUpdateIndexReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go index 4d0486dff97..54846fdc0f5 100644 --- a/compliance/ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go @@ -74,7 +74,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go index 285f03bf850..16188f5937c 100644 --- a/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_site_sources_request_builder.go @@ -135,7 +135,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new custodian siteSource object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go index 9c1f01b79e9..3b7a1a8160d 100644 --- a/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go @@ -132,7 +132,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a siteSource object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property siteSources in compliance @@ -163,7 +163,7 @@ func (m *EdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go index 0b74b60bad9..a293c1b9449 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go @@ -78,7 +78,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go index e31932039c2..b859d409ff3 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go @@ -90,7 +90,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupServicePro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go index 289a9dac11b..4412e3588a4 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go @@ -135,7 +135,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new unifiedGroupSource object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go index 82ab9a5cc22..ef87cdcffb0 100644 --- a/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go @@ -132,7 +132,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a unifiedGroupSource object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property unifiedGroupSources in compliance @@ -163,7 +163,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSourceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go index 93427cf0bd8..e7bb3a2eece 100644 --- a/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_user_sources_request_builder.go @@ -135,7 +135,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new custodian userSource object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go b/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go index 7764ee4d40b..9cd835d9bb1 100644 --- a/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go @@ -128,7 +128,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a userSource object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userSources in compliance @@ -159,7 +159,7 @@ func (m *EdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_apply_hold_request_builder.go b/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_apply_hold_request_builder.go index bf162ada3d1..60251787e5e 100644 --- a/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_apply_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_apply_hold_request_builder.go @@ -58,7 +58,7 @@ func (m *EdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryApplyHoldRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_remove_hold_request_builder.go b/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_remove_hold_request_builder.go index bb269fefbfc..12b879a0a4b 100644 --- a/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_remove_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_microsoft_graph_ediscovery_remove_hold_request_builder.go @@ -58,7 +58,7 @@ func (m *EdiscoveryCasesItemCustodiansMicrosoftGraphEdiscoveryRemoveHoldRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_custodians_request_builder.go b/compliance/ediscovery_cases_item_custodians_request_builder.go index 7c5372c1dda..4acfbe8d724 100644 --- a/compliance/ediscovery_cases_item_custodians_request_builder.go +++ b/compliance/ediscovery_cases_item_custodians_request_builder.go @@ -143,7 +143,7 @@ func (m *EdiscoveryCasesItemCustodiansRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -157,7 +157,7 @@ func (m *EdiscoveryCasesItemCustodiansRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go index 39952c63806..0431b09de60 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go @@ -74,7 +74,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesItemSiteRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go index 12e00ff42f7..1937f5e4048 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go @@ -135,7 +135,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation adds a siteSource to a legalHold object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go index 1c0b556d1cf..fddcbf63752 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation data source entity for SharePoint sites associated with the legal hold. @@ -143,7 +143,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property siteSources in compliance @@ -157,7 +157,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_request_builder.go index d2ea203bf90..431cc4b187e 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_request_builder.go @@ -78,7 +78,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesItemGroupRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go index 5726016ca48..574515cd372 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go @@ -90,7 +90,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesItemGroupServicePro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_request_builder.go index 8640a873066..35cac29b971 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_request_builder.go @@ -129,7 +129,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to unifiedGroupSources for compliance @@ -143,7 +143,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_unified_group_source_item_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_unified_group_source_item_request_builder.go index 0d00681c4b9..3b69d5a3465 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_unified_group_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_unified_group_sources_unified_group_source_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesUnifiedGroupSourceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get unifiedGroupSources from compliance @@ -143,7 +143,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesUnifiedGroupSourceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property unifiedGroupSources in compliance @@ -157,7 +157,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUnifiedGroupSourcesUnifiedGroupSourceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go index 8100dbd851b..6981a218c85 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go @@ -135,7 +135,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation adds a userSource to a legalHold object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go index eb0822563e1..cdac6d24051 100644 --- a/compliance/ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site. @@ -139,7 +139,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userSources in compliance @@ -153,7 +153,7 @@ func (m *EdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go index d0be14bbc0c..179e677c3bd 100644 --- a/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_legal_hold_item_request_builder.go @@ -135,7 +135,7 @@ func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a legalHold object. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a legalHold object. This API is available in the following national cloud deployments. @@ -166,7 +166,7 @@ func (m *EdiscoveryCasesItemLegalHoldsLegalHoldItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_legal_holds_request_builder.go b/compliance/ediscovery_cases_item_legal_holds_request_builder.go index a46534ccd64..b5d8df14a16 100644 --- a/compliance/ediscovery_cases_item_legal_holds_request_builder.go +++ b/compliance/ediscovery_cases_item_legal_holds_request_builder.go @@ -129,7 +129,7 @@ func (m *EdiscoveryCasesItemLegalHoldsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to legalHolds for compliance @@ -143,7 +143,7 @@ func (m *EdiscoveryCasesItemLegalHoldsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go index e269d3bcae9..c0a6af0f5b4 100644 --- a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go +++ b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_close_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemMicrosoftGraphEdiscoveryCloseRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go index da2190e3b44..d1811cc894c 100644 --- a/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go +++ b/compliance/ediscovery_cases_item_microsoft_graph_ediscovery_reopen_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemMicrosoftGraphEdiscoveryReopenRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go index 422c5fb94ec..25a5d3314da 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go @@ -122,7 +122,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user source or SharePoint site data source as noncustodial data source. @@ -139,7 +139,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dataSource in compliance @@ -153,7 +153,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go index 2624e2bdc39..003cfc5d72c 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go @@ -74,7 +74,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemLastIndexOperationRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_apply_hold_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_apply_hold_request_builder.go index a500706ae54..505c9b11c85 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_apply_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_apply_hold_request_builder.go @@ -58,7 +58,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go index c9a5c031395..f4b52702739 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_release_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_remove_hold_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_remove_hold_request_builder.go index 5d1f244c737..03497f45e83 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_remove_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_remove_hold_request_builder.go @@ -58,7 +58,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_update_index_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_update_index_request_builder.go index 34c43ceaf36..19098ae82f3 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_update_index_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_ediscovery_update_index_request_builder.go @@ -58,7 +58,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphEdiscoveryU requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_apply_hold_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_apply_hold_request_builder.go index 7dfc0bb7d01..f58200a9f56 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_apply_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_apply_hold_request_builder.go @@ -58,7 +58,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryApply requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_remove_hold_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_remove_hold_request_builder.go index 053c8101816..c59c90827de 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_remove_hold_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_ediscovery_remove_hold_request_builder.go @@ -58,7 +58,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphEdiscoveryRemov requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go index 7db9373347e..35ce9173dc9 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_noncustodial_data_source_item_request_builder.go @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a noncustodialDataSource object. This API is available in the following national cloud deployments. @@ -166,7 +166,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property noncustodialDataSources in compliance @@ -180,7 +180,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesNoncustodialDataSourceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go b/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go index b4bb8395f61..03dbee05a1b 100644 --- a/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_noncustodial_data_sources_request_builder.go @@ -143,7 +143,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new noncustodialDataSource object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *EdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_operations_case_operation_item_request_builder.go b/compliance/ediscovery_cases_item_operations_case_operation_item_request_builder.go index 57ebee21551..c1ac68585bb 100644 --- a/compliance/ediscovery_cases_item_operations_case_operation_item_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_case_operation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns a list of case operation objects for this case. Nullable. @@ -143,7 +143,7 @@ func (m *EdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in compliance @@ -157,7 +157,7 @@ func (m *EdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_request_builder.go b/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_request_builder.go index 66c78c2caee..385099ebd87 100644 --- a/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_request_builder.go @@ -78,7 +78,7 @@ func (m *EdiscoveryCasesItemOperationsItemMicrosoftGraphEdiscoveryCaseExportOper requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_review_set_request_builder.go b/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_review_set_request_builder.go index 7195c7d0768..95de0be6c44 100644 --- a/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_review_set_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_item_microsoft_graph_ediscovery_case_export_operation_review_set_request_builder.go @@ -74,7 +74,7 @@ func (m *EdiscoveryCasesItemOperationsItemMicrosoftGraphEdiscoveryCaseExportOper requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_request_builder.go b/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_request_builder.go index 5802fddd2e0..bfe4558ba78 100644 --- a/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_microsoft_graph_ediscovery_case_export_operation_request_builder.go @@ -90,7 +90,7 @@ func (m *EdiscoveryCasesItemOperationsMicrosoftGraphEdiscoveryCaseExportOperatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_operations_request_builder.go b/compliance/ediscovery_cases_item_operations_request_builder.go index 321868e9a5e..de67d394413 100644 --- a/compliance/ediscovery_cases_item_operations_request_builder.go +++ b/compliance/ediscovery_cases_item_operations_request_builder.go @@ -133,7 +133,7 @@ func (m *EdiscoveryCasesItemOperationsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for compliance @@ -147,7 +147,7 @@ func (m *EdiscoveryCasesItemOperationsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go index d83c48b56fc..92e805fc2f9 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_add_to_review_set_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryAddToReviewSet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go index d34fdb36b1e..15e72b1f061 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_microsoft_graph_ediscovery_export_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemMicrosoftGraphEdiscoveryExportRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go index 98a1c81fb83..7ae0ed74b80 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_ediscovery_apply_tags_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphEdiscoveryApp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go index d6749b8114d..d53ac9bc7f6 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_queries_request_builder.go @@ -135,7 +135,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new reviewSetQuery object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go b/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go index 26b79b625db..08ebf63ee61 100644 --- a/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_item_queries_review_set_query_item_request_builder.go @@ -135,7 +135,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an eDiscovery reviewSetQuery object. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an eDiscovery reviewSetQuery. This API is available in the following national cloud deployments. @@ -166,7 +166,7 @@ func (m *EdiscoveryCasesItemReviewSetsItemQueriesReviewSetQueryItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_review_sets_request_builder.go b/compliance/ediscovery_cases_item_review_sets_request_builder.go index ac80c32dfa6..6b95883f87b 100644 --- a/compliance/ediscovery_cases_item_review_sets_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_request_builder.go @@ -132,7 +132,7 @@ func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *EdiscoveryCasesItemReviewSetsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go b/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go index 2407d654abb..5df800b1e57 100644 --- a/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go +++ b/compliance/ediscovery_cases_item_review_sets_review_set_item_request_builder.go @@ -137,7 +137,7 @@ func (m *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a reviewSet object. This API is available in the following national cloud deployments. @@ -154,7 +154,7 @@ func (m *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property reviewSets in compliance @@ -168,7 +168,7 @@ func (m *EdiscoveryCasesItemReviewSetsReviewSetItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go b/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go index 2054e89e38b..e0ad8730b4c 100644 --- a/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go +++ b/compliance/ediscovery_cases_item_settings_microsoft_graph_ediscovery_reset_to_default_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemSettingsMicrosoftGraphEdiscoveryResetToDefaultReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_settings_request_builder.go b/compliance/ediscovery_cases_item_settings_request_builder.go index 9f2a46a57b0..c3fd5ef1dd9 100644 --- a/compliance/ediscovery_cases_item_settings_request_builder.go +++ b/compliance/ediscovery_cases_item_settings_request_builder.go @@ -132,7 +132,7 @@ func (m *EdiscoveryCasesItemSettingsRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an eDiscovery caseSettings object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemSettingsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a an eDiscovery caseSettings object. This API is available in the following national cloud deployments. @@ -163,7 +163,7 @@ func (m *EdiscoveryCasesItemSettingsRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go index bc49f33bef9..2f07716ac96 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_add_to_review_set_operation_request_builder.go @@ -77,7 +77,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAddToReviewSetOperationRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_data_source_item_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_data_source_item_request_builder.go index c2beef6f01f..a7b107e63fa 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_data_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_data_source_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesDataSourceItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation adds an additional source to the sourceCollection. @@ -139,7 +139,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesDataSourceItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property additionalSources in compliance @@ -153,7 +153,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesDataSourceItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go index 3d12e614c12..875d90e9eea 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_additional_sources_request_builder.go @@ -132,7 +132,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to additionalSources for compliance @@ -146,7 +146,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemAdditionalSourcesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_data_source_item_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_data_source_item_request_builder.go index f8aefd39664..f29f499ada5 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_data_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_data_source_item_request_builder.go @@ -74,7 +74,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesDataSourceItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go index e8b5c869c64..35d8a025acf 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_custodian_sources_request_builder.go @@ -105,7 +105,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemCustodianSourcesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go index 23569bddfdc..781aff9ad35 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_last_estimate_statistics_operation_request_builder.go @@ -77,7 +77,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemLastEstimateStatisticsOperation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go index 24f6fc1fbe9..73c352d7060 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_estimate_statistics_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryEstimat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go index 2be223a9e2c..3c34978f9fc 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_microsoft_graph_ediscovery_purge_data_request_builder.go @@ -61,7 +61,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemMicrosoftGraphEdiscoveryPurgeDa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_noncustodial_data_source_item_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_noncustodial_data_source_item_request_builder.go index 4b19fd9eea7..8bbcc13eabc 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_noncustodial_data_source_item_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_noncustodial_data_source_item_request_builder.go @@ -74,7 +74,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesNoncustodial requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go index f12b335dd31..fa9460715ff 100644 --- a/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_item_noncustodial_sources_request_builder.go @@ -105,7 +105,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsItemNoncustodialSourcesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_source_collections_request_builder.go b/compliance/ediscovery_cases_item_source_collections_request_builder.go index d511744c921..3a6cf664300 100644 --- a/compliance/ediscovery_cases_item_source_collections_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_request_builder.go @@ -135,7 +135,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new sourceCollection object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go b/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go index 6497bc98db9..8e3082c554e 100644 --- a/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go +++ b/compliance/ediscovery_cases_item_source_collections_source_collection_item_request_builder.go @@ -156,7 +156,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns a list of sourceCollection objects associated with this case. @@ -173,7 +173,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a sourceCollection object. This API is available in the following national cloud deployments. @@ -187,7 +187,7 @@ func (m *EdiscoveryCasesItemSourceCollectionsSourceCollectionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go b/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go index e8569af45d2..c6e443572ee 100644 --- a/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_item_child_tags_request_builder.go @@ -105,7 +105,7 @@ func (m *EdiscoveryCasesItemTagsItemChildTagsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_tags_item_child_tags_tag_item_request_builder.go b/compliance/ediscovery_cases_item_tags_item_child_tags_tag_item_request_builder.go index 3c3f538bbad..d94fed5e8b5 100644 --- a/compliance/ediscovery_cases_item_tags_item_child_tags_tag_item_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_item_child_tags_tag_item_request_builder.go @@ -74,7 +74,7 @@ func (m *EdiscoveryCasesItemTagsItemChildTagsTagItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_tags_item_parent_request_builder.go b/compliance/ediscovery_cases_item_tags_item_parent_request_builder.go index 7ac36bd4b1c..e04766d5678 100644 --- a/compliance/ediscovery_cases_item_tags_item_parent_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_item_parent_request_builder.go @@ -74,7 +74,7 @@ func (m *EdiscoveryCasesItemTagsItemParentRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_tags_microsoft_graph_ediscovery_as_hierarchy_request_builder.go b/compliance/ediscovery_cases_item_tags_microsoft_graph_ediscovery_as_hierarchy_request_builder.go index 6a5dad102ec..b07b81c036b 100644 --- a/compliance/ediscovery_cases_item_tags_microsoft_graph_ediscovery_as_hierarchy_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_microsoft_graph_ediscovery_as_hierarchy_request_builder.go @@ -103,7 +103,7 @@ func (m *EdiscoveryCasesItemTagsMicrosoftGraphEdiscoveryAsHierarchyRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/compliance/ediscovery_cases_item_tags_request_builder.go b/compliance/ediscovery_cases_item_tags_request_builder.go index 547214f1df5..20bf482f23a 100644 --- a/compliance/ediscovery_cases_item_tags_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_request_builder.go @@ -139,7 +139,7 @@ func (m *EdiscoveryCasesItemTagsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -153,7 +153,7 @@ func (m *EdiscoveryCasesItemTagsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go b/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go index 420bb791e5a..25e49ac35e1 100644 --- a/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go +++ b/compliance/ediscovery_cases_item_tags_tag_item_request_builder.go @@ -139,7 +139,7 @@ func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a tag object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a tag object. This API is available in the following national cloud deployments. @@ -170,7 +170,7 @@ func (m *EdiscoveryCasesItemTagsTagItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_cases_request_builder.go b/compliance/ediscovery_cases_request_builder.go index 1673e49674e..28577069c70 100644 --- a/compliance/ediscovery_cases_request_builder.go +++ b/compliance/ediscovery_cases_request_builder.go @@ -135,7 +135,7 @@ func (m *EdiscoveryCasesRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new case object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EdiscoveryCasesRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/compliance/ediscovery_request_builder.go b/compliance/ediscovery_request_builder.go index 727ac08fdb4..c8f12b94b87 100644 --- a/compliance/ediscovery_request_builder.go +++ b/compliance/ediscovery_request_builder.go @@ -126,7 +126,7 @@ func (m *EdiscoveryRequestBuilder) ToDeleteRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get ediscovery from compliance @@ -143,7 +143,7 @@ func (m *EdiscoveryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property ediscovery in compliance @@ -157,7 +157,7 @@ func (m *EdiscoveryRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/connections_request_builder.go b/connections/connections_request_builder.go index f0237457fc7..c0a1d76f290 100644 --- a/connections/connections_request_builder.go +++ b/connections/connections_request_builder.go @@ -125,7 +125,7 @@ func (m *ConnectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to connections @@ -138,7 +138,7 @@ func (m *ConnectionsRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/external_connection_item_request_builder.go b/connections/external_connection_item_request_builder.go index 928d7bffd20..84a29e57616 100644 --- a/connections/external_connection_item_request_builder.go +++ b/connections/external_connection_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ExternalConnectionItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from connections by key @@ -154,7 +154,7 @@ func (m *ExternalConnectionItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in connections @@ -167,7 +167,7 @@ func (m *ExternalConnectionItemRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_groups_external_group_item_request_builder.go b/connections/item_groups_external_group_item_request_builder.go index 1eea0a4d464..26a4aa359ef 100644 --- a/connections/item_groups_external_group_item_request_builder.go +++ b/connections/item_groups_external_group_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemGroupsExternalGroupItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get groups from connections @@ -141,7 +141,7 @@ func (m *ItemGroupsExternalGroupItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groups in connections @@ -154,7 +154,7 @@ func (m *ItemGroupsExternalGroupItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_groups_item_members_identity_item_request_builder.go b/connections/item_groups_item_members_identity_item_request_builder.go index fca8f47dfc1..72c7aa2e8d1 100644 --- a/connections/item_groups_item_members_identity_item_request_builder.go +++ b/connections/item_groups_item_members_identity_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemGroupsItemMembersIdentityItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or other externalGroups as members. @@ -137,7 +137,7 @@ func (m *ItemGroupsItemMembersIdentityItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in connections @@ -150,7 +150,7 @@ func (m *ItemGroupsItemMembersIdentityItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_groups_item_members_request_builder.go b/connections/item_groups_item_members_request_builder.go index 08a7bae4034..68d239cba2c 100644 --- a/connections/item_groups_item_members_request_builder.go +++ b/connections/item_groups_item_members_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemGroupsItemMembersRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new externalGroupMember object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemGroupsItemMembersRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_groups_request_builder.go b/connections/item_groups_request_builder.go index b5cae725c5e..29e1c0eab85 100644 --- a/connections/item_groups_request_builder.go +++ b/connections/item_groups_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new externalGroup object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_items_external_item_item_request_builder.go b/connections/item_items_external_item_item_request_builder.go index 6089e4e842c..2a484de3059 100644 --- a/connections/item_items_external_item_item_request_builder.go +++ b/connections/item_items_external_item_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemItemsExternalItemItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemItemsExternalItemItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property items in connections @@ -161,7 +161,7 @@ func (m *ItemItemsExternalItemItemRequestBuilder) ToPutRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_items_item_activities_external_activity_item_request_builder.go b/connections/item_items_item_activities_external_activity_item_request_builder.go index b3b3c9be15a..1f042e71fd0 100644 --- a/connections/item_items_item_activities_external_activity_item_request_builder.go +++ b/connections/item_items_item_activities_external_activity_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemActivitiesExternalActivityItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns a list of activities performed on the item. Write-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemActivitiesExternalActivityItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in connections @@ -151,7 +151,7 @@ func (m *ItemItemsItemActivitiesExternalActivityItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_items_item_activities_item_performed_by_request_builder.go b/connections/item_items_item_activities_item_performed_by_request_builder.go index 75be5a5a6f7..d3d50449684 100644 --- a/connections/item_items_item_activities_item_performed_by_request_builder.go +++ b/connections/item_items_item_activities_item_performed_by_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemActivitiesItemPerformedByRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/connections/item_items_item_activities_request_builder.go b/connections/item_items_item_activities_request_builder.go index 4ebb231075e..598584ba0b0 100644 --- a/connections/item_items_item_activities_request_builder.go +++ b/connections/item_items_item_activities_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemActivitiesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for connections @@ -138,7 +138,7 @@ func (m *ItemItemsItemActivitiesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go b/connections/item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go index f6c7279c7cf..8bd3070d468 100644 --- a/connections/item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go +++ b/connections/item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_items_request_builder.go b/connections/item_items_request_builder.go index 787faf93e78..a4080b4892c 100644 --- a/connections/item_items_request_builder.go +++ b/connections/item_items_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to items for connections @@ -138,7 +138,7 @@ func (m *ItemItemsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_operations_connection_operation_item_request_builder.go b/connections/item_operations_connection_operation_item_request_builder.go index 7a90722a9bf..15a47933c7d 100644 --- a/connections/item_operations_connection_operation_item_request_builder.go +++ b/connections/item_operations_connection_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemOperationsConnectionOperationItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get operations from connections @@ -134,7 +134,7 @@ func (m *ItemOperationsConnectionOperationItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in connections @@ -147,7 +147,7 @@ func (m *ItemOperationsConnectionOperationItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_operations_request_builder.go b/connections/item_operations_request_builder.go index 0d8b466a95c..25c1429a7bc 100644 --- a/connections/item_operations_request_builder.go +++ b/connections/item_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for connections @@ -138,7 +138,7 @@ func (m *ItemOperationsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_quota_request_builder.go b/connections/item_quota_request_builder.go index 0c630d1eb01..a920c380357 100644 --- a/connections/item_quota_request_builder.go +++ b/connections/item_quota_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemQuotaRequestBuilder) ToDeleteRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a connectionQuota object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemQuotaRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property quota in connections @@ -150,7 +150,7 @@ func (m *ItemQuotaRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/connections/item_schema_request_builder.go b/connections/item_schema_request_builder.go index b72adeb5c36..7d2e143f19a 100644 --- a/connections/item_schema_request_builder.go +++ b/connections/item_schema_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemSchemaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation create the schema for a Microsoft Search connection. This API is available in the following national cloud deployments. @@ -117,7 +117,7 @@ func (m *ItemSchemaRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contacts/contacts_request_builder.go b/contacts/contacts_request_builder.go index 4f67e77917e..e4055280864 100644 --- a/contacts/contacts_request_builder.go +++ b/contacts/contacts_request_builder.go @@ -140,7 +140,7 @@ func (m *ContactsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to contacts @@ -153,7 +153,7 @@ func (m *ContactsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contacts/delta_request_builder.go b/contacts/delta_request_builder.go index f2cc88ad219..300e22bfdf9 100644 --- a/contacts/delta_request_builder.go +++ b/contacts/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/get_by_ids_request_builder.go b/contacts/get_by_ids_request_builder.go index 1c062d8375c..62144c5c44f 100644 --- a/contacts/get_by_ids_request_builder.go +++ b/contacts/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contacts/get_user_owned_objects_request_builder.go b/contacts/get_user_owned_objects_request_builder.go index 6c41abe78e6..08757561a1c 100644 --- a/contacts/get_user_owned_objects_request_builder.go +++ b/contacts/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contacts/item_check_member_groups_request_builder.go b/contacts/item_check_member_groups_request_builder.go index ed23016ac44..d79ff13d989 100644 --- a/contacts/item_check_member_groups_request_builder.go +++ b/contacts/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contacts/item_check_member_objects_request_builder.go b/contacts/item_check_member_objects_request_builder.go index 5a51bbd697f..59b08051e42 100644 --- a/contacts/item_check_member_objects_request_builder.go +++ b/contacts/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contacts/item_direct_reports_directory_object_item_request_builder.go b/contacts/item_direct_reports_directory_object_item_request_builder.go index 549799559dd..34cdf901c52 100644 --- a/contacts/item_direct_reports_directory_object_item_request_builder.go +++ b/contacts/item_direct_reports_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemDirectReportsDirectoryObjectItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_direct_reports_graph_org_contact_request_builder.go b/contacts/item_direct_reports_graph_org_contact_request_builder.go index f54baa3306e..2d2ecea7b6f 100644 --- a/contacts/item_direct_reports_graph_org_contact_request_builder.go +++ b/contacts/item_direct_reports_graph_org_contact_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDirectReportsGraphOrgContactRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_direct_reports_graph_user_request_builder.go b/contacts/item_direct_reports_graph_user_request_builder.go index dbb021b190f..24bcc246079 100644 --- a/contacts/item_direct_reports_graph_user_request_builder.go +++ b/contacts/item_direct_reports_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDirectReportsGraphUserRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_direct_reports_item_graph_org_contact_request_builder.go b/contacts/item_direct_reports_item_graph_org_contact_request_builder.go index a66e18c3c78..fe4aaba3cef 100644 --- a/contacts/item_direct_reports_item_graph_org_contact_request_builder.go +++ b/contacts/item_direct_reports_item_graph_org_contact_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDirectReportsItemGraphOrgContactRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_direct_reports_item_graph_user_request_builder.go b/contacts/item_direct_reports_item_graph_user_request_builder.go index 10102f5679a..6e206d26ccb 100644 --- a/contacts/item_direct_reports_item_graph_user_request_builder.go +++ b/contacts/item_direct_reports_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDirectReportsItemGraphUserRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_direct_reports_request_builder.go b/contacts/item_direct_reports_request_builder.go index d8f6356152e..173cf290551 100644 --- a/contacts/item_direct_reports_request_builder.go +++ b/contacts/item_direct_reports_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemDirectReportsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_get_member_groups_request_builder.go b/contacts/item_get_member_groups_request_builder.go index 95a5148774c..bf3c92bc490 100644 --- a/contacts/item_get_member_groups_request_builder.go +++ b/contacts/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contacts/item_get_member_objects_request_builder.go b/contacts/item_get_member_objects_request_builder.go index 9f4913924cf..eb80b381ad3 100644 --- a/contacts/item_get_member_objects_request_builder.go +++ b/contacts/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contacts/item_manager_request_builder.go b/contacts/item_manager_request_builder.go index 7e33c8dbaef..c1a841e7ccf 100644 --- a/contacts/item_manager_request_builder.go +++ b/contacts/item_manager_request_builder.go @@ -75,7 +75,7 @@ func (m *ItemManagerRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_member_of_directory_object_item_request_builder.go b/contacts/item_member_of_directory_object_item_request_builder.go index ccfb35270ee..c4145792f4d 100644 --- a/contacts/item_member_of_directory_object_item_request_builder.go +++ b/contacts/item_member_of_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_member_of_graph_administrative_unit_request_builder.go b/contacts/item_member_of_graph_administrative_unit_request_builder.go index 4b0eeb4c99b..4097e4500c7 100644 --- a/contacts/item_member_of_graph_administrative_unit_request_builder.go +++ b/contacts/item_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_member_of_graph_group_request_builder.go b/contacts/item_member_of_graph_group_request_builder.go index 29e7d2a0eaf..70234cf3e06 100644 --- a/contacts/item_member_of_graph_group_request_builder.go +++ b/contacts/item_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_member_of_item_graph_administrative_unit_request_builder.go b/contacts/item_member_of_item_graph_administrative_unit_request_builder.go index cbe1aa004e2..d744b457a16 100644 --- a/contacts/item_member_of_item_graph_administrative_unit_request_builder.go +++ b/contacts/item_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_member_of_item_graph_group_request_builder.go b/contacts/item_member_of_item_graph_group_request_builder.go index ca0be3bc4fa..c9861042f24 100644 --- a/contacts/item_member_of_item_graph_group_request_builder.go +++ b/contacts/item_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_member_of_request_builder.go b/contacts/item_member_of_request_builder.go index 10a172d4bfd..f1113a8ede2 100644 --- a/contacts/item_member_of_request_builder.go +++ b/contacts/item_member_of_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_restore_request_builder.go b/contacts/item_restore_request_builder.go index b499e6847f1..6a21bc8f227 100644 --- a/contacts/item_restore_request_builder.go +++ b/contacts/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_retry_service_provisioning_request_builder.go b/contacts/item_retry_service_provisioning_request_builder.go index ea67928cb8c..4c195060866 100644 --- a/contacts/item_retry_service_provisioning_request_builder.go +++ b/contacts/item_retry_service_provisioning_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemRetryServiceProvisioningRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_service_provisioning_errors_request_builder.go b/contacts/item_service_provisioning_errors_request_builder.go index 7187c6b482c..55a1b484030 100644 --- a/contacts/item_service_provisioning_errors_request_builder.go +++ b/contacts/item_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_transitive_member_of_directory_object_item_request_builder.go b/contacts/item_transitive_member_of_directory_object_item_request_builder.go index f4d16bbc462..3491e79a298 100644 --- a/contacts/item_transitive_member_of_directory_object_item_request_builder.go +++ b/contacts/item_transitive_member_of_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_transitive_member_of_graph_administrative_unit_request_builder.go b/contacts/item_transitive_member_of_graph_administrative_unit_request_builder.go index dcc8f9b3755..9b06d89cd4f 100644 --- a/contacts/item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/contacts/item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_transitive_member_of_graph_group_request_builder.go b/contacts/item_transitive_member_of_graph_group_request_builder.go index d81c7aa1190..9d29121927c 100644 --- a/contacts/item_transitive_member_of_graph_group_request_builder.go +++ b/contacts/item_transitive_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphGroupRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/contacts/item_transitive_member_of_item_graph_administrative_unit_request_builder.go index ed783f0937c..3975a81685c 100644 --- a/contacts/item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/contacts/item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_transitive_member_of_item_graph_group_request_builder.go b/contacts/item_transitive_member_of_item_graph_group_request_builder.go index e62a87a5e3d..020fc16c046 100644 --- a/contacts/item_transitive_member_of_item_graph_group_request_builder.go +++ b/contacts/item_transitive_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_transitive_member_of_request_builder.go b/contacts/item_transitive_member_of_request_builder.go index 76142416d36..6b1c223401b 100644 --- a/contacts/item_transitive_member_of_request_builder.go +++ b/contacts/item_transitive_member_of_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_transitive_reports_directory_object_item_request_builder.go b/contacts/item_transitive_reports_directory_object_item_request_builder.go index 7289fe8a678..24c3f2e49a9 100644 --- a/contacts/item_transitive_reports_directory_object_item_request_builder.go +++ b/contacts/item_transitive_reports_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveReportsDirectoryObjectItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/item_transitive_reports_request_builder.go b/contacts/item_transitive_reports_request_builder.go index b25badd818b..aaead52aaaf 100644 --- a/contacts/item_transitive_reports_request_builder.go +++ b/contacts/item_transitive_reports_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemTransitiveReportsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contacts/org_contact_item_request_builder.go b/contacts/org_contact_item_request_builder.go index f859e8b916d..4c771dd6c8c 100644 --- a/contacts/org_contact_item_request_builder.go +++ b/contacts/org_contact_item_request_builder.go @@ -161,7 +161,7 @@ func (m *OrgContactItemRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of an organizational contact object. This API is available in the following national cloud deployments. @@ -177,7 +177,7 @@ func (m *OrgContactItemRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in contacts @@ -190,7 +190,7 @@ func (m *OrgContactItemRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contacts/validate_properties_request_builder.go b/contacts/validate_properties_request_builder.go index d7fd9f1659d..b69f158e42e 100644 --- a/contacts/validate_properties_request_builder.go +++ b/contacts/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contracts/contract_item_request_builder.go b/contracts/contract_item_request_builder.go index 36b8ed08176..be8c9211723 100644 --- a/contracts/contract_item_request_builder.go +++ b/contracts/contract_item_request_builder.go @@ -141,7 +141,7 @@ func (m *ContractItemRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of contract object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ContractItemRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in contracts @@ -170,7 +170,7 @@ func (m *ContractItemRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contracts/contracts_request_builder.go b/contracts/contracts_request_builder.go index 51e190be913..313b7a9fcc0 100644 --- a/contracts/contracts_request_builder.go +++ b/contracts/contracts_request_builder.go @@ -140,7 +140,7 @@ func (m *ContractsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to contracts @@ -153,7 +153,7 @@ func (m *ContractsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contracts/delta_request_builder.go b/contracts/delta_request_builder.go index 543c1e18c0e..9c7833b7344 100644 --- a/contracts/delta_request_builder.go +++ b/contracts/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contracts/get_by_ids_request_builder.go b/contracts/get_by_ids_request_builder.go index 5b919e1ad6d..8a91b622e91 100644 --- a/contracts/get_by_ids_request_builder.go +++ b/contracts/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contracts/get_user_owned_objects_request_builder.go b/contracts/get_user_owned_objects_request_builder.go index b532a3714fa..7ab4d8b6506 100644 --- a/contracts/get_user_owned_objects_request_builder.go +++ b/contracts/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contracts/item_check_member_groups_request_builder.go b/contracts/item_check_member_groups_request_builder.go index 04b147b5ba1..56a3416a67d 100644 --- a/contracts/item_check_member_groups_request_builder.go +++ b/contracts/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contracts/item_check_member_objects_request_builder.go b/contracts/item_check_member_objects_request_builder.go index f0d2911c527..1f207a02376 100644 --- a/contracts/item_check_member_objects_request_builder.go +++ b/contracts/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contracts/item_get_member_groups_request_builder.go b/contracts/item_get_member_groups_request_builder.go index 0c93f7126e0..2f1c1ac1245 100644 --- a/contracts/item_get_member_groups_request_builder.go +++ b/contracts/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contracts/item_get_member_objects_request_builder.go b/contracts/item_get_member_objects_request_builder.go index 2b621e2137a..c14d9c34dae 100644 --- a/contracts/item_get_member_objects_request_builder.go +++ b/contracts/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/contracts/item_restore_request_builder.go b/contracts/item_restore_request_builder.go index 73098ffe3a9..be73ad7d945 100644 --- a/contracts/item_restore_request_builder.go +++ b/contracts/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/contracts/validate_properties_request_builder.go b/contracts/validate_properties_request_builder.go index f562cec7a09..389ad05b18c 100644 --- a/contracts/validate_properties_request_builder.go +++ b/contracts/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/classify_exact_matches_request_builder.go b/dataclassification/classify_exact_matches_request_builder.go index 4d50f8fc12f..cee48172bbe 100644 --- a/dataclassification/classify_exact_matches_request_builder.go +++ b/dataclassification/classify_exact_matches_request_builder.go @@ -60,7 +60,7 @@ func (m *ClassifyExactMatchesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/classify_file_jobs_job_response_base_item_request_builder.go b/dataclassification/classify_file_jobs_job_response_base_item_request_builder.go index b0df302ef95..7f3f1c288bb 100644 --- a/dataclassification/classify_file_jobs_job_response_base_item_request_builder.go +++ b/dataclassification/classify_file_jobs_job_response_base_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ClassifyFileJobsJobResponseBaseItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get classifyFileJobs from dataClassification @@ -134,7 +134,7 @@ func (m *ClassifyFileJobsJobResponseBaseItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property classifyFileJobs in dataClassification @@ -147,7 +147,7 @@ func (m *ClassifyFileJobsJobResponseBaseItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/classify_file_jobs_request_builder.go b/dataclassification/classify_file_jobs_request_builder.go index 595e4ac2d37..b2e20da6c9c 100644 --- a/dataclassification/classify_file_jobs_request_builder.go +++ b/dataclassification/classify_file_jobs_request_builder.go @@ -125,7 +125,7 @@ func (m *ClassifyFileJobsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to classifyFileJobs for dataClassification @@ -138,7 +138,7 @@ func (m *ClassifyFileJobsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/classify_file_request_builder.go b/dataclassification/classify_file_request_builder.go index 4c787c71352..fcf45f81f99 100644 --- a/dataclassification/classify_file_request_builder.go +++ b/dataclassification/classify_file_request_builder.go @@ -60,7 +60,7 @@ func (m *ClassifyFileRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/classify_text_jobs_job_response_base_item_request_builder.go b/dataclassification/classify_text_jobs_job_response_base_item_request_builder.go index ba143f32ce6..62be804e2e0 100644 --- a/dataclassification/classify_text_jobs_job_response_base_item_request_builder.go +++ b/dataclassification/classify_text_jobs_job_response_base_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ClassifyTextJobsJobResponseBaseItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get classifyTextJobs from dataClassification @@ -134,7 +134,7 @@ func (m *ClassifyTextJobsJobResponseBaseItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property classifyTextJobs in dataClassification @@ -147,7 +147,7 @@ func (m *ClassifyTextJobsJobResponseBaseItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/classify_text_jobs_request_builder.go b/dataclassification/classify_text_jobs_request_builder.go index 16388feba03..084ec752099 100644 --- a/dataclassification/classify_text_jobs_request_builder.go +++ b/dataclassification/classify_text_jobs_request_builder.go @@ -125,7 +125,7 @@ func (m *ClassifyTextJobsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to classifyTextJobs for dataClassification @@ -138,7 +138,7 @@ func (m *ClassifyTextJobsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/data_classification_request_builder.go b/dataclassification/data_classification_request_builder.go index 69099642cf7..6161e2e2904 100644 --- a/dataclassification/data_classification_request_builder.go +++ b/dataclassification/data_classification_request_builder.go @@ -142,7 +142,7 @@ func (m *DataClassificationRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update dataClassification @@ -155,7 +155,7 @@ func (m *DataClassificationRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/evaluate_dlp_policies_jobs_job_response_base_item_request_builder.go b/dataclassification/evaluate_dlp_policies_jobs_job_response_base_item_request_builder.go index eedb155ef61..376e8e61ab7 100644 --- a/dataclassification/evaluate_dlp_policies_jobs_job_response_base_item_request_builder.go +++ b/dataclassification/evaluate_dlp_policies_jobs_job_response_base_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EvaluateDlpPoliciesJobsJobResponseBaseItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get evaluateDlpPoliciesJobs from dataClassification @@ -134,7 +134,7 @@ func (m *EvaluateDlpPoliciesJobsJobResponseBaseItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property evaluateDlpPoliciesJobs in dataClassification @@ -147,7 +147,7 @@ func (m *EvaluateDlpPoliciesJobsJobResponseBaseItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/evaluate_dlp_policies_jobs_request_builder.go b/dataclassification/evaluate_dlp_policies_jobs_request_builder.go index 10f8c0ba146..3c00b36872c 100644 --- a/dataclassification/evaluate_dlp_policies_jobs_request_builder.go +++ b/dataclassification/evaluate_dlp_policies_jobs_request_builder.go @@ -125,7 +125,7 @@ func (m *EvaluateDlpPoliciesJobsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to evaluateDlpPoliciesJobs for dataClassification @@ -138,7 +138,7 @@ func (m *EvaluateDlpPoliciesJobsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/evaluate_label_jobs_job_response_base_item_request_builder.go b/dataclassification/evaluate_label_jobs_job_response_base_item_request_builder.go index f7ce0d6a37e..265ea2ad698 100644 --- a/dataclassification/evaluate_label_jobs_job_response_base_item_request_builder.go +++ b/dataclassification/evaluate_label_jobs_job_response_base_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EvaluateLabelJobsJobResponseBaseItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get evaluateLabelJobs from dataClassification @@ -134,7 +134,7 @@ func (m *EvaluateLabelJobsJobResponseBaseItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property evaluateLabelJobs in dataClassification @@ -147,7 +147,7 @@ func (m *EvaluateLabelJobsJobResponseBaseItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/evaluate_label_jobs_request_builder.go b/dataclassification/evaluate_label_jobs_request_builder.go index 38c6df97bc7..e52c6b0a9f2 100644 --- a/dataclassification/evaluate_label_jobs_request_builder.go +++ b/dataclassification/evaluate_label_jobs_request_builder.go @@ -125,7 +125,7 @@ func (m *EvaluateLabelJobsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to evaluateLabelJobs for dataClassification @@ -138,7 +138,7 @@ func (m *EvaluateLabelJobsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/exact_match_data_stores_exact_match_data_store_item_request_builder.go b/dataclassification/exact_match_data_stores_exact_match_data_store_item_request_builder.go index a09218d2597..4d420d70391 100644 --- a/dataclassification/exact_match_data_stores_exact_match_data_store_item_request_builder.go +++ b/dataclassification/exact_match_data_stores_exact_match_data_store_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ExactMatchDataStoresExactMatchDataStoreItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get exactMatchDataStores from dataClassification @@ -142,7 +142,7 @@ func (m *ExactMatchDataStoresExactMatchDataStoreItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exactMatchDataStores in dataClassification @@ -155,7 +155,7 @@ func (m *ExactMatchDataStoresExactMatchDataStoreItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/exact_match_data_stores_item_lookup_request_builder.go b/dataclassification/exact_match_data_stores_item_lookup_request_builder.go index 25c10d5dd07..e8ffa8a8a11 100644 --- a/dataclassification/exact_match_data_stores_item_lookup_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_lookup_request_builder.go @@ -79,7 +79,7 @@ func (m *ExactMatchDataStoresItemLookupRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/exact_match_data_stores_item_sessions_exact_match_session_item_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_exact_match_session_item_request_builder.go index 1153bd90520..680c9055fdd 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_exact_match_session_item_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_exact_match_session_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ExactMatchDataStoresItemSessionsExactMatchSessionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sessions from dataClassification @@ -146,7 +146,7 @@ func (m *ExactMatchDataStoresItemSessionsExactMatchSessionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sessions in dataClassification @@ -159,7 +159,7 @@ func (m *ExactMatchDataStoresItemSessionsExactMatchSessionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/exact_match_data_stores_item_sessions_item_cancel_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_item_cancel_request_builder.go index 43c2d49250c..d7ccc6ffd71 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_item_cancel_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_item_cancel_request_builder.go @@ -56,7 +56,7 @@ func (m *ExactMatchDataStoresItemSessionsItemCancelRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/dataclassification/exact_match_data_stores_item_sessions_item_commit_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_item_commit_request_builder.go index a8bc06f8747..385c001fda1 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_item_commit_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *ExactMatchDataStoresItemSessionsItemCommitRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/dataclassification/exact_match_data_stores_item_sessions_item_renew_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_item_renew_request_builder.go index 8a1a8d41303..3d2d396f72d 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_item_renew_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_item_renew_request_builder.go @@ -60,7 +60,7 @@ func (m *ExactMatchDataStoresItemSessionsItemRenewRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/dataclassification/exact_match_data_stores_item_sessions_item_upload_agent_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_item_upload_agent_request_builder.go index c048aa1cef6..e1e589884f3 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_item_upload_agent_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_item_upload_agent_request_builder.go @@ -118,7 +118,7 @@ func (m *ExactMatchDataStoresItemSessionsItemUploadAgentRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get uploadAgent from dataClassification @@ -134,7 +134,7 @@ func (m *ExactMatchDataStoresItemSessionsItemUploadAgentRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property uploadAgent in dataClassification @@ -147,7 +147,7 @@ func (m *ExactMatchDataStoresItemSessionsItemUploadAgentRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/exact_match_data_stores_item_sessions_request_builder.go b/dataclassification/exact_match_data_stores_item_sessions_request_builder.go index ab7578f4548..9e69072b689 100644 --- a/dataclassification/exact_match_data_stores_item_sessions_request_builder.go +++ b/dataclassification/exact_match_data_stores_item_sessions_request_builder.go @@ -125,7 +125,7 @@ func (m *ExactMatchDataStoresItemSessionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sessions for dataClassification @@ -138,7 +138,7 @@ func (m *ExactMatchDataStoresItemSessionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/exact_match_data_stores_request_builder.go b/dataclassification/exact_match_data_stores_request_builder.go index dd6828fb649..08a0547d505 100644 --- a/dataclassification/exact_match_data_stores_request_builder.go +++ b/dataclassification/exact_match_data_stores_request_builder.go @@ -125,7 +125,7 @@ func (m *ExactMatchDataStoresRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to exactMatchDataStores for dataClassification @@ -138,7 +138,7 @@ func (m *ExactMatchDataStoresRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/exact_match_upload_agents_exact_match_upload_agent_item_request_builder.go b/dataclassification/exact_match_upload_agents_exact_match_upload_agent_item_request_builder.go index 1158e6c85fb..78ffd10f522 100644 --- a/dataclassification/exact_match_upload_agents_exact_match_upload_agent_item_request_builder.go +++ b/dataclassification/exact_match_upload_agents_exact_match_upload_agent_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ExactMatchUploadAgentsExactMatchUploadAgentItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get exactMatchUploadAgents from dataClassification @@ -134,7 +134,7 @@ func (m *ExactMatchUploadAgentsExactMatchUploadAgentItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exactMatchUploadAgents in dataClassification @@ -147,7 +147,7 @@ func (m *ExactMatchUploadAgentsExactMatchUploadAgentItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/exact_match_upload_agents_request_builder.go b/dataclassification/exact_match_upload_agents_request_builder.go index bb1a7caa79f..6602bcf3f5a 100644 --- a/dataclassification/exact_match_upload_agents_request_builder.go +++ b/dataclassification/exact_match_upload_agents_request_builder.go @@ -125,7 +125,7 @@ func (m *ExactMatchUploadAgentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to exactMatchUploadAgents for dataClassification @@ -138,7 +138,7 @@ func (m *ExactMatchUploadAgentsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/jobs_job_response_base_item_request_builder.go b/dataclassification/jobs_job_response_base_item_request_builder.go index cbf2971b76c..f2ba0e90193 100644 --- a/dataclassification/jobs_job_response_base_item_request_builder.go +++ b/dataclassification/jobs_job_response_base_item_request_builder.go @@ -118,7 +118,7 @@ func (m *JobsJobResponseBaseItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get jobs from dataClassification @@ -134,7 +134,7 @@ func (m *JobsJobResponseBaseItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property jobs in dataClassification @@ -147,7 +147,7 @@ func (m *JobsJobResponseBaseItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/jobs_request_builder.go b/dataclassification/jobs_request_builder.go index 392be5c8273..ea14d4be314 100644 --- a/dataclassification/jobs_request_builder.go +++ b/dataclassification/jobs_request_builder.go @@ -125,7 +125,7 @@ func (m *JobsRequestBuilder) ToGetRequestInformation(ctx context.Context, reques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to jobs for dataClassification @@ -138,7 +138,7 @@ func (m *JobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/sensitive_types_request_builder.go b/dataclassification/sensitive_types_request_builder.go index d6d482da39a..f4048ef634d 100644 --- a/dataclassification/sensitive_types_request_builder.go +++ b/dataclassification/sensitive_types_request_builder.go @@ -125,7 +125,7 @@ func (m *SensitiveTypesRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sensitiveTypes for dataClassification @@ -138,7 +138,7 @@ func (m *SensitiveTypesRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/sensitive_types_sensitive_type_item_request_builder.go b/dataclassification/sensitive_types_sensitive_type_item_request_builder.go index 5a0000c1a27..30a98dc3778 100644 --- a/dataclassification/sensitive_types_sensitive_type_item_request_builder.go +++ b/dataclassification/sensitive_types_sensitive_type_item_request_builder.go @@ -118,7 +118,7 @@ func (m *SensitiveTypesSensitiveTypeItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sensitiveTypes from dataClassification @@ -134,7 +134,7 @@ func (m *SensitiveTypesSensitiveTypeItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitiveTypes in dataClassification @@ -147,7 +147,7 @@ func (m *SensitiveTypesSensitiveTypeItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/sensitivity_labels_evaluate_request_builder.go b/dataclassification/sensitivity_labels_evaluate_request_builder.go index c232f82c74a..10d6c8efc3e 100644 --- a/dataclassification/sensitivity_labels_evaluate_request_builder.go +++ b/dataclassification/sensitivity_labels_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *SensitivityLabelsEvaluateRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/sensitivity_labels_item_sublabels_evaluate_request_builder.go b/dataclassification/sensitivity_labels_item_sublabels_evaluate_request_builder.go index 61efeb0bbd5..386c26c76ad 100644 --- a/dataclassification/sensitivity_labels_item_sublabels_evaluate_request_builder.go +++ b/dataclassification/sensitivity_labels_item_sublabels_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *SensitivityLabelsItemSublabelsEvaluateRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/sensitivity_labels_item_sublabels_request_builder.go b/dataclassification/sensitivity_labels_item_sublabels_request_builder.go index 500c61b02f8..1f6db6b86fc 100644 --- a/dataclassification/sensitivity_labels_item_sublabels_request_builder.go +++ b/dataclassification/sensitivity_labels_item_sublabels_request_builder.go @@ -129,7 +129,7 @@ func (m *SensitivityLabelsItemSublabelsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sublabels for dataClassification @@ -142,7 +142,7 @@ func (m *SensitivityLabelsItemSublabelsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go b/dataclassification/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go index a5dc3927694..5fbe4ab9420 100644 --- a/dataclassification/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go +++ b/dataclassification/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go @@ -118,7 +118,7 @@ func (m *SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sublabels from dataClassification @@ -134,7 +134,7 @@ func (m *SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sublabels in dataClassification @@ -147,7 +147,7 @@ func (m *SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/sensitivity_labels_request_builder.go b/dataclassification/sensitivity_labels_request_builder.go index f11bf641aa9..bb409d9f9af 100644 --- a/dataclassification/sensitivity_labels_request_builder.go +++ b/dataclassification/sensitivity_labels_request_builder.go @@ -129,7 +129,7 @@ func (m *SensitivityLabelsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sensitivityLabels for dataClassification @@ -142,7 +142,7 @@ func (m *SensitivityLabelsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/dataclassification/sensitivity_labels_sensitivity_label_item_request_builder.go b/dataclassification/sensitivity_labels_sensitivity_label_item_request_builder.go index c65949d8f15..536197fc5ab 100644 --- a/dataclassification/sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/dataclassification/sensitivity_labels_sensitivity_label_item_request_builder.go @@ -122,7 +122,7 @@ func (m *SensitivityLabelsSensitivityLabelItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sensitivityLabels from dataClassification @@ -138,7 +138,7 @@ func (m *SensitivityLabelsSensitivityLabelItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityLabels in dataClassification @@ -151,7 +151,7 @@ func (m *SensitivityLabelsSensitivityLabelItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/datapolicyoperations/data_policy_operation_item_request_builder.go b/datapolicyoperations/data_policy_operation_item_request_builder.go index 63faa30b408..429179cabbc 100644 --- a/datapolicyoperations/data_policy_operation_item_request_builder.go +++ b/datapolicyoperations/data_policy_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *DataPolicyOperationItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of the dataPolicyOperation object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *DataPolicyOperationItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in dataPolicyOperations @@ -150,7 +150,7 @@ func (m *DataPolicyOperationItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/datapolicyoperations/data_policy_operations_request_builder.go b/datapolicyoperations/data_policy_operations_request_builder.go index c2b2cdc930a..9726d68e25e 100644 --- a/datapolicyoperations/data_policy_operations_request_builder.go +++ b/datapolicyoperations/data_policy_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *DataPolicyOperationsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to dataPolicyOperations @@ -138,7 +138,7 @@ func (m *DataPolicyOperationsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go b/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go index e1cf72081bf..3bb1738d978 100644 --- a/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_android_managed_app_protection_item_request_builder.go @@ -130,7 +130,7 @@ func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation android managed app policies. @@ -146,7 +146,7 @@ func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property androidManagedAppProtections in deviceAppManagement @@ -159,7 +159,7 @@ func (m *AndroidManagedAppProtectionsAndroidManagedAppProtectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/android_managed_app_protections_has_payload_links_request_builder.go b/deviceappmanagement/android_managed_app_protections_has_payload_links_request_builder.go index 97fae9a4dda..003c9bed3ca 100644 --- a/deviceappmanagement/android_managed_app_protections_has_payload_links_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *AndroidManagedAppProtectionsHasPayloadLinksRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/android_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go index f2db1fecbdd..37ad30b0845 100644 --- a/deviceappmanagement/android_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AndroidManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of apps to which the policy is deployed. @@ -134,7 +134,7 @@ func (m *AndroidManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property apps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *AndroidManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/android_managed_app_protections_item_apps_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_apps_request_builder.go index 972ff710a04..615644a6d4b 100644 --- a/deviceappmanagement/android_managed_app_protections_item_apps_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *AndroidManagedAppProtectionsItemAppsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to apps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *AndroidManagedAppProtectionsItemAppsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/android_managed_app_protections_item_assignments_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_assignments_request_builder.go index 719b9359547..601d6b597ee 100644 --- a/deviceappmanagement/android_managed_app_protections_item_assignments_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *AndroidManagedAppProtectionsItemAssignmentsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *AndroidManagedAppProtectionsItemAssignmentsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/android_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index c289a4718d1..902cd7fc782 100644 --- a/deviceappmanagement/android_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AndroidManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to list of inclusion and exclusion groups to which the policy is deployed. @@ -134,7 +134,7 @@ func (m *AndroidManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *AndroidManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/android_managed_app_protections_item_deployment_summary_request_builder.go b/deviceappmanagement/android_managed_app_protections_item_deployment_summary_request_builder.go index ea19086ad78..e6dba19e222 100644 --- a/deviceappmanagement/android_managed_app_protections_item_deployment_summary_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_item_deployment_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *AndroidManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to deployment summary of the configuration. @@ -134,7 +134,7 @@ func (m *AndroidManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deploymentSummary in deviceAppManagement @@ -147,7 +147,7 @@ func (m *AndroidManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/android_managed_app_protections_request_builder.go b/deviceappmanagement/android_managed_app_protections_request_builder.go index a91a420fd11..af85e2ca17d 100644 --- a/deviceappmanagement/android_managed_app_protections_request_builder.go +++ b/deviceappmanagement/android_managed_app_protections_request_builder.go @@ -129,7 +129,7 @@ func (m *AndroidManagedAppProtectionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to androidManagedAppProtections for deviceAppManagement @@ -142,7 +142,7 @@ func (m *AndroidManagedAppProtectionsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go b/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go index af0d9a34f60..60b3c78eb6c 100644 --- a/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_default_managed_app_protection_item_request_builder.go @@ -126,7 +126,7 @@ func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation default managed app policies. @@ -142,7 +142,7 @@ func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property defaultManagedAppProtections in deviceAppManagement @@ -155,7 +155,7 @@ func (m *DefaultManagedAppProtectionsDefaultManagedAppProtectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/default_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go b/deviceappmanagement/default_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go index 15ef6a56e87..feb4f2341ab 100644 --- a/deviceappmanagement/default_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DefaultManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of apps to which the policy is deployed. @@ -134,7 +134,7 @@ func (m *DefaultManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property apps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *DefaultManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/default_managed_app_protections_item_apps_request_builder.go b/deviceappmanagement/default_managed_app_protections_item_apps_request_builder.go index b71fd01cf57..b1d07f14a6f 100644 --- a/deviceappmanagement/default_managed_app_protections_item_apps_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_item_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *DefaultManagedAppProtectionsItemAppsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to apps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *DefaultManagedAppProtectionsItemAppsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/default_managed_app_protections_item_deployment_summary_request_builder.go b/deviceappmanagement/default_managed_app_protections_item_deployment_summary_request_builder.go index 3466671a225..baca5c629ea 100644 --- a/deviceappmanagement/default_managed_app_protections_item_deployment_summary_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_item_deployment_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *DefaultManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to deployment summary of the configuration. @@ -134,7 +134,7 @@ func (m *DefaultManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deploymentSummary in deviceAppManagement @@ -147,7 +147,7 @@ func (m *DefaultManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/default_managed_app_protections_request_builder.go b/deviceappmanagement/default_managed_app_protections_request_builder.go index acee2164adc..a3ad2207de9 100644 --- a/deviceappmanagement/default_managed_app_protections_request_builder.go +++ b/deviceappmanagement/default_managed_app_protections_request_builder.go @@ -125,7 +125,7 @@ func (m *DefaultManagedAppProtectionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to defaultManagedAppProtections for deviceAppManagement @@ -138,7 +138,7 @@ func (m *DefaultManagedAppProtectionsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/device_app_management_request_builder.go b/deviceappmanagement/device_app_management_request_builder.go index b20227ab6a5..85490bb021a 100644 --- a/deviceappmanagement/device_app_management_request_builder.go +++ b/deviceappmanagement/device_app_management_request_builder.go @@ -174,7 +174,7 @@ func (m *DeviceAppManagementRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update deviceAppManagement @@ -187,7 +187,7 @@ func (m *DeviceAppManagementRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/device_app_management_tasks_device_app_management_task_item_request_builder.go b/deviceappmanagement/device_app_management_tasks_device_app_management_task_item_request_builder.go index 5f17ba44067..08f70a2aed3 100644 --- a/deviceappmanagement/device_app_management_tasks_device_app_management_task_item_request_builder.go +++ b/deviceappmanagement/device_app_management_tasks_device_app_management_task_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceAppManagementTasksDeviceAppManagementTaskItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device app management tasks. @@ -134,7 +134,7 @@ func (m *DeviceAppManagementTasksDeviceAppManagementTaskItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceAppManagementTasks in deviceAppManagement @@ -147,7 +147,7 @@ func (m *DeviceAppManagementTasksDeviceAppManagementTaskItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/device_app_management_tasks_item_update_status_request_builder.go b/deviceappmanagement/device_app_management_tasks_item_update_status_request_builder.go index 552b9c26faa..5e19e0942e6 100644 --- a/deviceappmanagement/device_app_management_tasks_item_update_status_request_builder.go +++ b/deviceappmanagement/device_app_management_tasks_item_update_status_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceAppManagementTasksItemUpdateStatusRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/device_app_management_tasks_request_builder.go b/deviceappmanagement/device_app_management_tasks_request_builder.go index b4248a969d0..bc5667dc9e2 100644 --- a/deviceappmanagement/device_app_management_tasks_request_builder.go +++ b/deviceappmanagement/device_app_management_tasks_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceAppManagementTasksRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceAppManagementTasks for deviceAppManagement @@ -138,7 +138,7 @@ func (m *DeviceAppManagementTasksRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/enterprise_code_signing_certificates_enterprise_code_signing_certificate_item_request_builder.go b/deviceappmanagement/enterprise_code_signing_certificates_enterprise_code_signing_certificate_item_request_builder.go index fead17f6b1a..47df9e82068 100644 --- a/deviceappmanagement/enterprise_code_signing_certificates_enterprise_code_signing_certificate_item_request_builder.go +++ b/deviceappmanagement/enterprise_code_signing_certificates_enterprise_code_signing_certificate_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EnterpriseCodeSigningCertificatesEnterpriseCodeSigningCertificateItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Windows Enterprise Code Signing Certificate. @@ -134,7 +134,7 @@ func (m *EnterpriseCodeSigningCertificatesEnterpriseCodeSigningCertificateItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property enterpriseCodeSigningCertificates in deviceAppManagement @@ -147,7 +147,7 @@ func (m *EnterpriseCodeSigningCertificatesEnterpriseCodeSigningCertificateItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/enterprise_code_signing_certificates_request_builder.go b/deviceappmanagement/enterprise_code_signing_certificates_request_builder.go index 886df3cd56c..40965332f86 100644 --- a/deviceappmanagement/enterprise_code_signing_certificates_request_builder.go +++ b/deviceappmanagement/enterprise_code_signing_certificates_request_builder.go @@ -125,7 +125,7 @@ func (m *EnterpriseCodeSigningCertificatesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to enterpriseCodeSigningCertificates for deviceAppManagement @@ -138,7 +138,7 @@ func (m *EnterpriseCodeSigningCertificatesRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_has_payload_links_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_has_payload_links_request_builder.go index e0d80fa2729..1a680eae643 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_has_payload_links_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *IosLobAppProvisioningConfigurationsHasPayloadLinksRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_ios_lob_app_provisioning_configuration_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_ios_lob_app_provisioning_configuration_item_request_builder.go index 53471d829bf..758593b517a 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_ios_lob_app_provisioning_configuration_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_ios_lob_app_provisioning_configuration_item_request_builder.go @@ -134,7 +134,7 @@ func (m *IosLobAppProvisioningConfigurationsIosLobAppProvisioningConfigurationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the IOS Lob App Provisioning Configurations. @@ -150,7 +150,7 @@ func (m *IosLobAppProvisioningConfigurationsIosLobAppProvisioningConfigurationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property iosLobAppProvisioningConfigurations in deviceAppManagement @@ -163,7 +163,7 @@ func (m *IosLobAppProvisioningConfigurationsIosLobAppProvisioningConfigurationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assign_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assign_request_builder.go index 92b89f78b10..695aa6ad6e4 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assign_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go index b96de8b1dc3..e7dc57e64cf 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_ios_lob_app_provisioning_configuration_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioning requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the associated group assignments for IosLobAppProvisioningConfiguration. @@ -134,7 +134,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioning requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsIosLobAppProvisioning requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go index a0de6044f21..b66ef3d8b6b 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *IosLobAppProvisioningConfigurationsItemAssignmentsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go index e83b1e02218..bff81ee3519 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IosLobAppProvisioningConfigurationsItemDeviceStatusesManagedDeviceMobil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of device installation states for this mobile app configuration. @@ -134,7 +134,7 @@ func (m *IosLobAppProvisioningConfigurationsItemDeviceStatusesManagedDeviceMobil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStatuses in deviceAppManagement @@ -147,7 +147,7 @@ func (m *IosLobAppProvisioningConfigurationsItemDeviceStatusesManagedDeviceMobil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_request_builder.go index 5f40618ac58..3ea5f0e9f00 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_device_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *IosLobAppProvisioningConfigurationsItemDeviceStatusesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceStatuses for deviceAppManagement @@ -138,7 +138,7 @@ func (m *IosLobAppProvisioningConfigurationsItemDeviceStatusesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_mobile_app_provisioning_config_group_assignment_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_mobile_app_provisioning_config_group_assignment_item_request_builder.go index bb2718c749c..282eb6b7bb8 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_mobile_app_provisioning_config_group_assignment_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_mobile_app_provisioning_config_group_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IosLobAppProvisioningConfigurationsItemGroupAssignmentsMobileAppProvisi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the associated group assignments. @@ -134,7 +134,7 @@ func (m *IosLobAppProvisioningConfigurationsItemGroupAssignmentsMobileAppProvisi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupAssignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *IosLobAppProvisioningConfigurationsItemGroupAssignmentsMobileAppProvisi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_request_builder.go index d29db9a90ab..5a9e96ef789 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_group_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *IosLobAppProvisioningConfigurationsItemGroupAssignmentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupAssignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *IosLobAppProvisioningConfigurationsItemGroupAssignmentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go index e141ec4494c..f6ac360f47a 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IosLobAppProvisioningConfigurationsItemUserStatusesManagedDeviceMobileA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of user installation states for this mobile app configuration. @@ -134,7 +134,7 @@ func (m *IosLobAppProvisioningConfigurationsItemUserStatusesManagedDeviceMobileA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userStatuses in deviceAppManagement @@ -147,7 +147,7 @@ func (m *IosLobAppProvisioningConfigurationsItemUserStatusesManagedDeviceMobileA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_request_builder.go index 389bbb6ce49..a7490c1eae8 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_item_user_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *IosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userStatuses for deviceAppManagement @@ -138,7 +138,7 @@ func (m *IosLobAppProvisioningConfigurationsItemUserStatusesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_lob_app_provisioning_configurations_request_builder.go b/deviceappmanagement/ios_lob_app_provisioning_configurations_request_builder.go index a753d3ca337..f5f22b369da 100644 --- a/deviceappmanagement/ios_lob_app_provisioning_configurations_request_builder.go +++ b/deviceappmanagement/ios_lob_app_provisioning_configurations_request_builder.go @@ -129,7 +129,7 @@ func (m *IosLobAppProvisioningConfigurationsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to iosLobAppProvisioningConfigurations for deviceAppManagement @@ -142,7 +142,7 @@ func (m *IosLobAppProvisioningConfigurationsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_managed_app_protections_has_payload_links_request_builder.go b/deviceappmanagement/ios_managed_app_protections_has_payload_links_request_builder.go index d9968551fcd..b9b3c5aa497 100644 --- a/deviceappmanagement/ios_managed_app_protections_has_payload_links_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *IosManagedAppProtectionsHasPayloadLinksRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go b/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go index 6637e7ba982..ef9f20e9b59 100644 --- a/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_ios_managed_app_protection_item_request_builder.go @@ -130,7 +130,7 @@ func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation iOS managed app policies. @@ -146,7 +146,7 @@ func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property iosManagedAppProtections in deviceAppManagement @@ -159,7 +159,7 @@ func (m *IosManagedAppProtectionsIosManagedAppProtectionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go index 9ca3494d2b4..9610ff6f7ac 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of apps to which the policy is deployed. @@ -134,7 +134,7 @@ func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property apps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *IosManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go index 28663228d02..661ed3bd568 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *IosManagedAppProtectionsItemAppsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to apps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *IosManagedAppProtectionsItemAppsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go index 55f77aad7d7..af906329b83 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 5382953c4d9..3f8811f3b43 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to list of inclusion and exclusion groups to which the policy is deployed. @@ -134,7 +134,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *IosManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssignme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go b/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go index f78a35fb11d..a8f0d8ec6d5 100644 --- a/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_item_deployment_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to deployment summary of the configuration. @@ -134,7 +134,7 @@ func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deploymentSummary in deviceAppManagement @@ -147,7 +147,7 @@ func (m *IosManagedAppProtectionsItemDeploymentSummaryRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/ios_managed_app_protections_request_builder.go b/deviceappmanagement/ios_managed_app_protections_request_builder.go index d0a210325f9..900acf8d854 100644 --- a/deviceappmanagement/ios_managed_app_protections_request_builder.go +++ b/deviceappmanagement/ios_managed_app_protections_request_builder.go @@ -129,7 +129,7 @@ func (m *IosManagedAppProtectionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to iosManagedAppProtections for deviceAppManagement @@ -142,7 +142,7 @@ func (m *IosManagedAppProtectionsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go index 86ac57b345f..71b6c312645 100644 --- a/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_policies_item_target_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedAppPoliciesItemTargetAppsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go index 7f20b1ac5d5..f48d6bea6eb 100644 --- a/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation managed app policies. @@ -138,7 +138,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedAppPolicies in deviceAppManagement @@ -151,7 +151,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_policies_request_builder.go b/deviceappmanagement/managed_app_policies_request_builder.go index 3a81359ac9c..f2939cff1f9 100644 --- a/deviceappmanagement/managed_app_policies_request_builder.go +++ b/deviceappmanagement/managed_app_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedAppPoliciesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedAppPolicies for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedAppPoliciesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go b/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go index 6da2d434898..c0b101344f4 100644 --- a/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_get_user_ids_with_flagged_app_registration_request_builder.go @@ -97,7 +97,7 @@ func (m *ManagedAppRegistrationsGetUserIdsWithFlaggedAppRegistrationRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go index 4f3a6be0de2..596e4e9dc9b 100644 --- a/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_applied_policies_item_target_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesItemTargetAppsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_registrations_item_applied_policies_managed_app_policy_item_request_builder.go b/deviceappmanagement/managed_app_registrations_item_applied_policies_managed_app_policy_item_request_builder.go index 48ff179e926..2b59f489630 100644 --- a/deviceappmanagement/managed_app_registrations_item_applied_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_applied_policies_managed_app_policy_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesManagedAppPolicyItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation zero or more policys already applied on the registered app when it last synchronized with managment service. @@ -138,7 +138,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesManagedAppPolicyItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appliedPolicies in deviceAppManagement @@ -151,7 +151,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesManagedAppPolicyItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_registrations_item_applied_policies_request_builder.go b/deviceappmanagement/managed_app_registrations_item_applied_policies_request_builder.go index f14b9bf53f1..ce6207838a5 100644 --- a/deviceappmanagement/managed_app_registrations_item_applied_policies_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_applied_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to appliedPolicies for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedAppRegistrationsItemAppliedPoliciesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go b/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go index a800f88c3e7..336bc17545d 100644 --- a/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_intended_policies_item_target_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesItemTargetAppsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_registrations_item_intended_policies_managed_app_policy_item_request_builder.go b/deviceappmanagement/managed_app_registrations_item_intended_policies_managed_app_policy_item_request_builder.go index 7c4deeb54ce..92374773a85 100644 --- a/deviceappmanagement/managed_app_registrations_item_intended_policies_managed_app_policy_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_intended_policies_managed_app_policy_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesManagedAppPolicyItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation zero or more policies admin intended for the app as of now. @@ -138,7 +138,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesManagedAppPolicyItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property intendedPolicies in deviceAppManagement @@ -151,7 +151,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesManagedAppPolicyItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_registrations_item_intended_policies_request_builder.go b/deviceappmanagement/managed_app_registrations_item_intended_policies_request_builder.go index eadbd2e3fb9..817c185b0a6 100644 --- a/deviceappmanagement/managed_app_registrations_item_intended_policies_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_intended_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to intendedPolicies for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedAppRegistrationsItemIntendedPoliciesRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go b/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go index fcd56ab9a6a..5e8da0c4d03 100644 --- a/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_operations_managed_app_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation zero or more long running operations triggered on the app registration. @@ -134,7 +134,7 @@ func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in deviceAppManagement @@ -147,7 +147,7 @@ func (m *ManagedAppRegistrationsItemOperationsManagedAppOperationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go b/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go index 736eb7cd2f2..9c06390ab6a 100644 --- a/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_item_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedAppRegistrationsItemOperationsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go index 8f4b0aa9bb2..ae4ef3f4d35 100644 --- a/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_managed_app_registration_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the managed app registrations. @@ -146,7 +146,7 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedAppRegistrations in deviceAppManagement @@ -159,7 +159,7 @@ func (m *ManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_registrations_request_builder.go b/deviceappmanagement/managed_app_registrations_request_builder.go index 5ee6fd608b9..9f10ff15d81 100644 --- a/deviceappmanagement/managed_app_registrations_request_builder.go +++ b/deviceappmanagement/managed_app_registrations_request_builder.go @@ -129,7 +129,7 @@ func (m *ManagedAppRegistrationsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedAppRegistrations for deviceAppManagement @@ -142,7 +142,7 @@ func (m *ManagedAppRegistrationsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go index 3e70351f830..47342eaccc6 100644 --- a/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the managed app statuses. @@ -134,7 +134,7 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedAppStatuses in deviceAppManagement @@ -147,7 +147,7 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_app_statuses_request_builder.go b/deviceappmanagement/managed_app_statuses_request_builder.go index 6ae33e3203a..4b97c2e2f9b 100644 --- a/deviceappmanagement/managed_app_statuses_request_builder.go +++ b/deviceappmanagement/managed_app_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedAppStatusesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedAppStatuses for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedAppStatusesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_book_categories_managed_e_book_category_item_request_builder.go b/deviceappmanagement/managed_e_book_categories_managed_e_book_category_item_request_builder.go index ef66562c057..3a35b008bbd 100644 --- a/deviceappmanagement/managed_e_book_categories_managed_e_book_category_item_request_builder.go +++ b/deviceappmanagement/managed_e_book_categories_managed_e_book_category_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedEBookCategoriesManagedEBookCategoryItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the mobile eBook categories. @@ -134,7 +134,7 @@ func (m *ManagedEBookCategoriesManagedEBookCategoryItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedEBookCategories in deviceAppManagement @@ -147,7 +147,7 @@ func (m *ManagedEBookCategoriesManagedEBookCategoryItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_book_categories_request_builder.go b/deviceappmanagement/managed_e_book_categories_request_builder.go index a699579f72f..e5eea777a35 100644 --- a/deviceappmanagement/managed_e_book_categories_request_builder.go +++ b/deviceappmanagement/managed_e_book_categories_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedEBookCategoriesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedEBookCategories for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedEBookCategoriesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_item_assign_request_builder.go b/deviceappmanagement/managed_e_books_item_assign_request_builder.go index e3f5c9ac369..6193107bc61 100644 --- a/deviceappmanagement/managed_e_books_item_assign_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedEBooksItemAssignRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go index ac55f28cd4b..413667d1025 100644 --- a/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of assignments for this eBook. @@ -134,7 +134,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_item_assignments_request_builder.go b/deviceappmanagement/managed_e_books_item_assignments_request_builder.go index 9eb95c25107..6ebc7479ee0 100644 --- a/deviceappmanagement/managed_e_books_item_assignments_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedEBooksItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedEBooksItemAssignmentsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_item_categories_managed_e_book_category_item_request_builder.go b/deviceappmanagement/managed_e_books_item_categories_managed_e_book_category_item_request_builder.go index 03749a5158a..08943522968 100644 --- a/deviceappmanagement/managed_e_books_item_categories_managed_e_book_category_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_categories_managed_e_book_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedEBooksItemCategoriesManagedEBookCategoryItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/managed_e_books_item_categories_request_builder.go b/deviceappmanagement/managed_e_books_item_categories_request_builder.go index 6417412db44..8e0ce842ca5 100644 --- a/deviceappmanagement/managed_e_books_item_categories_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedEBooksItemCategoriesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go b/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go index 0c9ae9c6a13..9292d8b7b0e 100644 --- a/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_device_states_device_install_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of installation states for this eBook. @@ -134,7 +134,7 @@ func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStates in deviceAppManagement @@ -147,7 +147,7 @@ func (m *ManagedEBooksItemDeviceStatesDeviceInstallStateItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_item_device_states_request_builder.go b/deviceappmanagement/managed_e_books_item_device_states_request_builder.go index aba90924d2a..e1f62c4c267 100644 --- a/deviceappmanagement/managed_e_books_item_device_states_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_device_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedEBooksItemDeviceStatesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceStates for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedEBooksItemDeviceStatesRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go b/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go index 3731658fd6f..5bc50561796 100644 --- a/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_install_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedEBooksItemInstallSummaryRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation mobile App Install Summary. @@ -134,7 +134,7 @@ func (m *ManagedEBooksItemInstallSummaryRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property installSummary in deviceAppManagement @@ -147,7 +147,7 @@ func (m *ManagedEBooksItemInstallSummaryRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_device_install_state_item_request_builder.go b/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_device_install_state_item_request_builder.go index feeb960ec2a..52255f2f3be 100644 --- a/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_device_install_state_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_device_install_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedEBooksItemUserStateSummaryItemDeviceStatesDeviceInstallStateItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the install state of the eBook. @@ -134,7 +134,7 @@ func (m *ManagedEBooksItemUserStateSummaryItemDeviceStatesDeviceInstallStateItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStates in deviceAppManagement @@ -147,7 +147,7 @@ func (m *ManagedEBooksItemUserStateSummaryItemDeviceStatesDeviceInstallStateItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_request_builder.go b/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_request_builder.go index b4af2211580..af05dccc673 100644 --- a/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_user_state_summary_item_device_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceStates for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedEBooksItemUserStateSummaryItemDeviceStatesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go b/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go index 1cf410110f5..ed66aeff021 100644 --- a/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_user_state_summary_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userStateSummary for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedEBooksItemUserStateSummaryRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go b/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go index cbd3959175a..8195515d1cb 100644 --- a/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_item_user_state_summary_user_install_state_summary_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of installation states for this eBook. @@ -138,7 +138,7 @@ func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userStateSummary in deviceAppManagement @@ -151,7 +151,7 @@ func (m *ManagedEBooksItemUserStateSummaryUserInstallStateSummaryItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go b/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go index 4d404ed72e9..c120add1a63 100644 --- a/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go +++ b/deviceappmanagement/managed_e_books_managed_e_book_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Managed eBook. @@ -154,7 +154,7 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedEBooks in deviceAppManagement @@ -167,7 +167,7 @@ func (m *ManagedEBooksManagedEBookItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/managed_e_books_request_builder.go b/deviceappmanagement/managed_e_books_request_builder.go index e373386735e..e7fec6fd88e 100644 --- a/deviceappmanagement/managed_e_books_request_builder.go +++ b/deviceappmanagement/managed_e_books_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedEBooksRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedEBooks for deviceAppManagement @@ -138,7 +138,7 @@ func (m *ManagedEBooksRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_has_payload_links_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_has_payload_links_request_builder.go index 347471f4fbc..1434ba4a018 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_has_payload_links_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *MdmWindowsInformationProtectionPoliciesHasPayloadLinksRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_request_builder.go index 8f5c86e7983..a7008b987ee 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 453f08dd1c0..1d1f50e51db 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to list of security groups targeted for policy. @@ -134,7 +134,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go index 08d0962bd9f..3f7acc2e665 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to exemptAppLockerFiles for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go index 7aeeb8dd93b..fef9e311369 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation another way to input exempt apps through xml files @@ -134,7 +134,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exemptAppLockerFiles in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_request_builder.go index 9d88a41af38..abf3a51b597 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to protectedAppLockerFiles for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go index faf492658ba..72093a3798c 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation another way to input protected apps through xml files @@ -134,7 +134,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property protectedAppLockerFiles in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MdmWindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_mdm_windows_information_protection_policy_item_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_mdm_windows_information_protection_policy_item_request_builder.go index c77ecc9f34f..762e0c838c4 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_mdm_windows_information_protection_policy_item_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_mdm_windows_information_protection_policy_item_request_builder.go @@ -130,7 +130,7 @@ func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation windows information protection for apps running on devices which are MDM enrolled. @@ -146,7 +146,7 @@ func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property mdmWindowsInformationProtectionPolicies in deviceAppManagement @@ -159,7 +159,7 @@ func (m *MdmWindowsInformationProtectionPoliciesMdmWindowsInformationProtectionP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go b/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go index 8ce0bcff4a4..9c66d3eb2b5 100644 --- a/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go +++ b/deviceappmanagement/mdm_windows_information_protection_policies_request_builder.go @@ -129,7 +129,7 @@ func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mdmWindowsInformationProtectionPolicies for deviceAppManagement @@ -142,7 +142,7 @@ func (m *MdmWindowsInformationProtectionPoliciesRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go index d6acb7b2568..0289ecee123 100644 --- a/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_app_categories_mobile_app_category_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the mobile app categories. @@ -134,7 +134,7 @@ func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property mobileAppCategories in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppCategoriesMobileAppCategoryItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_categories_request_builder.go b/deviceappmanagement/mobile_app_categories_request_builder.go index 41c169c835c..564d8c6492c 100644 --- a/deviceappmanagement/mobile_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_app_categories_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppCategoriesRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mobileAppCategories for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppCategoriesRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go index 146558170a9..327b9601f9c 100644 --- a/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppConfigurationsItemAssignRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_item_assignments_managed_device_mobile_app_configuration_assignment_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_assignments_managed_device_mobile_app_configuration_assignment_item_request_builder.go index abb7c15023c..29cf823a809 100644 --- a/deviceappmanagement/mobile_app_configurations_item_assignments_managed_device_mobile_app_configuration_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_assignments_managed_device_mobile_app_configuration_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignemenets for app configration. @@ -134,7 +134,7 @@ func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppConfigurationsItemAssignmentsManagedDeviceMobileAppConfigurati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go index 40775a050ee..1a175977e21 100644 --- a/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppConfigurationsItemAssignmentsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go index b1fca25530a..f3b17355b5a 100644 --- a/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_device_status_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation app configuration device status summary. @@ -134,7 +134,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStatusSummary in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusSummaryRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go index 0e8b5e895f6..d487e3c8bb0 100644 --- a/deviceappmanagement/mobile_app_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_device_statuses_managed_device_mobile_app_configuration_device_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of ManagedDeviceMobileAppConfigurationDeviceStatus. @@ -134,7 +134,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStatuses in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesManagedDeviceMobileAppConfigur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go index f12441b22c1..6e2ff55c7a8 100644 --- a/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_device_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceStatuses for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppConfigurationsItemDeviceStatusesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go index 4d59f935340..b382de34345 100644 --- a/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_user_status_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation app configuration user status summary. @@ -134,7 +134,7 @@ func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userStatusSummary in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppConfigurationsItemUserStatusSummaryRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go index 78128e339df..bbc2aa946ea 100644 --- a/deviceappmanagement/mobile_app_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_user_statuses_managed_device_mobile_app_configuration_user_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of ManagedDeviceMobileAppConfigurationUserStatus. @@ -134,7 +134,7 @@ func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userStatuses in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppConfigurationsItemUserStatusesManagedDeviceMobileAppConfigurat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go b/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go index 5e83679549f..3ceea67d8d8 100644 --- a/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_item_user_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userStatuses for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppConfigurationsItemUserStatusesRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go b/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go index 416aa6f85f7..c0754042274 100644 --- a/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_managed_device_mobile_app_configuration_item_request_builder.go @@ -134,7 +134,7 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Managed Device Mobile Application Configurations. @@ -150,7 +150,7 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property mobileAppConfigurations in deviceAppManagement @@ -163,7 +163,7 @@ func (m *MobileAppConfigurationsManagedDeviceMobileAppConfigurationItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_app_configurations_request_builder.go b/deviceappmanagement/mobile_app_configurations_request_builder.go index 63cac7b38f3..6785bec87d8 100644 --- a/deviceappmanagement/mobile_app_configurations_request_builder.go +++ b/deviceappmanagement/mobile_app_configurations_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppConfigurationsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mobileAppConfigurations for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppConfigurationsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_graph_android_for_work_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_for_work_app_request_builder.go index 4f92cc7c83b..5d287a6f74e 100644 --- a/deviceappmanagement/mobile_apps_graph_android_for_work_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_android_for_work_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphAndroidForWorkAppRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_android_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_lob_app_request_builder.go index 6fbf24cb109..ad59e9d9f8a 100644 --- a/deviceappmanagement/mobile_apps_graph_android_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_android_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphAndroidLobAppRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_android_managed_store_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_managed_store_app_request_builder.go index 8f360bc1500..9f013635417 100644 --- a/deviceappmanagement/mobile_apps_graph_android_managed_store_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_android_managed_store_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphAndroidManagedStoreAppRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_android_store_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_android_store_app_request_builder.go index 955b6dbbaec..bcf896ef9f3 100644 --- a/deviceappmanagement/mobile_apps_graph_android_store_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_android_store_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphAndroidStoreAppRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_ios_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_ios_lob_app_request_builder.go index 6660f8acffe..a0d175ee692 100644 --- a/deviceappmanagement/mobile_apps_graph_ios_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_ios_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphIosLobAppRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_ios_store_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_ios_store_app_request_builder.go index 082ce78a049..a3d12d1c1a0 100644 --- a/deviceappmanagement/mobile_apps_graph_ios_store_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_ios_store_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphIosStoreAppRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_ios_vpp_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_ios_vpp_app_request_builder.go index 010162a3b15..029fb240080 100644 --- a/deviceappmanagement/mobile_apps_graph_ios_vpp_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_ios_vpp_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphIosVppAppRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_mac_o_s_dmg_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_mac_o_s_dmg_app_request_builder.go index 648c897c2fc..b2d7f5a0dd4 100644 --- a/deviceappmanagement/mobile_apps_graph_mac_o_s_dmg_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_mac_o_s_dmg_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphMacOSDmgAppRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_mac_o_s_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_mac_o_s_lob_app_request_builder.go index e0798b34687..bc14e1edccb 100644 --- a/deviceappmanagement/mobile_apps_graph_mac_o_s_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_mac_o_s_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphMacOSLobAppRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_mac_o_s_pkg_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_mac_o_s_pkg_app_request_builder.go index 4eeef55a85e..d321ad885e3 100644 --- a/deviceappmanagement/mobile_apps_graph_mac_o_s_pkg_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_mac_o_s_pkg_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphMacOSPkgAppRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_managed_android_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_managed_android_lob_app_request_builder.go index 2fa2eddd1c6..71fb7426661 100644 --- a/deviceappmanagement/mobile_apps_graph_managed_android_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_managed_android_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphManagedAndroidLobAppRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_managed_i_o_s_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_managed_i_o_s_lob_app_request_builder.go index 0d004ab223c..4bf1d0d26b7 100644 --- a/deviceappmanagement/mobile_apps_graph_managed_i_o_s_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_managed_i_o_s_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphManagedIOSLobAppRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_request_builder.go index a80274941d3..598718bf347 100644 --- a/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_managed_mobile_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphManagedMobileLobAppRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_microsoft_store_for_business_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_microsoft_store_for_business_app_request_builder.go index e5bb2e1fdd7..8b9bca901b7 100644 --- a/deviceappmanagement/mobile_apps_graph_microsoft_store_for_business_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_microsoft_store_for_business_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphMicrosoftStoreForBusinessAppRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_win32_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_win32_lob_app_request_builder.go index 93646252aaf..56a5d974b91 100644 --- a/deviceappmanagement/mobile_apps_graph_win32_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_win32_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphWin32LobAppRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_win_get_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_win_get_app_request_builder.go index aafdece7592..485a011aa7c 100644 --- a/deviceappmanagement/mobile_apps_graph_win_get_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_win_get_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphWinGetAppRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_windows_app_x_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_app_x_request_builder.go index 9f17d58ad43..950897ccb5f 100644 --- a/deviceappmanagement/mobile_apps_graph_windows_app_x_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_windows_app_x_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphWindowsAppXRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_windows_mobile_m_s_i_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_mobile_m_s_i_request_builder.go index a29d21cbc51..51c13898952 100644 --- a/deviceappmanagement/mobile_apps_graph_windows_mobile_m_s_i_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_windows_mobile_m_s_i_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphWindowsMobileMSIRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_windows_store_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_store_app_request_builder.go index e9c8bfde534..2cb1ba67d80 100644 --- a/deviceappmanagement/mobile_apps_graph_windows_store_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_windows_store_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphWindowsStoreAppRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_windows_universal_app_x_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_universal_app_x_request_builder.go index 02dd91324c5..3c0d51c8327 100644 --- a/deviceappmanagement/mobile_apps_graph_windows_universal_app_x_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_windows_universal_app_x_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphWindowsUniversalAppXRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_graph_windows_web_app_request_builder.go b/deviceappmanagement/mobile_apps_graph_windows_web_app_request_builder.go index c14d7621109..05147207f25 100644 --- a/deviceappmanagement/mobile_apps_graph_windows_web_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_graph_windows_web_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsGraphWindowsWebAppRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_has_payload_links_request_builder.go b/deviceappmanagement/mobile_apps_has_payload_links_request_builder.go index eee76b02ab2..c3ab179fe2a 100644 --- a/deviceappmanagement/mobile_apps_has_payload_links_request_builder.go +++ b/deviceappmanagement/mobile_apps_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *MobileAppsHasPayloadLinksRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_assign_request_builder.go b/deviceappmanagement/mobile_apps_item_assign_request_builder.go index 51132661644..6e69a764002 100644 --- a/deviceappmanagement/mobile_apps_item_assign_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemAssignRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go index 07ae2319370..1f67d6290ab 100644 --- a/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemAssignmentsMobileAppAssignmentItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_assignments_request_builder.go index 4b6a6019265..c7e745fced3 100644 --- a/deviceappmanagement/mobile_apps_item_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_categories_mobile_app_category_item_request_builder.go index 47712cea5c9..033693ec595 100644 --- a/deviceappmanagement/mobile_apps_item_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemCategoriesMobileAppCategoryItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_categories_request_builder.go index b8bedcebc3c..f67adca56eb 100644 --- a/deviceappmanagement/mobile_apps_item_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemCategoriesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_assignments_mobile_app_assignment_item_request_builder.go index 813a355900d..a5b4b1467e3 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppAssignmentsMobileAppAssignmentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppAssignmentsMobileAppAssignmentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppAssignmentsMobileAppAssignmentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_assignments_request_builder.go index a7ff92cd27a..8d3798d59fe 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppAssignmentsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppAssignmentsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_categories_mobile_app_category_item_request_builder.go index 80bb2b50c94..09b65944726 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppCategoriesMobileAppCategoryItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_categories_request_builder.go index 233a55b4004..8f3b82902ad 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppCategoriesRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go index 0c3a11e0921..e8bc86e616d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go index 045a3e5e898..da98e95b7e6 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_request_builder.go index e928a81b97b..19551caca83 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_request_builder.go @@ -84,7 +84,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_assignments_mobile_app_assignment_item_request_builder.go index b1e5c38b988..4ed9e78a0e1 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphAndroidLobAppAssignmentsMobileAppAssignmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphAndroidLobAppAssignmentsMobileAppAssignmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphAndroidLobAppAssignmentsMobileAppAssignmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_assignments_request_builder.go index 28c87b99293..762baf49cab 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidLobAppAssignmentsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidLobAppAssignmentsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_categories_mobile_app_category_item_request_builder.go index 9c2ec6a28a0..7227568375b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphAndroidLobAppCategoriesMobileAppCategoryItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_categories_request_builder.go index 9194ce77466..38aa5516f5e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphAndroidLobAppCategoriesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index 75e75411628..07610ec1be6 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemContainedAppsMobileC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemContainedAppsMobileC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemContainedAppsMobileC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_contained_apps_request_builder.go index 00dc80c8d67..8e95bf84c89 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemContainedAppsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemContainedAppsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_item_commit_request_builder.go index 5a8a5a2d42b..143787193e1 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemFilesItemCommitReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_item_renew_upload_request_builder.go index d560ffe8156..7ce8e0fb172 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemFilesItemRenewUpload requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go index 8117624c476..8b5159c0b30 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemFilesMobileAppConten requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemFilesMobileAppConten requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemFilesMobileAppConten requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_request_builder.go index b6936ce2ec0..07f7c1d9640 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemFilesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsItemFilesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_mobile_app_content_item_request_builder.go index d56239bff95..1d1a9371d7d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsMobileAppContentItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_request_builder.go index bfb7854eb8c..68948df3b9f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidLobAppContentVersionsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 17cc1621227..54c4aaf50fb 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go index 7f415abd3be..e483014dfae 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_request_builder.go index 9cb16aec0fe..5af24f39592 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_assignments_mobile_app_assignment_item_request_builder.go index f71fd2b9233..20c0086ec31 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppAssignmentsMobileAppAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppAssignmentsMobileAppAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppAssignmentsMobileAppAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_assignments_request_builder.go index 067a8a55127..07866ea7b49 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppAssignmentsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppAssignmentsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_categories_mobile_app_category_item_request_builder.go index b07a320e723..81d1b9d4597 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppCategoriesMobileAppCategoryIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_categories_request_builder.go index dc07f3a0ca1..2c7e3f32407 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppCategoriesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go index 106bc09f997..d0fed2b07f4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go index c6014e0fe59..d33b3a1e7e7 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_request_builder.go index 97c58fdb22a..5cf5a26aa7b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_request_builder.go @@ -84,7 +84,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_assignments_mobile_app_assignment_item_request_builder.go index 1d7d4a366d3..e82c5736519 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppAssignmentsMobileAppAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppAssignmentsMobileAppAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppAssignmentsMobileAppAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_assignments_request_builder.go index 8f56997a1e5..1bbcd68c1b5 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppAssignmentsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppAssignmentsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_categories_mobile_app_category_item_request_builder.go index 007109faa8b..9104f09a4d2 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppCategoriesMobileAppCategoryItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_categories_request_builder.go index f8df0ae834c..e07652c53da 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppCategoriesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go index d8b1023dab9..0185d991a3a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go index adc71273c68..a3b50e72331 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_request_builder.go index e9e9556ce66..3c1036437da 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_request_builder.go @@ -84,7 +84,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_assignments_mobile_app_assignment_item_request_builder.go index 0bcde356046..3e3948233e8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphIosLobAppAssignmentsMobileAppAssignmentItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphIosLobAppAssignmentsMobileAppAssignmentItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphIosLobAppAssignmentsMobileAppAssignmentItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_assignments_request_builder.go index e422054fba0..9712d00c311 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphIosLobAppAssignmentsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphIosLobAppAssignmentsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_categories_mobile_app_category_item_request_builder.go index 101381aead7..674cb3e01da 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphIosLobAppCategoriesMobileAppCategoryItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_categories_request_builder.go index 3c1b2b72c53..5449409da20 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphIosLobAppCategoriesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index 3c09f4ab9f2..c28cb8848e6 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemContainedAppsMobileConta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemContainedAppsMobileConta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemContainedAppsMobileConta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_contained_apps_request_builder.go index e0156819e7f..1444ef3b7a8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemContainedAppsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemContainedAppsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_item_commit_request_builder.go index ac76b519b9c..e9041cc36b0 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemFilesItemCommitRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_item_renew_upload_request_builder.go index 97baaf8c888..e992b0dca19 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemFilesItemRenewUploadRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go index bf3f307c6d2..adbba2bde74 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemFilesMobileAppContentFil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemFilesMobileAppContentFil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemFilesMobileAppContentFil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_request_builder.go index b6d952ff15f..c86c11535c0 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemFilesRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsItemFilesRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_mobile_app_content_item_request_builder.go index c0c04d22efd..acbfd2c2d26 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsMobileAppContentItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_request_builder.go index 593d44d765f..94aac4919f3 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphIosLobAppContentVersionsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 47a4b0c7190..6fa3902f25b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go index bead68e4696..d209aa527c8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_request_builder.go index 8c8cd0bd14f..0bcc7d7e99f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphIosLobAppRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_assignments_mobile_app_assignment_item_request_builder.go index eb5cd930a0f..e785b49d969 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphIosStoreAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphIosStoreAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphIosStoreAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_assignments_request_builder.go index 58fa0092011..45cdfc5f44d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphIosStoreAppAssignmentsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphIosStoreAppAssignmentsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_categories_mobile_app_category_item_request_builder.go index b0d772e3f36..2695f4614fd 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphIosStoreAppCategoriesMobileAppCategoryItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_categories_request_builder.go index 6897965a774..95a61d7a58d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphIosStoreAppCategoriesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go index b8b6c5787f7..8d56c33a69e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go index 877bb7584dc..ec7f81739b7 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_request_builder.go index 145bfc0845f..13abc3bd559 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_request_builder.go @@ -84,7 +84,7 @@ func (m *MobileAppsItemGraphIosStoreAppRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assigned_licenses_ios_vpp_app_assigned_license_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assigned_licenses_ios_vpp_app_assigned_license_item_request_builder.go index eda877661f6..cca49287699 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assigned_licenses_ios_vpp_app_assigned_license_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assigned_licenses_ios_vpp_app_assigned_license_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphIosVppAppAssignedLicensesIosVppAppAssignedLicenseIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the licenses assigned to this app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphIosVppAppAssignedLicensesIosVppAppAssignedLicenseIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedLicenses in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphIosVppAppAssignedLicensesIosVppAppAssignedLicenseIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assigned_licenses_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assigned_licenses_request_builder.go index 1b782cc35c9..fe131f28529 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assigned_licenses_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assigned_licenses_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphIosVppAppAssignedLicensesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignedLicenses for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphIosVppAppAssignedLicensesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assignments_mobile_app_assignment_item_request_builder.go index e486eafe55b..7ae910939a8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphIosVppAppAssignmentsMobileAppAssignmentItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphIosVppAppAssignmentsMobileAppAssignmentItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphIosVppAppAssignmentsMobileAppAssignmentItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assignments_request_builder.go index 4caca92a0f4..64301065f23 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphIosVppAppAssignmentsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphIosVppAppAssignmentsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_categories_mobile_app_category_item_request_builder.go index f1c1dd8f342..4a2eb330bd3 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphIosVppAppCategoriesMobileAppCategoryItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_categories_request_builder.go index e2cf1f70ff1..b5884f47920 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphIosVppAppCategoriesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go index d59197548f5..d7e687d0506 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go index fd74c228257..a9626e555cf 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_request_builder.go index f335b70f97c..a1bab2c2740 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphIosVppAppRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_assignments_mobile_app_assignment_item_request_builder.go index 711c4eed455..0809aa2543f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_assignments_request_builder.go index 88c2de3ea41..53916a6ce12 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppAssignmentsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppAssignmentsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_categories_mobile_app_category_item_request_builder.go index 5ec2a3bdf41..d67d928965b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppCategoriesMobileAppCategoryItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_categories_request_builder.go index 7421f711f81..b5484900d7b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppCategoriesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index ed4aca8f73a..0d34cc99c90 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_contained_apps_request_builder.go index 25c5341d341..c6926543c7f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemContainedAppsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemContainedAppsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_item_commit_request_builder.go index f6c7b99bb0f..180275365ae 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemFilesItemCommitRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_item_renew_upload_request_builder.go index c3ef2a59aeb..244e5740aab 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemFilesItemRenewUploadRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go index 15deb98e426..a26191f2a7c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_request_builder.go index 390ada4eb09..c38ee662775 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsItemFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_mobile_app_content_item_request_builder.go index 782f4aa2df1..c96e4cc94e1 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_request_builder.go index b7a851ff990..b3cc9c71fbd 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppContentVersionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go index 2ff81c33ca6..8ae9aed7a40 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go index 26a2733c103..80a427d5ac5 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_request_builder.go index 6fd6b8a2848..44ce575806c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_assignments_mobile_app_assignment_item_request_builder.go index f4150ac9fe1..f47c0d6c6f0 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMacOSLobAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSLobAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMacOSLobAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_assignments_request_builder.go index 11f1eff47d7..1889d94c076 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSLobAppAssignmentsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSLobAppAssignmentsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_categories_mobile_app_category_item_request_builder.go index 572d4738057..d0a1d00b5f5 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphMacOSLobAppCategoriesMobileAppCategoryItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_categories_request_builder.go index 6b27aaaae26..a98fce50e2c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphMacOSLobAppCategoriesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index 500f6c66053..8414f047321 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_contained_apps_request_builder.go index e8007e31290..97b71da4201 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemContainedAppsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemContainedAppsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_item_commit_request_builder.go index dbdd899af42..74517af5da7 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemFilesItemCommitRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_item_renew_upload_request_builder.go index 5ef76197bef..722473f7636 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemFilesItemRenewUploadRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go index 2009861cd38..003d12a059e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_request_builder.go index 9e0504554cc..371fb9fbbcf 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsItemFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go index 184013fce19..a59e0f12eb7 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_request_builder.go index a9582b076fd..5babe4eeaaa 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSLobAppContentVersionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 0f62563a7ab..4cc9b14ea4b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go index 4218a726b17..fdd1a3db0e4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_request_builder.go index 55b669eb464..66b28829ca8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_assignments_mobile_app_assignment_item_request_builder.go index a6d477976d3..117a9875243 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_assignments_request_builder.go index 832606db53e..cc38a3d6f79 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppAssignmentsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppAssignmentsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_categories_mobile_app_category_item_request_builder.go index 510ebb3ac04..738af9a28b6 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppCategoriesMobileAppCategoryItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_categories_request_builder.go index 2e06912d16b..15e73b650e8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppCategoriesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index b6693a4493d..218c6e8a25b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_contained_apps_request_builder.go index b85a321905b..f6011a769dc 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemContainedAppsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemContainedAppsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_item_commit_request_builder.go index 35343429bbc..0a2dc0ee85d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemFilesItemCommitRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_item_renew_upload_request_builder.go index 9fb283e8063..fba5e5b90ce 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemFilesItemRenewUploadRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go index 12e6978839f..0b5908f62f2 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_request_builder.go index 6b92ecb4cfb..286cc27eeae 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsItemFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_mobile_app_content_item_request_builder.go index 07be67cf54d..e2dd4292a03 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_request_builder.go index cb46cf314f6..1f707c9c863 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppContentVersionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go index d3487df9f2e..5c41c87b345 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go index f2e68863841..f582301e7ed 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_request_builder.go index 7cc6d288b96..eb3910b2bf8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_assignments_mobile_app_assignment_item_request_builder.go index 3970c6cec8e..c89cc0e3c1e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppAssignmentsMobileAppAssignmentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppAssignmentsMobileAppAssignmentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppAssignmentsMobileAppAssignmentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_assignments_request_builder.go index fdee18f09b3..6f914b63ce7 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppAssignmentsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppAssignmentsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_categories_mobile_app_category_item_request_builder.go index d1a856f8a66..fc58f6909ac 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppCategoriesMobileAppCategoryItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_categories_request_builder.go index d97ba2d9320..b77dd2dd5ad 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppCategoriesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index 9de11e8fd5f..dc4accc76fb 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemContainedApps requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemContainedApps requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemContainedApps requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_contained_apps_request_builder.go index 27f1177b253..f2136422767 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemContainedApps requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemContainedApps requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_item_commit_request_builder.go index ea56c3664ce..864cfc3200a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemFilesItemComm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_item_renew_upload_request_builder.go index 610272dd87a..b035e3fef83 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemFilesItemRene requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go index 4e3f7b5face..27ab4b1786b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemFilesMobileAp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemFilesMobileAp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemFilesMobileAp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_request_builder.go index 415ee9ba7e3..a66c968c10f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemFilesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsItemFilesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_mobile_app_content_item_request_builder.go index d3ba0930965..9a399c858f7 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsMobileAppContentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_request_builder.go index 98b74794909..9351e9dad99 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppContentVersionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go index eba06d34b8a..2ee41fa74f8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationsh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationsh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationsh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go index ddeb72e445f..b6610250d43 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_request_builder.go index ae3575f7705..0faf23f0992 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_assignments_mobile_app_assignment_item_request_builder.go index 5a381bd3e24..23e07cbcbf3 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppAssignmentsMobileAppAssignmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppAssignmentsMobileAppAssignmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppAssignmentsMobileAppAssignmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_assignments_request_builder.go index f42d5e22326..1e224d80ca2 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppAssignmentsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppAssignmentsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_categories_mobile_app_category_item_request_builder.go index f9e32b80a6c..85a10e83dfc 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppCategoriesMobileAppCategoryItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_categories_request_builder.go index 6e1c4022c91..99b4aa2206d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppCategoriesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index f35896019e4..c112b2ef27a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemContainedAppsMobi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemContainedAppsMobi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemContainedAppsMobi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_contained_apps_request_builder.go index 34922a4ce40..0ff922b18b3 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemContainedAppsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemContainedAppsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_item_commit_request_builder.go index 0c7c6197daa..9ae5e0928c8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemFilesItemCommitRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_item_renew_upload_request_builder.go index fb9b4e2bc50..eb64e8d18f2 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemFilesItemRenewUpl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go index 733a7ff7c5f..cc9e7734a80 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemFilesMobileAppCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemFilesMobileAppCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemFilesMobileAppCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_request_builder.go index 203470b86aa..fe4394e8a3b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemFilesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsItemFilesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go index 87ad2ed79aa..f2ec9f11cd6 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsMobileAppContentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_request_builder.go index d6731dac3fd..6f17a8be54f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppContentVersionsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 341385f2c8b..ac9bf21693f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go index 5cd1a078b92..575492727c1 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_request_builder.go index 14d9c9ba22e..f0c35dff23a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_assignments_mobile_app_assignment_item_request_builder.go index 3ad72b324e3..1904ab777cb 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppAssignmentsMobileAppAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppAssignmentsMobileAppAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppAssignmentsMobileAppAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_assignments_request_builder.go index d919825c991..f87a114577d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppAssignmentsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppAssignmentsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_categories_mobile_app_category_item_request_builder.go index 5acc1a0959f..3c75091b3fa 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppCategoriesMobileAppCategoryItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_categories_request_builder.go index 7bf32954050..6cc042c6788 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppCategoriesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index 843cc32cb52..80bf3656251 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemContainedAppsM requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemContainedAppsM requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemContainedAppsM requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_contained_apps_request_builder.go index f7cf27633f1..76555961619 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemContainedAppsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemContainedAppsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_item_commit_request_builder.go index 1d78e0cc629..f561d4c64eb 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemFilesItemCommi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_item_renew_upload_request_builder.go index 5ae4a43c0a2..1f4e64f665a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemFilesItemRenew requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go index b2f7e88dd91..3482c188f25 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemFilesMobileApp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemFilesMobileApp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemFilesMobileApp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_request_builder.go index 90f4ddd9484..7ce52c5235b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemFilesRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsItemFilesRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_mobile_app_content_item_request_builder.go index 136f4c62766..e9355743cc1 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsMobileAppContentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_request_builder.go index f44246214f3..fac2fa41784 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppContentVersionsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 365bbac2b9c..e74a164e24d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go index 9fd8ffaabce..21d58481c44 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_request_builder.go index 303f38ebcf8..e2a09b265d4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_assignments_mobile_app_assignment_item_request_builder.go index 46e43f599c8..d14471b7f0f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppAssignmentsMobileAppAssi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppAssignmentsMobileAppAssi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppAssignmentsMobileAppAssi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_assignments_request_builder.go index 9ba1817c841..ec9386d576c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppAssignmentsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppAssignmentsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_categories_mobile_app_category_item_request_builder.go index 11579d801bf..3e74fbecfc1 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppCategoriesMobileAppCateg requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_categories_request_builder.go index 3ce5b99f3f5..60e4c788b41 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppCategoriesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_contained_apps_mobile_contained_app_item_request_builder.go index 233eec1807b..8c0bfc2070d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppContainedAppsMobileConta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a mobileApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppContainedAppsMobileConta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppContainedAppsMobileConta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_contained_apps_request_builder.go index eac79d313f2..a8582ba7674 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppContainedAppsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppContainedAppsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go index aa734dff554..7f1ed94527d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go index dfdd211e367..e83960d8a18 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_request_builder.go index 6478eebe42f..0045375af79 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_assignments_mobile_app_assignment_item_request_builder.go index 28a06ea4ff0..7ca1766f9f6 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWin32LobAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWin32LobAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWin32LobAppAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_assignments_request_builder.go index dd36a658217..d4a462e6453 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWin32LobAppAssignmentsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWin32LobAppAssignmentsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_categories_mobile_app_category_item_request_builder.go index 3967d5ec776..ee115c4442e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphWin32LobAppCategoriesMobileAppCategoryItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_categories_request_builder.go index 4ff2b6d4d22..78fe6c2f20b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphWin32LobAppCategoriesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index 8a4822527a4..7a9f8625f7f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_contained_apps_request_builder.go index 38cb8332b21..d7ca6123ddf 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemContainedAppsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemContainedAppsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_item_commit_request_builder.go index 30da525188a..759cb43a230 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemFilesItemCommitRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_item_renew_upload_request_builder.go index dc7d2ab22a4..25af5ed28ff 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemFilesItemRenewUploadRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go index 00c2db07f9c..509fc688244 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_request_builder.go index 6421a4d3b8a..f8884f2dc19 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsItemFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_mobile_app_content_item_request_builder.go index 2f56c84b817..2f67a91fcb4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_request_builder.go index 5e620dc4fa7..0e0fabaef32 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWin32LobAppContentVersionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go index f05728935eb..b268f784d54 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go index 2ee07e18129..6fa81899ece 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_request_builder.go index 77389141cf1..a746406785f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphWin32LobAppRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_assignments_mobile_app_assignment_item_request_builder.go index 32373de2652..4c0eef56bea 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWinGetAppAssignmentsMobileAppAssignmentItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWinGetAppAssignmentsMobileAppAssignmentItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWinGetAppAssignmentsMobileAppAssignmentItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_assignments_request_builder.go index be314c70b37..879a6fc1cf0 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWinGetAppAssignmentsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWinGetAppAssignmentsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_categories_mobile_app_category_item_request_builder.go index 0f0f8e92d6e..24371b9e9cc 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphWinGetAppCategoriesMobileAppCategoryItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_categories_request_builder.go index 66237e22dcf..8ccebe655ff 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphWinGetAppCategoriesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go index d442a0652ed..f94e3146290 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go index a467701e8c7..b8ec1a4e1e6 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_request_builder.go index b0159c2dd38..59c4fb665fb 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_request_builder.go @@ -84,7 +84,7 @@ func (m *MobileAppsItemGraphWinGetAppRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_assignments_mobile_app_assignment_item_request_builder.go index 82c6f16ee86..4bd2a500807 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsAppXAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsAppXAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsAppXAssignmentsMobileAppAssignmentItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_assignments_request_builder.go index 62c5992fc25..4dc1904260c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsAppXAssignmentsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsAppXAssignmentsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_categories_mobile_app_category_item_request_builder.go index 5469cdf5339..3d6c20c51cb 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphWindowsAppXCategoriesMobileAppCategoryItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_categories_request_builder.go index 711e54f9fb2..5063172889e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphWindowsAppXCategoriesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index 6bca3fab650..b5a623f0f04 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemContainedAppsMobileCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_contained_apps_request_builder.go index 98698a44513..cd602ff59bc 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemContainedAppsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemContainedAppsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_item_commit_request_builder.go index 7d237ffb95a..4415fe95f9a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemFilesItemCommitRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_item_renew_upload_request_builder.go index 2340510f1c5..dd24bf17b85 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemFilesItemRenewUploadRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_mobile_app_content_file_item_request_builder.go index 7eb3059d8b3..b6219bfc3b6 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemFilesMobileAppContentF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_request_builder.go index c89dee512f7..2fe88171232 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsItemFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_mobile_app_content_item_request_builder.go index bbc47b7ad96..522a51cefe3 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsMobileAppContentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_request_builder.go index 0f44f656000..dd1c9bf0c80 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsAppXContentVersionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go index b9cfb30e0a4..bea43e26aae 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go index 2d0c089d020..44a9f188343 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_request_builder.go index 77a343b6e33..15144fbad8e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphWindowsAppXRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_assignments_mobile_app_assignment_item_request_builder.go index 2b70ba5b638..e6bf37e6310 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIAssignmentsMobileAppAssignmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIAssignmentsMobileAppAssignmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIAssignmentsMobileAppAssignmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_assignments_request_builder.go index 5fdf34770a4..e407ca18456 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIAssignmentsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIAssignmentsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_categories_mobile_app_category_item_request_builder.go index 2e61dd1a9ba..c491a51b89f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSICategoriesMobileAppCategoryItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_categories_request_builder.go index c22ff99e62e..967b544f39f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSICategoriesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index b0c22ad4750..b11686127cf 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemContainedAppsMobi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemContainedAppsMobi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemContainedAppsMobi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_contained_apps_request_builder.go index be8870b8d76..f81f19b728d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemContainedAppsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemContainedAppsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_item_commit_request_builder.go index 714d980545b..097e16728b4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemFilesItemCommitRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_item_renew_upload_request_builder.go index d2af789da71..878ef9c281a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemFilesItemRenewUpl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_mobile_app_content_file_item_request_builder.go index 8bef7389cce..e8d8fca968b 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemFilesMobileAppCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemFilesMobileAppCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemFilesMobileAppCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_request_builder.go index 65d8fd05bca..c8d7c514ba2 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemFilesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsItemFilesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_mobile_app_content_item_request_builder.go index 41ac3ec8148..5914188402e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsMobileAppContentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_request_builder.go index e0a08d7905d..9492d8583b8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIContentVersionsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go index b77f1514f61..49e55ae0860 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go index 0055584db4b..228aa773740 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_request_builder.go index d227ef2af5f..69d21510055 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_assignments_mobile_app_assignment_item_request_builder.go index 17ad056773e..6a8a78cb6db 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppAssignmentsMobileAppAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppAssignmentsMobileAppAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppAssignmentsMobileAppAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_assignments_request_builder.go index fc08846cffc..1f91ced0cab 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppAssignmentsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppAssignmentsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_categories_mobile_app_category_item_request_builder.go index fe52081e652..17e28a49fe1 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppCategoriesMobileAppCategoryItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_categories_request_builder.go index 6e6285517ef..088282c0d49 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppCategoriesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go index 6131f0b7b55..2c8da9cf148 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go index 2ff6b114966..fe2d69adfca 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_request_builder.go index 672de7ce758..52be58e08e4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_request_builder.go @@ -84,7 +84,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_assignments_mobile_app_assignment_item_request_builder.go index 3dfa681c995..25cbe38c0df 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXAssignmentsMobileAppAssignmentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXAssignmentsMobileAppAssignmentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXAssignmentsMobileAppAssignmentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_assignments_request_builder.go index 78e382ddaf0..e93e2c62a72 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXAssignmentsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXAssignmentsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_categories_mobile_app_category_item_request_builder.go index accbcfe99f7..1541898f3dd 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXCategoriesMobileAppCategoryItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_categories_request_builder.go index d11643c83c5..ac1fa4c2ed1 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXCategoriesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_mobile_contained_app_item_request_builder.go index 9cb9dee6fcd..7bfb4b0fedd 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property committedContainedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsMobileCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_request_builder.go index c5a5ace36b5..ad4752310b7 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_committed_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to committedContainedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXCommittedContainedAppsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go index a18288d3e16..fcb1ccc0b7e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_contained_apps_mobile_contained_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemContainedApps requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of contained apps in a MobileLobApp acting as a package. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemContainedApps requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property containedApps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemContainedApps requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_contained_apps_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_contained_apps_request_builder.go index 3a587434877..ee192def7a7 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_contained_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_contained_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemContainedApps requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to containedApps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemContainedApps requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_item_commit_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_item_commit_request_builder.go index 99b27a9574e..fea23f2fab2 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_item_commit_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_item_commit_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemFilesItemComm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_item_renew_upload_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_item_renew_upload_request_builder.go index 402ba2a54ec..9dd01ae8f98 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_item_renew_upload_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_item_renew_upload_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemFilesItemRene requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_mobile_app_content_file_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_mobile_app_content_file_item_request_builder.go index 97be0f11820..7d4f1c02fe6 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_mobile_app_content_file_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_mobile_app_content_file_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemFilesMobileAp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of files for this app content version. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemFilesMobileAp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemFilesMobileAp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_request_builder.go index 86a3fef89bc..f4805f9565d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_item_files_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemFilesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsItemFilesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_mobile_app_content_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_mobile_app_content_item_request_builder.go index b0a612d53ef..522b2e747ec 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_mobile_app_content_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_mobile_app_content_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of content versions for this app. @@ -142,7 +142,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentVersions in deviceAppManagement @@ -155,7 +155,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsMobileAppContentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_request_builder.go index f0cf6864f21..548dd8373de 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_content_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentVersions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXContentVersionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go index 6d18563b946..99958e398be 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationsh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationsh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationsh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go index f90aaf4def1..a261414ab1e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_request_builder.go index 5a18a8b13fa..722f84b0301 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_request_builder.go @@ -92,7 +92,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_assignments_mobile_app_assignment_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_assignments_mobile_app_assignment_item_request_builder.go index 4cea72691f9..e82f7ed07a0 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_assignments_mobile_app_assignment_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_assignments_mobile_app_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsWebAppAssignmentsMobileAppAssignmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsWebAppAssignmentsMobileAppAssignmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsWebAppAssignmentsMobileAppAssignmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_assignments_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_assignments_request_builder.go index a2f515941c4..d598befa14e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_assignments_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsWebAppAssignmentsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsWebAppAssignmentsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_categories_mobile_app_category_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_categories_mobile_app_category_item_request_builder.go index 644d39a82ec..159924a48d3 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_categories_mobile_app_category_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_categories_mobile_app_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MobileAppsItemGraphWindowsWebAppCategoriesMobileAppCategoryItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_categories_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_categories_request_builder.go index b9990e55140..52bc2ed7bba 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_categories_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_categories_request_builder.go @@ -99,7 +99,7 @@ func (m *MobileAppsItemGraphWindowsWebAppCategoriesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go index 8eb52fb2821..c5b178964d4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go index 07d9eb49b29..87eba750cfd 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_request_builder.go index a6ee4412ddd..45ac6c9f394 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_request_builder.go @@ -84,7 +84,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go index 1bcd4f9d977..fc2ede7db29 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of relationships for this mobile app. @@ -134,7 +134,7 @@ func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relationships in deviceAppManagement @@ -147,7 +147,7 @@ func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_request_builder.go index 4ac62224f6d..e5d421d656b 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppsItemRelationshipsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relationships for deviceAppManagement @@ -138,7 +138,7 @@ func (m *MobileAppsItemRelationshipsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_item_update_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_update_relationships_request_builder.go index 0b0c6da8f8d..e2e5b4ad604 100644 --- a/deviceappmanagement/mobile_apps_item_update_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_update_relationships_request_builder.go @@ -56,7 +56,7 @@ func (m *MobileAppsItemUpdateRelationshipsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go index 1b8125d324c..3ea665ef778 100644 --- a/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_mobile_app_item_request_builder.go @@ -218,7 +218,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the mobile apps. @@ -234,7 +234,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property mobileApps in deviceAppManagement @@ -247,7 +247,7 @@ func (m *MobileAppsMobileAppItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_request_builder.go b/deviceappmanagement/mobile_apps_request_builder.go index 7e6f8077668..23c2d4b485d 100644 --- a/deviceappmanagement/mobile_apps_request_builder.go +++ b/deviceappmanagement/mobile_apps_request_builder.go @@ -213,7 +213,7 @@ func (m *MobileAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mobileApps for deviceAppManagement @@ -226,7 +226,7 @@ func (m *MobileAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/mobile_apps_validate_xml_request_builder.go b/deviceappmanagement/mobile_apps_validate_xml_request_builder.go index 4062c5fdbae..eb04877edd4 100644 --- a/deviceappmanagement/mobile_apps_validate_xml_request_builder.go +++ b/deviceappmanagement/mobile_apps_validate_xml_request_builder.go @@ -79,7 +79,7 @@ func (m *MobileAppsValidateXmlRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/policy_sets_get_policy_sets_request_builder.go b/deviceappmanagement/policy_sets_get_policy_sets_request_builder.go index 807e1a4f417..d72452deec8 100644 --- a/deviceappmanagement/policy_sets_get_policy_sets_request_builder.go +++ b/deviceappmanagement/policy_sets_get_policy_sets_request_builder.go @@ -79,7 +79,7 @@ func (m *PolicySetsGetPolicySetsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/policy_sets_item_assignments_policy_set_assignment_item_request_builder.go b/deviceappmanagement/policy_sets_item_assignments_policy_set_assignment_item_request_builder.go index 80176e5ee51..85107bcf5bb 100644 --- a/deviceappmanagement/policy_sets_item_assignments_policy_set_assignment_item_request_builder.go +++ b/deviceappmanagement/policy_sets_item_assignments_policy_set_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *PolicySetsItemAssignmentsPolicySetAssignmentItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation assignments of the PolicySet. @@ -134,7 +134,7 @@ func (m *PolicySetsItemAssignmentsPolicySetAssignmentItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *PolicySetsItemAssignmentsPolicySetAssignmentItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/policy_sets_item_assignments_request_builder.go b/deviceappmanagement/policy_sets_item_assignments_request_builder.go index 23bfb702a61..6e1ab9a529a 100644 --- a/deviceappmanagement/policy_sets_item_assignments_request_builder.go +++ b/deviceappmanagement/policy_sets_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *PolicySetsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *PolicySetsItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/policy_sets_item_items_policy_set_item_item_request_builder.go b/deviceappmanagement/policy_sets_item_items_policy_set_item_item_request_builder.go index 380c497e798..7cc83463a6d 100644 --- a/deviceappmanagement/policy_sets_item_items_policy_set_item_item_request_builder.go +++ b/deviceappmanagement/policy_sets_item_items_policy_set_item_item_request_builder.go @@ -118,7 +118,7 @@ func (m *PolicySetsItemItemsPolicySetItemItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation items of the PolicySet with maximum count 100. @@ -134,7 +134,7 @@ func (m *PolicySetsItemItemsPolicySetItemItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property items in deviceAppManagement @@ -147,7 +147,7 @@ func (m *PolicySetsItemItemsPolicySetItemItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/policy_sets_item_items_request_builder.go b/deviceappmanagement/policy_sets_item_items_request_builder.go index e14706215ef..fca3dbfc06a 100644 --- a/deviceappmanagement/policy_sets_item_items_request_builder.go +++ b/deviceappmanagement/policy_sets_item_items_request_builder.go @@ -125,7 +125,7 @@ func (m *PolicySetsItemItemsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to items for deviceAppManagement @@ -138,7 +138,7 @@ func (m *PolicySetsItemItemsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/policy_sets_item_update_request_builder.go b/deviceappmanagement/policy_sets_item_update_request_builder.go index 2ea39ae46eb..597b3aeadf9 100644 --- a/deviceappmanagement/policy_sets_item_update_request_builder.go +++ b/deviceappmanagement/policy_sets_item_update_request_builder.go @@ -56,7 +56,7 @@ func (m *PolicySetsItemUpdateRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/policy_sets_policy_set_item_request_builder.go b/deviceappmanagement/policy_sets_policy_set_item_request_builder.go index 2c114042374..01ad7568ca0 100644 --- a/deviceappmanagement/policy_sets_policy_set_item_request_builder.go +++ b/deviceappmanagement/policy_sets_policy_set_item_request_builder.go @@ -126,7 +126,7 @@ func (m *PolicySetsPolicySetItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the PolicySet of Policies and Applications @@ -142,7 +142,7 @@ func (m *PolicySetsPolicySetItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policySets in deviceAppManagement @@ -155,7 +155,7 @@ func (m *PolicySetsPolicySetItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/policy_sets_request_builder.go b/deviceappmanagement/policy_sets_request_builder.go index 09747db23b5..329cc690f2d 100644 --- a/deviceappmanagement/policy_sets_request_builder.go +++ b/deviceappmanagement/policy_sets_request_builder.go @@ -129,7 +129,7 @@ func (m *PolicySetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to policySets for deviceAppManagement @@ -142,7 +142,7 @@ func (m *PolicySetsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/symantec_code_signing_certificate_request_builder.go b/deviceappmanagement/symantec_code_signing_certificate_request_builder.go index 1a36201ba48..4b20d9a4e46 100644 --- a/deviceappmanagement/symantec_code_signing_certificate_request_builder.go +++ b/deviceappmanagement/symantec_code_signing_certificate_request_builder.go @@ -118,7 +118,7 @@ func (m *SymantecCodeSigningCertificateRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the WinPhone Symantec Code Signing Certificate. @@ -134,7 +134,7 @@ func (m *SymantecCodeSigningCertificateRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property symantecCodeSigningCertificate in deviceAppManagement @@ -147,7 +147,7 @@ func (m *SymantecCodeSigningCertificateRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go b/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go index a621979b755..0ca5743033e 100644 --- a/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go +++ b/deviceappmanagement/sync_microsoft_store_for_business_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *SyncMicrosoftStoreForBusinessAppsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/targeted_managed_app_configurations_has_payload_links_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_has_payload_links_request_builder.go index 6c636587ac4..3f709f43b83 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_has_payload_links_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *TargetedManagedAppConfigurationsHasPayloadLinksRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_apps_managed_mobile_app_item_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_apps_managed_mobile_app_item_request_builder.go index ddded2b52a0..afb4bab3cc3 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_apps_managed_mobile_app_item_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_apps_managed_mobile_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TargetedManagedAppConfigurationsItemAppsManagedMobileAppItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of apps to which the policy is deployed. @@ -134,7 +134,7 @@ func (m *TargetedManagedAppConfigurationsItemAppsManagedMobileAppItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property apps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *TargetedManagedAppConfigurationsItemAppsManagedMobileAppItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_apps_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_apps_request_builder.go index 6d12af12c8d..5c80b21802b 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_apps_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *TargetedManagedAppConfigurationsItemAppsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to apps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *TargetedManagedAppConfigurationsItemAppsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go index 62d04b122bc..78996485ebb 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_assignments_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_assignments_request_builder.go index 77b704e6077..d9bcae1e14b 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_assignments_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignmentsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignmentsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 01db80f4c14..48953c6b355 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignmentsTargetedManagedAppPolicy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to list of inclusion and exclusion groups to which the policy is deployed. @@ -134,7 +134,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignmentsTargetedManagedAppPolicy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *TargetedManagedAppConfigurationsItemAssignmentsTargetedManagedAppPolicy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_change_settings_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_change_settings_request_builder.go index 9ca71cbe2c9..d8e03446965 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_change_settings_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_change_settings_request_builder.go @@ -56,7 +56,7 @@ func (m *TargetedManagedAppConfigurationsItemChangeSettingsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_deployment_summary_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_deployment_summary_request_builder.go index e83ddf7f563..73eb1888d6f 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_deployment_summary_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_deployment_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *TargetedManagedAppConfigurationsItemDeploymentSummaryRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to deployment summary of the configuration. @@ -134,7 +134,7 @@ func (m *TargetedManagedAppConfigurationsItemDeploymentSummaryRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deploymentSummary in deviceAppManagement @@ -147,7 +147,7 @@ func (m *TargetedManagedAppConfigurationsItemDeploymentSummaryRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_settings_device_management_configuration_setting_item_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_settings_device_management_configuration_setting_item_request_builder.go index eefbd3de70c..6e51beb311f 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_settings_device_management_configuration_setting_item_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_settings_device_management_configuration_setting_item_request_builder.go @@ -122,7 +122,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsDeviceManagementConfigurati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of settings contained in this App Configuration policy @@ -138,7 +138,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsDeviceManagementConfigurati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in deviceAppManagement @@ -151,7 +151,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsDeviceManagementConfigurati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index 53d371b7c8b..aeb2c6995f5 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_request_builder.go index a48cc5f2dfc..bb59175386d 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_settings_item_setting_definitions_request_builder.go @@ -99,7 +99,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsItemSettingDefinitionsReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_settings_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_settings_request_builder.go index 475b1b661e7..a090734546e 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_settings_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settings for deviceAppManagement @@ -138,7 +138,7 @@ func (m *TargetedManagedAppConfigurationsItemSettingsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go index ba34884d012..1421369c244 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_item_target_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *TargetedManagedAppConfigurationsItemTargetAppsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_request_builder.go index 1f239fb2934..014cf2fd723 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_request_builder.go @@ -129,7 +129,7 @@ func (m *TargetedManagedAppConfigurationsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to targetedManagedAppConfigurations for deviceAppManagement @@ -142,7 +142,7 @@ func (m *TargetedManagedAppConfigurationsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go b/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go index b802cf90683..0438024696b 100644 --- a/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go +++ b/deviceappmanagement/targeted_managed_app_configurations_targeted_managed_app_configuration_item_request_builder.go @@ -146,7 +146,7 @@ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation targeted managed app configurations. @@ -162,7 +162,7 @@ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property targetedManagedAppConfigurations in deviceAppManagement @@ -175,7 +175,7 @@ func (m *TargetedManagedAppConfigurationsTargetedManagedAppConfigurationItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/vpp_tokens_get_licenses_for_app_with_bundle_id_request_builder.go b/deviceappmanagement/vpp_tokens_get_licenses_for_app_with_bundle_id_request_builder.go index 11d0ba4bd2e..bd4ee7d9cb5 100644 --- a/deviceappmanagement/vpp_tokens_get_licenses_for_app_with_bundle_id_request_builder.go +++ b/deviceappmanagement/vpp_tokens_get_licenses_for_app_with_bundle_id_request_builder.go @@ -100,7 +100,7 @@ func (m *VppTokensGetLicensesForAppWithBundleIdRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/vpp_tokens_item_revoke_licenses_request_builder.go b/deviceappmanagement/vpp_tokens_item_revoke_licenses_request_builder.go index 386d3f8303a..b4a711e75e5 100644 --- a/deviceappmanagement/vpp_tokens_item_revoke_licenses_request_builder.go +++ b/deviceappmanagement/vpp_tokens_item_revoke_licenses_request_builder.go @@ -56,7 +56,7 @@ func (m *VppTokensItemRevokeLicensesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go b/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go index 1813fdaaf16..4888fb47681 100644 --- a/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go +++ b/deviceappmanagement/vpp_tokens_item_sync_licenses_request_builder.go @@ -60,7 +60,7 @@ func (m *VppTokensItemSyncLicensesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/vpp_tokens_request_builder.go b/deviceappmanagement/vpp_tokens_request_builder.go index 8381a5210a3..b6751f80235 100644 --- a/deviceappmanagement/vpp_tokens_request_builder.go +++ b/deviceappmanagement/vpp_tokens_request_builder.go @@ -133,7 +133,7 @@ func (m *VppTokensRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to vppTokens for deviceAppManagement @@ -146,7 +146,7 @@ func (m *VppTokensRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/vpp_tokens_sync_license_counts_request_builder.go b/deviceappmanagement/vpp_tokens_sync_license_counts_request_builder.go index eb59718420c..1e6af0e231f 100644 --- a/deviceappmanagement/vpp_tokens_sync_license_counts_request_builder.go +++ b/deviceappmanagement/vpp_tokens_sync_license_counts_request_builder.go @@ -56,7 +56,7 @@ func (m *VppTokensSyncLicenseCountsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go b/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go index af14ce7970d..23c6fbacd1c 100644 --- a/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go +++ b/deviceappmanagement/vpp_tokens_vpp_token_item_request_builder.go @@ -126,7 +126,7 @@ func (m *VppTokensVppTokenItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of Vpp tokens for this organization. @@ -142,7 +142,7 @@ func (m *VppTokensVppTokenItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property vppTokens in deviceAppManagement @@ -155,7 +155,7 @@ func (m *VppTokensVppTokenItemRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/wdac_supplemental_policies_item_assign_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_assign_request_builder.go index 8ce8f22e67f..728d64f7b8f 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_assign_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *WdacSupplementalPoliciesItemAssignRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/wdac_supplemental_policies_item_assignments_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_assignments_request_builder.go index 62f1619e0a3..428dd9dddd8 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_assignments_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *WdacSupplementalPoliciesItemAssignmentsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WdacSupplementalPoliciesItemAssignmentsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/wdac_supplemental_policies_item_assignments_windows_defender_application_control_supplemental_policy_assignment_item_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_assignments_windows_defender_application_control_supplemental_policy_assignment_item_request_builder.go index 3cd1495ca34..160332cb901 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_assignments_windows_defender_application_control_supplemental_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_assignments_windows_defender_application_control_supplemental_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WdacSupplementalPoliciesItemAssignmentsWindowsDefenderApplicationContro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the associated group assignments for the Windows Defender Application Control Supplemental Policy. @@ -134,7 +134,7 @@ func (m *WdacSupplementalPoliciesItemAssignmentsWindowsDefenderApplicationContro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *WdacSupplementalPoliciesItemAssignmentsWindowsDefenderApplicationContro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/wdac_supplemental_policies_item_deploy_summary_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_deploy_summary_request_builder.go index 735684f7559..d8f03f4cc3d 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_deploy_summary_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_deploy_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *WdacSupplementalPoliciesItemDeploySummaryRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation windowsDefenderApplicationControl supplemental policy deployment summary. @@ -134,7 +134,7 @@ func (m *WdacSupplementalPoliciesItemDeploySummaryRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deploySummary in deviceAppManagement @@ -147,7 +147,7 @@ func (m *WdacSupplementalPoliciesItemDeploySummaryRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_item_policy_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_item_policy_request_builder.go index cabe1516382..7c78dc05797 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_item_policy_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_item_policy_request_builder.go @@ -72,7 +72,7 @@ func (m *WdacSupplementalPoliciesItemDeviceStatusesItemPolicyRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_request_builder.go index f9a5e364ff9..017756d0e99 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *WdacSupplementalPoliciesItemDeviceStatusesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceStatuses for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WdacSupplementalPoliciesItemDeviceStatusesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.go index 5f0f2363c92..295972c6d38 100644 --- a/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_item_device_statuses_windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.go @@ -122,7 +122,7 @@ func (m *WdacSupplementalPoliciesItemDeviceStatusesWindowsDefenderApplicationCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of device deployment states for this WindowsDefenderApplicationControl supplemental policy. @@ -138,7 +138,7 @@ func (m *WdacSupplementalPoliciesItemDeviceStatusesWindowsDefenderApplicationCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStatuses in deviceAppManagement @@ -151,7 +151,7 @@ func (m *WdacSupplementalPoliciesItemDeviceStatusesWindowsDefenderApplicationCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/wdac_supplemental_policies_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_request_builder.go index 845992616a2..5a819eb2e01 100644 --- a/deviceappmanagement/wdac_supplemental_policies_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *WdacSupplementalPoliciesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to wdacSupplementalPolicies for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WdacSupplementalPoliciesRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/wdac_supplemental_policies_windows_defender_application_control_supplemental_policy_item_request_builder.go b/deviceappmanagement/wdac_supplemental_policies_windows_defender_application_control_supplemental_policy_item_request_builder.go index e7abf222e49..4e3292da5db 100644 --- a/deviceappmanagement/wdac_supplemental_policies_windows_defender_application_control_supplemental_policy_item_request_builder.go +++ b/deviceappmanagement/wdac_supplemental_policies_windows_defender_application_control_supplemental_policy_item_request_builder.go @@ -134,7 +134,7 @@ func (m *WdacSupplementalPoliciesWindowsDefenderApplicationControlSupplementalPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of Windows Defender Application Control Supplemental Policies. @@ -150,7 +150,7 @@ func (m *WdacSupplementalPoliciesWindowsDefenderApplicationControlSupplementalPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property wdacSupplementalPolicies in deviceAppManagement @@ -163,7 +163,7 @@ func (m *WdacSupplementalPoliciesWindowsDefenderApplicationControlSupplementalPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_device_registrations_item_wipe_request_builder.go b/deviceappmanagement/windows_information_protection_device_registrations_item_wipe_request_builder.go index 132198a8bba..c7c03ddd629 100644 --- a/deviceappmanagement/windows_information_protection_device_registrations_item_wipe_request_builder.go +++ b/deviceappmanagement/windows_information_protection_device_registrations_item_wipe_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsInformationProtectionDeviceRegistrationsItemWipeRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/deviceappmanagement/windows_information_protection_device_registrations_request_builder.go b/deviceappmanagement/windows_information_protection_device_registrations_request_builder.go index 177b5a8ea93..bbcb3fdb27c 100644 --- a/deviceappmanagement/windows_information_protection_device_registrations_request_builder.go +++ b/deviceappmanagement/windows_information_protection_device_registrations_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsInformationProtectionDeviceRegistrationsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsInformationProtectionDeviceRegistrations for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WindowsInformationProtectionDeviceRegistrationsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go b/deviceappmanagement/windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go index ca3103f1131..ff0df82277b 100644 --- a/deviceappmanagement/windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsInformationProtectionDeviceRegistrationsWindowsInformationProtec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation windows information protection device registrations that are not MDM enrolled. @@ -134,7 +134,7 @@ func (m *WindowsInformationProtectionDeviceRegistrationsWindowsInformationProtec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsInformationProtectionDeviceRegistrations in deviceAppManagement @@ -147,7 +147,7 @@ func (m *WindowsInformationProtectionDeviceRegistrationsWindowsInformationProtec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_policies_item_assignments_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_assignments_request_builder.go index e4974831ec8..3f79cc6fc53 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_assignments_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WindowsInformationProtectionPoliciesItemAssignmentsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 852becace12..fb64909b835 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to list of security groups targeted for policy. @@ -134,7 +134,7 @@ func (m *WindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *WindowsInformationProtectionPoliciesItemAssignmentsTargetedManagedAppPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go index 27154239d6d..c59c2638f4f 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to exemptAppLockerFiles for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go index 18285501680..4cda317d7cc 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_exempt_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation another way to input exempt apps through xml files @@ -134,7 +134,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exemptAppLockerFiles in deviceAppManagement @@ -147,7 +147,7 @@ func (m *WindowsInformationProtectionPoliciesItemExemptAppLockerFilesWindowsInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_request_builder.go index 3876d902bf7..8651d86a16e 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to protectedAppLockerFiles for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go b/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go index 7984dbe495f..bbea0283c5a 100644 --- a/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_item_protected_app_locker_files_windows_information_protection_app_locker_file_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation another way to input protected apps through xml files @@ -134,7 +134,7 @@ func (m *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property protectedAppLockerFiles in deviceAppManagement @@ -147,7 +147,7 @@ func (m *WindowsInformationProtectionPoliciesItemProtectedAppLockerFilesWindowsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_policies_request_builder.go b/deviceappmanagement/windows_information_protection_policies_request_builder.go index a056e1a8e83..07038806875 100644 --- a/deviceappmanagement/windows_information_protection_policies_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsInformationProtectionPoliciesRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsInformationProtectionPolicies for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WindowsInformationProtectionPoliciesRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go b/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go index 5495db4aca3..db147c5f8fd 100644 --- a/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_policies_windows_information_protection_policy_item_request_builder.go @@ -130,7 +130,7 @@ func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation windows information protection for apps running on devices which are not MDM enrolled. @@ -146,7 +146,7 @@ func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsInformationProtectionPolicies in deviceAppManagement @@ -159,7 +159,7 @@ func (m *WindowsInformationProtectionPoliciesWindowsInformationProtectionPolicyI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_wipe_actions_request_builder.go b/deviceappmanagement/windows_information_protection_wipe_actions_request_builder.go index 551bff60fb9..235b6122ee9 100644 --- a/deviceappmanagement/windows_information_protection_wipe_actions_request_builder.go +++ b/deviceappmanagement/windows_information_protection_wipe_actions_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsInformationProtectionWipeActionsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsInformationProtectionWipeActions for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WindowsInformationProtectionWipeActionsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_information_protection_wipe_actions_windows_information_protection_wipe_action_item_request_builder.go b/deviceappmanagement/windows_information_protection_wipe_actions_windows_information_protection_wipe_action_item_request_builder.go index bd0b4674f9e..421e9116dba 100644 --- a/deviceappmanagement/windows_information_protection_wipe_actions_windows_information_protection_wipe_action_item_request_builder.go +++ b/deviceappmanagement/windows_information_protection_wipe_actions_windows_information_protection_wipe_action_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsInformationProtectionWipeActionsWindowsInformationProtectionWipe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation windows information protection wipe actions. @@ -134,7 +134,7 @@ func (m *WindowsInformationProtectionWipeActionsWindowsInformationProtectionWipe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsInformationProtectionWipeActions in deviceAppManagement @@ -147,7 +147,7 @@ func (m *WindowsInformationProtectionWipeActionsWindowsInformationProtectionWipe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go index 83a953f6bc8..0de40890b3c 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_apps_managed_mobile_app_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of apps to which the policy is deployed. @@ -134,7 +134,7 @@ func (m *WindowsManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property apps in deviceAppManagement @@ -147,7 +147,7 @@ func (m *WindowsManagedAppProtectionsItemAppsManagedMobileAppItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_managed_app_protections_item_apps_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_apps_request_builder.go index cae383671cd..da88151543c 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_apps_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsManagedAppProtectionsItemAppsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to apps for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WindowsManagedAppProtectionsItemAppsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_managed_app_protections_item_assign_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_assign_request_builder.go index 412fc816bfc..505beb901be 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_assign_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsManagedAppProtectionsItemAssignRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_managed_app_protections_item_assignments_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_assignments_request_builder.go index faf0253cc3d..eb2ad047970 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_assignments_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsManagedAppProtectionsItemAssignmentsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WindowsManagedAppProtectionsItemAssignmentsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go index 4710b5dc949..f51beb15f17 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_assignments_targeted_managed_app_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to list of inclusion and exclusion groups to which the policy is deployed. @@ -134,7 +134,7 @@ func (m *WindowsManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceAppManagement @@ -147,7 +147,7 @@ func (m *WindowsManagedAppProtectionsItemAssignmentsTargetedManagedAppPolicyAssi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_managed_app_protections_item_target_apps_request_builder.go b/deviceappmanagement/windows_managed_app_protections_item_target_apps_request_builder.go index 84b0f297c3c..6fc9ffea2ca 100644 --- a/deviceappmanagement/windows_managed_app_protections_item_target_apps_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_item_target_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsManagedAppProtectionsItemTargetAppsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_managed_app_protections_request_builder.go b/deviceappmanagement/windows_managed_app_protections_request_builder.go index 35662ed0a6b..5f5b3f913d7 100644 --- a/deviceappmanagement/windows_managed_app_protections_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsManagedAppProtectionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsManagedAppProtections for deviceAppManagement @@ -138,7 +138,7 @@ func (m *WindowsManagedAppProtectionsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_managed_app_protections_windows_managed_app_protection_item_request_builder.go b/deviceappmanagement/windows_managed_app_protections_windows_managed_app_protection_item_request_builder.go index d8fa1d19afe..031d282b264 100644 --- a/deviceappmanagement/windows_managed_app_protections_windows_managed_app_protection_item_request_builder.go +++ b/deviceappmanagement/windows_managed_app_protections_windows_managed_app_protection_item_request_builder.go @@ -134,7 +134,7 @@ func (m *WindowsManagedAppProtectionsWindowsManagedAppProtectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation windows managed app policies. @@ -150,7 +150,7 @@ func (m *WindowsManagedAppProtectionsWindowsManagedAppProtectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsManagedAppProtections in deviceAppManagement @@ -163,7 +163,7 @@ func (m *WindowsManagedAppProtectionsWindowsManagedAppProtectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceappmanagement/windows_management_app_request_builder.go b/deviceappmanagement/windows_management_app_request_builder.go index cc1530c248a..24122a582f5 100644 --- a/deviceappmanagement/windows_management_app_request_builder.go +++ b/deviceappmanagement/windows_management_app_request_builder.go @@ -72,7 +72,7 @@ func (m *WindowsManagementAppRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicelocalcredentials/device_local_credential_info_item_request_builder.go b/devicelocalcredentials/device_local_credential_info_item_request_builder.go index 3d497191a51..d02ce8ae2c1 100644 --- a/devicelocalcredentials/device_local_credential_info_item_request_builder.go +++ b/devicelocalcredentials/device_local_credential_info_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceLocalCredentialInfoItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from deviceLocalCredentials by key @@ -134,7 +134,7 @@ func (m *DeviceLocalCredentialInfoItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in deviceLocalCredentials @@ -147,7 +147,7 @@ func (m *DeviceLocalCredentialInfoItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicelocalcredentials/device_local_credentials_request_builder.go b/devicelocalcredentials/device_local_credentials_request_builder.go index 91cfc74500d..d83e6ab1679 100644 --- a/devicelocalcredentials/device_local_credentials_request_builder.go +++ b/devicelocalcredentials/device_local_credentials_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceLocalCredentialsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to deviceLocalCredentials @@ -138,7 +138,7 @@ func (m *DeviceLocalCredentialsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_advanced_threat_protection_onboarding_device_setting_state_item_request_builder.go b/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_advanced_threat_protection_onboarding_device_setting_state_item_request_builder.go index 0e2b505cf16..df9edb5b265 100644 --- a/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_advanced_threat_protection_onboarding_device_setting_state_item_request_builder.go +++ b/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_advanced_threat_protection_onboarding_device_setting_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionO requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get advancedThreatProtectionOnboardingDeviceSettingStates from deviceManagement @@ -134,7 +134,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionO requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property advancedThreatProtectionOnboardingDeviceSettingStates in deviceManagement @@ -147,7 +147,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionO requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_request_builder.go b/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_request_builder.go index 9f641881202..84c0d254f2f 100644 --- a/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_request_builder.go +++ b/devicemanagement/advanced_threat_protection_onboarding_state_summary_advanced_threat_protection_onboarding_device_setting_states_request_builder.go @@ -125,7 +125,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionO requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to advancedThreatProtectionOnboardingDeviceSettingStates for deviceManagement @@ -138,7 +138,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryAdvancedThreatProtectionO requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/advanced_threat_protection_onboarding_state_summary_request_builder.go b/devicemanagement/advanced_threat_protection_onboarding_state_summary_request_builder.go index d99bc23b613..4e45c839f45 100644 --- a/devicemanagement/advanced_threat_protection_onboarding_state_summary_request_builder.go +++ b/devicemanagement/advanced_threat_protection_onboarding_state_summary_request_builder.go @@ -122,7 +122,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the summary state of ATP onboarding state for this account. @@ -138,7 +138,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property advancedThreatProtectionOnboardingStateSummary in deviceManagement @@ -151,7 +151,7 @@ func (m *AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_device_owner_enrollment_profiles_android_device_owner_enrollment_profile_item_request_builder.go b/devicemanagement/android_device_owner_enrollment_profiles_android_device_owner_enrollment_profile_item_request_builder.go index 706ebdf7ade..26dd6c2cb1a 100644 --- a/devicemanagement/android_device_owner_enrollment_profiles_android_device_owner_enrollment_profile_item_request_builder.go +++ b/devicemanagement/android_device_owner_enrollment_profiles_android_device_owner_enrollment_profile_item_request_builder.go @@ -126,7 +126,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesAndroidDeviceOwnerEnrollmentProfile requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation android device owner enrollment profile entities. @@ -142,7 +142,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesAndroidDeviceOwnerEnrollmentProfile requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property androidDeviceOwnerEnrollmentProfiles in deviceManagement @@ -155,7 +155,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesAndroidDeviceOwnerEnrollmentProfile requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_device_owner_enrollment_profiles_item_create_token_request_builder.go b/devicemanagement/android_device_owner_enrollment_profiles_item_create_token_request_builder.go index 8bbec3d5338..6311d1a12e4 100644 --- a/devicemanagement/android_device_owner_enrollment_profiles_item_create_token_request_builder.go +++ b/devicemanagement/android_device_owner_enrollment_profiles_item_create_token_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesItemCreateTokenRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_device_owner_enrollment_profiles_item_revoke_token_request_builder.go b/devicemanagement/android_device_owner_enrollment_profiles_item_revoke_token_request_builder.go index 6d1e9afa821..a67246af364 100644 --- a/devicemanagement/android_device_owner_enrollment_profiles_item_revoke_token_request_builder.go +++ b/devicemanagement/android_device_owner_enrollment_profiles_item_revoke_token_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesItemRevokeTokenRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/android_device_owner_enrollment_profiles_request_builder.go b/devicemanagement/android_device_owner_enrollment_profiles_request_builder.go index a8d1acd7e94..44df190b778 100644 --- a/devicemanagement/android_device_owner_enrollment_profiles_request_builder.go +++ b/devicemanagement/android_device_owner_enrollment_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to androidDeviceOwnerEnrollmentProfiles for deviceManagement @@ -138,7 +138,7 @@ func (m *AndroidDeviceOwnerEnrollmentProfilesRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_for_work_app_configuration_schemas_android_for_work_app_configuration_schema_item_request_builder.go b/devicemanagement/android_for_work_app_configuration_schemas_android_for_work_app_configuration_schema_item_request_builder.go index 6cd9bcc6cd7..496b73540ae 100644 --- a/devicemanagement/android_for_work_app_configuration_schemas_android_for_work_app_configuration_schema_item_request_builder.go +++ b/devicemanagement/android_for_work_app_configuration_schemas_android_for_work_app_configuration_schema_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AndroidForWorkAppConfigurationSchemasAndroidForWorkAppConfigurationSche requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation android for Work app configuration schema entities. @@ -134,7 +134,7 @@ func (m *AndroidForWorkAppConfigurationSchemasAndroidForWorkAppConfigurationSche requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property androidForWorkAppConfigurationSchemas in deviceManagement @@ -147,7 +147,7 @@ func (m *AndroidForWorkAppConfigurationSchemasAndroidForWorkAppConfigurationSche requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_for_work_app_configuration_schemas_request_builder.go b/devicemanagement/android_for_work_app_configuration_schemas_request_builder.go index e16f24765b3..bb297e53dae 100644 --- a/devicemanagement/android_for_work_app_configuration_schemas_request_builder.go +++ b/devicemanagement/android_for_work_app_configuration_schemas_request_builder.go @@ -125,7 +125,7 @@ func (m *AndroidForWorkAppConfigurationSchemasRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to androidForWorkAppConfigurationSchemas for deviceManagement @@ -138,7 +138,7 @@ func (m *AndroidForWorkAppConfigurationSchemasRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_for_work_enrollment_profiles_android_for_work_enrollment_profile_item_request_builder.go b/devicemanagement/android_for_work_enrollment_profiles_android_for_work_enrollment_profile_item_request_builder.go index 3ff54e7bc22..4be2cf7162b 100644 --- a/devicemanagement/android_for_work_enrollment_profiles_android_for_work_enrollment_profile_item_request_builder.go +++ b/devicemanagement/android_for_work_enrollment_profiles_android_for_work_enrollment_profile_item_request_builder.go @@ -126,7 +126,7 @@ func (m *AndroidForWorkEnrollmentProfilesAndroidForWorkEnrollmentProfileItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation android for Work enrollment profile entities. @@ -142,7 +142,7 @@ func (m *AndroidForWorkEnrollmentProfilesAndroidForWorkEnrollmentProfileItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property androidForWorkEnrollmentProfiles in deviceManagement @@ -155,7 +155,7 @@ func (m *AndroidForWorkEnrollmentProfilesAndroidForWorkEnrollmentProfileItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_for_work_enrollment_profiles_item_create_token_request_builder.go b/devicemanagement/android_for_work_enrollment_profiles_item_create_token_request_builder.go index 098eeb43037..c52ddebc53a 100644 --- a/devicemanagement/android_for_work_enrollment_profiles_item_create_token_request_builder.go +++ b/devicemanagement/android_for_work_enrollment_profiles_item_create_token_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidForWorkEnrollmentProfilesItemCreateTokenRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_for_work_enrollment_profiles_item_revoke_token_request_builder.go b/devicemanagement/android_for_work_enrollment_profiles_item_revoke_token_request_builder.go index 76f9b0ac0a7..2f867bdb468 100644 --- a/devicemanagement/android_for_work_enrollment_profiles_item_revoke_token_request_builder.go +++ b/devicemanagement/android_for_work_enrollment_profiles_item_revoke_token_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidForWorkEnrollmentProfilesItemRevokeTokenRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/android_for_work_enrollment_profiles_request_builder.go b/devicemanagement/android_for_work_enrollment_profiles_request_builder.go index 314e86cec70..dd90b3f8360 100644 --- a/devicemanagement/android_for_work_enrollment_profiles_request_builder.go +++ b/devicemanagement/android_for_work_enrollment_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *AndroidForWorkEnrollmentProfilesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to androidForWorkEnrollmentProfiles for deviceManagement @@ -138,7 +138,7 @@ func (m *AndroidForWorkEnrollmentProfilesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_for_work_settings_complete_signup_request_builder.go b/devicemanagement/android_for_work_settings_complete_signup_request_builder.go index 165627a06b0..d8ba0a52fee 100644 --- a/devicemanagement/android_for_work_settings_complete_signup_request_builder.go +++ b/devicemanagement/android_for_work_settings_complete_signup_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidForWorkSettingsCompleteSignupRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_for_work_settings_request_builder.go b/devicemanagement/android_for_work_settings_request_builder.go index e7d1e2d499b..b2691104c5e 100644 --- a/devicemanagement/android_for_work_settings_request_builder.go +++ b/devicemanagement/android_for_work_settings_request_builder.go @@ -130,7 +130,7 @@ func (m *AndroidForWorkSettingsRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the singleton Android for Work settings entity. @@ -146,7 +146,7 @@ func (m *AndroidForWorkSettingsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property androidForWorkSettings in deviceManagement @@ -159,7 +159,7 @@ func (m *AndroidForWorkSettingsRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_for_work_settings_request_signup_url_request_builder.go b/devicemanagement/android_for_work_settings_request_signup_url_request_builder.go index 2bd0c5890f7..9dc26ab2cd3 100644 --- a/devicemanagement/android_for_work_settings_request_signup_url_request_builder.go +++ b/devicemanagement/android_for_work_settings_request_signup_url_request_builder.go @@ -79,7 +79,7 @@ func (m *AndroidForWorkSettingsRequestSignupUrlRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_for_work_settings_sync_apps_request_builder.go b/devicemanagement/android_for_work_settings_sync_apps_request_builder.go index f9bcd777e46..f9acc166f2e 100644 --- a/devicemanagement/android_for_work_settings_sync_apps_request_builder.go +++ b/devicemanagement/android_for_work_settings_sync_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidForWorkSettingsSyncAppsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/android_for_work_settings_unbind_request_builder.go b/devicemanagement/android_for_work_settings_unbind_request_builder.go index 75628f3c37a..6d1df5a1f26 100644 --- a/devicemanagement/android_for_work_settings_unbind_request_builder.go +++ b/devicemanagement/android_for_work_settings_unbind_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidForWorkSettingsUnbindRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_add_apps_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_add_apps_request_builder.go index 5604875aca5..a6703664241 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_add_apps_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_add_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsAddAppsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_approve_apps_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_approve_apps_request_builder.go index aad920085f0..4d631fdf718 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_approve_apps_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_approve_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsApproveAppsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_complete_signup_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_complete_signup_request_builder.go index f8779168d3f..eb5306a28f5 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_complete_signup_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_complete_signup_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsCompleteSignupRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_create_google_play_web_token_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_create_google_play_web_token_request_builder.go index 4acad126d95..8fa1ab2cfe0 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_create_google_play_web_token_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_create_google_play_web_token_request_builder.go @@ -79,7 +79,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsCreateGooglePlayWebTokenReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_request_builder.go index 9fe8f4b9d89..0814d1b0bfa 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_request_builder.go @@ -146,7 +146,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the singleton Android managed store account enterprise settings entity. @@ -162,7 +162,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property androidManagedStoreAccountEnterpriseSettings in deviceManagement @@ -175,7 +175,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_request_signup_url_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_request_signup_url_request_builder.go index c8b991e4366..8894a82f5b0 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_request_signup_url_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_request_signup_url_request_builder.go @@ -79,7 +79,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsRequestSignupUrlRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_set_android_device_owner_fully_managed_enrollment_state_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_set_android_device_owner_fully_managed_enrollment_state_request_builder.go index 71b9c92169f..ec884ee0d89 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_set_android_device_owner_fully_managed_enrollment_state_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_set_android_device_owner_fully_managed_enrollment_state_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsSetAndroidDeviceOwnerFullyM requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_sync_apps_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_sync_apps_request_builder.go index 9f31a7e8400..1872c839ac5 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_sync_apps_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_sync_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsSyncAppsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/android_managed_store_account_enterprise_settings_unbind_request_builder.go b/devicemanagement/android_managed_store_account_enterprise_settings_unbind_request_builder.go index 91906307273..d019e0f9ed2 100644 --- a/devicemanagement/android_managed_store_account_enterprise_settings_unbind_request_builder.go +++ b/devicemanagement/android_managed_store_account_enterprise_settings_unbind_request_builder.go @@ -56,7 +56,7 @@ func (m *AndroidManagedStoreAccountEnterpriseSettingsUnbindRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/android_managed_store_app_configuration_schemas_android_managed_store_app_configuration_schema_item_request_builder.go b/devicemanagement/android_managed_store_app_configuration_schemas_android_managed_store_app_configuration_schema_item_request_builder.go index 5201185f3ce..2c25735bb21 100644 --- a/devicemanagement/android_managed_store_app_configuration_schemas_android_managed_store_app_configuration_schema_item_request_builder.go +++ b/devicemanagement/android_managed_store_app_configuration_schemas_android_managed_store_app_configuration_schema_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AndroidManagedStoreAppConfigurationSchemasAndroidManagedStoreAppConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation android Enterprise app configuration schema entities. @@ -134,7 +134,7 @@ func (m *AndroidManagedStoreAppConfigurationSchemasAndroidManagedStoreAppConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property androidManagedStoreAppConfigurationSchemas in deviceManagement @@ -147,7 +147,7 @@ func (m *AndroidManagedStoreAppConfigurationSchemasAndroidManagedStoreAppConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/android_managed_store_app_configuration_schemas_request_builder.go b/devicemanagement/android_managed_store_app_configuration_schemas_request_builder.go index d83176bf0a1..48a15efecf4 100644 --- a/devicemanagement/android_managed_store_app_configuration_schemas_request_builder.go +++ b/devicemanagement/android_managed_store_app_configuration_schemas_request_builder.go @@ -125,7 +125,7 @@ func (m *AndroidManagedStoreAppConfigurationSchemasRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to androidManagedStoreAppConfigurationSchemas for deviceManagement @@ -138,7 +138,7 @@ func (m *AndroidManagedStoreAppConfigurationSchemasRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/apple_push_notification_certificate_download_apple_push_notification_certificate_signing_request_request_builder.go b/devicemanagement/apple_push_notification_certificate_download_apple_push_notification_certificate_signing_request_request_builder.go index d38e61ab42a..745f4a0c1ac 100644 --- a/devicemanagement/apple_push_notification_certificate_download_apple_push_notification_certificate_signing_request_request_builder.go +++ b/devicemanagement/apple_push_notification_certificate_download_apple_push_notification_certificate_signing_request_request_builder.go @@ -79,7 +79,7 @@ func (m *ApplePushNotificationCertificateDownloadApplePushNotificationCertificat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/apple_push_notification_certificate_generate_apple_push_notification_certificate_signing_request_request_builder.go b/devicemanagement/apple_push_notification_certificate_generate_apple_push_notification_certificate_signing_request_request_builder.go index a2fbf04f592..51c5c853493 100644 --- a/devicemanagement/apple_push_notification_certificate_generate_apple_push_notification_certificate_signing_request_request_builder.go +++ b/devicemanagement/apple_push_notification_certificate_generate_apple_push_notification_certificate_signing_request_request_builder.go @@ -79,7 +79,7 @@ func (m *ApplePushNotificationCertificateGenerateApplePushNotificationCertificat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/apple_push_notification_certificate_request_builder.go b/devicemanagement/apple_push_notification_certificate_request_builder.go index 9fab338cfea..100c5deab94 100644 --- a/devicemanagement/apple_push_notification_certificate_request_builder.go +++ b/devicemanagement/apple_push_notification_certificate_request_builder.go @@ -126,7 +126,7 @@ func (m *ApplePushNotificationCertificateRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation apple push notification certificate. @@ -142,7 +142,7 @@ func (m *ApplePushNotificationCertificateRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property applePushNotificationCertificate in deviceManagement @@ -155,7 +155,7 @@ func (m *ApplePushNotificationCertificateRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_apple_user_initiated_enrollment_profile_item_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_apple_user_initiated_enrollment_profile_item_request_builder.go index d736d9a0069..cc5880c70ca 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_apple_user_initiated_enrollment_profile_item_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_apple_user_initiated_enrollment_profile_item_request_builder.go @@ -126,7 +126,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesAppleUserInitiatedEnrollmentProfile requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation apple user initiated enrollment profiles @@ -142,7 +142,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesAppleUserInitiatedEnrollmentProfile requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appleUserInitiatedEnrollmentProfiles in deviceManagement @@ -155,7 +155,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesAppleUserInitiatedEnrollmentProfile requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_apple_enrollment_profile_assignment_item_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_apple_enrollment_profile_assignment_item_request_builder.go index afdb1fb1d01..b75dc76de95 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_apple_enrollment_profile_assignment_item_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_apple_enrollment_profile_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesItemAssignmentsAppleEnrollmentProfi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of assignments for this profile. @@ -134,7 +134,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesItemAssignmentsAppleEnrollmentProfi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesItemAssignmentsAppleEnrollmentProfi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_request_builder.go index f6fc220943b..184724c2a7a 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesItemAssignmentsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesItemAssignmentsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_item_set_priority_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_item_set_priority_request_builder.go index 981368626e0..e8dd8d445a0 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_item_set_priority_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_item_set_priority_request_builder.go @@ -56,7 +56,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesItemSetPriorityRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/apple_user_initiated_enrollment_profiles_request_builder.go b/devicemanagement/apple_user_initiated_enrollment_profiles_request_builder.go index dbb11e719b8..b9c26128f5b 100644 --- a/devicemanagement/apple_user_initiated_enrollment_profiles_request_builder.go +++ b/devicemanagement/apple_user_initiated_enrollment_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to appleUserInitiatedEnrollmentProfiles for deviceManagement @@ -138,7 +138,7 @@ func (m *AppleUserInitiatedEnrollmentProfilesRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/assignment_filters_device_and_app_management_assignment_filter_item_request_builder.go b/devicemanagement/assignment_filters_device_and_app_management_assignment_filter_item_request_builder.go index 880fefbed51..605cf60d763 100644 --- a/devicemanagement/assignment_filters_device_and_app_management_assignment_filter_item_request_builder.go +++ b/devicemanagement/assignment_filters_device_and_app_management_assignment_filter_item_request_builder.go @@ -122,7 +122,7 @@ func (m *AssignmentFiltersDeviceAndAppManagementAssignmentFilterItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of assignment filters @@ -138,7 +138,7 @@ func (m *AssignmentFiltersDeviceAndAppManagementAssignmentFilterItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignmentFilters in deviceManagement @@ -151,7 +151,7 @@ func (m *AssignmentFiltersDeviceAndAppManagementAssignmentFilterItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/assignment_filters_enable_request_builder.go b/devicemanagement/assignment_filters_enable_request_builder.go index a0ba2f0bbdf..c7a6dbdc633 100644 --- a/devicemanagement/assignment_filters_enable_request_builder.go +++ b/devicemanagement/assignment_filters_enable_request_builder.go @@ -56,7 +56,7 @@ func (m *AssignmentFiltersEnableRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/assignment_filters_get_platform_supported_properties_with_platform_request_builder.go b/devicemanagement/assignment_filters_get_platform_supported_properties_with_platform_request_builder.go index 90cc1c1ccd2..a29d23e2ed2 100644 --- a/devicemanagement/assignment_filters_get_platform_supported_properties_with_platform_request_builder.go +++ b/devicemanagement/assignment_filters_get_platform_supported_properties_with_platform_request_builder.go @@ -100,7 +100,7 @@ func (m *AssignmentFiltersGetPlatformSupportedPropertiesWithPlatformRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/assignment_filters_get_state_request_builder.go b/devicemanagement/assignment_filters_get_state_request_builder.go index a5b320762d0..16d3db62563 100644 --- a/devicemanagement/assignment_filters_get_state_request_builder.go +++ b/devicemanagement/assignment_filters_get_state_request_builder.go @@ -60,7 +60,7 @@ func (m *AssignmentFiltersGetStateRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/assignment_filters_item_get_supported_properties_request_builder.go b/devicemanagement/assignment_filters_item_get_supported_properties_request_builder.go index b85c0d634bf..8c0a45805a1 100644 --- a/devicemanagement/assignment_filters_item_get_supported_properties_request_builder.go +++ b/devicemanagement/assignment_filters_item_get_supported_properties_request_builder.go @@ -97,7 +97,7 @@ func (m *AssignmentFiltersItemGetSupportedPropertiesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/assignment_filters_request_builder.go b/devicemanagement/assignment_filters_request_builder.go index 3ba1b277357..fe03132c5ca 100644 --- a/devicemanagement/assignment_filters_request_builder.go +++ b/devicemanagement/assignment_filters_request_builder.go @@ -137,7 +137,7 @@ func (m *AssignmentFiltersRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignmentFilters for deviceManagement @@ -150,7 +150,7 @@ func (m *AssignmentFiltersRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/assignment_filters_validate_filter_request_builder.go b/devicemanagement/assignment_filters_validate_filter_request_builder.go index 8e36b02c5e3..94f9da7c59e 100644 --- a/devicemanagement/assignment_filters_validate_filter_request_builder.go +++ b/devicemanagement/assignment_filters_validate_filter_request_builder.go @@ -60,7 +60,7 @@ func (m *AssignmentFiltersValidateFilterRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/audit_events_audit_event_item_request_builder.go b/devicemanagement/audit_events_audit_event_item_request_builder.go index 236fa8f5aaa..e30c1939ca0 100644 --- a/devicemanagement/audit_events_audit_event_item_request_builder.go +++ b/devicemanagement/audit_events_audit_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AuditEventsAuditEventItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Audit Events @@ -134,7 +134,7 @@ func (m *AuditEventsAuditEventItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property auditEvents in deviceManagement @@ -147,7 +147,7 @@ func (m *AuditEventsAuditEventItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/audit_events_get_audit_activity_types_with_category_request_builder.go b/devicemanagement/audit_events_get_audit_activity_types_with_category_request_builder.go index 362f0970015..3feb5403331 100644 --- a/devicemanagement/audit_events_get_audit_activity_types_with_category_request_builder.go +++ b/devicemanagement/audit_events_get_audit_activity_types_with_category_request_builder.go @@ -100,7 +100,7 @@ func (m *AuditEventsGetAuditActivityTypesWithCategoryRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/audit_events_get_audit_categories_request_builder.go b/devicemanagement/audit_events_get_audit_categories_request_builder.go index 64a89a33325..85a978e0a35 100644 --- a/devicemanagement/audit_events_get_audit_categories_request_builder.go +++ b/devicemanagement/audit_events_get_audit_categories_request_builder.go @@ -97,7 +97,7 @@ func (m *AuditEventsGetAuditCategoriesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/audit_events_request_builder.go b/devicemanagement/audit_events_request_builder.go index 7524f4dc9c4..88441b8cac3 100644 --- a/devicemanagement/audit_events_request_builder.go +++ b/devicemanagement/audit_events_request_builder.go @@ -133,7 +133,7 @@ func (m *AuditEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to auditEvents for deviceManagement @@ -146,7 +146,7 @@ func (m *AuditEventsRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/autopilot_events_device_management_autopilot_event_item_request_builder.go b/devicemanagement/autopilot_events_device_management_autopilot_event_item_request_builder.go index ce5344bafcb..a59f3dd118d 100644 --- a/devicemanagement/autopilot_events_device_management_autopilot_event_item_request_builder.go +++ b/devicemanagement/autopilot_events_device_management_autopilot_event_item_request_builder.go @@ -122,7 +122,7 @@ func (m *AutopilotEventsDeviceManagementAutopilotEventItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of autopilot events for the tenant. @@ -138,7 +138,7 @@ func (m *AutopilotEventsDeviceManagementAutopilotEventItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property autopilotEvents in deviceManagement @@ -151,7 +151,7 @@ func (m *AutopilotEventsDeviceManagementAutopilotEventItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/autopilot_events_item_policy_status_details_device_management_autopilot_policy_status_detail_item_request_builder.go b/devicemanagement/autopilot_events_item_policy_status_details_device_management_autopilot_policy_status_detail_item_request_builder.go index 9164f0ccbc4..aefd28e2336 100644 --- a/devicemanagement/autopilot_events_item_policy_status_details_device_management_autopilot_policy_status_detail_item_request_builder.go +++ b/devicemanagement/autopilot_events_item_policy_status_details_device_management_autopilot_policy_status_detail_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AutopilotEventsItemPolicyStatusDetailsDeviceManagementAutopilotPolicySt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation policy and application status details for this device. @@ -134,7 +134,7 @@ func (m *AutopilotEventsItemPolicyStatusDetailsDeviceManagementAutopilotPolicySt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policyStatusDetails in deviceManagement @@ -147,7 +147,7 @@ func (m *AutopilotEventsItemPolicyStatusDetailsDeviceManagementAutopilotPolicySt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/autopilot_events_item_policy_status_details_request_builder.go b/devicemanagement/autopilot_events_item_policy_status_details_request_builder.go index 5be91ffe509..2cfa4142eaa 100644 --- a/devicemanagement/autopilot_events_item_policy_status_details_request_builder.go +++ b/devicemanagement/autopilot_events_item_policy_status_details_request_builder.go @@ -125,7 +125,7 @@ func (m *AutopilotEventsItemPolicyStatusDetailsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to policyStatusDetails for deviceManagement @@ -138,7 +138,7 @@ func (m *AutopilotEventsItemPolicyStatusDetailsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/autopilot_events_request_builder.go b/devicemanagement/autopilot_events_request_builder.go index b670ce16ec3..07a91a5c6f2 100644 --- a/devicemanagement/autopilot_events_request_builder.go +++ b/devicemanagement/autopilot_events_request_builder.go @@ -125,7 +125,7 @@ func (m *AutopilotEventsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to autopilotEvents for deviceManagement @@ -138,7 +138,7 @@ func (m *AutopilotEventsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/cart_to_class_associations_cart_to_class_association_item_request_builder.go b/devicemanagement/cart_to_class_associations_cart_to_class_association_item_request_builder.go index 252319588d6..d8684b0078b 100644 --- a/devicemanagement/cart_to_class_associations_cart_to_class_association_item_request_builder.go +++ b/devicemanagement/cart_to_class_associations_cart_to_class_association_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CartToClassAssociationsCartToClassAssociationItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Cart To Class Associations. @@ -134,7 +134,7 @@ func (m *CartToClassAssociationsCartToClassAssociationItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cartToClassAssociations in deviceManagement @@ -147,7 +147,7 @@ func (m *CartToClassAssociationsCartToClassAssociationItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/cart_to_class_associations_request_builder.go b/devicemanagement/cart_to_class_associations_request_builder.go index 1583dd1a436..6001c7ee4cb 100644 --- a/devicemanagement/cart_to_class_associations_request_builder.go +++ b/devicemanagement/cart_to_class_associations_request_builder.go @@ -125,7 +125,7 @@ func (m *CartToClassAssociationsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to cartToClassAssociations for deviceManagement @@ -138,7 +138,7 @@ func (m *CartToClassAssociationsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/categories_device_management_setting_category_item_request_builder.go b/devicemanagement/categories_device_management_setting_category_item_request_builder.go index d4bda0c34f7..1526a6cca7f 100644 --- a/devicemanagement/categories_device_management_setting_category_item_request_builder.go +++ b/devicemanagement/categories_device_management_setting_category_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CategoriesDeviceManagementSettingCategoryItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the available categories @@ -138,7 +138,7 @@ func (m *CategoriesDeviceManagementSettingCategoryItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property categories in deviceManagement @@ -151,7 +151,7 @@ func (m *CategoriesDeviceManagementSettingCategoryItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go b/devicemanagement/categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go index 7f5264f08c5..869afd10383 100644 --- a/devicemanagement/categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go +++ b/devicemanagement/categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the setting definitions this category contains @@ -134,7 +134,7 @@ func (m *CategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingDefinitions in deviceManagement @@ -147,7 +147,7 @@ func (m *CategoriesItemSettingDefinitionsDeviceManagementSettingDefinitionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/categories_item_setting_definitions_request_builder.go b/devicemanagement/categories_item_setting_definitions_request_builder.go index e29049494df..309f220b716 100644 --- a/devicemanagement/categories_item_setting_definitions_request_builder.go +++ b/devicemanagement/categories_item_setting_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *CategoriesItemSettingDefinitionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingDefinitions for deviceManagement @@ -138,7 +138,7 @@ func (m *CategoriesItemSettingDefinitionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/categories_request_builder.go b/devicemanagement/categories_request_builder.go index 516ad2603c2..fedd0da87c4 100644 --- a/devicemanagement/categories_request_builder.go +++ b/devicemanagement/categories_request_builder.go @@ -125,7 +125,7 @@ func (m *CategoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to categories for deviceManagement @@ -138,7 +138,7 @@ func (m *CategoriesRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/certificate_connector_details_certificate_connector_details_item_request_builder.go b/devicemanagement/certificate_connector_details_certificate_connector_details_item_request_builder.go index 5a5eb38a3a7..3fa5f778736 100644 --- a/devicemanagement/certificate_connector_details_certificate_connector_details_item_request_builder.go +++ b/devicemanagement/certificate_connector_details_certificate_connector_details_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CertificateConnectorDetailsCertificateConnectorDetailsItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of certificate connector details, each associated with a corresponding Intune Certificate Connector. @@ -142,7 +142,7 @@ func (m *CertificateConnectorDetailsCertificateConnectorDetailsItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property certificateConnectorDetails in deviceManagement @@ -155,7 +155,7 @@ func (m *CertificateConnectorDetailsCertificateConnectorDetailsItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/certificate_connector_details_item_get_health_metric_time_series_request_builder.go b/devicemanagement/certificate_connector_details_item_get_health_metric_time_series_request_builder.go index b0a5c6abc34..c14ccf38d75 100644 --- a/devicemanagement/certificate_connector_details_item_get_health_metric_time_series_request_builder.go +++ b/devicemanagement/certificate_connector_details_item_get_health_metric_time_series_request_builder.go @@ -79,7 +79,7 @@ func (m *CertificateConnectorDetailsItemGetHealthMetricTimeSeriesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/certificate_connector_details_item_get_health_metrics_request_builder.go b/devicemanagement/certificate_connector_details_item_get_health_metrics_request_builder.go index 6f9c61ee78a..90f0709e727 100644 --- a/devicemanagement/certificate_connector_details_item_get_health_metrics_request_builder.go +++ b/devicemanagement/certificate_connector_details_item_get_health_metrics_request_builder.go @@ -79,7 +79,7 @@ func (m *CertificateConnectorDetailsItemGetHealthMetricsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/certificate_connector_details_request_builder.go b/devicemanagement/certificate_connector_details_request_builder.go index e5368a69d03..ee138c989f8 100644 --- a/devicemanagement/certificate_connector_details_request_builder.go +++ b/devicemanagement/certificate_connector_details_request_builder.go @@ -125,7 +125,7 @@ func (m *CertificateConnectorDetailsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to certificateConnectorDetails for deviceManagement @@ -138,7 +138,7 @@ func (m *CertificateConnectorDetailsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/chrome_o_s_onboarding_settings_chrome_o_s_onboarding_settings_item_request_builder.go b/devicemanagement/chrome_o_s_onboarding_settings_chrome_o_s_onboarding_settings_item_request_builder.go index 0f66c93fe6a..424f1a9586e 100644 --- a/devicemanagement/chrome_o_s_onboarding_settings_chrome_o_s_onboarding_settings_item_request_builder.go +++ b/devicemanagement/chrome_o_s_onboarding_settings_chrome_o_s_onboarding_settings_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ChromeOSOnboardingSettingsChromeOSOnboardingSettingsItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of ChromeOSOnboardingSettings settings associated with account. @@ -134,7 +134,7 @@ func (m *ChromeOSOnboardingSettingsChromeOSOnboardingSettingsItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property chromeOSOnboardingSettings in deviceManagement @@ -147,7 +147,7 @@ func (m *ChromeOSOnboardingSettingsChromeOSOnboardingSettingsItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/chrome_o_s_onboarding_settings_connect_request_builder.go b/devicemanagement/chrome_o_s_onboarding_settings_connect_request_builder.go index add6e078caf..985469d67ef 100644 --- a/devicemanagement/chrome_o_s_onboarding_settings_connect_request_builder.go +++ b/devicemanagement/chrome_o_s_onboarding_settings_connect_request_builder.go @@ -60,7 +60,7 @@ func (m *ChromeOSOnboardingSettingsConnectRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/chrome_o_s_onboarding_settings_disconnect_request_builder.go b/devicemanagement/chrome_o_s_onboarding_settings_disconnect_request_builder.go index 9426d4be909..4d4b24f9f39 100644 --- a/devicemanagement/chrome_o_s_onboarding_settings_disconnect_request_builder.go +++ b/devicemanagement/chrome_o_s_onboarding_settings_disconnect_request_builder.go @@ -60,7 +60,7 @@ func (m *ChromeOSOnboardingSettingsDisconnectRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/chrome_o_s_onboarding_settings_request_builder.go b/devicemanagement/chrome_o_s_onboarding_settings_request_builder.go index a745e6046c1..90250b0a855 100644 --- a/devicemanagement/chrome_o_s_onboarding_settings_request_builder.go +++ b/devicemanagement/chrome_o_s_onboarding_settings_request_builder.go @@ -133,7 +133,7 @@ func (m *ChromeOSOnboardingSettingsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to chromeOSOnboardingSettings for deviceManagement @@ -146,7 +146,7 @@ func (m *ChromeOSOnboardingSettingsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/cloud_p_c_connectivity_issues_cloud_p_c_connectivity_issue_item_request_builder.go b/devicemanagement/cloud_p_c_connectivity_issues_cloud_p_c_connectivity_issue_item_request_builder.go index 3f83852b150..66605246ea2 100644 --- a/devicemanagement/cloud_p_c_connectivity_issues_cloud_p_c_connectivity_issue_item_request_builder.go +++ b/devicemanagement/cloud_p_c_connectivity_issues_cloud_p_c_connectivity_issue_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CloudPCConnectivityIssuesCloudPCConnectivityIssueItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of CloudPC Connectivity Issue. @@ -134,7 +134,7 @@ func (m *CloudPCConnectivityIssuesCloudPCConnectivityIssueItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cloudPCConnectivityIssues in deviceManagement @@ -147,7 +147,7 @@ func (m *CloudPCConnectivityIssuesCloudPCConnectivityIssueItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/cloud_p_c_connectivity_issues_request_builder.go b/devicemanagement/cloud_p_c_connectivity_issues_request_builder.go index 8701672120c..170e92c7c13 100644 --- a/devicemanagement/cloud_p_c_connectivity_issues_request_builder.go +++ b/devicemanagement/cloud_p_c_connectivity_issues_request_builder.go @@ -125,7 +125,7 @@ func (m *CloudPCConnectivityIssuesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to cloudPCConnectivityIssues for deviceManagement @@ -138,7 +138,7 @@ func (m *CloudPCConnectivityIssuesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_app_diagnostics_with_upn_request_builder.go b/devicemanagement/comanaged_devices_app_diagnostics_with_upn_request_builder.go index c0bec6657a5..d414fe309f0 100644 --- a/devicemanagement/comanaged_devices_app_diagnostics_with_upn_request_builder.go +++ b/devicemanagement/comanaged_devices_app_diagnostics_with_upn_request_builder.go @@ -100,7 +100,7 @@ func (m *ComanagedDevicesAppDiagnosticsWithUpnRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go index b5d245df176..da1a0abe2a5 100644 --- a/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_bulk_reprovision_cloud_pc_request_builder.go @@ -65,7 +65,7 @@ func (m *ComanagedDevicesBulkReprovisionCloudPcRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go index afc69a7e6fd..8f8d937e76f 100644 --- a/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_bulk_restore_cloud_pc_request_builder.go @@ -65,7 +65,7 @@ func (m *ComanagedDevicesBulkRestoreCloudPcRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go index 5cd54c5a224..6f108ae9866 100644 --- a/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_bulk_set_cloud_pc_review_status_request_builder.go @@ -63,7 +63,7 @@ func (m *ComanagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_download_app_diagnostics_request_builder.go b/devicemanagement/comanaged_devices_download_app_diagnostics_request_builder.go index 31d3e7be5c9..016a2cba97a 100644 --- a/devicemanagement/comanaged_devices_download_app_diagnostics_request_builder.go +++ b/devicemanagement/comanaged_devices_download_app_diagnostics_request_builder.go @@ -59,7 +59,7 @@ func (m *ComanagedDevicesDownloadAppDiagnosticsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_execute_action_request_builder.go b/devicemanagement/comanaged_devices_execute_action_request_builder.go index c9cf69d2437..98cd5bd7aaa 100644 --- a/devicemanagement/comanaged_devices_execute_action_request_builder.go +++ b/devicemanagement/comanaged_devices_execute_action_request_builder.go @@ -60,7 +60,7 @@ func (m *ComanagedDevicesExecuteActionRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_activate_device_esim_request_builder.go b/devicemanagement/comanaged_devices_item_activate_device_esim_request_builder.go index ae43f97fa7d..061c076ecd9 100644 --- a/devicemanagement/comanaged_devices_item_activate_device_esim_request_builder.go +++ b/devicemanagement/comanaged_devices_item_activate_device_esim_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemActivateDeviceEsimRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go b/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go index cfa732023fe..f2bb356f393 100644 --- a/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation managed device mobile app configuration states for this device. @@ -134,7 +134,7 @@ func (m *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignmentFilterEvaluationStatusDetails in deviceManagement @@ -147,7 +147,7 @@ func (m *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_request_builder.go b/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_request_builder.go index ee0bcc25f7f..a50004a063d 100644 --- a/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_request_builder.go +++ b/devicemanagement/comanaged_devices_item_assignment_filter_evaluation_status_details_request_builder.go @@ -125,7 +125,7 @@ func (m *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignmentFilterEvaluationStatusDetails for deviceManagement @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_bypass_activation_lock_request_builder.go b/devicemanagement/comanaged_devices_item_bypass_activation_lock_request_builder.go index b5587d80bbe..312961be375 100644 --- a/devicemanagement/comanaged_devices_item_bypass_activation_lock_request_builder.go +++ b/devicemanagement/comanaged_devices_item_bypass_activation_lock_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemBypassActivationLockRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_clean_windows_device_request_builder.go b/devicemanagement/comanaged_devices_item_clean_windows_device_request_builder.go index e866393c310..1e01258ca0c 100644 --- a/devicemanagement/comanaged_devices_item_clean_windows_device_request_builder.go +++ b/devicemanagement/comanaged_devices_item_clean_windows_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemCleanWindowsDeviceRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_create_device_log_collection_request_request_builder.go b/devicemanagement/comanaged_devices_item_create_device_log_collection_request_request_builder.go index f6fe6e37fd7..bdbbe41dabb 100644 --- a/devicemanagement/comanaged_devices_item_create_device_log_collection_request_request_builder.go +++ b/devicemanagement/comanaged_devices_item_create_device_log_collection_request_request_builder.go @@ -60,7 +60,7 @@ func (m *ComanagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_delete_user_from_shared_apple_device_request_builder.go b/devicemanagement/comanaged_devices_item_delete_user_from_shared_apple_device_request_builder.go index 263c7f40617..ada30115525 100644 --- a/devicemanagement/comanaged_devices_item_delete_user_from_shared_apple_device_request_builder.go +++ b/devicemanagement/comanaged_devices_item_delete_user_from_shared_apple_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_deprovision_request_builder.go b/devicemanagement/comanaged_devices_item_deprovision_request_builder.go index 392036c6d3f..085d49fdc2a 100644 --- a/devicemanagement/comanaged_devices_item_deprovision_request_builder.go +++ b/devicemanagement/comanaged_devices_item_deprovision_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemDeprovisionRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_detected_apps_detected_app_item_request_builder.go b/devicemanagement/comanaged_devices_item_detected_apps_detected_app_item_request_builder.go index 48e8300440c..76b3a59a1ac 100644 --- a/devicemanagement/comanaged_devices_item_detected_apps_detected_app_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_detected_apps_detected_app_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ComanagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_detected_apps_request_builder.go b/devicemanagement/comanaged_devices_item_detected_apps_request_builder.go index d5ae0027ea4..ee0b54bc258 100644 --- a/devicemanagement/comanaged_devices_item_detected_apps_request_builder.go +++ b/devicemanagement/comanaged_devices_item_detected_apps_request_builder.go @@ -99,7 +99,7 @@ func (m *ComanagedDevicesItemDetectedAppsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_device_category_request_builder.go b/devicemanagement/comanaged_devices_item_device_category_request_builder.go index 43ee7c9fa5b..675af0e743e 100644 --- a/devicemanagement/comanaged_devices_item_device_category_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_category_request_builder.go @@ -118,7 +118,7 @@ func (m *ComanagedDevicesItemDeviceCategoryRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device category @@ -134,7 +134,7 @@ func (m *ComanagedDevicesItemDeviceCategoryRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCategory in deviceManagement @@ -147,7 +147,7 @@ func (m *ComanagedDevicesItemDeviceCategoryRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go index b8ae1187139..17d939afd5b 100644 --- a/devicemanagement/comanaged_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ComanagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device compliance policy states for this device. @@ -134,7 +134,7 @@ func (m *ComanagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCompliancePolicyStates in deviceManagement @@ -147,7 +147,7 @@ func (m *ComanagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicyS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_device_compliance_policy_states_request_builder.go b/devicemanagement/comanaged_devices_item_device_compliance_policy_states_request_builder.go index 45a370f54ce..e4da76e2854 100644 --- a/devicemanagement/comanaged_devices_item_device_compliance_policy_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_compliance_policy_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ComanagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceCompliancePolicyStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go index b5c2f996613..693e5e4ed15 100644 --- a/devicemanagement/comanaged_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ComanagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device configuration states for this device. @@ -134,7 +134,7 @@ func (m *ComanagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceConfigurationStates in deviceManagement @@ -147,7 +147,7 @@ func (m *ComanagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_device_configuration_states_request_builder.go b/devicemanagement/comanaged_devices_item_device_configuration_states_request_builder.go index 8a60f15f304..dee93c53f77 100644 --- a/devicemanagement/comanaged_devices_item_device_configuration_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_configuration_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ComanagedDevicesItemDeviceConfigurationStatesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceConfigurationStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemDeviceConfigurationStatesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_device_health_script_states_request_builder.go b/devicemanagement/comanaged_devices_item_device_health_script_states_request_builder.go index 469c1d097a9..c50dbabfffd 100644 --- a/devicemanagement/comanaged_devices_item_device_health_script_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_health_script_states_request_builder.go @@ -114,7 +114,7 @@ func (m *ComanagedDevicesItemDeviceHealthScriptStatesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceHealthScriptStates for deviceManagement @@ -127,7 +127,7 @@ func (m *ComanagedDevicesItemDeviceHealthScriptStatesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go b/devicemanagement/comanaged_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go index 2f8a68abb2c..e97c61f6dd0 100644 --- a/devicemanagement/comanaged_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go +++ b/devicemanagement/comanaged_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go @@ -127,7 +127,7 @@ func (m *ComanagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation results of device health scripts that ran for this device. Default is empty list. This property is read-only. @@ -143,7 +143,7 @@ func (m *ComanagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceHealthScriptStates in deviceManagement @@ -156,7 +156,7 @@ func (m *ComanagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_disable_lost_mode_request_builder.go b/devicemanagement/comanaged_devices_item_disable_lost_mode_request_builder.go index c51bc8c48f7..3bca6aeffc2 100644 --- a/devicemanagement/comanaged_devices_item_disable_lost_mode_request_builder.go +++ b/devicemanagement/comanaged_devices_item_disable_lost_mode_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemDisableLostModeRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_disable_request_builder.go b/devicemanagement/comanaged_devices_item_disable_request_builder.go index b82071b3f3d..ca605406bbe 100644 --- a/devicemanagement/comanaged_devices_item_disable_request_builder.go +++ b/devicemanagement/comanaged_devices_item_disable_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemDisableRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_enable_lost_mode_request_builder.go b/devicemanagement/comanaged_devices_item_enable_lost_mode_request_builder.go index 5b1348b7d7e..c24968c588f 100644 --- a/devicemanagement/comanaged_devices_item_enable_lost_mode_request_builder.go +++ b/devicemanagement/comanaged_devices_item_enable_lost_mode_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemEnableLostModeRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_enroll_now_action_request_builder.go b/devicemanagement/comanaged_devices_item_enroll_now_action_request_builder.go index e4260057da7..27dfd9ccb48 100644 --- a/devicemanagement/comanaged_devices_item_enroll_now_action_request_builder.go +++ b/devicemanagement/comanaged_devices_item_enroll_now_action_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemEnrollNowActionRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go b/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go index bb3f016ef74..23ce804bb5b 100644 --- a/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_cloud_pc_remote_action_results_request_builder.go @@ -97,7 +97,7 @@ func (m *ComanagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go index b5c3d4b2ae7..6bd4adcc7d6 100644 --- a/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_cloud_pc_review_status_request_builder.go @@ -60,7 +60,7 @@ func (m *ComanagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_get_file_vault_key_request_builder.go b/devicemanagement/comanaged_devices_item_get_file_vault_key_request_builder.go index cc059fceebd..28401290eca 100644 --- a/devicemanagement/comanaged_devices_item_get_file_vault_key_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_file_vault_key_request_builder.go @@ -79,7 +79,7 @@ func (m *ComanagedDevicesItemGetFileVaultKeyRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_get_non_compliant_settings_request_builder.go b/devicemanagement/comanaged_devices_item_get_non_compliant_settings_request_builder.go index a3c3deb5f70..4364b837e6a 100644 --- a/devicemanagement/comanaged_devices_item_get_non_compliant_settings_request_builder.go +++ b/devicemanagement/comanaged_devices_item_get_non_compliant_settings_request_builder.go @@ -97,7 +97,7 @@ func (m *ComanagedDevicesItemGetNonCompliantSettingsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go b/devicemanagement/comanaged_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go index 5cb24f0b725..f33e44076a8 100644 --- a/devicemanagement/comanaged_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go +++ b/devicemanagement/comanaged_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_initiate_on_demand_proactive_remediation_request_builder.go b/devicemanagement/comanaged_devices_item_initiate_on_demand_proactive_remediation_request_builder.go index 5308cb52846..7e63045658e 100644 --- a/devicemanagement/comanaged_devices_item_initiate_on_demand_proactive_remediation_request_builder.go +++ b/devicemanagement/comanaged_devices_item_initiate_on_demand_proactive_remediation_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_locate_device_request_builder.go b/devicemanagement/comanaged_devices_item_locate_device_request_builder.go index 4ce7a7a1327..de65740f44b 100644 --- a/devicemanagement/comanaged_devices_item_locate_device_request_builder.go +++ b/devicemanagement/comanaged_devices_item_locate_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemLocateDeviceRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go b/devicemanagement/comanaged_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go index 50510f03139..9cfa5706225 100644 --- a/devicemanagement/comanaged_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ComanagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of log collection requests @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property logCollectionRequests in deviceManagement @@ -151,7 +151,7 @@ func (m *ComanagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_log_collection_requests_item_create_download_url_request_builder.go b/devicemanagement/comanaged_devices_item_log_collection_requests_item_create_download_url_request_builder.go index 5c8a98daf71..7d554d3b98b 100644 --- a/devicemanagement/comanaged_devices_item_log_collection_requests_item_create_download_url_request_builder.go +++ b/devicemanagement/comanaged_devices_item_log_collection_requests_item_create_download_url_request_builder.go @@ -79,7 +79,7 @@ func (m *ComanagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_log_collection_requests_request_builder.go b/devicemanagement/comanaged_devices_item_log_collection_requests_request_builder.go index 5dd1e7099ac..063e7a7fe23 100644 --- a/devicemanagement/comanaged_devices_item_log_collection_requests_request_builder.go +++ b/devicemanagement/comanaged_devices_item_log_collection_requests_request_builder.go @@ -125,7 +125,7 @@ func (m *ComanagedDevicesItemLogCollectionRequestsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to logCollectionRequests for deviceManagement @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemLogCollectionRequestsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_logout_shared_apple_device_active_user_request_builder.go b/devicemanagement/comanaged_devices_item_logout_shared_apple_device_active_user_request_builder.go index 636090ee358..a77f3097be1 100644 --- a/devicemanagement/comanaged_devices_item_logout_shared_apple_device_active_user_request_builder.go +++ b/devicemanagement/comanaged_devices_item_logout_shared_apple_device_active_user_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go index e0ecc5af990..0cf634458ff 100644 --- a/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDev requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation managed device mobile app configuration states for this device. @@ -134,7 +134,7 @@ func (m *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDev requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedDeviceMobileAppConfigurationStates in deviceManagement @@ -147,7 +147,7 @@ func (m *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDev requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_request_builder.go b/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_request_builder.go index 3a901add2f2..8317161db17 100644 --- a/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_managed_device_mobile_app_configuration_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedDeviceMobileAppConfigurationStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_override_compliance_state_request_builder.go b/devicemanagement/comanaged_devices_item_override_compliance_state_request_builder.go index 820a31c6fe1..3f9960c6515 100644 --- a/devicemanagement/comanaged_devices_item_override_compliance_state_request_builder.go +++ b/devicemanagement/comanaged_devices_item_override_compliance_state_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemOverrideComplianceStateRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_pause_configuration_refresh_request_builder.go b/devicemanagement/comanaged_devices_item_pause_configuration_refresh_request_builder.go index 25f89a01787..0f9ca9ee6c7 100644 --- a/devicemanagement/comanaged_devices_item_pause_configuration_refresh_request_builder.go +++ b/devicemanagement/comanaged_devices_item_pause_configuration_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemPauseConfigurationRefreshRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_play_lost_mode_sound_request_builder.go b/devicemanagement/comanaged_devices_item_play_lost_mode_sound_request_builder.go index f8a4d8119b9..96dc1c72f3e 100644 --- a/devicemanagement/comanaged_devices_item_play_lost_mode_sound_request_builder.go +++ b/devicemanagement/comanaged_devices_item_play_lost_mode_sound_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemPlayLostModeSoundRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_reboot_now_request_builder.go b/devicemanagement/comanaged_devices_item_reboot_now_request_builder.go index 9814a73d035..44a1ed3ad02 100644 --- a/devicemanagement/comanaged_devices_item_reboot_now_request_builder.go +++ b/devicemanagement/comanaged_devices_item_reboot_now_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemRebootNowRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_recover_passcode_request_builder.go b/devicemanagement/comanaged_devices_item_recover_passcode_request_builder.go index 8335fec9478..2195f083bfc 100644 --- a/devicemanagement/comanaged_devices_item_recover_passcode_request_builder.go +++ b/devicemanagement/comanaged_devices_item_recover_passcode_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemRecoverPasscodeRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_reenable_request_builder.go b/devicemanagement/comanaged_devices_item_reenable_request_builder.go index 8cef1374641..525fbdc29d5 100644 --- a/devicemanagement/comanaged_devices_item_reenable_request_builder.go +++ b/devicemanagement/comanaged_devices_item_reenable_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemReenableRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_remote_lock_request_builder.go b/devicemanagement/comanaged_devices_item_remote_lock_request_builder.go index fc1e1329794..f2069e3f0ea 100644 --- a/devicemanagement/comanaged_devices_item_remote_lock_request_builder.go +++ b/devicemanagement/comanaged_devices_item_remote_lock_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemRemoteLockRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go b/devicemanagement/comanaged_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go index 5c6f6f375be..968d3a9eed9 100644 --- a/devicemanagement/comanaged_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go +++ b/devicemanagement/comanaged_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagemen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go index 4bbbd8269c2..92e24d980e8 100644 --- a/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_item_reprovision_cloud_pc_request_builder.go @@ -61,7 +61,7 @@ func (m *ComanagedDevicesItemReprovisionCloudPcRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_request_remote_assistance_request_builder.go b/devicemanagement/comanaged_devices_item_request_remote_assistance_request_builder.go index 392a2892f20..7877dd2bdcc 100644 --- a/devicemanagement/comanaged_devices_item_request_remote_assistance_request_builder.go +++ b/devicemanagement/comanaged_devices_item_request_remote_assistance_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemRequestRemoteAssistanceRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_reset_passcode_request_builder.go b/devicemanagement/comanaged_devices_item_reset_passcode_request_builder.go index 7964de9d65b..595d11adf8d 100644 --- a/devicemanagement/comanaged_devices_item_reset_passcode_request_builder.go +++ b/devicemanagement/comanaged_devices_item_reset_passcode_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemResetPasscodeRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go index d82bf7e1ccd..f6acf81a20f 100644 --- a/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_item_resize_cloud_pc_request_builder.go @@ -61,7 +61,7 @@ func (m *ComanagedDevicesItemResizeCloudPcRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go b/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go index d817375787e..3d9b1473bc8 100644 --- a/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go +++ b/devicemanagement/comanaged_devices_item_restore_cloud_pc_request_builder.go @@ -61,7 +61,7 @@ func (m *ComanagedDevicesItemRestoreCloudPcRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_retire_request_builder.go b/devicemanagement/comanaged_devices_item_retire_request_builder.go index 2ab7f9da661..2fed50a8972 100644 --- a/devicemanagement/comanaged_devices_item_retire_request_builder.go +++ b/devicemanagement/comanaged_devices_item_retire_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemRetireRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_revoke_apple_vpp_licenses_request_builder.go b/devicemanagement/comanaged_devices_item_revoke_apple_vpp_licenses_request_builder.go index 1dcab413086..65e2ab0830f 100644 --- a/devicemanagement/comanaged_devices_item_revoke_apple_vpp_licenses_request_builder.go +++ b/devicemanagement/comanaged_devices_item_revoke_apple_vpp_licenses_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemRevokeAppleVppLicensesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_rotate_bit_locker_keys_request_builder.go b/devicemanagement/comanaged_devices_item_rotate_bit_locker_keys_request_builder.go index 239158d2933..061a1e6385e 100644 --- a/devicemanagement/comanaged_devices_item_rotate_bit_locker_keys_request_builder.go +++ b/devicemanagement/comanaged_devices_item_rotate_bit_locker_keys_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemRotateBitLockerKeysRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_rotate_file_vault_key_request_builder.go b/devicemanagement/comanaged_devices_item_rotate_file_vault_key_request_builder.go index 32b14b689d2..45a23b54105 100644 --- a/devicemanagement/comanaged_devices_item_rotate_file_vault_key_request_builder.go +++ b/devicemanagement/comanaged_devices_item_rotate_file_vault_key_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemRotateFileVaultKeyRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_rotate_local_admin_password_request_builder.go b/devicemanagement/comanaged_devices_item_rotate_local_admin_password_request_builder.go index 055ab96bd34..56013181136 100644 --- a/devicemanagement/comanaged_devices_item_rotate_local_admin_password_request_builder.go +++ b/devicemanagement/comanaged_devices_item_rotate_local_admin_password_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemRotateLocalAdminPasswordRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_request_builder.go b/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_request_builder.go index 2230e693f58..a65ff3d75b3 100644 --- a/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go index c9c76b69c33..53fa875575b 100644 --- a/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBase requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the security baseline state for different settings for a device @@ -134,7 +134,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBase requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingStates in deviceManagement @@ -147,7 +147,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBase requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_security_baseline_states_request_builder.go b/devicemanagement/comanaged_devices_item_security_baseline_states_request_builder.go index ab62b3fdc3c..e5024f10ab6 100644 --- a/devicemanagement/comanaged_devices_item_security_baseline_states_request_builder.go +++ b/devicemanagement/comanaged_devices_item_security_baseline_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to securityBaselineStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go index 6cc9bad6d93..6dbe888b9c7 100644 --- a/devicemanagement/comanaged_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation security baseline states for this device. @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property securityBaselineStates in deviceManagement @@ -151,7 +151,7 @@ func (m *ComanagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_send_custom_notification_to_company_portal_request_builder.go b/devicemanagement/comanaged_devices_item_send_custom_notification_to_company_portal_request_builder.go index b988429e6ac..46dc6730ae5 100644 --- a/devicemanagement/comanaged_devices_item_send_custom_notification_to_company_portal_request_builder.go +++ b/devicemanagement/comanaged_devices_item_send_custom_notification_to_company_portal_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go b/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go index 81b67d11846..fb3d9529ebd 100644 --- a/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/comanaged_devices_item_set_cloud_pc_review_status_request_builder.go @@ -59,7 +59,7 @@ func (m *ComanagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_set_device_name_request_builder.go b/devicemanagement/comanaged_devices_item_set_device_name_request_builder.go index 2c2c8229a5b..18b69161f23 100644 --- a/devicemanagement/comanaged_devices_item_set_device_name_request_builder.go +++ b/devicemanagement/comanaged_devices_item_set_device_name_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemSetDeviceNameRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_shut_down_request_builder.go b/devicemanagement/comanaged_devices_item_shut_down_request_builder.go index b15c028634e..e24257ccf18 100644 --- a/devicemanagement/comanaged_devices_item_shut_down_request_builder.go +++ b/devicemanagement/comanaged_devices_item_shut_down_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemShutDownRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_sync_device_request_builder.go b/devicemanagement/comanaged_devices_item_sync_device_request_builder.go index 4169330cb0e..10d81d02587 100644 --- a/devicemanagement/comanaged_devices_item_sync_device_request_builder.go +++ b/devicemanagement/comanaged_devices_item_sync_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemSyncDeviceRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_trigger_configuration_manager_action_request_builder.go b/devicemanagement/comanaged_devices_item_trigger_configuration_manager_action_request_builder.go index c605bf89b5e..f4c0c98d03a 100644 --- a/devicemanagement/comanaged_devices_item_trigger_configuration_manager_action_request_builder.go +++ b/devicemanagement/comanaged_devices_item_trigger_configuration_manager_action_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_update_windows_device_account_request_builder.go b/devicemanagement/comanaged_devices_item_update_windows_device_account_request_builder.go index b83e71d1862..2f8a50b862b 100644 --- a/devicemanagement/comanaged_devices_item_update_windows_device_account_request_builder.go +++ b/devicemanagement/comanaged_devices_item_update_windows_device_account_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_users_request_builder.go b/devicemanagement/comanaged_devices_item_users_request_builder.go index e7f354804ed..2bd3986f089 100644 --- a/devicemanagement/comanaged_devices_item_users_request_builder.go +++ b/devicemanagement/comanaged_devices_item_users_request_builder.go @@ -84,7 +84,7 @@ func (m *ComanagedDevicesItemUsersRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_windows_defender_scan_request_builder.go b/devicemanagement/comanaged_devices_item_windows_defender_scan_request_builder.go index 3ad8fa764aa..1522b5ccb46 100644 --- a/devicemanagement/comanaged_devices_item_windows_defender_scan_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_defender_scan_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemWindowsDefenderScanRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_windows_defender_update_signatures_request_builder.go b/devicemanagement/comanaged_devices_item_windows_defender_update_signatures_request_builder.go index 1c01d7d0ef4..c9d457cb9a4 100644 --- a/devicemanagement/comanaged_devices_item_windows_defender_update_signatures_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_defender_update_signatures_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_request_builder.go b/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_request_builder.go index 4189453539d..8a371cfa932 100644 --- a/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_request_builder.go @@ -125,7 +125,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to detectedMalwareState for deviceManagement @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go b/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go index e022840b5e8..383d4319246 100644 --- a/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device malware list @@ -134,7 +134,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property detectedMalwareState in deviceManagement @@ -147,7 +147,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_windows_protection_state_request_builder.go b/devicemanagement/comanaged_devices_item_windows_protection_state_request_builder.go index 5dae5e82c4d..370332c519d 100644 --- a/devicemanagement/comanaged_devices_item_windows_protection_state_request_builder.go +++ b/devicemanagement/comanaged_devices_item_windows_protection_state_request_builder.go @@ -122,7 +122,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the device protection status. This property is read-only. @@ -138,7 +138,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsProtectionState in deviceManagement @@ -151,7 +151,7 @@ func (m *ComanagedDevicesItemWindowsProtectionStateRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_item_wipe_request_builder.go b/devicemanagement/comanaged_devices_item_wipe_request_builder.go index 93cfbf63150..b3b64b3d300 100644 --- a/devicemanagement/comanaged_devices_item_wipe_request_builder.go +++ b/devicemanagement/comanaged_devices_item_wipe_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesItemWipeRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_managed_device_item_request_builder.go b/devicemanagement/comanaged_devices_managed_device_item_request_builder.go index 9a58de8a4cd..5d66ddbd2eb 100644 --- a/devicemanagement/comanaged_devices_managed_device_item_request_builder.go +++ b/devicemanagement/comanaged_devices_managed_device_item_request_builder.go @@ -318,7 +318,7 @@ func (m *ComanagedDevicesManagedDeviceItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of co-managed devices report @@ -334,7 +334,7 @@ func (m *ComanagedDevicesManagedDeviceItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property comanagedDevices in deviceManagement @@ -347,7 +347,7 @@ func (m *ComanagedDevicesManagedDeviceItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_move_devices_to_o_u_request_builder.go b/devicemanagement/comanaged_devices_move_devices_to_o_u_request_builder.go index cda32c70494..ff65ce26093 100644 --- a/devicemanagement/comanaged_devices_move_devices_to_o_u_request_builder.go +++ b/devicemanagement/comanaged_devices_move_devices_to_o_u_request_builder.go @@ -56,7 +56,7 @@ func (m *ComanagedDevicesMoveDevicesToOURequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanaged_devices_request_builder.go b/devicemanagement/comanaged_devices_request_builder.go index 583d459e402..b6c5f50d627 100644 --- a/devicemanagement/comanaged_devices_request_builder.go +++ b/devicemanagement/comanaged_devices_request_builder.go @@ -153,7 +153,7 @@ func (m *ComanagedDevicesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to comanagedDevices for deviceManagement @@ -166,7 +166,7 @@ func (m *ComanagedDevicesRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanagement_eligible_devices_comanagement_eligible_device_item_request_builder.go b/devicemanagement/comanagement_eligible_devices_comanagement_eligible_device_item_request_builder.go index 65b4ac5e674..c0d8dc04be2 100644 --- a/devicemanagement/comanagement_eligible_devices_comanagement_eligible_device_item_request_builder.go +++ b/devicemanagement/comanagement_eligible_devices_comanagement_eligible_device_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ComanagementEligibleDevicesComanagementEligibleDeviceItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of co-management eligible devices report @@ -134,7 +134,7 @@ func (m *ComanagementEligibleDevicesComanagementEligibleDeviceItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property comanagementEligibleDevices in deviceManagement @@ -147,7 +147,7 @@ func (m *ComanagementEligibleDevicesComanagementEligibleDeviceItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/comanagement_eligible_devices_request_builder.go b/devicemanagement/comanagement_eligible_devices_request_builder.go index 6a5ed087f1f..4bf644b00bc 100644 --- a/devicemanagement/comanagement_eligible_devices_request_builder.go +++ b/devicemanagement/comanagement_eligible_devices_request_builder.go @@ -125,7 +125,7 @@ func (m *ComanagementEligibleDevicesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to comanagementEligibleDevices for deviceManagement @@ -138,7 +138,7 @@ func (m *ComanagementEligibleDevicesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_categories_device_management_configuration_category_item_request_builder.go b/devicemanagement/compliance_categories_device_management_configuration_category_item_request_builder.go index 3c8daf8fe5c..be8198328f0 100644 --- a/devicemanagement/compliance_categories_device_management_configuration_category_item_request_builder.go +++ b/devicemanagement/compliance_categories_device_management_configuration_category_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ComplianceCategoriesDeviceManagementConfigurationCategoryItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of all compliance categories @@ -134,7 +134,7 @@ func (m *ComplianceCategoriesDeviceManagementConfigurationCategoryItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property complianceCategories in deviceManagement @@ -147,7 +147,7 @@ func (m *ComplianceCategoriesDeviceManagementConfigurationCategoryItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_categories_request_builder.go b/devicemanagement/compliance_categories_request_builder.go index 52f9793687f..d4c8786b688 100644 --- a/devicemanagement/compliance_categories_request_builder.go +++ b/devicemanagement/compliance_categories_request_builder.go @@ -125,7 +125,7 @@ func (m *ComplianceCategoriesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to complianceCategories for deviceManagement @@ -138,7 +138,7 @@ func (m *ComplianceCategoriesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go b/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go index 40f189418ee..0717c31a26b 100644 --- a/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go +++ b/devicemanagement/compliance_management_partners_compliance_management_partner_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of Compliance Management Partners configured by the tenant. @@ -134,7 +134,7 @@ func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property complianceManagementPartners in deviceManagement @@ -147,7 +147,7 @@ func (m *ComplianceManagementPartnersComplianceManagementPartnerItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_management_partners_request_builder.go b/devicemanagement/compliance_management_partners_request_builder.go index 14ef2207836..ca93ac0fc57 100644 --- a/devicemanagement/compliance_management_partners_request_builder.go +++ b/devicemanagement/compliance_management_partners_request_builder.go @@ -125,7 +125,7 @@ func (m *ComplianceManagementPartnersRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to complianceManagementPartners for deviceManagement @@ -138,7 +138,7 @@ func (m *ComplianceManagementPartnersRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_device_management_compliance_policy_item_request_builder.go b/devicemanagement/compliance_policies_device_management_compliance_policy_item_request_builder.go index 3e6a57a28e2..680e5c3b48d 100644 --- a/devicemanagement/compliance_policies_device_management_compliance_policy_item_request_builder.go +++ b/devicemanagement/compliance_policies_device_management_compliance_policy_item_request_builder.go @@ -138,7 +138,7 @@ func (m *CompliancePoliciesDeviceManagementCompliancePolicyItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of all compliance policies @@ -154,7 +154,7 @@ func (m *CompliancePoliciesDeviceManagementCompliancePolicyItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property compliancePolicies in deviceManagement @@ -167,7 +167,7 @@ func (m *CompliancePoliciesDeviceManagementCompliancePolicyItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_item_assign_request_builder.go b/devicemanagement/compliance_policies_item_assign_request_builder.go index 93b46dde0fe..b75f662bc5d 100644 --- a/devicemanagement/compliance_policies_item_assign_request_builder.go +++ b/devicemanagement/compliance_policies_item_assign_request_builder.go @@ -79,7 +79,7 @@ func (m *CompliancePoliciesItemAssignRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go b/devicemanagement/compliance_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go index f4414e508bf..16b011d4e86 100644 --- a/devicemanagement/compliance_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go +++ b/devicemanagement/compliance_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompliancePoliciesItemAssignmentsDeviceManagementConfigurationPolicyAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation policy assignments @@ -134,7 +134,7 @@ func (m *CompliancePoliciesItemAssignmentsDeviceManagementConfigurationPolicyAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *CompliancePoliciesItemAssignmentsDeviceManagementConfigurationPolicyAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_item_assignments_request_builder.go b/devicemanagement/compliance_policies_item_assignments_request_builder.go index 59faa59b5eb..e02976e957f 100644 --- a/devicemanagement/compliance_policies_item_assignments_request_builder.go +++ b/devicemanagement/compliance_policies_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *CompliancePoliciesItemAssignmentsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *CompliancePoliciesItemAssignmentsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_device_management_compliance_scheduled_action_for_rule_item_request_builder.go b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_device_management_compliance_scheduled_action_for_rule_item_request_builder.go index 0796f2a5a62..ca8402d7d86 100644 --- a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_device_management_compliance_scheduled_action_for_rule_item_request_builder.go +++ b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_device_management_compliance_scheduled_action_for_rule_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleDeviceManagementCompliance requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of scheduled action for this rule @@ -138,7 +138,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleDeviceManagementCompliance requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property scheduledActionsForRule in deviceManagement @@ -151,7 +151,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleDeviceManagementCompliance requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_management_compliance_action_item_item_request_builder.go b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_management_compliance_action_item_item_request_builder.go index b93676b099a..b5532730172 100644 --- a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_management_compliance_action_item_item_request_builder.go +++ b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_management_compliance_action_item_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of scheduled action configurations for this compliance policy. This collection can contain a maximum of 100 elements. @@ -134,7 +134,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property scheduledActionConfigurations in deviceManagement @@ -147,7 +147,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go index 336ff36c064..57002ef06fb 100644 --- a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go +++ b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go @@ -125,7 +125,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to scheduledActionConfigurations for deviceManagement @@ -138,7 +138,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleItemScheduledActionConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_request_builder.go b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_request_builder.go index ea898dc411f..d203a94c11a 100644 --- a/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_request_builder.go +++ b/devicemanagement/compliance_policies_item_scheduled_actions_for_rule_request_builder.go @@ -125,7 +125,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to scheduledActionsForRule for deviceManagement @@ -138,7 +138,7 @@ func (m *CompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_item_set_scheduled_actions_request_builder.go b/devicemanagement/compliance_policies_item_set_scheduled_actions_request_builder.go index 66b5aa87075..a772081a08f 100644 --- a/devicemanagement/compliance_policies_item_set_scheduled_actions_request_builder.go +++ b/devicemanagement/compliance_policies_item_set_scheduled_actions_request_builder.go @@ -79,7 +79,7 @@ func (m *CompliancePoliciesItemSetScheduledActionsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_item_settings_device_management_configuration_setting_item_request_builder.go b/devicemanagement/compliance_policies_item_settings_device_management_configuration_setting_item_request_builder.go index 1112cb60551..3cd53925260 100644 --- a/devicemanagement/compliance_policies_item_settings_device_management_configuration_setting_item_request_builder.go +++ b/devicemanagement/compliance_policies_item_settings_device_management_configuration_setting_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompliancePoliciesItemSettingsDeviceManagementConfigurationSettingItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation policy settings @@ -138,7 +138,7 @@ func (m *CompliancePoliciesItemSettingsDeviceManagementConfigurationSettingItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in deviceManagement @@ -151,7 +151,7 @@ func (m *CompliancePoliciesItemSettingsDeviceManagementConfigurationSettingItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/compliance_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index 346230cd57e..3b47a93554f 100644 --- a/devicemanagement/compliance_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/compliance_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *CompliancePoliciesItemSettingsItemSettingDefinitionsDeviceManagementCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/compliance_policies_item_settings_item_setting_definitions_request_builder.go b/devicemanagement/compliance_policies_item_settings_item_setting_definitions_request_builder.go index 9e5bc5d0861..c0d403d9ca5 100644 --- a/devicemanagement/compliance_policies_item_settings_item_setting_definitions_request_builder.go +++ b/devicemanagement/compliance_policies_item_settings_item_setting_definitions_request_builder.go @@ -99,7 +99,7 @@ func (m *CompliancePoliciesItemSettingsItemSettingDefinitionsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/compliance_policies_item_settings_request_builder.go b/devicemanagement/compliance_policies_item_settings_request_builder.go index d16e227b8d2..e35eb9a36a9 100644 --- a/devicemanagement/compliance_policies_item_settings_request_builder.go +++ b/devicemanagement/compliance_policies_item_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *CompliancePoliciesItemSettingsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settings for deviceManagement @@ -138,7 +138,7 @@ func (m *CompliancePoliciesItemSettingsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_policies_request_builder.go b/devicemanagement/compliance_policies_request_builder.go index a85fcf903a9..fb1c691c0b9 100644 --- a/devicemanagement/compliance_policies_request_builder.go +++ b/devicemanagement/compliance_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *CompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to compliancePolicies for deviceManagement @@ -138,7 +138,7 @@ func (m *CompliancePoliciesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_settings_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/compliance_settings_device_management_configuration_setting_definition_item_request_builder.go index d5734f5ab2d..f315b8c5dc3 100644 --- a/devicemanagement/compliance_settings_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/compliance_settings_device_management_configuration_setting_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ComplianceSettingsDeviceManagementConfigurationSettingDefinitionItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of all ComplianceSettings @@ -134,7 +134,7 @@ func (m *ComplianceSettingsDeviceManagementConfigurationSettingDefinitionItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property complianceSettings in deviceManagement @@ -147,7 +147,7 @@ func (m *ComplianceSettingsDeviceManagementConfigurationSettingDefinitionItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/compliance_settings_request_builder.go b/devicemanagement/compliance_settings_request_builder.go index af5e768139f..f3e4c896a3f 100644 --- a/devicemanagement/compliance_settings_request_builder.go +++ b/devicemanagement/compliance_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *ComplianceSettingsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to complianceSettings for deviceManagement @@ -138,7 +138,7 @@ func (m *ComplianceSettingsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/conditional_access_settings_request_builder.go b/devicemanagement/conditional_access_settings_request_builder.go index 6bd2d01966f..a00e01d6a8b 100644 --- a/devicemanagement/conditional_access_settings_request_builder.go +++ b/devicemanagement/conditional_access_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *ConditionalAccessSettingsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access @@ -134,7 +134,7 @@ func (m *ConditionalAccessSettingsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property conditionalAccessSettings in deviceManagement @@ -147,7 +147,7 @@ func (m *ConditionalAccessSettingsRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/config_manager_collections_config_manager_collection_item_request_builder.go b/devicemanagement/config_manager_collections_config_manager_collection_item_request_builder.go index f1b0a9db08e..229c4fd8610 100644 --- a/devicemanagement/config_manager_collections_config_manager_collection_item_request_builder.go +++ b/devicemanagement/config_manager_collections_config_manager_collection_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ConfigManagerCollectionsConfigManagerCollectionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of ConfigManagerCollection @@ -134,7 +134,7 @@ func (m *ConfigManagerCollectionsConfigManagerCollectionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property configManagerCollections in deviceManagement @@ -147,7 +147,7 @@ func (m *ConfigManagerCollectionsConfigManagerCollectionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/config_manager_collections_get_policy_summary_with_policy_id_request_builder.go b/devicemanagement/config_manager_collections_get_policy_summary_with_policy_id_request_builder.go index ad7478596c1..c10b3410443 100644 --- a/devicemanagement/config_manager_collections_get_policy_summary_with_policy_id_request_builder.go +++ b/devicemanagement/config_manager_collections_get_policy_summary_with_policy_id_request_builder.go @@ -63,7 +63,7 @@ func (m *ConfigManagerCollectionsGetPolicySummaryWithPolicyIdRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/config_manager_collections_request_builder.go b/devicemanagement/config_manager_collections_request_builder.go index 4d87963ff50..982dda048bd 100644 --- a/devicemanagement/config_manager_collections_request_builder.go +++ b/devicemanagement/config_manager_collections_request_builder.go @@ -129,7 +129,7 @@ func (m *ConfigManagerCollectionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to configManagerCollections for deviceManagement @@ -142,7 +142,7 @@ func (m *ConfigManagerCollectionsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_categories_device_management_configuration_category_item_request_builder.go b/devicemanagement/configuration_categories_device_management_configuration_category_item_request_builder.go index 7bdeaf0be58..30288f4194f 100644 --- a/devicemanagement/configuration_categories_device_management_configuration_category_item_request_builder.go +++ b/devicemanagement/configuration_categories_device_management_configuration_category_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ConfigurationCategoriesDeviceManagementConfigurationCategoryItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of all Configuration Categories @@ -134,7 +134,7 @@ func (m *ConfigurationCategoriesDeviceManagementConfigurationCategoryItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property configurationCategories in deviceManagement @@ -147,7 +147,7 @@ func (m *ConfigurationCategoriesDeviceManagementConfigurationCategoryItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_categories_request_builder.go b/devicemanagement/configuration_categories_request_builder.go index bbc1507fd03..71bb70667f8 100644 --- a/devicemanagement/configuration_categories_request_builder.go +++ b/devicemanagement/configuration_categories_request_builder.go @@ -125,7 +125,7 @@ func (m *ConfigurationCategoriesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to configurationCategories for deviceManagement @@ -138,7 +138,7 @@ func (m *ConfigurationCategoriesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policies_device_management_configuration_policy_item_request_builder.go b/devicemanagement/configuration_policies_device_management_configuration_policy_item_request_builder.go index b4b9d7dd335..f8725467abb 100644 --- a/devicemanagement/configuration_policies_device_management_configuration_policy_item_request_builder.go +++ b/devicemanagement/configuration_policies_device_management_configuration_policy_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of all Configuration policies @@ -158,7 +158,7 @@ func (m *ConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property configurationPolicies in deviceManagement @@ -171,7 +171,7 @@ func (m *ConfigurationPoliciesDeviceManagementConfigurationPolicyItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policies_item_assign_request_builder.go b/devicemanagement/configuration_policies_item_assign_request_builder.go index 8f0c6568a94..b0e600789df 100644 --- a/devicemanagement/configuration_policies_item_assign_request_builder.go +++ b/devicemanagement/configuration_policies_item_assign_request_builder.go @@ -79,7 +79,7 @@ func (m *ConfigurationPoliciesItemAssignRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go b/devicemanagement/configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go index 6757ad1301d..716a94ce0f5 100644 --- a/devicemanagement/configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go +++ b/devicemanagement/configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation policy assignments @@ -134,7 +134,7 @@ func (m *ConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *ConfigurationPoliciesItemAssignmentsDeviceManagementConfigurationPolicy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policies_item_assignments_request_builder.go b/devicemanagement/configuration_policies_item_assignments_request_builder.go index e7570ed47e6..e838a1178ef 100644 --- a/devicemanagement/configuration_policies_item_assignments_request_builder.go +++ b/devicemanagement/configuration_policies_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *ConfigurationPoliciesItemAssignmentsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *ConfigurationPoliciesItemAssignmentsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policies_item_create_copy_request_builder.go b/devicemanagement/configuration_policies_item_create_copy_request_builder.go index d14c690bf3d..4f1758ea5c6 100644 --- a/devicemanagement/configuration_policies_item_create_copy_request_builder.go +++ b/devicemanagement/configuration_policies_item_create_copy_request_builder.go @@ -60,7 +60,7 @@ func (m *ConfigurationPoliciesItemCreateCopyRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policies_item_reorder_request_builder.go b/devicemanagement/configuration_policies_item_reorder_request_builder.go index 5fef1d2be30..9f3c9ea771e 100644 --- a/devicemanagement/configuration_policies_item_reorder_request_builder.go +++ b/devicemanagement/configuration_policies_item_reorder_request_builder.go @@ -56,7 +56,7 @@ func (m *ConfigurationPoliciesItemReorderRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policies_item_retrieve_latest_upgrade_default_baseline_policy_request_builder.go b/devicemanagement/configuration_policies_item_retrieve_latest_upgrade_default_baseline_policy_request_builder.go index 7e8f738e2a2..80e9dd87522 100644 --- a/devicemanagement/configuration_policies_item_retrieve_latest_upgrade_default_baseline_policy_request_builder.go +++ b/devicemanagement/configuration_policies_item_retrieve_latest_upgrade_default_baseline_policy_request_builder.go @@ -60,7 +60,7 @@ func (m *ConfigurationPoliciesItemRetrieveLatestUpgradeDefaultBaselinePolicyRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go b/devicemanagement/configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go index 326a2f2961e..962874e59c0 100644 --- a/devicemanagement/configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go +++ b/devicemanagement/configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation policy settings @@ -138,7 +138,7 @@ func (m *ConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in deviceManagement @@ -151,7 +151,7 @@ func (m *ConfigurationPoliciesItemSettingsDeviceManagementConfigurationSettingIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index c5e235acde9..f3b47f4f2aa 100644 --- a/devicemanagement/configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ConfigurationPoliciesItemSettingsItemSettingDefinitionsDeviceManagement requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/configuration_policies_item_settings_item_setting_definitions_request_builder.go b/devicemanagement/configuration_policies_item_settings_item_setting_definitions_request_builder.go index de501960280..9e70a3edc63 100644 --- a/devicemanagement/configuration_policies_item_settings_item_setting_definitions_request_builder.go +++ b/devicemanagement/configuration_policies_item_settings_item_setting_definitions_request_builder.go @@ -99,7 +99,7 @@ func (m *ConfigurationPoliciesItemSettingsItemSettingDefinitionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/configuration_policies_item_settings_request_builder.go b/devicemanagement/configuration_policies_item_settings_request_builder.go index 4a0c18c5df2..7429f352ec8 100644 --- a/devicemanagement/configuration_policies_item_settings_request_builder.go +++ b/devicemanagement/configuration_policies_item_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *ConfigurationPoliciesItemSettingsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settings for deviceManagement @@ -138,7 +138,7 @@ func (m *ConfigurationPoliciesItemSettingsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policies_request_builder.go b/devicemanagement/configuration_policies_request_builder.go index 6065dd626d3..9f22a565fd5 100644 --- a/devicemanagement/configuration_policies_request_builder.go +++ b/devicemanagement/configuration_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ConfigurationPoliciesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to configurationPolicies for deviceManagement @@ -138,7 +138,7 @@ func (m *ConfigurationPoliciesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policy_templates_device_management_configuration_policy_template_item_request_builder.go b/devicemanagement/configuration_policy_templates_device_management_configuration_policy_template_item_request_builder.go index 9e5831e4c17..0cfd79b71dc 100644 --- a/devicemanagement/configuration_policy_templates_device_management_configuration_policy_template_item_request_builder.go +++ b/devicemanagement/configuration_policy_templates_device_management_configuration_policy_template_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ConfigurationPolicyTemplatesDeviceManagementConfigurationPolicyTemplate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of all templates @@ -138,7 +138,7 @@ func (m *ConfigurationPolicyTemplatesDeviceManagementConfigurationPolicyTemplate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property configurationPolicyTemplates in deviceManagement @@ -151,7 +151,7 @@ func (m *ConfigurationPolicyTemplatesDeviceManagementConfigurationPolicyTemplate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policy_templates_item_setting_templates_device_management_configuration_setting_template_item_request_builder.go b/devicemanagement/configuration_policy_templates_item_setting_templates_device_management_configuration_setting_template_item_request_builder.go index 43261fa2c42..69a9d318faa 100644 --- a/devicemanagement/configuration_policy_templates_item_setting_templates_device_management_configuration_setting_template_item_request_builder.go +++ b/devicemanagement/configuration_policy_templates_item_setting_templates_device_management_configuration_setting_template_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesDeviceManagementConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation setting templates @@ -138,7 +138,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesDeviceManagementConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingTemplates in deviceManagement @@ -151,7 +151,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesDeviceManagementConfigu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index 332b4022201..d3ee6fd5934 100644 --- a/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of related Setting Definitions @@ -134,7 +134,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingDefinitions in deviceManagement @@ -147,7 +147,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_request_builder.go b/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_request_builder.go index 92403b408c3..8e16809c02e 100644 --- a/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_request_builder.go +++ b/devicemanagement/configuration_policy_templates_item_setting_templates_item_setting_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingDefinitions for deviceManagement @@ -138,7 +138,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesItemSettingDefinitionsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policy_templates_item_setting_templates_request_builder.go b/devicemanagement/configuration_policy_templates_item_setting_templates_request_builder.go index eb1f8ea3554..6db34683aa5 100644 --- a/devicemanagement/configuration_policy_templates_item_setting_templates_request_builder.go +++ b/devicemanagement/configuration_policy_templates_item_setting_templates_request_builder.go @@ -125,7 +125,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingTemplates for deviceManagement @@ -138,7 +138,7 @@ func (m *ConfigurationPolicyTemplatesItemSettingTemplatesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_policy_templates_request_builder.go b/devicemanagement/configuration_policy_templates_request_builder.go index fef5598eaea..428d9f3b693 100644 --- a/devicemanagement/configuration_policy_templates_request_builder.go +++ b/devicemanagement/configuration_policy_templates_request_builder.go @@ -125,7 +125,7 @@ func (m *ConfigurationPolicyTemplatesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to configurationPolicyTemplates for deviceManagement @@ -138,7 +138,7 @@ func (m *ConfigurationPolicyTemplatesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_settings_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/configuration_settings_device_management_configuration_setting_definition_item_request_builder.go index 7c8a61dd0d4..599db04a3ed 100644 --- a/devicemanagement/configuration_settings_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/configuration_settings_device_management_configuration_setting_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ConfigurationSettingsDeviceManagementConfigurationSettingDefinitionItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of all ConfigurationSettings @@ -134,7 +134,7 @@ func (m *ConfigurationSettingsDeviceManagementConfigurationSettingDefinitionItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property configurationSettings in deviceManagement @@ -147,7 +147,7 @@ func (m *ConfigurationSettingsDeviceManagementConfigurationSettingDefinitionItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/configuration_settings_request_builder.go b/devicemanagement/configuration_settings_request_builder.go index 39395901326..91cbe221404 100644 --- a/devicemanagement/configuration_settings_request_builder.go +++ b/devicemanagement/configuration_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *ConfigurationSettingsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to configurationSettings for deviceManagement @@ -138,7 +138,7 @@ func (m *ConfigurationSettingsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/data_sharing_consents_data_sharing_consent_item_request_builder.go b/devicemanagement/data_sharing_consents_data_sharing_consent_item_request_builder.go index 176560fcadd..ed4c16497cb 100644 --- a/devicemanagement/data_sharing_consents_data_sharing_consent_item_request_builder.go +++ b/devicemanagement/data_sharing_consents_data_sharing_consent_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DataSharingConsentsDataSharingConsentItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation data sharing consents. @@ -138,7 +138,7 @@ func (m *DataSharingConsentsDataSharingConsentItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dataSharingConsents in deviceManagement @@ -151,7 +151,7 @@ func (m *DataSharingConsentsDataSharingConsentItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/data_sharing_consents_item_consent_to_data_sharing_request_builder.go b/devicemanagement/data_sharing_consents_item_consent_to_data_sharing_request_builder.go index 108f8b1422e..f87edce2fc5 100644 --- a/devicemanagement/data_sharing_consents_item_consent_to_data_sharing_request_builder.go +++ b/devicemanagement/data_sharing_consents_item_consent_to_data_sharing_request_builder.go @@ -60,7 +60,7 @@ func (m *DataSharingConsentsItemConsentToDataSharingRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/data_sharing_consents_request_builder.go b/devicemanagement/data_sharing_consents_request_builder.go index 8403b53f1c5..59d08962d4a 100644 --- a/devicemanagement/data_sharing_consents_request_builder.go +++ b/devicemanagement/data_sharing_consents_request_builder.go @@ -125,7 +125,7 @@ func (m *DataSharingConsentsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dataSharingConsents for deviceManagement @@ -138,7 +138,7 @@ func (m *DataSharingConsentsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/dep_onboarding_settings_dep_onboarding_setting_item_request_builder.go b/devicemanagement/dep_onboarding_settings_dep_onboarding_setting_item_request_builder.go index e51ec2e4037..3540ff0b765 100644 --- a/devicemanagement/dep_onboarding_settings_dep_onboarding_setting_item_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_dep_onboarding_setting_item_request_builder.go @@ -150,7 +150,7 @@ func (m *DepOnboardingSettingsDepOnboardingSettingItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation this collections of multiple DEP tokens per-tenant. @@ -166,7 +166,7 @@ func (m *DepOnboardingSettingsDepOnboardingSettingItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property depOnboardingSettings in deviceManagement @@ -179,7 +179,7 @@ func (m *DepOnboardingSettingsDepOnboardingSettingItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/dep_onboarding_settings_get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.go b/devicemanagement/dep_onboarding_settings_get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.go index eb29695c7c2..ee74e139186 100644 --- a/devicemanagement/dep_onboarding_settings_get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.go @@ -82,7 +82,7 @@ func (m *DepOnboardingSettingsGetExpiringVppTokenCountWithExpiringBeforeDateTime requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/dep_onboarding_settings_item_default_ios_enrollment_profile_request_builder.go b/devicemanagement/dep_onboarding_settings_item_default_ios_enrollment_profile_request_builder.go index 662f1154311..9432d86c491 100644 --- a/devicemanagement/dep_onboarding_settings_item_default_ios_enrollment_profile_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_default_ios_enrollment_profile_request_builder.go @@ -72,7 +72,7 @@ func (m *DepOnboardingSettingsItemDefaultIosEnrollmentProfileRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/dep_onboarding_settings_item_default_mac_os_enrollment_profile_request_builder.go b/devicemanagement/dep_onboarding_settings_item_default_mac_os_enrollment_profile_request_builder.go index 16b3c1aed13..ef4df4241df 100644 --- a/devicemanagement/dep_onboarding_settings_item_default_mac_os_enrollment_profile_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_default_mac_os_enrollment_profile_request_builder.go @@ -72,7 +72,7 @@ func (m *DepOnboardingSettingsItemDefaultMacOsEnrollmentProfileRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_enrollment_profile_item_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_enrollment_profile_item_request_builder.go index 62a2a2b5694..e08c33beba0 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_enrollment_profile_item_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_enrollment_profile_item_request_builder.go @@ -126,7 +126,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesEnrollmentProfileItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the enrollment profiles. @@ -142,7 +142,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesEnrollmentProfileItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property enrollmentProfiles in deviceManagement @@ -155,7 +155,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesEnrollmentProfileItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_export_mobile_config_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_export_mobile_config_request_builder.go index 520f80fc9a1..38cf002f04e 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_export_mobile_config_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_export_mobile_config_request_builder.go @@ -79,7 +79,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesItemExportMobileConfigReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_set_default_profile_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_set_default_profile_request_builder.go index df7cb61f403..8bec0cc81fb 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_set_default_profile_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_set_default_profile_request_builder.go @@ -56,7 +56,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesItemSetDefaultProfileRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_update_device_profile_assignment_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_update_device_profile_assignment_request_builder.go index d2460d4294b..294b9694ae4 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_update_device_profile_assignment_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_item_update_device_profile_assignment_request_builder.go @@ -56,7 +56,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesItemUpdateDeviceProfileAssig requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_request_builder.go b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_request_builder.go index 12f0df8268f..c9850d5c0e5 100644 --- a/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_enrollment_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to enrollmentProfiles for deviceManagement @@ -138,7 +138,7 @@ func (m *DepOnboardingSettingsItemEnrollmentProfilesRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/dep_onboarding_settings_item_generate_encryption_public_key_request_builder.go b/devicemanagement/dep_onboarding_settings_item_generate_encryption_public_key_request_builder.go index a2baa947131..f90cedac150 100644 --- a/devicemanagement/dep_onboarding_settings_item_generate_encryption_public_key_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_generate_encryption_public_key_request_builder.go @@ -79,7 +79,7 @@ func (m *DepOnboardingSettingsItemGenerateEncryptionPublicKeyRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/dep_onboarding_settings_item_get_encryption_public_key_request_builder.go b/devicemanagement/dep_onboarding_settings_item_get_encryption_public_key_request_builder.go index 49f7eb65444..2a004cd79f3 100644 --- a/devicemanagement/dep_onboarding_settings_item_get_encryption_public_key_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_get_encryption_public_key_request_builder.go @@ -79,7 +79,7 @@ func (m *DepOnboardingSettingsItemGetEncryptionPublicKeyRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_import_apple_device_identity_list_request_builder.go b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_import_apple_device_identity_list_request_builder.go index fff694f5d67..93121e0b842 100644 --- a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_import_apple_device_identity_list_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_import_apple_device_identity_list_request_builder.go @@ -79,7 +79,7 @@ func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportAppleDevice requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_imported_apple_device_identity_item_request_builder.go b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_imported_apple_device_identity_item_request_builder.go index 6aef387a30e..a56255a0cb7 100644 --- a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_imported_apple_device_identity_item_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_imported_apple_device_identity_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportedAppleDevi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the imported Apple device identities. @@ -134,7 +134,7 @@ func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportedAppleDevi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property importedAppleDeviceIdentities in deviceManagement @@ -147,7 +147,7 @@ func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesImportedAppleDevi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_request_builder.go b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_request_builder.go index 13f16ee8f93..e6f1da4e097 100644 --- a/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_imported_apple_device_identities_request_builder.go @@ -129,7 +129,7 @@ func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to importedAppleDeviceIdentities for deviceManagement @@ -142,7 +142,7 @@ func (m *DepOnboardingSettingsItemImportedAppleDeviceIdentitiesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/dep_onboarding_settings_item_share_for_school_data_sync_service_request_builder.go b/devicemanagement/dep_onboarding_settings_item_share_for_school_data_sync_service_request_builder.go index 3534e18d7f9..df5a53b49a6 100644 --- a/devicemanagement/dep_onboarding_settings_item_share_for_school_data_sync_service_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_share_for_school_data_sync_service_request_builder.go @@ -56,7 +56,7 @@ func (m *DepOnboardingSettingsItemShareForSchoolDataSyncServiceRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/dep_onboarding_settings_item_sync_with_apple_device_enrollment_program_request_builder.go b/devicemanagement/dep_onboarding_settings_item_sync_with_apple_device_enrollment_program_request_builder.go index 900a4566484..716f4048cca 100644 --- a/devicemanagement/dep_onboarding_settings_item_sync_with_apple_device_enrollment_program_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_sync_with_apple_device_enrollment_program_request_builder.go @@ -56,7 +56,7 @@ func (m *DepOnboardingSettingsItemSyncWithAppleDeviceEnrollmentProgramRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/dep_onboarding_settings_item_unshare_for_school_data_sync_service_request_builder.go b/devicemanagement/dep_onboarding_settings_item_unshare_for_school_data_sync_service_request_builder.go index 44c596bdfcf..d1734ef0305 100644 --- a/devicemanagement/dep_onboarding_settings_item_unshare_for_school_data_sync_service_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_unshare_for_school_data_sync_service_request_builder.go @@ -56,7 +56,7 @@ func (m *DepOnboardingSettingsItemUnshareForSchoolDataSyncServiceRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/dep_onboarding_settings_item_upload_dep_token_request_builder.go b/devicemanagement/dep_onboarding_settings_item_upload_dep_token_request_builder.go index 48032d62edb..11d9993119c 100644 --- a/devicemanagement/dep_onboarding_settings_item_upload_dep_token_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_item_upload_dep_token_request_builder.go @@ -56,7 +56,7 @@ func (m *DepOnboardingSettingsItemUploadDepTokenRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/dep_onboarding_settings_request_builder.go b/devicemanagement/dep_onboarding_settings_request_builder.go index 2456fc86312..4a3c47ab63a 100644 --- a/devicemanagement/dep_onboarding_settings_request_builder.go +++ b/devicemanagement/dep_onboarding_settings_request_builder.go @@ -129,7 +129,7 @@ func (m *DepOnboardingSettingsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to depOnboardingSettings for deviceManagement @@ -142,7 +142,7 @@ func (m *DepOnboardingSettingsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/derived_credentials_device_management_derived_credential_settings_item_request_builder.go b/devicemanagement/derived_credentials_device_management_derived_credential_settings_item_request_builder.go index c2bfd83a153..57360f6d89c 100644 --- a/devicemanagement/derived_credentials_device_management_derived_credential_settings_item_request_builder.go +++ b/devicemanagement/derived_credentials_device_management_derived_credential_settings_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DerivedCredentialsDeviceManagementDerivedCredentialSettingsItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of Derived credential settings associated with account. @@ -134,7 +134,7 @@ func (m *DerivedCredentialsDeviceManagementDerivedCredentialSettingsItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property derivedCredentials in deviceManagement @@ -147,7 +147,7 @@ func (m *DerivedCredentialsDeviceManagementDerivedCredentialSettingsItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/derived_credentials_request_builder.go b/devicemanagement/derived_credentials_request_builder.go index c30bcc8888b..3d8468452ce 100644 --- a/devicemanagement/derived_credentials_request_builder.go +++ b/devicemanagement/derived_credentials_request_builder.go @@ -125,7 +125,7 @@ func (m *DerivedCredentialsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to derivedCredentials for deviceManagement @@ -138,7 +138,7 @@ func (m *DerivedCredentialsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/detected_apps_detected_app_item_request_builder.go b/devicemanagement/detected_apps_detected_app_item_request_builder.go index f8d1b223e33..270c02a0003 100644 --- a/devicemanagement/detected_apps_detected_app_item_request_builder.go +++ b/devicemanagement/detected_apps_detected_app_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DetectedAppsDetectedAppItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of detected apps associated with a device. @@ -138,7 +138,7 @@ func (m *DetectedAppsDetectedAppItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property detectedApps in deviceManagement @@ -151,7 +151,7 @@ func (m *DetectedAppsDetectedAppItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/detected_apps_item_managed_devices_managed_device_item_request_builder.go b/devicemanagement/detected_apps_item_managed_devices_managed_device_item_request_builder.go index b743c93f5fa..c4a5b281784 100644 --- a/devicemanagement/detected_apps_item_managed_devices_managed_device_item_request_builder.go +++ b/devicemanagement/detected_apps_item_managed_devices_managed_device_item_request_builder.go @@ -72,7 +72,7 @@ func (m *DetectedAppsItemManagedDevicesManagedDeviceItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/detected_apps_item_managed_devices_request_builder.go b/devicemanagement/detected_apps_item_managed_devices_request_builder.go index 3c05dfc28a0..97062229f16 100644 --- a/devicemanagement/detected_apps_item_managed_devices_request_builder.go +++ b/devicemanagement/detected_apps_item_managed_devices_request_builder.go @@ -99,7 +99,7 @@ func (m *DetectedAppsItemManagedDevicesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/detected_apps_request_builder.go b/devicemanagement/detected_apps_request_builder.go index ed260e0006d..9786fa5d78d 100644 --- a/devicemanagement/detected_apps_request_builder.go +++ b/devicemanagement/detected_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *DetectedAppsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to detectedApps for deviceManagement @@ -138,7 +138,7 @@ func (m *DetectedAppsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_categories_device_category_item_request_builder.go b/devicemanagement/device_categories_device_category_item_request_builder.go index 99d613f7811..2f7c975f333 100644 --- a/devicemanagement/device_categories_device_category_item_request_builder.go +++ b/devicemanagement/device_categories_device_category_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of device categories with the tenant. @@ -134,7 +134,7 @@ func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCategories in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCategoriesDeviceCategoryItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_categories_request_builder.go b/devicemanagement/device_categories_request_builder.go index 2ca499e0e41..2c6d753e978 100644 --- a/devicemanagement/device_categories_request_builder.go +++ b/devicemanagement/device_categories_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceCategories for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCategoriesRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go b/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go index fea7fd9998d..20ac26602c7 100644 --- a/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_device_compliance_policy_item_request_builder.go @@ -146,7 +146,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the device compliance policies. @@ -162,7 +162,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCompliancePolicies in deviceManagement @@ -175,7 +175,7 @@ func (m *DeviceCompliancePoliciesDeviceCompliancePolicyItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_get_devices_scheduled_to_retire_request_builder.go b/devicemanagement/device_compliance_policies_get_devices_scheduled_to_retire_request_builder.go index da8cd084f15..266ab455795 100644 --- a/devicemanagement/device_compliance_policies_get_devices_scheduled_to_retire_request_builder.go +++ b/devicemanagement/device_compliance_policies_get_devices_scheduled_to_retire_request_builder.go @@ -97,7 +97,7 @@ func (m *DeviceCompliancePoliciesGetDevicesScheduledToRetireRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_compliance_policies_get_noncompliant_devices_to_retire_request_builder.go b/devicemanagement/device_compliance_policies_get_noncompliant_devices_to_retire_request_builder.go index ecb97f8013d..c408b2a1bc6 100644 --- a/devicemanagement/device_compliance_policies_get_noncompliant_devices_to_retire_request_builder.go +++ b/devicemanagement/device_compliance_policies_get_noncompliant_devices_to_retire_request_builder.go @@ -59,7 +59,7 @@ func (m *DeviceCompliancePoliciesGetNoncompliantDevicesToRetireRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_has_payload_links_request_builder.go b/devicemanagement/device_compliance_policies_has_payload_links_request_builder.go index d677375c8e8..b388e2ad78d 100644 --- a/devicemanagement/device_compliance_policies_has_payload_links_request_builder.go +++ b/devicemanagement/device_compliance_policies_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *DeviceCompliancePoliciesHasPayloadLinksRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_assign_request_builder.go b/devicemanagement/device_compliance_policies_item_assign_request_builder.go index 60e073b0d60..9fe8807e7ef 100644 --- a/devicemanagement/device_compliance_policies_item_assign_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_assign_request_builder.go @@ -79,7 +79,7 @@ func (m *DeviceCompliancePoliciesItemAssignRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go b/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go index 64c536b6201..01b09a09783 100644 --- a/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_assignments_device_compliance_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of assignments for this compliance policy. @@ -134,7 +134,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsDeviceCompliancePolicyAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_assignments_request_builder.go b/devicemanagement/device_compliance_policies_item_assignments_request_builder.go index 2d83b983b5c..2bfc4398083 100644 --- a/devicemanagement/device_compliance_policies_item_assignments_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemAssignmentsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_request_builder.go b/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_request_builder.go index 128b05e0df9..7f54993c0c9 100644 --- a/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCompliancePoliciesItemDeviceSettingStateSummariesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceSettingStateSummaries for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemDeviceSettingStateSummariesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go b/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go index 238f56ce6d9..e2b130b0c3d 100644 --- a/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCompliancePoliciesItemDeviceSettingStateSummariesSettingStateDevi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation compliance Setting State Device Summary @@ -134,7 +134,7 @@ func (m *DeviceCompliancePoliciesItemDeviceSettingStateSummariesSettingStateDevi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceSettingStateSummaries in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCompliancePoliciesItemDeviceSettingStateSummariesSettingStateDevi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go b/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go index f408af02c8c..b9c33fd5f7b 100644 --- a/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_status_overview_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device compliance devices status overview @@ -134,7 +134,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStatusOverview in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusOverviewRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go b/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go index 9df6d73e267..3891bb1cada 100644 --- a/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_statuses_device_compliance_device_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of DeviceComplianceDeviceStatus. @@ -134,7 +134,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStatuses in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesDeviceComplianceDeviceStatusI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go b/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go index 6f71ce1d290..a259f19c0fe 100644 --- a/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_device_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceStatuses for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemDeviceStatusesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go b/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go index 882fb199d24..f54f4d0a47a 100644 --- a/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_schedule_actions_for_rules_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceCompliancePoliciesItemScheduleActionsForRulesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_device_compliance_scheduled_action_for_rule_item_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_device_compliance_scheduled_action_for_rule_item_request_builder.go index 16603650266..3647f5dc8b5 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_device_compliance_scheduled_action_for_rule_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_device_compliance_scheduled_action_for_rule_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of scheduled action for this rule @@ -138,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property scheduledActionsForRule in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_compliance_action_item_item_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_compliance_action_item_item_request_builder.go index ac8827fdf88..9ade5b858fc 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_compliance_action_item_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_device_compliance_action_item_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of scheduled action configurations for this compliance policy. Compliance policy must have one and only one block scheduled action. @@ -134,7 +134,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property scheduledActionConfigurations in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go index 54ff904d520..c7b8af7f8d9 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_item_scheduled_action_configurations_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to scheduledActionConfigurations for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleItemScheduledActionC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go index 36220398535..fccd99f626d 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to scheduledActionsForRule for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go b/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go index 6bbd8e666cf..891b2f37a79 100644 --- a/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_user_status_overview_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device compliance users status overview @@ -134,7 +134,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userStatusOverview in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusOverviewRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go b/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go index f9a47b21c1a..8591437a3c9 100644 --- a/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_user_statuses_device_compliance_user_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of DeviceComplianceUserStatus. @@ -134,7 +134,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userStatuses in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesDeviceComplianceUserStatusItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go b/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go index 9ebee5c70b4..56bff71784d 100644 --- a/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_user_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userStatuses for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCompliancePoliciesItemUserStatusesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_refresh_device_compliance_report_summarization_request_builder.go b/devicemanagement/device_compliance_policies_refresh_device_compliance_report_summarization_request_builder.go index af7d09b3059..c7244cda702 100644 --- a/devicemanagement/device_compliance_policies_refresh_device_compliance_report_summarization_request_builder.go +++ b/devicemanagement/device_compliance_policies_refresh_device_compliance_report_summarization_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceCompliancePoliciesRefreshDeviceComplianceReportSummarizationReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_compliance_policies_request_builder.go b/devicemanagement/device_compliance_policies_request_builder.go index fa16813082c..12eccfb4e14 100644 --- a/devicemanagement/device_compliance_policies_request_builder.go +++ b/devicemanagement/device_compliance_policies_request_builder.go @@ -145,7 +145,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceCompliancePolicies for deviceManagement @@ -158,7 +158,7 @@ func (m *DeviceCompliancePoliciesRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_set_scheduled_retire_state_request_builder.go b/devicemanagement/device_compliance_policies_set_scheduled_retire_state_request_builder.go index 3f3214c80b5..66c698c0041 100644 --- a/devicemanagement/device_compliance_policies_set_scheduled_retire_state_request_builder.go +++ b/devicemanagement/device_compliance_policies_set_scheduled_retire_state_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceCompliancePoliciesSetScheduledRetireStateRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policies_validate_compliance_script_request_builder.go b/devicemanagement/device_compliance_policies_validate_compliance_script_request_builder.go index e152b7be3fc..84b54515705 100644 --- a/devicemanagement/device_compliance_policies_validate_compliance_script_request_builder.go +++ b/devicemanagement/device_compliance_policies_validate_compliance_script_request_builder.go @@ -60,7 +60,7 @@ func (m *DeviceCompliancePoliciesValidateComplianceScriptRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go b/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go index b38615b80e6..aabbfd8c4d7 100644 --- a/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go +++ b/devicemanagement/device_compliance_policy_device_state_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the device compliance state summary for this account. @@ -134,7 +134,7 @@ func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCompliancePolicyDeviceStateSummary in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCompliancePolicyDeviceStateSummaryRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go b/devicemanagement/device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go index f93f0e4a3b4..0bfdae239f1 100644 --- a/devicemanagement/device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go +++ b/devicemanagement/device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the summary states of compliance policy settings for this account. @@ -138,7 +138,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCompliancePolicySettingStateSummaries in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesDeviceCompliancePolicySettin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_device_compliance_setting_state_item_request_builder.go b/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_device_compliance_setting_state_item_request_builder.go index e5fd769a88b..bfec28bc216 100644 --- a/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_device_compliance_setting_state_item_request_builder.go +++ b/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_device_compliance_setting_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get deviceComplianceSettingStates from deviceManagement @@ -134,7 +134,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceComplianceSettingStates in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_request_builder.go b/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_request_builder.go index aa5bf215867..fd567ef7d33 100644 --- a/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_request_builder.go +++ b/devicemanagement/device_compliance_policy_setting_state_summaries_item_device_compliance_setting_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceComplianceSettingStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesItemDeviceComplianceSettingS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go b/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go index 6146721f06d..89bb482bb24 100644 --- a/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go +++ b/devicemanagement/device_compliance_policy_setting_state_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceCompliancePolicySettingStateSummaries for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCompliancePolicySettingStateSummariesRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_scripts_device_compliance_script_item_request_builder.go b/devicemanagement/device_compliance_scripts_device_compliance_script_item_request_builder.go index 31a9619f30f..0982ae87f11 100644 --- a/devicemanagement/device_compliance_scripts_device_compliance_script_item_request_builder.go +++ b/devicemanagement/device_compliance_scripts_device_compliance_script_item_request_builder.go @@ -134,7 +134,7 @@ func (m *DeviceComplianceScriptsDeviceComplianceScriptItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of device compliance scripts associated with the tenant. @@ -150,7 +150,7 @@ func (m *DeviceComplianceScriptsDeviceComplianceScriptItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceComplianceScripts in deviceManagement @@ -163,7 +163,7 @@ func (m *DeviceComplianceScriptsDeviceComplianceScriptItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_scripts_item_assign_request_builder.go b/devicemanagement/device_compliance_scripts_item_assign_request_builder.go index a70d81febfb..c29083a3b1d 100644 --- a/devicemanagement/device_compliance_scripts_item_assign_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceComplianceScriptsItemAssignRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_scripts_item_assignments_device_health_script_assignment_item_request_builder.go b/devicemanagement/device_compliance_scripts_item_assignments_device_health_script_assignment_item_request_builder.go index 851cff50928..78303342aba 100644 --- a/devicemanagement/device_compliance_scripts_item_assignments_device_health_script_assignment_item_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_assignments_device_health_script_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceComplianceScriptsItemAssignmentsDeviceHealthScriptAssignmentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device compliance script @@ -134,7 +134,7 @@ func (m *DeviceComplianceScriptsItemAssignmentsDeviceHealthScriptAssignmentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceComplianceScriptsItemAssignmentsDeviceHealthScriptAssignmentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_scripts_item_assignments_request_builder.go b/devicemanagement/device_compliance_scripts_item_assignments_request_builder.go index 952271ea7d1..5787258133d 100644 --- a/devicemanagement/device_compliance_scripts_item_assignments_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceComplianceScriptsItemAssignmentsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceComplianceScriptsItemAssignmentsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_scripts_item_device_run_states_device_compliance_script_device_state_item_request_builder.go b/devicemanagement/device_compliance_scripts_item_device_run_states_device_compliance_script_device_state_item_request_builder.go index 2edbb48144e..4457deb2da3 100644 --- a/devicemanagement/device_compliance_scripts_item_device_run_states_device_compliance_script_device_state_item_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_device_run_states_device_compliance_script_device_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceComplianceScriptsItemDeviceRunStatesDeviceComplianceScriptDeviceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for the device compliance script across all devices @@ -138,7 +138,7 @@ func (m *DeviceComplianceScriptsItemDeviceRunStatesDeviceComplianceScriptDeviceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceComplianceScriptsItemDeviceRunStatesDeviceComplianceScriptDeviceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_scripts_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_compliance_scripts_item_device_run_states_item_managed_device_request_builder.go index cd20e6799c9..2ad0bc4cad1 100644 --- a/devicemanagement/device_compliance_scripts_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_device_run_states_item_managed_device_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceComplianceScriptsItemDeviceRunStatesItemManagedDeviceRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_compliance_scripts_item_device_run_states_request_builder.go b/devicemanagement/device_compliance_scripts_item_device_run_states_request_builder.go index dc37606d60b..ded83796395 100644 --- a/devicemanagement/device_compliance_scripts_item_device_run_states_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_device_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceComplianceScriptsItemDeviceRunStatesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceComplianceScriptsItemDeviceRunStatesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_scripts_item_run_summary_request_builder.go b/devicemanagement/device_compliance_scripts_item_run_summary_request_builder.go index 249f3409b99..786045b2d0c 100644 --- a/devicemanagement/device_compliance_scripts_item_run_summary_request_builder.go +++ b/devicemanagement/device_compliance_scripts_item_run_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceComplianceScriptsItemRunSummaryRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation high level run summary for device compliance script. @@ -134,7 +134,7 @@ func (m *DeviceComplianceScriptsItemRunSummaryRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property runSummary in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceComplianceScriptsItemRunSummaryRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_compliance_scripts_request_builder.go b/devicemanagement/device_compliance_scripts_request_builder.go index 5b1c85df92b..9676769420f 100644 --- a/devicemanagement/device_compliance_scripts_request_builder.go +++ b/devicemanagement/device_compliance_scripts_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceComplianceScriptsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceComplianceScripts for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceComplianceScriptsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configuration_conflict_summary_device_configuration_conflict_summary_item_request_builder.go b/devicemanagement/device_configuration_conflict_summary_device_configuration_conflict_summary_item_request_builder.go index 32bdc08a957..e67c043caad 100644 --- a/devicemanagement/device_configuration_conflict_summary_device_configuration_conflict_summary_item_request_builder.go +++ b/devicemanagement/device_configuration_conflict_summary_device_configuration_conflict_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationConflictSummaryDeviceConfigurationConflictSummaryIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation summary of policies in conflict state for this account. @@ -134,7 +134,7 @@ func (m *DeviceConfigurationConflictSummaryDeviceConfigurationConflictSummaryIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceConfigurationConflictSummary in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationConflictSummaryDeviceConfigurationConflictSummaryIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configuration_conflict_summary_request_builder.go b/devicemanagement/device_configuration_conflict_summary_request_builder.go index 299c3011f5f..73851669404 100644 --- a/devicemanagement/device_configuration_conflict_summary_request_builder.go +++ b/devicemanagement/device_configuration_conflict_summary_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceConfigurationConflictSummaryRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceConfigurationConflictSummary for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceConfigurationConflictSummaryRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configuration_device_state_summaries_request_builder.go b/devicemanagement/device_configuration_device_state_summaries_request_builder.go index 40652320767..93ae527a1cb 100644 --- a/devicemanagement/device_configuration_device_state_summaries_request_builder.go +++ b/devicemanagement/device_configuration_device_state_summaries_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the device configuration device state summary for this account. @@ -134,7 +134,7 @@ func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceConfigurationDeviceStateSummaries in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationDeviceStateSummariesRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configuration_restricted_apps_violations_request_builder.go b/devicemanagement/device_configuration_restricted_apps_violations_request_builder.go index b8f6affdb37..70596c8b249 100644 --- a/devicemanagement/device_configuration_restricted_apps_violations_request_builder.go +++ b/devicemanagement/device_configuration_restricted_apps_violations_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceConfigurationRestrictedAppsViolationsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceConfigurationRestrictedAppsViolations for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceConfigurationRestrictedAppsViolationsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configuration_restricted_apps_violations_restricted_apps_violation_item_request_builder.go b/devicemanagement/device_configuration_restricted_apps_violations_restricted_apps_violation_item_request_builder.go index 52b201ea8f3..c57e9d07198 100644 --- a/devicemanagement/device_configuration_restricted_apps_violations_restricted_apps_violation_item_request_builder.go +++ b/devicemanagement/device_configuration_restricted_apps_violations_restricted_apps_violation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationRestrictedAppsViolationsRestrictedAppsViolationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation restricted apps violations for this account. @@ -134,7 +134,7 @@ func (m *DeviceConfigurationRestrictedAppsViolationsRestrictedAppsViolationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceConfigurationRestrictedAppsViolations in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationRestrictedAppsViolationsRestrictedAppsViolationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configuration_user_state_summaries_request_builder.go b/devicemanagement/device_configuration_user_state_summaries_request_builder.go index fcf8b354820..e240d17f423 100644 --- a/devicemanagement/device_configuration_user_state_summaries_request_builder.go +++ b/devicemanagement/device_configuration_user_state_summaries_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationUserStateSummariesRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the device configuration user state summary for this account. @@ -134,7 +134,7 @@ func (m *DeviceConfigurationUserStateSummariesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceConfigurationUserStateSummaries in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationUserStateSummariesRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_all_managed_device_certificate_states_managed_all_device_certificate_state_item_request_builder.go b/devicemanagement/device_configurations_all_managed_device_certificate_states_managed_all_device_certificate_state_item_request_builder.go index 3fe88416d9e..016c9fe6766 100644 --- a/devicemanagement/device_configurations_all_managed_device_certificate_states_managed_all_device_certificate_state_item_request_builder.go +++ b/devicemanagement/device_configurations_all_managed_device_certificate_states_managed_all_device_certificate_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationsAllManagedDeviceCertificateStatesManagedAllDeviceCe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation summary of all certificates for all devices. @@ -134,7 +134,7 @@ func (m *DeviceConfigurationsAllManagedDeviceCertificateStatesManagedAllDeviceCe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceConfigurationsAllManagedDeviceCertificateStates in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationsAllManagedDeviceCertificateStatesManagedAllDeviceCe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_all_managed_device_certificate_states_request_builder.go b/devicemanagement/device_configurations_all_managed_device_certificate_states_request_builder.go index bd2c54794ac..d16e309c2c5 100644 --- a/devicemanagement/device_configurations_all_managed_device_certificate_states_request_builder.go +++ b/devicemanagement/device_configurations_all_managed_device_certificate_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceConfigurationsAllManagedDeviceCertificateStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_device_configuration_item_request_builder.go b/devicemanagement/device_configurations_device_configuration_item_request_builder.go index 1ec08b74f84..0de4aa96ac6 100644 --- a/devicemanagement/device_configurations_device_configuration_item_request_builder.go +++ b/devicemanagement/device_configurations_device_configuration_item_request_builder.go @@ -150,7 +150,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the device configurations. @@ -166,7 +166,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceConfigurations in deviceManagement @@ -179,7 +179,7 @@ func (m *DeviceConfigurationsDeviceConfigurationItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_get_ios_available_update_versions_request_builder.go b/devicemanagement/device_configurations_get_ios_available_update_versions_request_builder.go index b8dcf53613b..730542ea580 100644 --- a/devicemanagement/device_configurations_get_ios_available_update_versions_request_builder.go +++ b/devicemanagement/device_configurations_get_ios_available_update_versions_request_builder.go @@ -97,7 +97,7 @@ func (m *DeviceConfigurationsGetIosAvailableUpdateVersionsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_configurations_get_targeted_users_and_devices_request_builder.go b/devicemanagement/device_configurations_get_targeted_users_and_devices_request_builder.go index f78b98d7083..4dfb3e21b5b 100644 --- a/devicemanagement/device_configurations_get_targeted_users_and_devices_request_builder.go +++ b/devicemanagement/device_configurations_get_targeted_users_and_devices_request_builder.go @@ -79,7 +79,7 @@ func (m *DeviceConfigurationsGetTargetedUsersAndDevicesRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_has_payload_links_request_builder.go b/devicemanagement/device_configurations_has_payload_links_request_builder.go index d4c6f8c0c92..521e883deb2 100644 --- a/devicemanagement/device_configurations_has_payload_links_request_builder.go +++ b/devicemanagement/device_configurations_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *DeviceConfigurationsHasPayloadLinksRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_assign_request_builder.go b/devicemanagement/device_configurations_item_assign_request_builder.go index 9cf9d3f6d08..821e3226b90 100644 --- a/devicemanagement/device_configurations_item_assign_request_builder.go +++ b/devicemanagement/device_configurations_item_assign_request_builder.go @@ -79,7 +79,7 @@ func (m *DeviceConfigurationsItemAssignRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_assigned_access_multi_mode_profiles_request_builder.go b/devicemanagement/device_configurations_item_assigned_access_multi_mode_profiles_request_builder.go index 2e3fcc9b1a5..2fad5119aff 100644 --- a/devicemanagement/device_configurations_item_assigned_access_multi_mode_profiles_request_builder.go +++ b/devicemanagement/device_configurations_item_assigned_access_multi_mode_profiles_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceConfigurationsItemAssignedAccessMultiModeProfilesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go b/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go index 7ce5c9981da..63e399b9f0e 100644 --- a/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go +++ b/devicemanagement/device_configurations_item_assignments_device_configuration_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of assignments for the device configuration profile. @@ -134,7 +134,7 @@ func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationsItemAssignmentsDeviceConfigurationAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_assignments_request_builder.go b/devicemanagement/device_configurations_item_assignments_request_builder.go index eed869f434d..c667be9a3a4 100644 --- a/devicemanagement/device_configurations_item_assignments_request_builder.go +++ b/devicemanagement/device_configurations_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceConfigurationsItemAssignmentsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go b/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go index 5f7c9c2c4ec..3f9857862ff 100644 --- a/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go +++ b/devicemanagement/device_configurations_item_device_setting_state_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceSettingStateSummaries for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go b/devicemanagement/device_configurations_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go index 0147035100f..6bdc771ecc4 100644 --- a/devicemanagement/device_configurations_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go +++ b/devicemanagement/device_configurations_item_device_setting_state_summaries_setting_state_device_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device Configuration Setting State Device Summary @@ -134,7 +134,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceSettingStateSummaries in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationsItemDeviceSettingStateSummariesSettingStateDeviceSu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_device_status_overview_request_builder.go b/devicemanagement/device_configurations_item_device_status_overview_request_builder.go index 2281516da3b..984f0d52c62 100644 --- a/devicemanagement/device_configurations_item_device_status_overview_request_builder.go +++ b/devicemanagement/device_configurations_item_device_status_overview_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device Configuration devices status overview @@ -134,7 +134,7 @@ func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStatusOverview in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationsItemDeviceStatusOverviewRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go b/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go index 58832c36e52..715a359e569 100644 --- a/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go +++ b/devicemanagement/device_configurations_item_device_statuses_device_configuration_device_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device configuration installation status by device. @@ -134,7 +134,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStatuses in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesDeviceConfigurationDeviceStatusIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_device_statuses_request_builder.go b/devicemanagement/device_configurations_item_device_statuses_request_builder.go index c230fa811b7..2ab26fba4e3 100644 --- a/devicemanagement/device_configurations_item_device_statuses_request_builder.go +++ b/devicemanagement/device_configurations_item_device_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceStatuses for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceConfigurationsItemDeviceStatusesRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.go b/devicemanagement/device_configurations_item_get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.go index c1099490e42..b875ada49ea 100644 --- a/devicemanagement/device_configurations_item_get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.go +++ b/devicemanagement/device_configurations_item_get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.go @@ -82,7 +82,7 @@ func (m *DeviceConfigurationsItemGetOmaSettingPlainTextValueWithSecretReferenceV requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_configurations_item_group_assignments_device_configuration_group_assignment_item_request_builder.go b/devicemanagement/device_configurations_item_group_assignments_device_configuration_group_assignment_item_request_builder.go index c8cc51ac697..d9c4b68df7b 100644 --- a/devicemanagement/device_configurations_item_group_assignments_device_configuration_group_assignment_item_request_builder.go +++ b/devicemanagement/device_configurations_item_group_assignments_device_configuration_group_assignment_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceConfigurationsItemGroupAssignmentsDeviceConfigurationGroupAssignm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device configuration profile. @@ -138,7 +138,7 @@ func (m *DeviceConfigurationsItemGroupAssignmentsDeviceConfigurationGroupAssignm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupAssignments in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceConfigurationsItemGroupAssignmentsDeviceConfigurationGroupAssignm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_group_assignments_item_device_configuration_request_builder.go b/devicemanagement/device_configurations_item_group_assignments_item_device_configuration_request_builder.go index 18c3d12a878..7151e175c12 100644 --- a/devicemanagement/device_configurations_item_group_assignments_item_device_configuration_request_builder.go +++ b/devicemanagement/device_configurations_item_group_assignments_item_device_configuration_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceConfigurationsItemGroupAssignmentsItemDeviceConfigurationRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_configurations_item_group_assignments_request_builder.go b/devicemanagement/device_configurations_item_group_assignments_request_builder.go index aedd68a9d87..933bc9b1d9b 100644 --- a/devicemanagement/device_configurations_item_group_assignments_request_builder.go +++ b/devicemanagement/device_configurations_item_group_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceConfigurationsItemGroupAssignmentsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupAssignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceConfigurationsItemGroupAssignmentsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_user_status_overview_request_builder.go b/devicemanagement/device_configurations_item_user_status_overview_request_builder.go index 42596d6c348..669cc14ac31 100644 --- a/devicemanagement/device_configurations_item_user_status_overview_request_builder.go +++ b/devicemanagement/device_configurations_item_user_status_overview_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device Configuration users status overview @@ -134,7 +134,7 @@ func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userStatusOverview in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationsItemUserStatusOverviewRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go b/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go index 20f1d5ace9a..b21773d1455 100644 --- a/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go +++ b/devicemanagement/device_configurations_item_user_statuses_device_configuration_user_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device configuration installation status by user. @@ -134,7 +134,7 @@ func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userStatuses in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceConfigurationsItemUserStatusesDeviceConfigurationUserStatusItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_user_statuses_request_builder.go b/devicemanagement/device_configurations_item_user_statuses_request_builder.go index f70ee8a4a48..10dc347d9d1 100644 --- a/devicemanagement/device_configurations_item_user_statuses_request_builder.go +++ b/devicemanagement/device_configurations_item_user_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userStatuses for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceConfigurationsItemUserStatusesRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_item_windows_privacy_access_controls_request_builder.go b/devicemanagement/device_configurations_item_windows_privacy_access_controls_request_builder.go index d1fdb1dc15f..541a78cd1f7 100644 --- a/devicemanagement/device_configurations_item_windows_privacy_access_controls_request_builder.go +++ b/devicemanagement/device_configurations_item_windows_privacy_access_controls_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceConfigurationsItemWindowsPrivacyAccessControlsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_configurations_request_builder.go b/devicemanagement/device_configurations_request_builder.go index 8728b11d9e1..8095398be51 100644 --- a/devicemanagement/device_configurations_request_builder.go +++ b/devicemanagement/device_configurations_request_builder.go @@ -137,7 +137,7 @@ func (m *DeviceConfigurationsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceConfigurations for deviceManagement @@ -150,7 +150,7 @@ func (m *DeviceConfigurationsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_device_custom_attribute_shell_script_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_device_custom_attribute_shell_script_item_request_builder.go index 52dd5267f90..29c7180245d 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_device_custom_attribute_shell_script_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_device_custom_attribute_shell_script_item_request_builder.go @@ -138,7 +138,7 @@ func (m *DeviceCustomAttributeShellScriptsDeviceCustomAttributeShellScriptItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of device custom attribute shell scripts associated with the tenant. @@ -154,7 +154,7 @@ func (m *DeviceCustomAttributeShellScriptsDeviceCustomAttributeShellScriptItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCustomAttributeShellScripts in deviceManagement @@ -167,7 +167,7 @@ func (m *DeviceCustomAttributeShellScriptsDeviceCustomAttributeShellScriptItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_assign_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_assign_request_builder.go index 17080254a8d..87f90e9d7b8 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_assign_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceCustomAttributeShellScriptsItemAssignRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go index d432b7a2e3b..db850dc72c1 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCustomAttributeShellScriptsItemAssignmentsDeviceManagementScriptA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device management script. @@ -134,7 +134,7 @@ func (m *DeviceCustomAttributeShellScriptsItemAssignmentsDeviceManagementScriptA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCustomAttributeShellScriptsItemAssignmentsDeviceManagementScriptA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_request_builder.go index c4389422002..adbfe2ecd45 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCustomAttributeShellScriptsItemAssignmentsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCustomAttributeShellScriptsItemAssignmentsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go index 7a07603b05c..0a742cf5085 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesDeviceManagementScr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for this script across all devices. @@ -138,7 +138,7 @@ func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesDeviceManagementScr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesDeviceManagementScr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_item_managed_device_request_builder.go index 4ba325f1cc6..fda00002e5e 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_item_managed_device_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesItemManagedDeviceRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_request_builder.go index db5d5048ab6..263fd276679 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_device_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCustomAttributeShellScriptsItemDeviceRunStatesRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go index 4bf778bbda9..566f0129005 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceCustomAttributeShellScriptsItemGroupAssignmentsDeviceManagementSc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device management script. @@ -134,7 +134,7 @@ func (m *DeviceCustomAttributeShellScriptsItemGroupAssignmentsDeviceManagementSc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupAssignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceCustomAttributeShellScriptsItemGroupAssignmentsDeviceManagementSc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_request_builder.go index 8edb761f4b8..91d061d9a5c 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_group_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCustomAttributeShellScriptsItemGroupAssignmentsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupAssignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCustomAttributeShellScriptsItemGroupAssignmentsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_run_summary_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_run_summary_request_builder.go index ffc40f98b10..114910719c1 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_run_summary_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_run_summary_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceCustomAttributeShellScriptsItemRunSummaryRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go index 0f1c29c2501..817b8350f36 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesDeviceManagementScrip requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for this script across all users. @@ -138,7 +138,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesDeviceManagementScrip requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesDeviceManagementScrip requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go index b2bbcdf7d49..c6e57e5f59f 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for this script across all devices of specific user. @@ -138,7 +138,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go index 6effc13eb89..abd409dc146 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go index 976123118c4..6a461d6a824 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesItemDeviceRunStatesRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_request_builder.go index dd90247420b..23ad70e77c2 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_item_user_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCustomAttributeShellScriptsItemUserRunStatesRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_custom_attribute_shell_scripts_request_builder.go b/devicemanagement/device_custom_attribute_shell_scripts_request_builder.go index b398c0411ec..cb79965d315 100644 --- a/devicemanagement/device_custom_attribute_shell_scripts_request_builder.go +++ b/devicemanagement/device_custom_attribute_shell_scripts_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceCustomAttributeShellScriptsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceCustomAttributeShellScripts for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceCustomAttributeShellScriptsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go b/devicemanagement/device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go index e6891ad26ba..677ac9242d3 100644 --- a/devicemanagement/device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceEnrollmentConfigurationsCreateEnrollmentNotificationConfiguration requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go b/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go index 93a8101c836..1bc68377746 100644 --- a/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go @@ -130,7 +130,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of device enrollment configurations @@ -146,7 +146,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceEnrollmentConfigurations in deviceManagement @@ -159,7 +159,7 @@ func (m *DeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_enrollment_configurations_has_payload_links_request_builder.go b/devicemanagement/device_enrollment_configurations_has_payload_links_request_builder.go index d94ae661c73..9c74da6a256 100644 --- a/devicemanagement/device_enrollment_configurations_has_payload_links_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *DeviceEnrollmentConfigurationsHasPayloadLinksRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go b/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go index a694d339550..1507c1a57ce 100644 --- a/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go b/devicemanagement/device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go index 60ca9b93ab9..6b795b52b04 100644 --- a/devicemanagement/device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device configuration profile @@ -134,7 +134,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfigurationAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go b/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go index 23e0047c364..34ace4b3984 100644 --- a/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go b/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go index 559e7616553..74358778e30 100644 --- a/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_item_set_priority_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_enrollment_configurations_request_builder.go b/devicemanagement/device_enrollment_configurations_request_builder.go index 52377a08f00..e3584a32881 100644 --- a/devicemanagement/device_enrollment_configurations_request_builder.go +++ b/devicemanagement/device_enrollment_configurations_request_builder.go @@ -133,7 +133,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceEnrollmentConfigurations for deviceManagement @@ -146,7 +146,7 @@ func (m *DeviceEnrollmentConfigurationsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_health_scripts_are_global_scripts_available_request_builder.go b/devicemanagement/device_health_scripts_are_global_scripts_available_request_builder.go index a8d3373c124..682c91dab79 100644 --- a/devicemanagement/device_health_scripts_are_global_scripts_available_request_builder.go +++ b/devicemanagement/device_health_scripts_are_global_scripts_available_request_builder.go @@ -60,7 +60,7 @@ func (m *DeviceHealthScriptsAreGlobalScriptsAvailableRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_health_scripts_device_health_script_item_request_builder.go b/devicemanagement/device_health_scripts_device_health_script_item_request_builder.go index 42c71beaa36..adb7a5dc71a 100644 --- a/devicemanagement/device_health_scripts_device_health_script_item_request_builder.go +++ b/devicemanagement/device_health_scripts_device_health_script_item_request_builder.go @@ -142,7 +142,7 @@ func (m *DeviceHealthScriptsDeviceHealthScriptItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of device health scripts associated with the tenant. @@ -158,7 +158,7 @@ func (m *DeviceHealthScriptsDeviceHealthScriptItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceHealthScripts in deviceManagement @@ -171,7 +171,7 @@ func (m *DeviceHealthScriptsDeviceHealthScriptItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_health_scripts_enable_global_scripts_request_builder.go b/devicemanagement/device_health_scripts_enable_global_scripts_request_builder.go index 6276d9f0cda..ae4d3e26c5a 100644 --- a/devicemanagement/device_health_scripts_enable_global_scripts_request_builder.go +++ b/devicemanagement/device_health_scripts_enable_global_scripts_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceHealthScriptsEnableGlobalScriptsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_health_scripts_get_remediation_summary_request_builder.go b/devicemanagement/device_health_scripts_get_remediation_summary_request_builder.go index 42af8000d2b..b620ae7de08 100644 --- a/devicemanagement/device_health_scripts_get_remediation_summary_request_builder.go +++ b/devicemanagement/device_health_scripts_get_remediation_summary_request_builder.go @@ -60,7 +60,7 @@ func (m *DeviceHealthScriptsGetRemediationSummaryRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_health_scripts_item_assign_request_builder.go b/devicemanagement/device_health_scripts_item_assign_request_builder.go index 35dd3a3438f..9ead643d150 100644 --- a/devicemanagement/device_health_scripts_item_assign_request_builder.go +++ b/devicemanagement/device_health_scripts_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceHealthScriptsItemAssignRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_health_scripts_item_assignments_device_health_script_assignment_item_request_builder.go b/devicemanagement/device_health_scripts_item_assignments_device_health_script_assignment_item_request_builder.go index 64ff84b6e27..2a58f0cfb68 100644 --- a/devicemanagement/device_health_scripts_item_assignments_device_health_script_assignment_item_request_builder.go +++ b/devicemanagement/device_health_scripts_item_assignments_device_health_script_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceHealthScriptsItemAssignmentsDeviceHealthScriptAssignmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device health script @@ -134,7 +134,7 @@ func (m *DeviceHealthScriptsItemAssignmentsDeviceHealthScriptAssignmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceHealthScriptsItemAssignmentsDeviceHealthScriptAssignmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_health_scripts_item_assignments_request_builder.go b/devicemanagement/device_health_scripts_item_assignments_request_builder.go index 18d1bd736cc..2f8aa8a7da9 100644 --- a/devicemanagement/device_health_scripts_item_assignments_request_builder.go +++ b/devicemanagement/device_health_scripts_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceHealthScriptsItemAssignmentsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceHealthScriptsItemAssignmentsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_health_scripts_item_device_run_states_device_health_script_device_state_item_request_builder.go b/devicemanagement/device_health_scripts_item_device_run_states_device_health_script_device_state_item_request_builder.go index 2b2cca820d2..b42c18c41c9 100644 --- a/devicemanagement/device_health_scripts_item_device_run_states_device_health_script_device_state_item_request_builder.go +++ b/devicemanagement/device_health_scripts_item_device_run_states_device_health_script_device_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceHealthScriptsItemDeviceRunStatesDeviceHealthScriptDeviceStateItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for the device health script across all devices @@ -138,7 +138,7 @@ func (m *DeviceHealthScriptsItemDeviceRunStatesDeviceHealthScriptDeviceStateItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceHealthScriptsItemDeviceRunStatesDeviceHealthScriptDeviceStateItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_health_scripts_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_health_scripts_item_device_run_states_item_managed_device_request_builder.go index e40ee1469bc..90fe52e176a 100644 --- a/devicemanagement/device_health_scripts_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_health_scripts_item_device_run_states_item_managed_device_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceHealthScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_health_scripts_item_device_run_states_request_builder.go b/devicemanagement/device_health_scripts_item_device_run_states_request_builder.go index b9d108c7fc9..ee967d88ccb 100644 --- a/devicemanagement/device_health_scripts_item_device_run_states_request_builder.go +++ b/devicemanagement/device_health_scripts_item_device_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceHealthScriptsItemDeviceRunStatesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceHealthScriptsItemDeviceRunStatesRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_health_scripts_item_get_global_script_highest_available_version_request_builder.go b/devicemanagement/device_health_scripts_item_get_global_script_highest_available_version_request_builder.go index b24caf49d55..fccb8290922 100644 --- a/devicemanagement/device_health_scripts_item_get_global_script_highest_available_version_request_builder.go +++ b/devicemanagement/device_health_scripts_item_get_global_script_highest_available_version_request_builder.go @@ -79,7 +79,7 @@ func (m *DeviceHealthScriptsItemGetGlobalScriptHighestAvailableVersionRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_health_scripts_item_get_remediation_history_request_builder.go b/devicemanagement/device_health_scripts_item_get_remediation_history_request_builder.go index 8cc4a86faef..cac66d8d5f3 100644 --- a/devicemanagement/device_health_scripts_item_get_remediation_history_request_builder.go +++ b/devicemanagement/device_health_scripts_item_get_remediation_history_request_builder.go @@ -60,7 +60,7 @@ func (m *DeviceHealthScriptsItemGetRemediationHistoryRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_health_scripts_item_run_summary_request_builder.go b/devicemanagement/device_health_scripts_item_run_summary_request_builder.go index b98b3e1cede..41946a2113e 100644 --- a/devicemanagement/device_health_scripts_item_run_summary_request_builder.go +++ b/devicemanagement/device_health_scripts_item_run_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceHealthScriptsItemRunSummaryRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation high level run summary for device health script. @@ -134,7 +134,7 @@ func (m *DeviceHealthScriptsItemRunSummaryRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property runSummary in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceHealthScriptsItemRunSummaryRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_health_scripts_item_update_global_script_request_builder.go b/devicemanagement/device_health_scripts_item_update_global_script_request_builder.go index 796df9a58ab..d14fda82dad 100644 --- a/devicemanagement/device_health_scripts_item_update_global_script_request_builder.go +++ b/devicemanagement/device_health_scripts_item_update_global_script_request_builder.go @@ -79,7 +79,7 @@ func (m *DeviceHealthScriptsItemUpdateGlobalScriptRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_health_scripts_request_builder.go b/devicemanagement/device_health_scripts_request_builder.go index d56ad0d110a..c52d867877f 100644 --- a/devicemanagement/device_health_scripts_request_builder.go +++ b/devicemanagement/device_health_scripts_request_builder.go @@ -137,7 +137,7 @@ func (m *DeviceHealthScriptsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceHealthScripts for deviceManagement @@ -150,7 +150,7 @@ func (m *DeviceHealthScriptsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go b/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go index ac284e440fd..a4d10bf8a4a 100644 --- a/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go +++ b/devicemanagement/device_management_partners_device_management_partner_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of Device Management Partners configured by the tenant. @@ -138,7 +138,7 @@ func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceManagementPartners in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceManagementPartnersDeviceManagementPartnerItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_partners_item_terminate_request_builder.go b/devicemanagement/device_management_partners_item_terminate_request_builder.go index ef8c426a290..b0998013a55 100644 --- a/devicemanagement/device_management_partners_item_terminate_request_builder.go +++ b/devicemanagement/device_management_partners_item_terminate_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceManagementPartnersItemTerminateRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_management_partners_request_builder.go b/devicemanagement/device_management_partners_request_builder.go index 4beeedc41b4..78024f89b28 100644 --- a/devicemanagement/device_management_partners_request_builder.go +++ b/devicemanagement/device_management_partners_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementPartnersRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceManagementPartners for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceManagementPartnersRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_request_builder.go b/devicemanagement/device_management_request_builder.go index 81f5c335872..3a685c8cc13 100644 --- a/devicemanagement/device_management_request_builder.go +++ b/devicemanagement/device_management_request_builder.go @@ -566,7 +566,7 @@ func (m *DeviceManagementRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update deviceManagement @@ -579,7 +579,7 @@ func (m *DeviceManagementRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_device_management_script_item_request_builder.go b/devicemanagement/device_management_scripts_device_management_script_item_request_builder.go index bb249af688f..ab41a357de1 100644 --- a/devicemanagement/device_management_scripts_device_management_script_item_request_builder.go +++ b/devicemanagement/device_management_scripts_device_management_script_item_request_builder.go @@ -138,7 +138,7 @@ func (m *DeviceManagementScriptsDeviceManagementScriptItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of device management scripts associated with the tenant. @@ -154,7 +154,7 @@ func (m *DeviceManagementScriptsDeviceManagementScriptItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceManagementScripts in deviceManagement @@ -167,7 +167,7 @@ func (m *DeviceManagementScriptsDeviceManagementScriptItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_has_payload_links_request_builder.go b/devicemanagement/device_management_scripts_has_payload_links_request_builder.go index 2f36fcf82bf..41914be3baa 100644 --- a/devicemanagement/device_management_scripts_has_payload_links_request_builder.go +++ b/devicemanagement/device_management_scripts_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *DeviceManagementScriptsHasPayloadLinksRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_assign_request_builder.go b/devicemanagement/device_management_scripts_item_assign_request_builder.go index 31b54398d67..60e941f84fa 100644 --- a/devicemanagement/device_management_scripts_item_assign_request_builder.go +++ b/devicemanagement/device_management_scripts_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceManagementScriptsItemAssignRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_assignments_device_management_script_assignment_item_request_builder.go b/devicemanagement/device_management_scripts_item_assignments_device_management_script_assignment_item_request_builder.go index a9d9b696e98..9ff049984e8 100644 --- a/devicemanagement/device_management_scripts_item_assignments_device_management_script_assignment_item_request_builder.go +++ b/devicemanagement/device_management_scripts_item_assignments_device_management_script_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceManagementScriptsItemAssignmentsDeviceManagementScriptAssignmentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device management script. @@ -134,7 +134,7 @@ func (m *DeviceManagementScriptsItemAssignmentsDeviceManagementScriptAssignmentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceManagementScriptsItemAssignmentsDeviceManagementScriptAssignmentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_assignments_request_builder.go b/devicemanagement/device_management_scripts_item_assignments_request_builder.go index d0ead0658a6..ccf04f1c789 100644 --- a/devicemanagement/device_management_scripts_item_assignments_request_builder.go +++ b/devicemanagement/device_management_scripts_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementScriptsItemAssignmentsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceManagementScriptsItemAssignmentsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_management_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go index bba84232c0b..3c8c35c9202 100644 --- a/devicemanagement/device_management_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_management_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceManagementScriptsItemDeviceRunStatesDeviceManagementScriptDeviceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for this script across all devices. @@ -138,7 +138,7 @@ func (m *DeviceManagementScriptsItemDeviceRunStatesDeviceManagementScriptDeviceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceManagementScriptsItemDeviceRunStatesDeviceManagementScriptDeviceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_management_scripts_item_device_run_states_item_managed_device_request_builder.go index b9cfbe3dd0f..740799d8869 100644 --- a/devicemanagement/device_management_scripts_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_management_scripts_item_device_run_states_item_managed_device_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceManagementScriptsItemDeviceRunStatesItemManagedDeviceRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_management_scripts_item_device_run_states_request_builder.go b/devicemanagement/device_management_scripts_item_device_run_states_request_builder.go index 22918dafe94..91465f9c17d 100644 --- a/devicemanagement/device_management_scripts_item_device_run_states_request_builder.go +++ b/devicemanagement/device_management_scripts_item_device_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementScriptsItemDeviceRunStatesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceManagementScriptsItemDeviceRunStatesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go b/devicemanagement/device_management_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go index fffc97c5526..3e85e6279f7 100644 --- a/devicemanagement/device_management_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go +++ b/devicemanagement/device_management_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceManagementScriptsItemGroupAssignmentsDeviceManagementScriptGroupA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device management script. @@ -134,7 +134,7 @@ func (m *DeviceManagementScriptsItemGroupAssignmentsDeviceManagementScriptGroupA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupAssignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceManagementScriptsItemGroupAssignmentsDeviceManagementScriptGroupA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_group_assignments_request_builder.go b/devicemanagement/device_management_scripts_item_group_assignments_request_builder.go index edf5f165b54..b59e47214bb 100644 --- a/devicemanagement/device_management_scripts_item_group_assignments_request_builder.go +++ b/devicemanagement/device_management_scripts_item_group_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementScriptsItemGroupAssignmentsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupAssignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceManagementScriptsItemGroupAssignmentsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_run_summary_request_builder.go b/devicemanagement/device_management_scripts_item_run_summary_request_builder.go index ddb4160362b..c032151624c 100644 --- a/devicemanagement/device_management_scripts_item_run_summary_request_builder.go +++ b/devicemanagement/device_management_scripts_item_run_summary_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceManagementScriptsItemRunSummaryRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_management_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go index a938ed1f905..11f82066ac5 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesDeviceManagementScriptUserState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for this script across all users. @@ -138,7 +138,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesDeviceManagementScriptUserState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesDeviceManagementScriptUserState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go index ca6ac60a395..7f985c56568 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesDeviceManage requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for this script across all devices of specific user. @@ -138,7 +138,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesDeviceManage requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesDeviceManage requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go index fbbdb7f03b8..3d0d23a1228 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesItemManagedD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_request_builder.go index aacb951c584..e90627136fb 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_item_device_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesItemDeviceRunStatesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_item_user_run_states_request_builder.go b/devicemanagement/device_management_scripts_item_user_run_states_request_builder.go index 7a76eb02fa8..270835ba628 100644 --- a/devicemanagement/device_management_scripts_item_user_run_states_request_builder.go +++ b/devicemanagement/device_management_scripts_item_user_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceManagementScriptsItemUserRunStatesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_management_scripts_request_builder.go b/devicemanagement/device_management_scripts_request_builder.go index b24039a08c2..1555ee68107 100644 --- a/devicemanagement/device_management_scripts_request_builder.go +++ b/devicemanagement/device_management_scripts_request_builder.go @@ -129,7 +129,7 @@ func (m *DeviceManagementScriptsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceManagementScripts for deviceManagement @@ -142,7 +142,7 @@ func (m *DeviceManagementScriptsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_device_shell_script_item_request_builder.go b/devicemanagement/device_shell_scripts_device_shell_script_item_request_builder.go index fc9cb570127..2d595f13140 100644 --- a/devicemanagement/device_shell_scripts_device_shell_script_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_device_shell_script_item_request_builder.go @@ -138,7 +138,7 @@ func (m *DeviceShellScriptsDeviceShellScriptItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of device shell scripts associated with the tenant. @@ -154,7 +154,7 @@ func (m *DeviceShellScriptsDeviceShellScriptItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceShellScripts in deviceManagement @@ -167,7 +167,7 @@ func (m *DeviceShellScriptsDeviceShellScriptItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_assign_request_builder.go b/devicemanagement/device_shell_scripts_item_assign_request_builder.go index 59f279a88fd..deabe3cec99 100644 --- a/devicemanagement/device_shell_scripts_item_assign_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *DeviceShellScriptsItemAssignRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go b/devicemanagement/device_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go index 2ff8d805078..165936dd414 100644 --- a/devicemanagement/device_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_assignments_device_management_script_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device management script. @@ -134,7 +134,7 @@ func (m *DeviceShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceShellScriptsItemAssignmentsDeviceManagementScriptAssignmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_assignments_request_builder.go b/devicemanagement/device_shell_scripts_item_assignments_request_builder.go index 1190798d37d..a1d635bf79b 100644 --- a/devicemanagement/device_shell_scripts_item_assignments_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceShellScriptsItemAssignmentsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceShellScriptsItemAssignmentsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go index f1024bbac19..ab0e219c057 100644 --- a/devicemanagement/device_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for this script across all devices. @@ -138,7 +138,7 @@ func (m *DeviceShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceShellScriptsItemDeviceRunStatesDeviceManagementScriptDeviceStateI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_shell_scripts_item_device_run_states_item_managed_device_request_builder.go index 30cd27984b8..c4094c7ff2f 100644 --- a/devicemanagement/device_shell_scripts_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_device_run_states_item_managed_device_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceShellScriptsItemDeviceRunStatesItemManagedDeviceRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_shell_scripts_item_device_run_states_request_builder.go b/devicemanagement/device_shell_scripts_item_device_run_states_request_builder.go index b12fa64fdf0..403874baa76 100644 --- a/devicemanagement/device_shell_scripts_item_device_run_states_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_device_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceShellScriptsItemDeviceRunStatesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceShellScriptsItemDeviceRunStatesRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go b/devicemanagement/device_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go index af2bb489671..486069fe86a 100644 --- a/devicemanagement/device_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_group_assignments_device_management_script_group_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device management script. @@ -134,7 +134,7 @@ func (m *DeviceShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupAssignments in deviceManagement @@ -147,7 +147,7 @@ func (m *DeviceShellScriptsItemGroupAssignmentsDeviceManagementScriptGroupAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_group_assignments_request_builder.go b/devicemanagement/device_shell_scripts_item_group_assignments_request_builder.go index 8e43cea2019..67da3c4ee9e 100644 --- a/devicemanagement/device_shell_scripts_item_group_assignments_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_group_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceShellScriptsItemGroupAssignmentsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupAssignments for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceShellScriptsItemGroupAssignmentsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_run_summary_request_builder.go b/devicemanagement/device_shell_scripts_item_run_summary_request_builder.go index eb53b9e3e74..a38cd86ee40 100644 --- a/devicemanagement/device_shell_scripts_item_run_summary_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_run_summary_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceShellScriptsItemRunSummaryRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go index 7f2d6ad39a6..5d7aa379d50 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_device_management_script_user_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for this script across all users. @@ -138,7 +138,7 @@ func (m *DeviceShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceShellScriptsItemUserRunStatesDeviceManagementScriptUserStateItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go index 6296415dbff..7e38f298427 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_device_management_script_device_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of run states for this script across all devices of specific user. @@ -138,7 +138,7 @@ func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceRunStates in deviceManagement @@ -151,7 +151,7 @@ func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesDeviceManagementS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go index c4d387a1b33..bb52e539ea0 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_item_managed_device_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesItemManagedDevice requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go index 01173f21d91..f3d9a6bc28f 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_item_device_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceShellScriptsItemUserRunStatesItemDeviceRunStatesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_item_user_run_states_request_builder.go b/devicemanagement/device_shell_scripts_item_user_run_states_request_builder.go index 66fbb8fadf6..42beec5ded4 100644 --- a/devicemanagement/device_shell_scripts_item_user_run_states_request_builder.go +++ b/devicemanagement/device_shell_scripts_item_user_run_states_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceShellScriptsItemUserRunStatesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userRunStates for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceShellScriptsItemUserRunStatesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/device_shell_scripts_request_builder.go b/devicemanagement/device_shell_scripts_request_builder.go index 3e93a26f559..6b1aeb76dcf 100644 --- a/devicemanagement/device_shell_scripts_request_builder.go +++ b/devicemanagement/device_shell_scripts_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceShellScriptsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceShellScripts for deviceManagement @@ -138,7 +138,7 @@ func (m *DeviceShellScriptsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/domain_join_connectors_device_management_domain_join_connector_item_request_builder.go b/devicemanagement/domain_join_connectors_device_management_domain_join_connector_item_request_builder.go index ba8d0e2889b..8c0c27dc6e8 100644 --- a/devicemanagement/domain_join_connectors_device_management_domain_join_connector_item_request_builder.go +++ b/devicemanagement/domain_join_connectors_device_management_domain_join_connector_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DomainJoinConnectorsDeviceManagementDomainJoinConnectorItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of connector objects. @@ -134,7 +134,7 @@ func (m *DomainJoinConnectorsDeviceManagementDomainJoinConnectorItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property domainJoinConnectors in deviceManagement @@ -147,7 +147,7 @@ func (m *DomainJoinConnectorsDeviceManagementDomainJoinConnectorItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/domain_join_connectors_request_builder.go b/devicemanagement/domain_join_connectors_request_builder.go index 702a8f6ef36..35b3e1498f9 100644 --- a/devicemanagement/domain_join_connectors_request_builder.go +++ b/devicemanagement/domain_join_connectors_request_builder.go @@ -125,7 +125,7 @@ func (m *DomainJoinConnectorsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to domainJoinConnectors for deviceManagement @@ -138,7 +138,7 @@ func (m *DomainJoinConnectorsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/elevation_requests_item_approve_request_builder.go b/devicemanagement/elevation_requests_item_approve_request_builder.go index a06fbd271d6..e450b7782d1 100644 --- a/devicemanagement/elevation_requests_item_approve_request_builder.go +++ b/devicemanagement/elevation_requests_item_approve_request_builder.go @@ -60,7 +60,7 @@ func (m *ElevationRequestsItemApproveRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/elevation_requests_item_deny_request_builder.go b/devicemanagement/elevation_requests_item_deny_request_builder.go index d7211ba0c19..9be5e92ad82 100644 --- a/devicemanagement/elevation_requests_item_deny_request_builder.go +++ b/devicemanagement/elevation_requests_item_deny_request_builder.go @@ -60,7 +60,7 @@ func (m *ElevationRequestsItemDenyRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/elevation_requests_item_get_all_elevation_requests_request_builder.go b/devicemanagement/elevation_requests_item_get_all_elevation_requests_request_builder.go index e12dc0ae417..17bea65312a 100644 --- a/devicemanagement/elevation_requests_item_get_all_elevation_requests_request_builder.go +++ b/devicemanagement/elevation_requests_item_get_all_elevation_requests_request_builder.go @@ -79,7 +79,7 @@ func (m *ElevationRequestsItemGetAllElevationRequestsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/elevation_requests_privilege_management_elevation_request_item_request_builder.go b/devicemanagement/elevation_requests_privilege_management_elevation_request_item_request_builder.go index fb5c878c371..dff7b6d143a 100644 --- a/devicemanagement/elevation_requests_privilege_management_elevation_request_item_request_builder.go +++ b/devicemanagement/elevation_requests_privilege_management_elevation_request_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ElevationRequestsPrivilegeManagementElevationRequestItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of elevation requests @@ -146,7 +146,7 @@ func (m *ElevationRequestsPrivilegeManagementElevationRequestItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property elevationRequests in deviceManagement @@ -159,7 +159,7 @@ func (m *ElevationRequestsPrivilegeManagementElevationRequestItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/elevation_requests_request_builder.go b/devicemanagement/elevation_requests_request_builder.go index da6bd16ba37..73a671c7a7d 100644 --- a/devicemanagement/elevation_requests_request_builder.go +++ b/devicemanagement/elevation_requests_request_builder.go @@ -125,7 +125,7 @@ func (m *ElevationRequestsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to elevationRequests for deviceManagement @@ -138,7 +138,7 @@ func (m *ElevationRequestsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_embedded_s_i_m_activation_code_pool_item_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_embedded_s_i_m_activation_code_pool_item_request_builder.go index 12d39e75ae1..040acbf8ff5 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_embedded_s_i_m_activation_code_pool_item_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_embedded_s_i_m_activation_code_pool_item_request_builder.go @@ -130,7 +130,7 @@ func (m *EmbeddedSIMActivationCodePoolsEmbeddedSIMActivationCodePoolItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the embedded SIM activation code pools created by this account. @@ -146,7 +146,7 @@ func (m *EmbeddedSIMActivationCodePoolsEmbeddedSIMActivationCodePoolItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property embeddedSIMActivationCodePools in deviceManagement @@ -159,7 +159,7 @@ func (m *EmbeddedSIMActivationCodePoolsEmbeddedSIMActivationCodePoolItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assign_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assign_request_builder.go index f6130b44868..1cdacbacd94 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assign_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assign_request_builder.go @@ -79,7 +79,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemAssignRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_embedded_s_i_m_activation_code_pool_assignment_item_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_embedded_s_i_m_activation_code_pool_assignment_item_request_builder.go index 871ddb01f6e..30a86c03636 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_embedded_s_i_m_activation_code_pool_assignment_item_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_embedded_s_i_m_activation_code_pool_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemAssignmentsEmbeddedSIMActivationCodeP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigational property to a list of targets to which this pool is assigned. @@ -134,7 +134,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemAssignmentsEmbeddedSIMActivationCodeP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemAssignmentsEmbeddedSIMActivationCodeP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_request_builder.go index 99459279db5..06cb8fd2f5e 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemAssignmentsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemAssignmentsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_embedded_s_i_m_device_state_item_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_embedded_s_i_m_device_state_item_request_builder.go index 742c0f4216d..903ffd744ed 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_embedded_s_i_m_device_state_item_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_embedded_s_i_m_device_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemDeviceStatesEmbeddedSIMDeviceStateIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigational property to a list of device states for this pool. @@ -134,7 +134,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemDeviceStatesEmbeddedSIMDeviceStateIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStates in deviceManagement @@ -147,7 +147,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemDeviceStatesEmbeddedSIMDeviceStateIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_request_builder.go index 716e7534595..0f534514e30 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_item_device_states_request_builder.go @@ -125,7 +125,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemDeviceStatesRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceStates for deviceManagement @@ -138,7 +138,7 @@ func (m *EmbeddedSIMActivationCodePoolsItemDeviceStatesRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/embedded_s_i_m_activation_code_pools_request_builder.go b/devicemanagement/embedded_s_i_m_activation_code_pools_request_builder.go index 483f5a87774..5db9fff9f67 100644 --- a/devicemanagement/embedded_s_i_m_activation_code_pools_request_builder.go +++ b/devicemanagement/embedded_s_i_m_activation_code_pools_request_builder.go @@ -125,7 +125,7 @@ func (m *EmbeddedSIMActivationCodePoolsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to embeddedSIMActivationCodePools for deviceManagement @@ -138,7 +138,7 @@ func (m *EmbeddedSIMActivationCodePoolsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/enable_android_device_administrator_enrollment_request_builder.go b/devicemanagement/enable_android_device_administrator_enrollment_request_builder.go index 4c82f6bce9f..fa48e9b9937 100644 --- a/devicemanagement/enable_android_device_administrator_enrollment_request_builder.go +++ b/devicemanagement/enable_android_device_administrator_enrollment_request_builder.go @@ -56,7 +56,7 @@ func (m *EnableAndroidDeviceAdministratorEnrollmentRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/enable_legacy_pc_management_request_builder.go b/devicemanagement/enable_legacy_pc_management_request_builder.go index 77ce59953b1..95a9eef4a78 100644 --- a/devicemanagement/enable_legacy_pc_management_request_builder.go +++ b/devicemanagement/enable_legacy_pc_management_request_builder.go @@ -56,7 +56,7 @@ func (m *EnableLegacyPcManagementRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/enable_unlicensed_adminstrators_request_builder.go b/devicemanagement/enable_unlicensed_adminstrators_request_builder.go index 225b5a019b4..25cc2903deb 100644 --- a/devicemanagement/enable_unlicensed_adminstrators_request_builder.go +++ b/devicemanagement/enable_unlicensed_adminstrators_request_builder.go @@ -56,7 +56,7 @@ func (m *EnableUnlicensedAdminstratorsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/evaluate_assignment_filter_request_builder.go b/devicemanagement/evaluate_assignment_filter_request_builder.go index 3c3ee60becb..f2ae63217a4 100644 --- a/devicemanagement/evaluate_assignment_filter_request_builder.go +++ b/devicemanagement/evaluate_assignment_filter_request_builder.go @@ -59,7 +59,7 @@ func (m *EvaluateAssignmentFilterRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go b/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go index a3402b4b1c6..4c392d4614b 100644 --- a/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go +++ b/devicemanagement/exchange_connectors_device_management_exchange_connector_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of Exchange Connectors configured by the tenant. @@ -138,7 +138,7 @@ func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exchangeConnectors in deviceManagement @@ -151,7 +151,7 @@ func (m *ExchangeConnectorsDeviceManagementExchangeConnectorItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/exchange_connectors_item_sync_request_builder.go b/devicemanagement/exchange_connectors_item_sync_request_builder.go index b9c119c149f..4837811cbf0 100644 --- a/devicemanagement/exchange_connectors_item_sync_request_builder.go +++ b/devicemanagement/exchange_connectors_item_sync_request_builder.go @@ -56,7 +56,7 @@ func (m *ExchangeConnectorsItemSyncRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/exchange_connectors_request_builder.go b/devicemanagement/exchange_connectors_request_builder.go index 303909c38b6..c5449d2b811 100644 --- a/devicemanagement/exchange_connectors_request_builder.go +++ b/devicemanagement/exchange_connectors_request_builder.go @@ -125,7 +125,7 @@ func (m *ExchangeConnectorsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to exchangeConnectors for deviceManagement @@ -138,7 +138,7 @@ func (m *ExchangeConnectorsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/exchange_on_premises_policies_device_management_exchange_on_premises_policy_item_request_builder.go b/devicemanagement/exchange_on_premises_policies_device_management_exchange_on_premises_policy_item_request_builder.go index 5e70bae95d8..b1f39f132c5 100644 --- a/devicemanagement/exchange_on_premises_policies_device_management_exchange_on_premises_policy_item_request_builder.go +++ b/devicemanagement/exchange_on_premises_policies_device_management_exchange_on_premises_policy_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ExchangeOnPremisesPoliciesDeviceManagementExchangeOnPremisesPolicyItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of Exchange On Premisis policies configured by the tenant. @@ -138,7 +138,7 @@ func (m *ExchangeOnPremisesPoliciesDeviceManagementExchangeOnPremisesPolicyItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exchangeOnPremisesPolicies in deviceManagement @@ -151,7 +151,7 @@ func (m *ExchangeOnPremisesPoliciesDeviceManagementExchangeOnPremisesPolicyItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/exchange_on_premises_policies_item_conditional_access_settings_request_builder.go b/devicemanagement/exchange_on_premises_policies_item_conditional_access_settings_request_builder.go index 32d2b483473..a2bdae3f38f 100644 --- a/devicemanagement/exchange_on_premises_policies_item_conditional_access_settings_request_builder.go +++ b/devicemanagement/exchange_on_premises_policies_item_conditional_access_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *ExchangeOnPremisesPoliciesItemConditionalAccessSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access @@ -134,7 +134,7 @@ func (m *ExchangeOnPremisesPoliciesItemConditionalAccessSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property conditionalAccessSettings in deviceManagement @@ -147,7 +147,7 @@ func (m *ExchangeOnPremisesPoliciesItemConditionalAccessSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/exchange_on_premises_policies_request_builder.go b/devicemanagement/exchange_on_premises_policies_request_builder.go index c9deddf8f11..c3529b8d9f9 100644 --- a/devicemanagement/exchange_on_premises_policies_request_builder.go +++ b/devicemanagement/exchange_on_premises_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ExchangeOnPremisesPoliciesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to exchangeOnPremisesPolicies for deviceManagement @@ -138,7 +138,7 @@ func (m *ExchangeOnPremisesPoliciesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/exchange_on_premises_policy_conditional_access_settings_request_builder.go b/devicemanagement/exchange_on_premises_policy_conditional_access_settings_request_builder.go index 0a0efb9ad7a..8e903c3c89d 100644 --- a/devicemanagement/exchange_on_premises_policy_conditional_access_settings_request_builder.go +++ b/devicemanagement/exchange_on_premises_policy_conditional_access_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *ExchangeOnPremisesPolicyConditionalAccessSettingsRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Exchange on premises conditional access settings. On premises conditional access will require devices to be both enrolled and compliant for mail access @@ -134,7 +134,7 @@ func (m *ExchangeOnPremisesPolicyConditionalAccessSettingsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property conditionalAccessSettings in deviceManagement @@ -147,7 +147,7 @@ func (m *ExchangeOnPremisesPolicyConditionalAccessSettingsRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/exchange_on_premises_policy_request_builder.go b/devicemanagement/exchange_on_premises_policy_request_builder.go index 643a4f75890..ba9dce27edc 100644 --- a/devicemanagement/exchange_on_premises_policy_request_builder.go +++ b/devicemanagement/exchange_on_premises_policy_request_builder.go @@ -122,7 +122,7 @@ func (m *ExchangeOnPremisesPolicyRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the policy which controls mobile device access to Exchange On Premises @@ -138,7 +138,7 @@ func (m *ExchangeOnPremisesPolicyRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exchangeOnPremisesPolicy in deviceManagement @@ -151,7 +151,7 @@ func (m *ExchangeOnPremisesPolicyRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/get_assigned_role_details_request_builder.go b/devicemanagement/get_assigned_role_details_request_builder.go index e752788a254..1242a13fab2 100644 --- a/devicemanagement/get_assigned_role_details_request_builder.go +++ b/devicemanagement/get_assigned_role_details_request_builder.go @@ -60,7 +60,7 @@ func (m *GetAssignedRoleDetailsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/get_assignment_filters_status_details_request_builder.go b/devicemanagement/get_assignment_filters_status_details_request_builder.go index 10ac972787f..ea4f1c2f9a2 100644 --- a/devicemanagement/get_assignment_filters_status_details_request_builder.go +++ b/devicemanagement/get_assignment_filters_status_details_request_builder.go @@ -60,7 +60,7 @@ func (m *GetAssignmentFiltersStatusDetailsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/get_comanaged_devices_summary_request_builder.go b/devicemanagement/get_comanaged_devices_summary_request_builder.go index d052aa8982a..3e63874b69a 100644 --- a/devicemanagement/get_comanaged_devices_summary_request_builder.go +++ b/devicemanagement/get_comanaged_devices_summary_request_builder.go @@ -60,7 +60,7 @@ func (m *GetComanagedDevicesSummaryRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/get_comanagement_eligible_devices_summary_request_builder.go b/devicemanagement/get_comanagement_eligible_devices_summary_request_builder.go index 437ded0aa01..6270e71b630 100644 --- a/devicemanagement/get_comanagement_eligible_devices_summary_request_builder.go +++ b/devicemanagement/get_comanagement_eligible_devices_summary_request_builder.go @@ -60,7 +60,7 @@ func (m *GetComanagementEligibleDevicesSummaryRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/get_effective_permissions_request_builder.go b/devicemanagement/get_effective_permissions_request_builder.go index 43f71baf0e7..4a4672c61e4 100644 --- a/devicemanagement/get_effective_permissions_request_builder.go +++ b/devicemanagement/get_effective_permissions_request_builder.go @@ -97,7 +97,7 @@ func (m *GetEffectivePermissionsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/get_effective_permissions_with_scope_request_builder.go b/devicemanagement/get_effective_permissions_with_scope_request_builder.go index 8fe81fdb432..aaa412cde84 100644 --- a/devicemanagement/get_effective_permissions_with_scope_request_builder.go +++ b/devicemanagement/get_effective_permissions_with_scope_request_builder.go @@ -100,7 +100,7 @@ func (m *GetEffectivePermissionsWithScopeRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/get_role_scope_tags_by_ids_with_ids_request_builder.go b/devicemanagement/get_role_scope_tags_by_ids_with_ids_request_builder.go index ba470014e07..37b3aef6206 100644 --- a/devicemanagement/get_role_scope_tags_by_ids_with_ids_request_builder.go +++ b/devicemanagement/get_role_scope_tags_by_ids_with_ids_request_builder.go @@ -104,7 +104,7 @@ func (m *GetRoleScopeTagsByIdsWithIdsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/get_role_scope_tags_by_resource_with_resource_request_builder.go b/devicemanagement/get_role_scope_tags_by_resource_with_resource_request_builder.go index 7e1029be52a..be1cf387c59 100644 --- a/devicemanagement/get_role_scope_tags_by_resource_with_resource_request_builder.go +++ b/devicemanagement/get_role_scope_tags_by_resource_with_resource_request_builder.go @@ -104,7 +104,7 @@ func (m *GetRoleScopeTagsByResourceWithResourceRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/get_suggested_enrollment_limit_with_enrollment_type_request_builder.go b/devicemanagement/get_suggested_enrollment_limit_with_enrollment_type_request_builder.go index 08f87614027..df49ec4084e 100644 --- a/devicemanagement/get_suggested_enrollment_limit_with_enrollment_type_request_builder.go +++ b/devicemanagement/get_suggested_enrollment_limit_with_enrollment_type_request_builder.go @@ -63,7 +63,7 @@ func (m *GetSuggestedEnrollmentLimitWithEnrollmentTypeRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_categories_group_policy_category_item_request_builder.go b/devicemanagement/group_policy_categories_group_policy_category_item_request_builder.go index 7b128c0674a..5c268c22899 100644 --- a/devicemanagement/group_policy_categories_group_policy_category_item_request_builder.go +++ b/devicemanagement/group_policy_categories_group_policy_category_item_request_builder.go @@ -134,7 +134,7 @@ func (m *GroupPolicyCategoriesGroupPolicyCategoryItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the available group policy categories for this account. @@ -150,7 +150,7 @@ func (m *GroupPolicyCategoriesGroupPolicyCategoryItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupPolicyCategories in deviceManagement @@ -163,7 +163,7 @@ func (m *GroupPolicyCategoriesGroupPolicyCategoryItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_categories_item_children_group_policy_category_item_request_builder.go b/devicemanagement/group_policy_categories_item_children_group_policy_category_item_request_builder.go index d5c200833c1..e20c5b754ba 100644 --- a/devicemanagement/group_policy_categories_item_children_group_policy_category_item_request_builder.go +++ b/devicemanagement/group_policy_categories_item_children_group_policy_category_item_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyCategoriesItemChildrenGroupPolicyCategoryItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_categories_item_children_request_builder.go b/devicemanagement/group_policy_categories_item_children_request_builder.go index 07241a006ea..ca4b335f516 100644 --- a/devicemanagement/group_policy_categories_item_children_request_builder.go +++ b/devicemanagement/group_policy_categories_item_children_request_builder.go @@ -99,7 +99,7 @@ func (m *GroupPolicyCategoriesItemChildrenRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_categories_item_definition_file_request_builder.go b/devicemanagement/group_policy_categories_item_definition_file_request_builder.go index 516a1caf6fd..83eaaf09e23 100644 --- a/devicemanagement/group_policy_categories_item_definition_file_request_builder.go +++ b/devicemanagement/group_policy_categories_item_definition_file_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyCategoriesItemDefinitionFileRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_categories_item_definitions_group_policy_definition_item_request_builder.go b/devicemanagement/group_policy_categories_item_definitions_group_policy_definition_item_request_builder.go index 479d46b43cd..e3ecc2098cd 100644 --- a/devicemanagement/group_policy_categories_item_definitions_group_policy_definition_item_request_builder.go +++ b/devicemanagement/group_policy_categories_item_definitions_group_policy_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyCategoriesItemDefinitionsGroupPolicyDefinitionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_categories_item_definitions_request_builder.go b/devicemanagement/group_policy_categories_item_definitions_request_builder.go index 71742450739..9f61b524bcb 100644 --- a/devicemanagement/group_policy_categories_item_definitions_request_builder.go +++ b/devicemanagement/group_policy_categories_item_definitions_request_builder.go @@ -99,7 +99,7 @@ func (m *GroupPolicyCategoriesItemDefinitionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_categories_item_parent_request_builder.go b/devicemanagement/group_policy_categories_item_parent_request_builder.go index 443f6e9ce12..96f313f7296 100644 --- a/devicemanagement/group_policy_categories_item_parent_request_builder.go +++ b/devicemanagement/group_policy_categories_item_parent_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyCategoriesItemParentRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_categories_request_builder.go b/devicemanagement/group_policy_categories_request_builder.go index ab59bd4e6f2..7754d335b03 100644 --- a/devicemanagement/group_policy_categories_request_builder.go +++ b/devicemanagement/group_policy_categories_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyCategoriesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupPolicyCategories for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyCategoriesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_configurations_group_policy_configuration_item_request_builder.go b/devicemanagement/group_policy_configurations_group_policy_configuration_item_request_builder.go index 52d8deea042..44aa68cee2b 100644 --- a/devicemanagement/group_policy_configurations_group_policy_configuration_item_request_builder.go +++ b/devicemanagement/group_policy_configurations_group_policy_configuration_item_request_builder.go @@ -130,7 +130,7 @@ func (m *GroupPolicyConfigurationsGroupPolicyConfigurationItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the group policy configurations created by this account. @@ -146,7 +146,7 @@ func (m *GroupPolicyConfigurationsGroupPolicyConfigurationItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupPolicyConfigurations in deviceManagement @@ -159,7 +159,7 @@ func (m *GroupPolicyConfigurationsGroupPolicyConfigurationItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_configurations_item_assign_request_builder.go b/devicemanagement/group_policy_configurations_item_assign_request_builder.go index 0b8fc298099..e39c7166492 100644 --- a/devicemanagement/group_policy_configurations_item_assign_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_assign_request_builder.go @@ -79,7 +79,7 @@ func (m *GroupPolicyConfigurationsItemAssignRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_configurations_item_assignments_group_policy_configuration_assignment_item_request_builder.go b/devicemanagement/group_policy_configurations_item_assignments_group_policy_configuration_assignment_item_request_builder.go index 5d6f03e56a2..a737e44224f 100644 --- a/devicemanagement/group_policy_configurations_item_assignments_group_policy_configuration_assignment_item_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_assignments_group_policy_configuration_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *GroupPolicyConfigurationsItemAssignmentsGroupPolicyConfigurationAssignm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the configuration. @@ -134,7 +134,7 @@ func (m *GroupPolicyConfigurationsItemAssignmentsGroupPolicyConfigurationAssignm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *GroupPolicyConfigurationsItemAssignmentsGroupPolicyConfigurationAssignm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_configurations_item_assignments_request_builder.go b/devicemanagement/group_policy_configurations_item_assignments_request_builder.go index 72dd04d17e1..55a3ddcd628 100644 --- a/devicemanagement/group_policy_configurations_item_assignments_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyConfigurationsItemAssignmentsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyConfigurationsItemAssignmentsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_configurations_item_definition_values_group_policy_definition_value_item_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_group_policy_definition_value_item_request_builder.go index 51290653ad6..4f8ad6661d5 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_group_policy_definition_value_item_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_group_policy_definition_value_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesGroupPolicyDefinitionValue requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of enabled or disabled group policy definition values for the configuration. @@ -142,7 +142,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesGroupPolicyDefinitionValue requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property definitionValues in deviceManagement @@ -155,7 +155,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesGroupPolicyDefinitionValue requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_definition_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_definition_request_builder.go index 4b95cfd0280..fd4e0524140 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_definition_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemDefinitionRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_group_policy_presentation_value_item_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_group_policy_presentation_value_item_request_builder.go index 9b62b6903ea..95d4f85f666 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_group_policy_presentation_value_item_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_group_policy_presentation_value_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesGrou requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the associated group policy presentation values with the definition value. @@ -142,7 +142,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesGrou requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property presentationValues in deviceManagement @@ -155,7 +155,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesGrou requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_definition_value_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_definition_value_request_builder.go index f146990bd77..3ff3be378f3 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_definition_value_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_definition_value_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_presentation_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_presentation_request_builder.go index 0f5769dcef3..8757e78c762 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_presentation_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_item_presentation_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_request_builder.go index bac381c63b7..682fbbabd7c 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_item_presentation_values_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to presentationValues for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesItemPresentationValuesRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_configurations_item_definition_values_request_builder.go b/devicemanagement/group_policy_configurations_item_definition_values_request_builder.go index 001def2154a..5f651313150 100644 --- a/devicemanagement/group_policy_configurations_item_definition_values_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_definition_values_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to definitionValues for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyConfigurationsItemDefinitionValuesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_configurations_item_update_definition_values_request_builder.go b/devicemanagement/group_policy_configurations_item_update_definition_values_request_builder.go index 58ad288708c..8646840163a 100644 --- a/devicemanagement/group_policy_configurations_item_update_definition_values_request_builder.go +++ b/devicemanagement/group_policy_configurations_item_update_definition_values_request_builder.go @@ -56,7 +56,7 @@ func (m *GroupPolicyConfigurationsItemUpdateDefinitionValuesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_configurations_request_builder.go b/devicemanagement/group_policy_configurations_request_builder.go index e357181f11d..d30f43927b7 100644 --- a/devicemanagement/group_policy_configurations_request_builder.go +++ b/devicemanagement/group_policy_configurations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyConfigurationsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupPolicyConfigurations for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyConfigurationsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definition_files_group_policy_definition_file_item_request_builder.go b/devicemanagement/group_policy_definition_files_group_policy_definition_file_item_request_builder.go index 27b3d8dbb7a..b139ec440e8 100644 --- a/devicemanagement/group_policy_definition_files_group_policy_definition_file_item_request_builder.go +++ b/devicemanagement/group_policy_definition_files_group_policy_definition_file_item_request_builder.go @@ -122,7 +122,7 @@ func (m *GroupPolicyDefinitionFilesGroupPolicyDefinitionFileItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the available group policy definition files for this account. @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionFilesGroupPolicyDefinitionFileItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupPolicyDefinitionFiles in deviceManagement @@ -151,7 +151,7 @@ func (m *GroupPolicyDefinitionFilesGroupPolicyDefinitionFileItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definition_files_item_definitions_group_policy_definition_item_request_builder.go b/devicemanagement/group_policy_definition_files_item_definitions_group_policy_definition_item_request_builder.go index e7cc6be7d69..54ffa75ea6e 100644 --- a/devicemanagement/group_policy_definition_files_item_definitions_group_policy_definition_item_request_builder.go +++ b/devicemanagement/group_policy_definition_files_item_definitions_group_policy_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionFilesItemDefinitionsGroupPolicyDefinitionItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definition_files_item_definitions_request_builder.go b/devicemanagement/group_policy_definition_files_item_definitions_request_builder.go index 18c86a6952b..c4e92619bad 100644 --- a/devicemanagement/group_policy_definition_files_item_definitions_request_builder.go +++ b/devicemanagement/group_policy_definition_files_item_definitions_request_builder.go @@ -99,7 +99,7 @@ func (m *GroupPolicyDefinitionFilesItemDefinitionsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definition_files_request_builder.go b/devicemanagement/group_policy_definition_files_request_builder.go index 46f9e39044a..e781474b847 100644 --- a/devicemanagement/group_policy_definition_files_request_builder.go +++ b/devicemanagement/group_policy_definition_files_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyDefinitionFilesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupPolicyDefinitionFiles for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionFilesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_group_policy_definition_item_request_builder.go b/devicemanagement/group_policy_definitions_group_policy_definition_item_request_builder.go index 2cbc6bdb8d3..e315d959a67 100644 --- a/devicemanagement/group_policy_definitions_group_policy_definition_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_group_policy_definition_item_request_builder.go @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsGroupPolicyDefinitionItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the available group policy definitions for this account. @@ -154,7 +154,7 @@ func (m *GroupPolicyDefinitionsGroupPolicyDefinitionItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupPolicyDefinitions in deviceManagement @@ -167,7 +167,7 @@ func (m *GroupPolicyDefinitionsGroupPolicyDefinitionItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_category_request_builder.go b/devicemanagement/group_policy_definitions_item_category_request_builder.go index 9f908c0c3c8..076f82aafd9 100644 --- a/devicemanagement/group_policy_definitions_item_category_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_category_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemCategoryRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_definition_file_request_builder.go b/devicemanagement/group_policy_definitions_item_definition_file_request_builder.go index d93e4f87aac..1bfa1a15a5f 100644 --- a/devicemanagement/group_policy_definitions_item_definition_file_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_definition_file_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemDefinitionFileRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_category_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_category_request_builder.go index de16b6348d8..fe47814b859 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_category_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_category_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionCategoryRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_definition_file_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_definition_file_request_builder.go index 0dc0f9271f8..61fbaedeeb2 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_definition_file_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_definition_file_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionDefinitionFileRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_group_policy_presentation_item_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_group_policy_presentation_item_request_builder.go index 77011d24ec6..cdb46376339 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_group_policy_presentation_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_group_policy_presentation_item_request_builder.go @@ -122,7 +122,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsGroupPolicy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the group policy presentations associated with the definition. @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsGroupPolicy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property presentations in deviceManagement @@ -151,7 +151,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsGroupPolicy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_item_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_item_definition_request_builder.go index b19acc91617..0bbe0bdfaa5 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_item_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsItemDefinit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_request_builder.go index dfe8ad0645a..5c99d8b8ed8 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_presentations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to presentations for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPresentationsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_category_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_category_request_builder.go index 7ba35ce9703..531a062f54a 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_category_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_category_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_definition_file_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_definition_file_request_builder.go index e106605a1a5..030f80347b3 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_definition_file_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_definition_file_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go index ca9480dcea1..513dbd413b9 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go @@ -122,7 +122,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the group policy presentations associated with the definition. @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property presentations in deviceManagement @@ -151,7 +151,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_item_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_item_definition_request_builder.go index 3072aa2f4fc..fee4e35f2ee 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_item_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_request_builder.go index abd90d50dcf..0855acc7c02 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_presentations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to presentations for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_request_builder.go index d30eb700ccf..33620e2e7fc 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_previous_version_definition_request_builder.go @@ -130,7 +130,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation definition of the previous version of this definition @@ -146,7 +146,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property previousVersionDefinition in deviceManagement @@ -159,7 +159,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionPreviousVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_next_version_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_next_version_definition_request_builder.go index cb09de085ba..4f88888d103 100644 --- a/devicemanagement/group_policy_definitions_item_next_version_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_next_version_definition_request_builder.go @@ -134,7 +134,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation definition of the next version of this definition @@ -150,7 +150,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property nextVersionDefinition in deviceManagement @@ -163,7 +163,7 @@ func (m *GroupPolicyDefinitionsItemNextVersionDefinitionRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_presentations_group_policy_presentation_item_request_builder.go b/devicemanagement/group_policy_definitions_item_presentations_group_policy_presentation_item_request_builder.go index 41ff77955a3..0043f48e2f2 100644 --- a/devicemanagement/group_policy_definitions_item_presentations_group_policy_presentation_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_presentations_group_policy_presentation_item_request_builder.go @@ -122,7 +122,7 @@ func (m *GroupPolicyDefinitionsItemPresentationsGroupPolicyPresentationItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the group policy presentations associated with the definition. @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsItemPresentationsGroupPolicyPresentationItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property presentations in deviceManagement @@ -151,7 +151,7 @@ func (m *GroupPolicyDefinitionsItemPresentationsGroupPolicyPresentationItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_presentations_item_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_presentations_item_definition_request_builder.go index eb918aaf740..44d2f293052 100644 --- a/devicemanagement/group_policy_definitions_item_presentations_item_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_presentations_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemPresentationsItemDefinitionRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_presentations_request_builder.go b/devicemanagement/group_policy_definitions_item_presentations_request_builder.go index b21a870ccc0..0c9ffbbe227 100644 --- a/devicemanagement/group_policy_definitions_item_presentations_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_presentations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyDefinitionsItemPresentationsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to presentations for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsItemPresentationsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_category_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_category_request_builder.go index 4bae92aefeb..2ed0cb219ac 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_category_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_category_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionCategoryRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_definition_file_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_definition_file_request_builder.go index 21d62f1ff11..5c0b8ac9022 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_definition_file_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_definition_file_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionDefinitionFileReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_category_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_category_request_builder.go index 41661a2a3aa..4407753cc1c 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_category_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_category_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_definition_file_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_definition_file_request_builder.go index 72249dc73b3..7eba3976cdb 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_definition_file_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_definition_file_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_group_policy_presentation_item_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_group_policy_presentation_item_request_builder.go index 2836440ae07..824b452a287 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_group_policy_presentation_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_group_policy_presentation_item_request_builder.go @@ -122,7 +122,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the group policy presentations associated with the definition. @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property presentations in deviceManagement @@ -151,7 +151,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_item_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_item_definition_request_builder.go index 27686e2f74e..9cbc8ae8314 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_item_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_request_builder.go index ba43e0b2502..d2a74e8e292 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_presentations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to presentations for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_request_builder.go index 1c13eb5e7fc..22d57b21373 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_next_version_definition_request_builder.go @@ -130,7 +130,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation definition of the next version of this definition @@ -146,7 +146,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property nextVersionDefinition in deviceManagement @@ -159,7 +159,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionNextVersionDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go index ff3994bd4af..ad780ae6a25 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_group_policy_presentation_item_request_builder.go @@ -122,7 +122,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsGroupPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the group policy presentations associated with the definition. @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsGroupPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property presentations in deviceManagement @@ -151,7 +151,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsGroupPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_item_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_item_definition_request_builder.go index 04a823b90d4..d8b2c113f70 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_item_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsItemDef requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_request_builder.go index 4ae3a48978f..d4f1f6ef9bb 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_presentations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to presentations for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionPresentationsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_item_previous_version_definition_request_builder.go b/devicemanagement/group_policy_definitions_item_previous_version_definition_request_builder.go index 13174c3a222..68dc911ea8a 100644 --- a/devicemanagement/group_policy_definitions_item_previous_version_definition_request_builder.go +++ b/devicemanagement/group_policy_definitions_item_previous_version_definition_request_builder.go @@ -134,7 +134,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation definition of the previous version of this definition @@ -150,7 +150,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property previousVersionDefinition in deviceManagement @@ -163,7 +163,7 @@ func (m *GroupPolicyDefinitionsItemPreviousVersionDefinitionRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_definitions_request_builder.go b/devicemanagement/group_policy_definitions_request_builder.go index fa81e31a24f..03e14659c4a 100644 --- a/devicemanagement/group_policy_definitions_request_builder.go +++ b/devicemanagement/group_policy_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyDefinitionsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupPolicyDefinitions for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyDefinitionsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_migration_reports_create_migration_report_request_builder.go b/devicemanagement/group_policy_migration_reports_create_migration_report_request_builder.go index 443c183d70f..191549c478f 100644 --- a/devicemanagement/group_policy_migration_reports_create_migration_report_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_create_migration_report_request_builder.go @@ -79,7 +79,7 @@ func (m *GroupPolicyMigrationReportsCreateMigrationReportRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_migration_reports_group_policy_migration_report_item_request_builder.go b/devicemanagement/group_policy_migration_reports_group_policy_migration_report_item_request_builder.go index 03831da0e79..49bf14e47b3 100644 --- a/devicemanagement/group_policy_migration_reports_group_policy_migration_report_item_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_group_policy_migration_report_item_request_builder.go @@ -122,7 +122,7 @@ func (m *GroupPolicyMigrationReportsGroupPolicyMigrationReportItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of Group Policy migration reports. @@ -138,7 +138,7 @@ func (m *GroupPolicyMigrationReportsGroupPolicyMigrationReportItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupPolicyMigrationReports in deviceManagement @@ -151,7 +151,7 @@ func (m *GroupPolicyMigrationReportsGroupPolicyMigrationReportItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_group_policy_setting_mapping_item_request_builder.go b/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_group_policy_setting_mapping_item_request_builder.go index e86fcd08ab1..d700fd32ac0 100644 --- a/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_group_policy_setting_mapping_item_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_group_policy_setting_mapping_item_request_builder.go @@ -118,7 +118,7 @@ func (m *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsGroupPolicySet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of group policy settings to MDM/Intune mappings. @@ -134,7 +134,7 @@ func (m *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsGroupPolicySet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupPolicySettingMappings in deviceManagement @@ -147,7 +147,7 @@ func (m *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsGroupPolicySet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_request_builder.go b/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_request_builder.go index f2ca7fd8a0e..a7b6ffe3231 100644 --- a/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_group_policy_setting_mappings_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupPolicySettingMappings for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyMigrationReportsItemGroupPolicySettingMappingsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_request_builder.go b/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_request_builder.go index b3791d081d0..e648d04766d 100644 --- a/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to unsupportedGroupPolicyExtensions for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_unsupported_group_policy_extension_item_request_builder.go b/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_unsupported_group_policy_extension_item_request_builder.go index 6e11d7c12d3..2a1a2182779 100644 --- a/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_unsupported_group_policy_extension_item_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_unsupported_group_policy_extensions_unsupported_group_policy_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsUnsuppor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of unsupported group policy extensions inside the Group Policy Object. @@ -134,7 +134,7 @@ func (m *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsUnsuppor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property unsupportedGroupPolicyExtensions in deviceManagement @@ -147,7 +147,7 @@ func (m *GroupPolicyMigrationReportsItemUnsupportedGroupPolicyExtensionsUnsuppor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_migration_reports_item_update_scope_tags_request_builder.go b/devicemanagement/group_policy_migration_reports_item_update_scope_tags_request_builder.go index cbd9517250e..50d3a2c123a 100644 --- a/devicemanagement/group_policy_migration_reports_item_update_scope_tags_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_item_update_scope_tags_request_builder.go @@ -79,7 +79,7 @@ func (m *GroupPolicyMigrationReportsItemUpdateScopeTagsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_migration_reports_request_builder.go b/devicemanagement/group_policy_migration_reports_request_builder.go index 13d0a641624..0b21453f706 100644 --- a/devicemanagement/group_policy_migration_reports_request_builder.go +++ b/devicemanagement/group_policy_migration_reports_request_builder.go @@ -129,7 +129,7 @@ func (m *GroupPolicyMigrationReportsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupPolicyMigrationReports for deviceManagement @@ -142,7 +142,7 @@ func (m *GroupPolicyMigrationReportsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_object_files_group_policy_object_file_item_request_builder.go b/devicemanagement/group_policy_object_files_group_policy_object_file_item_request_builder.go index eb8bd31f335..aae70d28658 100644 --- a/devicemanagement/group_policy_object_files_group_policy_object_file_item_request_builder.go +++ b/devicemanagement/group_policy_object_files_group_policy_object_file_item_request_builder.go @@ -118,7 +118,7 @@ func (m *GroupPolicyObjectFilesGroupPolicyObjectFileItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of Group Policy Object files uploaded. @@ -134,7 +134,7 @@ func (m *GroupPolicyObjectFilesGroupPolicyObjectFileItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupPolicyObjectFiles in deviceManagement @@ -147,7 +147,7 @@ func (m *GroupPolicyObjectFilesGroupPolicyObjectFileItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_object_files_request_builder.go b/devicemanagement/group_policy_object_files_request_builder.go index c68da97a8f7..424111a0565 100644 --- a/devicemanagement/group_policy_object_files_request_builder.go +++ b/devicemanagement/group_policy_object_files_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyObjectFilesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupPolicyObjectFiles for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyObjectFilesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_uploaded_definition_files_group_policy_uploaded_definition_file_item_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_group_policy_uploaded_definition_file_item_request_builder.go index 92571336f52..17ca20c7b7d 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_group_policy_uploaded_definition_file_item_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_group_policy_uploaded_definition_file_item_request_builder.go @@ -138,7 +138,7 @@ func (m *GroupPolicyUploadedDefinitionFilesGroupPolicyUploadedDefinitionFileItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the available group policy uploaded definition files for this account. @@ -154,7 +154,7 @@ func (m *GroupPolicyUploadedDefinitionFilesGroupPolicyUploadedDefinitionFileItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupPolicyUploadedDefinitionFiles in deviceManagement @@ -167,7 +167,7 @@ func (m *GroupPolicyUploadedDefinitionFilesGroupPolicyUploadedDefinitionFileItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_add_language_files_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_add_language_files_request_builder.go index 1c1d3c1adc7..12e84ecb99b 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_add_language_files_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_add_language_files_request_builder.go @@ -56,7 +56,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemAddLanguageFilesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_definitions_group_policy_definition_item_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_definitions_group_policy_definition_item_request_builder.go index 972059c44d5..108baff8789 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_definitions_group_policy_definition_item_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_definitions_group_policy_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemDefinitionsGroupPolicyDefinitionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_definitions_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_definitions_request_builder.go index e7abbaffc06..cdc15a4466f 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_definitions_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_definitions_request_builder.go @@ -99,7 +99,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemDefinitionsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_group_policy_operation_item_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_group_policy_operation_item_request_builder.go index e8fccebd179..d16a496cc70 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_group_policy_operation_item_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_group_policy_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsGroupPolicyO requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of operations on the uploaded ADMX file. @@ -134,7 +134,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsGroupPolicyO requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupPolicyOperations in deviceManagement @@ -147,7 +147,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsGroupPolicyO requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_request_builder.go index c249e4b28d0..708f60b1ccf 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_group_policy_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupPolicyOperations for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemGroupPolicyOperationsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_remove_language_files_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_remove_language_files_request_builder.go index 2039c4871df..f0161baa07e 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_remove_language_files_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_remove_language_files_request_builder.go @@ -56,7 +56,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemRemoveLanguageFilesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_remove_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_remove_request_builder.go index 88ae759129a..7600915511d 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_remove_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_remove_request_builder.go @@ -56,7 +56,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemRemoveRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_update_language_files_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_update_language_files_request_builder.go index 19cbfc35c2a..526e470483b 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_update_language_files_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_update_language_files_request_builder.go @@ -56,7 +56,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemUpdateLanguageFilesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_uploaded_definition_files_item_upload_new_version_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_item_upload_new_version_request_builder.go index 415afb3c512..53fa7af9fb9 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_item_upload_new_version_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_item_upload_new_version_request_builder.go @@ -56,7 +56,7 @@ func (m *GroupPolicyUploadedDefinitionFilesItemUploadNewVersionRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/group_policy_uploaded_definition_files_request_builder.go b/devicemanagement/group_policy_uploaded_definition_files_request_builder.go index fe87a44c063..cca3e4ed6ed 100644 --- a/devicemanagement/group_policy_uploaded_definition_files_request_builder.go +++ b/devicemanagement/group_policy_uploaded_definition_files_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupPolicyUploadedDefinitionFilesRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupPolicyUploadedDefinitionFiles for deviceManagement @@ -138,7 +138,7 @@ func (m *GroupPolicyUploadedDefinitionFilesRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/imported_device_identities_import_device_identity_list_request_builder.go b/devicemanagement/imported_device_identities_import_device_identity_list_request_builder.go index d4ce3e6203b..5f2e0d18203 100644 --- a/devicemanagement/imported_device_identities_import_device_identity_list_request_builder.go +++ b/devicemanagement/imported_device_identities_import_device_identity_list_request_builder.go @@ -79,7 +79,7 @@ func (m *ImportedDeviceIdentitiesImportDeviceIdentityListRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/imported_device_identities_imported_device_identity_item_request_builder.go b/devicemanagement/imported_device_identities_imported_device_identity_item_request_builder.go index a1dbe9e48a1..a868f90ca93 100644 --- a/devicemanagement/imported_device_identities_imported_device_identity_item_request_builder.go +++ b/devicemanagement/imported_device_identities_imported_device_identity_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ImportedDeviceIdentitiesImportedDeviceIdentityItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the imported device identities. @@ -134,7 +134,7 @@ func (m *ImportedDeviceIdentitiesImportedDeviceIdentityItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property importedDeviceIdentities in deviceManagement @@ -147,7 +147,7 @@ func (m *ImportedDeviceIdentitiesImportedDeviceIdentityItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/imported_device_identities_request_builder.go b/devicemanagement/imported_device_identities_request_builder.go index 29e03f4c7a1..d68648245ad 100644 --- a/devicemanagement/imported_device_identities_request_builder.go +++ b/devicemanagement/imported_device_identities_request_builder.go @@ -133,7 +133,7 @@ func (m *ImportedDeviceIdentitiesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to importedDeviceIdentities for deviceManagement @@ -146,7 +146,7 @@ func (m *ImportedDeviceIdentitiesRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/imported_device_identities_search_existing_identities_request_builder.go b/devicemanagement/imported_device_identities_search_existing_identities_request_builder.go index adf1bbad92d..95a042cfac2 100644 --- a/devicemanagement/imported_device_identities_search_existing_identities_request_builder.go +++ b/devicemanagement/imported_device_identities_search_existing_identities_request_builder.go @@ -79,7 +79,7 @@ func (m *ImportedDeviceIdentitiesSearchExistingIdentitiesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go b/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go index cd7fb12d1d9..17e1220b586 100644 --- a/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go +++ b/devicemanagement/imported_windows_autopilot_device_identities_import_request_builder.go @@ -79,7 +79,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/imported_windows_autopilot_device_identities_imported_windows_autopilot_device_identity_item_request_builder.go b/devicemanagement/imported_windows_autopilot_device_identities_imported_windows_autopilot_device_identity_item_request_builder.go index a81a06d6b61..51249da45e4 100644 --- a/devicemanagement/imported_windows_autopilot_device_identities_imported_windows_autopilot_device_identity_item_request_builder.go +++ b/devicemanagement/imported_windows_autopilot_device_identities_imported_windows_autopilot_device_identity_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of imported Windows autopilot devices. @@ -134,7 +134,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property importedWindowsAutopilotDeviceIdentities in deviceManagement @@ -147,7 +147,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesImportedWindowsAutopilotDeviceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go b/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go index 5ca96c4816f..13667ebb0cb 100644 --- a/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go +++ b/devicemanagement/imported_windows_autopilot_device_identities_request_builder.go @@ -129,7 +129,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to importedWindowsAutopilotDeviceIdentities for deviceManagement @@ -142,7 +142,7 @@ func (m *ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_device_management_intent_item_request_builder.go b/devicemanagement/intents_device_management_intent_item_request_builder.go index ec963363ed3..2b275a20de1 100644 --- a/devicemanagement/intents_device_management_intent_item_request_builder.go +++ b/devicemanagement/intents_device_management_intent_item_request_builder.go @@ -162,7 +162,7 @@ func (m *IntentsDeviceManagementIntentItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the device management intents @@ -178,7 +178,7 @@ func (m *IntentsDeviceManagementIntentItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property intents in deviceManagement @@ -191,7 +191,7 @@ func (m *IntentsDeviceManagementIntentItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_assign_request_builder.go b/devicemanagement/intents_item_assign_request_builder.go index 96803b1d34b..24c2da7071f 100644 --- a/devicemanagement/intents_item_assign_request_builder.go +++ b/devicemanagement/intents_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *IntentsItemAssignRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_assignments_device_management_intent_assignment_item_request_builder.go b/devicemanagement/intents_item_assignments_device_management_intent_assignment_item_request_builder.go index ea42f7e5afb..b05a44b18e8 100644 --- a/devicemanagement/intents_item_assignments_device_management_intent_assignment_item_request_builder.go +++ b/devicemanagement/intents_item_assignments_device_management_intent_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IntentsItemAssignmentsDeviceManagementIntentAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of assignments @@ -134,7 +134,7 @@ func (m *IntentsItemAssignmentsDeviceManagementIntentAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *IntentsItemAssignmentsDeviceManagementIntentAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_assignments_request_builder.go b/devicemanagement/intents_item_assignments_request_builder.go index b95868d0200..104b7ded8e6 100644 --- a/devicemanagement/intents_item_assignments_request_builder.go +++ b/devicemanagement/intents_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *IntentsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *IntentsItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_categories_device_management_intent_setting_category_item_request_builder.go b/devicemanagement/intents_item_categories_device_management_intent_setting_category_item_request_builder.go index 56fd6f73b52..c27714dc2e7 100644 --- a/devicemanagement/intents_item_categories_device_management_intent_setting_category_item_request_builder.go +++ b/devicemanagement/intents_item_categories_device_management_intent_setting_category_item_request_builder.go @@ -126,7 +126,7 @@ func (m *IntentsItemCategoriesDeviceManagementIntentSettingCategoryItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of setting categories within the intent @@ -142,7 +142,7 @@ func (m *IntentsItemCategoriesDeviceManagementIntentSettingCategoryItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property categories in deviceManagement @@ -155,7 +155,7 @@ func (m *IntentsItemCategoriesDeviceManagementIntentSettingCategoryItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go b/devicemanagement/intents_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go index 9e9b27b392b..392b36b7597 100644 --- a/devicemanagement/intents_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go +++ b/devicemanagement/intents_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IntentsItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the setting definitions this category contains @@ -134,7 +134,7 @@ func (m *IntentsItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingDefinitions in deviceManagement @@ -147,7 +147,7 @@ func (m *IntentsItemCategoriesItemSettingDefinitionsDeviceManagementSettingDefin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_categories_item_setting_definitions_request_builder.go b/devicemanagement/intents_item_categories_item_setting_definitions_request_builder.go index 7c69f3ba434..4fa232e1a7f 100644 --- a/devicemanagement/intents_item_categories_item_setting_definitions_request_builder.go +++ b/devicemanagement/intents_item_categories_item_setting_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *IntentsItemCategoriesItemSettingDefinitionsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingDefinitions for deviceManagement @@ -138,7 +138,7 @@ func (m *IntentsItemCategoriesItemSettingDefinitionsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_categories_item_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/intents_item_categories_item_settings_device_management_setting_instance_item_request_builder.go index 108e925783d..977208b07f5 100644 --- a/devicemanagement/intents_item_categories_item_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/intents_item_categories_item_settings_device_management_setting_instance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IntentsItemCategoriesItemSettingsDeviceManagementSettingInstanceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the settings this category contains @@ -134,7 +134,7 @@ func (m *IntentsItemCategoriesItemSettingsDeviceManagementSettingInstanceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in deviceManagement @@ -147,7 +147,7 @@ func (m *IntentsItemCategoriesItemSettingsDeviceManagementSettingInstanceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_categories_item_settings_request_builder.go b/devicemanagement/intents_item_categories_item_settings_request_builder.go index d222f183632..241aede1016 100644 --- a/devicemanagement/intents_item_categories_item_settings_request_builder.go +++ b/devicemanagement/intents_item_categories_item_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *IntentsItemCategoriesItemSettingsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settings for deviceManagement @@ -138,7 +138,7 @@ func (m *IntentsItemCategoriesItemSettingsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_categories_request_builder.go b/devicemanagement/intents_item_categories_request_builder.go index b43ee46acd1..5e34fab3b84 100644 --- a/devicemanagement/intents_item_categories_request_builder.go +++ b/devicemanagement/intents_item_categories_request_builder.go @@ -125,7 +125,7 @@ func (m *IntentsItemCategoriesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to categories for deviceManagement @@ -138,7 +138,7 @@ func (m *IntentsItemCategoriesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_compare_with_template_id_request_builder.go b/devicemanagement/intents_item_compare_with_template_id_request_builder.go index bf554bbcd71..2c22b3e2a09 100644 --- a/devicemanagement/intents_item_compare_with_template_id_request_builder.go +++ b/devicemanagement/intents_item_compare_with_template_id_request_builder.go @@ -100,7 +100,7 @@ func (m *IntentsItemCompareWithTemplateIdRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/intents_item_create_copy_request_builder.go b/devicemanagement/intents_item_create_copy_request_builder.go index c4c6232b791..de1c16644a5 100644 --- a/devicemanagement/intents_item_create_copy_request_builder.go +++ b/devicemanagement/intents_item_create_copy_request_builder.go @@ -60,7 +60,7 @@ func (m *IntentsItemCreateCopyRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_device_setting_state_summaries_device_management_intent_device_setting_state_summary_item_request_builder.go b/devicemanagement/intents_item_device_setting_state_summaries_device_management_intent_device_setting_state_summary_item_request_builder.go index 59d1fd81823..146d0437170 100644 --- a/devicemanagement/intents_item_device_setting_state_summaries_device_management_intent_device_setting_state_summary_item_request_builder.go +++ b/devicemanagement/intents_item_device_setting_state_summaries_device_management_intent_device_setting_state_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IntentsItemDeviceSettingStateSummariesDeviceManagementIntentDeviceSetti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of settings and their states and counts of devices that belong to corresponding state for all settings within the intent @@ -134,7 +134,7 @@ func (m *IntentsItemDeviceSettingStateSummariesDeviceManagementIntentDeviceSetti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceSettingStateSummaries in deviceManagement @@ -147,7 +147,7 @@ func (m *IntentsItemDeviceSettingStateSummariesDeviceManagementIntentDeviceSetti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_device_setting_state_summaries_request_builder.go b/devicemanagement/intents_item_device_setting_state_summaries_request_builder.go index fefdcbc3678..ba206922705 100644 --- a/devicemanagement/intents_item_device_setting_state_summaries_request_builder.go +++ b/devicemanagement/intents_item_device_setting_state_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *IntentsItemDeviceSettingStateSummariesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceSettingStateSummaries for deviceManagement @@ -138,7 +138,7 @@ func (m *IntentsItemDeviceSettingStateSummariesRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_device_state_summary_request_builder.go b/devicemanagement/intents_item_device_state_summary_request_builder.go index b116795b28c..b5bcbd8fe59 100644 --- a/devicemanagement/intents_item_device_state_summary_request_builder.go +++ b/devicemanagement/intents_item_device_state_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *IntentsItemDeviceStateSummaryRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a summary of device states and counts of devices that belong to corresponding state for all devices that the intent is applied to @@ -134,7 +134,7 @@ func (m *IntentsItemDeviceStateSummaryRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStateSummary in deviceManagement @@ -147,7 +147,7 @@ func (m *IntentsItemDeviceStateSummaryRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_device_states_device_management_intent_device_state_item_request_builder.go b/devicemanagement/intents_item_device_states_device_management_intent_device_state_item_request_builder.go index 12c79f0b7ac..0428f366d66 100644 --- a/devicemanagement/intents_item_device_states_device_management_intent_device_state_item_request_builder.go +++ b/devicemanagement/intents_item_device_states_device_management_intent_device_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IntentsItemDeviceStatesDeviceManagementIntentDeviceStateItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of states of all devices that the intent is applied to @@ -134,7 +134,7 @@ func (m *IntentsItemDeviceStatesDeviceManagementIntentDeviceStateItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceStates in deviceManagement @@ -147,7 +147,7 @@ func (m *IntentsItemDeviceStatesDeviceManagementIntentDeviceStateItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_device_states_request_builder.go b/devicemanagement/intents_item_device_states_request_builder.go index 768b08b10f1..850d45ba388 100644 --- a/devicemanagement/intents_item_device_states_request_builder.go +++ b/devicemanagement/intents_item_device_states_request_builder.go @@ -125,7 +125,7 @@ func (m *IntentsItemDeviceStatesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceStates for deviceManagement @@ -138,7 +138,7 @@ func (m *IntentsItemDeviceStatesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_get_customized_settings_request_builder.go b/devicemanagement/intents_item_get_customized_settings_request_builder.go index 679a8de3f27..a218886f6b3 100644 --- a/devicemanagement/intents_item_get_customized_settings_request_builder.go +++ b/devicemanagement/intents_item_get_customized_settings_request_builder.go @@ -97,7 +97,7 @@ func (m *IntentsItemGetCustomizedSettingsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/intents_item_migrate_to_template_request_builder.go b/devicemanagement/intents_item_migrate_to_template_request_builder.go index d12b1b0e5cc..860d288a9cc 100644 --- a/devicemanagement/intents_item_migrate_to_template_request_builder.go +++ b/devicemanagement/intents_item_migrate_to_template_request_builder.go @@ -56,7 +56,7 @@ func (m *IntentsItemMigrateToTemplateRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/intents_item_settings_device_management_setting_instance_item_request_builder.go index d4088a6c41c..be0c59c9dbd 100644 --- a/devicemanagement/intents_item_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/intents_item_settings_device_management_setting_instance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IntentsItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of all settings to be applied @@ -134,7 +134,7 @@ func (m *IntentsItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in deviceManagement @@ -147,7 +147,7 @@ func (m *IntentsItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_settings_request_builder.go b/devicemanagement/intents_item_settings_request_builder.go index 745a05db701..22e6d7b6d84 100644 --- a/devicemanagement/intents_item_settings_request_builder.go +++ b/devicemanagement/intents_item_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *IntentsItemSettingsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settings for deviceManagement @@ -138,7 +138,7 @@ func (m *IntentsItemSettingsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_update_settings_request_builder.go b/devicemanagement/intents_item_update_settings_request_builder.go index 77d07d93059..320c163faee 100644 --- a/devicemanagement/intents_item_update_settings_request_builder.go +++ b/devicemanagement/intents_item_update_settings_request_builder.go @@ -56,7 +56,7 @@ func (m *IntentsItemUpdateSettingsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_user_state_summary_request_builder.go b/devicemanagement/intents_item_user_state_summary_request_builder.go index b3633acc634..98b6cdc82c9 100644 --- a/devicemanagement/intents_item_user_state_summary_request_builder.go +++ b/devicemanagement/intents_item_user_state_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *IntentsItemUserStateSummaryRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a summary of user states and counts of users that belong to corresponding state for all users that the intent is applied to @@ -134,7 +134,7 @@ func (m *IntentsItemUserStateSummaryRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userStateSummary in deviceManagement @@ -147,7 +147,7 @@ func (m *IntentsItemUserStateSummaryRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_user_states_device_management_intent_user_state_item_request_builder.go b/devicemanagement/intents_item_user_states_device_management_intent_user_state_item_request_builder.go index ff6ed8e1489..6b223728a86 100644 --- a/devicemanagement/intents_item_user_states_device_management_intent_user_state_item_request_builder.go +++ b/devicemanagement/intents_item_user_states_device_management_intent_user_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IntentsItemUserStatesDeviceManagementIntentUserStateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of states of all users that the intent is applied to @@ -134,7 +134,7 @@ func (m *IntentsItemUserStatesDeviceManagementIntentUserStateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userStates in deviceManagement @@ -147,7 +147,7 @@ func (m *IntentsItemUserStatesDeviceManagementIntentUserStateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_item_user_states_request_builder.go b/devicemanagement/intents_item_user_states_request_builder.go index bf006156ab2..4724b950dd3 100644 --- a/devicemanagement/intents_item_user_states_request_builder.go +++ b/devicemanagement/intents_item_user_states_request_builder.go @@ -125,7 +125,7 @@ func (m *IntentsItemUserStatesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userStates for deviceManagement @@ -138,7 +138,7 @@ func (m *IntentsItemUserStatesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intents_request_builder.go b/devicemanagement/intents_request_builder.go index d60495eb0da..699be95ff9c 100644 --- a/devicemanagement/intents_request_builder.go +++ b/devicemanagement/intents_request_builder.go @@ -125,7 +125,7 @@ func (m *IntentsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to intents for deviceManagement @@ -138,7 +138,7 @@ func (m *IntentsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intune_branding_profiles_intune_branding_profile_item_request_builder.go b/devicemanagement/intune_branding_profiles_intune_branding_profile_item_request_builder.go index c97a3b61b56..dcc8822141b 100644 --- a/devicemanagement/intune_branding_profiles_intune_branding_profile_item_request_builder.go +++ b/devicemanagement/intune_branding_profiles_intune_branding_profile_item_request_builder.go @@ -126,7 +126,7 @@ func (m *IntuneBrandingProfilesIntuneBrandingProfileItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation intune branding profiles targeted to AAD groups @@ -142,7 +142,7 @@ func (m *IntuneBrandingProfilesIntuneBrandingProfileItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property intuneBrandingProfiles in deviceManagement @@ -155,7 +155,7 @@ func (m *IntuneBrandingProfilesIntuneBrandingProfileItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intune_branding_profiles_item_assign_request_builder.go b/devicemanagement/intune_branding_profiles_item_assign_request_builder.go index 3f04c2a1570..a67539baf11 100644 --- a/devicemanagement/intune_branding_profiles_item_assign_request_builder.go +++ b/devicemanagement/intune_branding_profiles_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *IntuneBrandingProfilesItemAssignRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intune_branding_profiles_item_assignments_intune_branding_profile_assignment_item_request_builder.go b/devicemanagement/intune_branding_profiles_item_assignments_intune_branding_profile_assignment_item_request_builder.go index fbaa7618a00..6eded210652 100644 --- a/devicemanagement/intune_branding_profiles_item_assignments_intune_branding_profile_assignment_item_request_builder.go +++ b/devicemanagement/intune_branding_profiles_item_assignments_intune_branding_profile_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IntuneBrandingProfilesItemAssignmentsIntuneBrandingProfileAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the branding profile @@ -134,7 +134,7 @@ func (m *IntuneBrandingProfilesItemAssignmentsIntuneBrandingProfileAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *IntuneBrandingProfilesItemAssignmentsIntuneBrandingProfileAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intune_branding_profiles_item_assignments_request_builder.go b/devicemanagement/intune_branding_profiles_item_assignments_request_builder.go index aaabbfdf88b..5d337a69a8c 100644 --- a/devicemanagement/intune_branding_profiles_item_assignments_request_builder.go +++ b/devicemanagement/intune_branding_profiles_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *IntuneBrandingProfilesItemAssignmentsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *IntuneBrandingProfilesItemAssignmentsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/intune_branding_profiles_request_builder.go b/devicemanagement/intune_branding_profiles_request_builder.go index 6bfeb08dd79..823f312fa2d 100644 --- a/devicemanagement/intune_branding_profiles_request_builder.go +++ b/devicemanagement/intune_branding_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *IntuneBrandingProfilesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to intuneBrandingProfiles for deviceManagement @@ -138,7 +138,7 @@ func (m *IntuneBrandingProfilesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go b/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go index 44e5748f8a2..247c6514944 100644 --- a/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go +++ b/devicemanagement/ios_update_statuses_ios_update_device_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the IOS software update installation statuses for this account. @@ -134,7 +134,7 @@ func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property iosUpdateStatuses in deviceManagement @@ -147,7 +147,7 @@ func (m *IosUpdateStatusesIosUpdateDeviceStatusItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/ios_update_statuses_request_builder.go b/devicemanagement/ios_update_statuses_request_builder.go index 961b710bb7a..6fef77fd130 100644 --- a/devicemanagement/ios_update_statuses_request_builder.go +++ b/devicemanagement/ios_update_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *IosUpdateStatusesRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to iosUpdateStatuses for deviceManagement @@ -138,7 +138,7 @@ func (m *IosUpdateStatusesRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_mac_o_s_software_update_state_summary_item_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_mac_o_s_software_update_state_summary_item_request_builder.go index 4577337fe64..970093faf36 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_mac_o_s_software_update_state_summary_item_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_mac_o_s_software_update_state_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation summary of the update states. @@ -134,7 +134,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property updateStateSummaries in deviceManagement @@ -147,7 +147,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_request_builder.go index f4dcfe18fb6..cf1cd4ea695 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_item_update_state_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to updateStateSummaries for deviceManagement @@ -138,7 +138,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesItemUpdateState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_mac_o_s_software_update_category_summary_item_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_mac_o_s_software_update_category_summary_item_request_builder.go index e333b25b14c..f28b073c41f 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_mac_o_s_software_update_category_summary_item_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_mac_o_s_software_update_category_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesMacOSSoftwareUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation summary of the updates by category. @@ -134,7 +134,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesMacOSSoftwareUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property categorySummaries in deviceManagement @@ -147,7 +147,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesMacOSSoftwareUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_request_builder.go index 0d59e16113e..34600cdbd42 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_item_category_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to categorySummaries for deviceManagement @@ -138,7 +138,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesItemCategorySummariesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_mac_o_s_software_update_account_summary_item_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_mac_o_s_software_update_account_summary_item_request_builder.go index d1333c449ea..76bf27c2b5f 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_mac_o_s_software_update_account_summary_item_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_mac_o_s_software_update_account_summary_item_request_builder.go @@ -122,7 +122,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesMacOSSoftwareUpdateAccountSummaryIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the MacOS software update account summaries for this account. @@ -138,7 +138,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesMacOSSoftwareUpdateAccountSummaryIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property macOSSoftwareUpdateAccountSummaries in deviceManagement @@ -151,7 +151,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesMacOSSoftwareUpdateAccountSummaryIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mac_o_s_software_update_account_summaries_request_builder.go b/devicemanagement/mac_o_s_software_update_account_summaries_request_builder.go index 6f028a45942..e1a1c9bc773 100644 --- a/devicemanagement/mac_o_s_software_update_account_summaries_request_builder.go +++ b/devicemanagement/mac_o_s_software_update_account_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to macOSSoftwareUpdateAccountSummaries for deviceManagement @@ -138,7 +138,7 @@ func (m *MacOSSoftwareUpdateAccountSummariesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_device_encryption_states_managed_device_encryption_state_item_request_builder.go b/devicemanagement/managed_device_encryption_states_managed_device_encryption_state_item_request_builder.go index 2c773b0ec20..a6afd3a8c8f 100644 --- a/devicemanagement/managed_device_encryption_states_managed_device_encryption_state_item_request_builder.go +++ b/devicemanagement/managed_device_encryption_states_managed_device_encryption_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedDeviceEncryptionStatesManagedDeviceEncryptionStateItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation encryption report for devices in this account @@ -134,7 +134,7 @@ func (m *ManagedDeviceEncryptionStatesManagedDeviceEncryptionStateItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedDeviceEncryptionStates in deviceManagement @@ -147,7 +147,7 @@ func (m *ManagedDeviceEncryptionStatesManagedDeviceEncryptionStateItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_device_encryption_states_request_builder.go b/devicemanagement/managed_device_encryption_states_request_builder.go index 5e560e93701..b5144342726 100644 --- a/devicemanagement/managed_device_encryption_states_request_builder.go +++ b/devicemanagement/managed_device_encryption_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedDeviceEncryptionStatesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedDeviceEncryptionStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ManagedDeviceEncryptionStatesRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_device_overview_request_builder.go b/devicemanagement/managed_device_overview_request_builder.go index f9b2e11c61e..0567f0818ef 100644 --- a/devicemanagement/managed_device_overview_request_builder.go +++ b/devicemanagement/managed_device_overview_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedDeviceOverviewRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_app_diagnostics_with_upn_request_builder.go b/devicemanagement/managed_devices_app_diagnostics_with_upn_request_builder.go index 6b95a8c5cce..6261007533d 100644 --- a/devicemanagement/managed_devices_app_diagnostics_with_upn_request_builder.go +++ b/devicemanagement/managed_devices_app_diagnostics_with_upn_request_builder.go @@ -100,7 +100,7 @@ func (m *ManagedDevicesAppDiagnosticsWithUpnRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go b/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go index 77631639b28..53d30669905 100644 --- a/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_bulk_reprovision_cloud_pc_request_builder.go @@ -65,7 +65,7 @@ func (m *ManagedDevicesBulkReprovisionCloudPcRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go b/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go index 9d7641b094f..a0001bf7cd4 100644 --- a/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_bulk_restore_cloud_pc_request_builder.go @@ -65,7 +65,7 @@ func (m *ManagedDevicesBulkRestoreCloudPcRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go index a8773dd7cf5..88f66cb0af8 100644 --- a/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_bulk_set_cloud_pc_review_status_request_builder.go @@ -63,7 +63,7 @@ func (m *ManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_download_app_diagnostics_request_builder.go b/devicemanagement/managed_devices_download_app_diagnostics_request_builder.go index bbdee1601f5..d43dba1721a 100644 --- a/devicemanagement/managed_devices_download_app_diagnostics_request_builder.go +++ b/devicemanagement/managed_devices_download_app_diagnostics_request_builder.go @@ -59,7 +59,7 @@ func (m *ManagedDevicesDownloadAppDiagnosticsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_execute_action_request_builder.go b/devicemanagement/managed_devices_execute_action_request_builder.go index e41f00f3af0..e91f33aa3e2 100644 --- a/devicemanagement/managed_devices_execute_action_request_builder.go +++ b/devicemanagement/managed_devices_execute_action_request_builder.go @@ -60,7 +60,7 @@ func (m *ManagedDevicesExecuteActionRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_activate_device_esim_request_builder.go b/devicemanagement/managed_devices_item_activate_device_esim_request_builder.go index 1849d807992..d97b7d214d0 100644 --- a/devicemanagement/managed_devices_item_activate_device_esim_request_builder.go +++ b/devicemanagement/managed_devices_item_activate_device_esim_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemActivateDeviceEsimRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go b/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go index 5befdf026ce..c5e19d27095 100644 --- a/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go +++ b/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation managed device mobile app configuration states for this device. @@ -134,7 +134,7 @@ func (m *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignmentFilterEvaluationStatusDetails in deviceManagement @@ -147,7 +147,7 @@ func (m *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignmentFilt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go b/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go index ef39dd8d88b..4b496112e45 100644 --- a/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go +++ b/devicemanagement/managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignmentFilterEvaluationStatusDetails for deviceManagement @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go b/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go index 1f2620e7854..ce2f1aa6708 100644 --- a/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go +++ b/devicemanagement/managed_devices_item_bypass_activation_lock_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemBypassActivationLockRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go b/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go index 87fcfcfd3aa..ef37b79591e 100644 --- a/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go +++ b/devicemanagement/managed_devices_item_clean_windows_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemCleanWindowsDeviceRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_create_device_log_collection_request_request_builder.go b/devicemanagement/managed_devices_item_create_device_log_collection_request_request_builder.go index 7fa16c7925e..9423d782f69 100644 --- a/devicemanagement/managed_devices_item_create_device_log_collection_request_request_builder.go +++ b/devicemanagement/managed_devices_item_create_device_log_collection_request_request_builder.go @@ -60,7 +60,7 @@ func (m *ManagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go b/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go index a5d8701544b..f33db88e1d3 100644 --- a/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go +++ b/devicemanagement/managed_devices_item_delete_user_from_shared_apple_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_deprovision_request_builder.go b/devicemanagement/managed_devices_item_deprovision_request_builder.go index f0c71d6d0d4..4f4ed953873 100644 --- a/devicemanagement/managed_devices_item_deprovision_request_builder.go +++ b/devicemanagement/managed_devices_item_deprovision_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemDeprovisionRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_detected_apps_detected_app_item_request_builder.go b/devicemanagement/managed_devices_item_detected_apps_detected_app_item_request_builder.go index 3e7b34cdd96..b6a992da789 100644 --- a/devicemanagement/managed_devices_item_detected_apps_detected_app_item_request_builder.go +++ b/devicemanagement/managed_devices_item_detected_apps_detected_app_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_detected_apps_request_builder.go b/devicemanagement/managed_devices_item_detected_apps_request_builder.go index 32af635accf..9b08630bf6f 100644 --- a/devicemanagement/managed_devices_item_detected_apps_request_builder.go +++ b/devicemanagement/managed_devices_item_detected_apps_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedDevicesItemDetectedAppsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_device_category_request_builder.go b/devicemanagement/managed_devices_item_device_category_request_builder.go index dc789d215f8..239d0b3c7a8 100644 --- a/devicemanagement/managed_devices_item_device_category_request_builder.go +++ b/devicemanagement/managed_devices_item_device_category_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedDevicesItemDeviceCategoryRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device category @@ -134,7 +134,7 @@ func (m *ManagedDevicesItemDeviceCategoryRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCategory in deviceManagement @@ -147,7 +147,7 @@ func (m *ManagedDevicesItemDeviceCategoryRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go b/devicemanagement/managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go index 37345e42fc0..2e518a14186 100644 --- a/devicemanagement/managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicySta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device compliance policy states for this device. @@ -134,7 +134,7 @@ func (m *ManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicySta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCompliancePolicyStates in deviceManagement @@ -147,7 +147,7 @@ func (m *ManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolicySta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_device_compliance_policy_states_request_builder.go b/devicemanagement/managed_devices_item_device_compliance_policy_states_request_builder.go index fcf9345f65c..d5eb05fa461 100644 --- a/devicemanagement/managed_devices_item_device_compliance_policy_states_request_builder.go +++ b/devicemanagement/managed_devices_item_device_compliance_policy_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceCompliancePolicyStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go b/devicemanagement/managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go index ca512b0c2d2..8d4ef84b1c4 100644 --- a/devicemanagement/managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device configuration states for this device. @@ -134,7 +134,7 @@ func (m *ManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceConfigurationStates in deviceManagement @@ -147,7 +147,7 @@ func (m *ManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationStateItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_device_configuration_states_request_builder.go b/devicemanagement/managed_devices_item_device_configuration_states_request_builder.go index daa94eb0ef8..df400900cfd 100644 --- a/devicemanagement/managed_devices_item_device_configuration_states_request_builder.go +++ b/devicemanagement/managed_devices_item_device_configuration_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedDevicesItemDeviceConfigurationStatesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceConfigurationStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemDeviceConfigurationStatesRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_device_health_script_states_request_builder.go b/devicemanagement/managed_devices_item_device_health_script_states_request_builder.go index 7ee5782fd74..c041f5a2f7e 100644 --- a/devicemanagement/managed_devices_item_device_health_script_states_request_builder.go +++ b/devicemanagement/managed_devices_item_device_health_script_states_request_builder.go @@ -114,7 +114,7 @@ func (m *ManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceHealthScriptStates for deviceManagement @@ -127,7 +127,7 @@ func (m *ManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go b/devicemanagement/managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go index e21fe17fab4..0a537b2fce8 100644 --- a/devicemanagement/managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go +++ b/devicemanagement/managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go @@ -127,7 +127,7 @@ func (m *ManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation results of device health scripts that ran for this device. Default is empty list. This property is read-only. @@ -143,7 +143,7 @@ func (m *ManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceHealthScriptStates in deviceManagement @@ -156,7 +156,7 @@ func (m *ManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDeviceI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go b/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go index eb0367578ed..0cf2e884e6a 100644 --- a/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go +++ b/devicemanagement/managed_devices_item_disable_lost_mode_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemDisableLostModeRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_disable_request_builder.go b/devicemanagement/managed_devices_item_disable_request_builder.go index c4b96c58e25..d1ee9b864b6 100644 --- a/devicemanagement/managed_devices_item_disable_request_builder.go +++ b/devicemanagement/managed_devices_item_disable_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemDisableRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_enable_lost_mode_request_builder.go b/devicemanagement/managed_devices_item_enable_lost_mode_request_builder.go index 4cc01624b8d..c41d569a1a9 100644 --- a/devicemanagement/managed_devices_item_enable_lost_mode_request_builder.go +++ b/devicemanagement/managed_devices_item_enable_lost_mode_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemEnableLostModeRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_enroll_now_action_request_builder.go b/devicemanagement/managed_devices_item_enroll_now_action_request_builder.go index 546274a8b7a..d18dad58173 100644 --- a/devicemanagement/managed_devices_item_enroll_now_action_request_builder.go +++ b/devicemanagement/managed_devices_item_enroll_now_action_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemEnrollNowActionRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go b/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go index cf79bb8d2f2..8a040bec3b6 100644 --- a/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go +++ b/devicemanagement/managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go @@ -97,7 +97,7 @@ func (m *ManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go index fe7cf6ca9c3..d5b0dbee699 100644 --- a/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_item_get_cloud_pc_review_status_request_builder.go @@ -60,7 +60,7 @@ func (m *ManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_get_file_vault_key_request_builder.go b/devicemanagement/managed_devices_item_get_file_vault_key_request_builder.go index 309c1d3d5bb..7f33ae2e27d 100644 --- a/devicemanagement/managed_devices_item_get_file_vault_key_request_builder.go +++ b/devicemanagement/managed_devices_item_get_file_vault_key_request_builder.go @@ -79,7 +79,7 @@ func (m *ManagedDevicesItemGetFileVaultKeyRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_get_non_compliant_settings_request_builder.go b/devicemanagement/managed_devices_item_get_non_compliant_settings_request_builder.go index 331a8a9875a..459b0da9098 100644 --- a/devicemanagement/managed_devices_item_get_non_compliant_settings_request_builder.go +++ b/devicemanagement/managed_devices_item_get_non_compliant_settings_request_builder.go @@ -97,7 +97,7 @@ func (m *ManagedDevicesItemGetNonCompliantSettingsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go b/devicemanagement/managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go index 4c8d7ed504e..68d9653fb7d 100644 --- a/devicemanagement/managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go +++ b/devicemanagement/managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go b/devicemanagement/managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go index 2b6c4379986..e4e3a0ab9b8 100644 --- a/devicemanagement/managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go +++ b/devicemanagement/managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_locate_device_request_builder.go b/devicemanagement/managed_devices_item_locate_device_request_builder.go index 9e5f53022f8..80618d1ce3e 100644 --- a/devicemanagement/managed_devices_item_locate_device_request_builder.go +++ b/devicemanagement/managed_devices_item_locate_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemLocateDeviceRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go b/devicemanagement/managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go index c796a6f1816..abbfd68e69a 100644 --- a/devicemanagement/managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go +++ b/devicemanagement/managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of log collection requests @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property logCollectionRequests in deviceManagement @@ -151,7 +151,7 @@ func (m *ManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go b/devicemanagement/managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go index 50cf803ce08..13935082035 100644 --- a/devicemanagement/managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go +++ b/devicemanagement/managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go @@ -79,7 +79,7 @@ func (m *ManagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_log_collection_requests_request_builder.go b/devicemanagement/managed_devices_item_log_collection_requests_request_builder.go index 47d21c144dd..cceca8493c5 100644 --- a/devicemanagement/managed_devices_item_log_collection_requests_request_builder.go +++ b/devicemanagement/managed_devices_item_log_collection_requests_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedDevicesItemLogCollectionRequestsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to logCollectionRequests for deviceManagement @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemLogCollectionRequestsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go b/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go index b106a20f6b0..e151ba9b87f 100644 --- a/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go +++ b/devicemanagement/managed_devices_item_logout_shared_apple_device_active_user_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go b/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go index 1d19e32a9f2..582a592d90c 100644 --- a/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation managed device mobile app configuration states for this device. @@ -134,7 +134,7 @@ func (m *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedDeviceMobileAppConfigurationStates in deviceManagement @@ -147,7 +147,7 @@ func (m *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go b/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go index 45853d65d52..04570a4e2f9 100644 --- a/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go +++ b/devicemanagement/managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedDeviceMobileAppConfigurationStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_override_compliance_state_request_builder.go b/devicemanagement/managed_devices_item_override_compliance_state_request_builder.go index 1849d21a1d5..53a7c445053 100644 --- a/devicemanagement/managed_devices_item_override_compliance_state_request_builder.go +++ b/devicemanagement/managed_devices_item_override_compliance_state_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemOverrideComplianceStateRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_pause_configuration_refresh_request_builder.go b/devicemanagement/managed_devices_item_pause_configuration_refresh_request_builder.go index c7b57a35e68..9f9da3f816a 100644 --- a/devicemanagement/managed_devices_item_pause_configuration_refresh_request_builder.go +++ b/devicemanagement/managed_devices_item_pause_configuration_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemPauseConfigurationRefreshRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_play_lost_mode_sound_request_builder.go b/devicemanagement/managed_devices_item_play_lost_mode_sound_request_builder.go index 183a29aca25..aa2301e294f 100644 --- a/devicemanagement/managed_devices_item_play_lost_mode_sound_request_builder.go +++ b/devicemanagement/managed_devices_item_play_lost_mode_sound_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemPlayLostModeSoundRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_reboot_now_request_builder.go b/devicemanagement/managed_devices_item_reboot_now_request_builder.go index 07df7987220..f69dde0b8a3 100644 --- a/devicemanagement/managed_devices_item_reboot_now_request_builder.go +++ b/devicemanagement/managed_devices_item_reboot_now_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemRebootNowRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_recover_passcode_request_builder.go b/devicemanagement/managed_devices_item_recover_passcode_request_builder.go index 1cecc5c2ca5..bb6e4300a91 100644 --- a/devicemanagement/managed_devices_item_recover_passcode_request_builder.go +++ b/devicemanagement/managed_devices_item_recover_passcode_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemRecoverPasscodeRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_reenable_request_builder.go b/devicemanagement/managed_devices_item_reenable_request_builder.go index 5b6ed9ea472..b7ae807fe19 100644 --- a/devicemanagement/managed_devices_item_reenable_request_builder.go +++ b/devicemanagement/managed_devices_item_reenable_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemReenableRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_remote_lock_request_builder.go b/devicemanagement/managed_devices_item_remote_lock_request_builder.go index c2e9867e920..26f4d884b59 100644 --- a/devicemanagement/managed_devices_item_remote_lock_request_builder.go +++ b/devicemanagement/managed_devices_item_remote_lock_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemRemoteLockRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go b/devicemanagement/managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go index 66e61fbf0c3..048ddb0f069 100644 --- a/devicemanagement/managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go +++ b/devicemanagement/managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagementR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go b/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go index 1915edfe85a..b6afec2f648 100644 --- a/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_item_reprovision_cloud_pc_request_builder.go @@ -61,7 +61,7 @@ func (m *ManagedDevicesItemReprovisionCloudPcRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go b/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go index 3c67d9fa184..3d803af1caa 100644 --- a/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go +++ b/devicemanagement/managed_devices_item_request_remote_assistance_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemRequestRemoteAssistanceRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_reset_passcode_request_builder.go b/devicemanagement/managed_devices_item_reset_passcode_request_builder.go index 92bbb4bd0f9..cf2d8476cfe 100644 --- a/devicemanagement/managed_devices_item_reset_passcode_request_builder.go +++ b/devicemanagement/managed_devices_item_reset_passcode_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemResetPasscodeRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go b/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go index a0fe48b4997..9794c8cae38 100644 --- a/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_item_resize_cloud_pc_request_builder.go @@ -61,7 +61,7 @@ func (m *ManagedDevicesItemResizeCloudPcRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go b/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go index b825cb76b05..3df751b934c 100644 --- a/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go +++ b/devicemanagement/managed_devices_item_restore_cloud_pc_request_builder.go @@ -61,7 +61,7 @@ func (m *ManagedDevicesItemRestoreCloudPcRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_retire_request_builder.go b/devicemanagement/managed_devices_item_retire_request_builder.go index d2400d8e69e..cca4df5d61d 100644 --- a/devicemanagement/managed_devices_item_retire_request_builder.go +++ b/devicemanagement/managed_devices_item_retire_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemRetireRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_revoke_apple_vpp_licenses_request_builder.go b/devicemanagement/managed_devices_item_revoke_apple_vpp_licenses_request_builder.go index 4a08074e5cd..f3f7ddd7d57 100644 --- a/devicemanagement/managed_devices_item_revoke_apple_vpp_licenses_request_builder.go +++ b/devicemanagement/managed_devices_item_revoke_apple_vpp_licenses_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemRevokeAppleVppLicensesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_rotate_bit_locker_keys_request_builder.go b/devicemanagement/managed_devices_item_rotate_bit_locker_keys_request_builder.go index 252a9429837..78c4ec793da 100644 --- a/devicemanagement/managed_devices_item_rotate_bit_locker_keys_request_builder.go +++ b/devicemanagement/managed_devices_item_rotate_bit_locker_keys_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemRotateBitLockerKeysRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_rotate_file_vault_key_request_builder.go b/devicemanagement/managed_devices_item_rotate_file_vault_key_request_builder.go index 1d9eae6dc60..98e119f936f 100644 --- a/devicemanagement/managed_devices_item_rotate_file_vault_key_request_builder.go +++ b/devicemanagement/managed_devices_item_rotate_file_vault_key_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemRotateFileVaultKeyRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_rotate_local_admin_password_request_builder.go b/devicemanagement/managed_devices_item_rotate_local_admin_password_request_builder.go index 459bcc339f8..5a992bcb712 100644 --- a/devicemanagement/managed_devices_item_rotate_local_admin_password_request_builder.go +++ b/devicemanagement/managed_devices_item_rotate_local_admin_password_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemRotateLocalAdminPasswordRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_request_builder.go b/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_request_builder.go index be727f577ff..4e9458a9a86 100644 --- a/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_request_builder.go +++ b/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go b/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go index 872968400cf..1c4c124a0fc 100644 --- a/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaseli requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the security baseline state for different settings for a device @@ -134,7 +134,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaseli requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingStates in deviceManagement @@ -147,7 +147,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBaseli requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_security_baseline_states_request_builder.go b/devicemanagement/managed_devices_item_security_baseline_states_request_builder.go index a9598b87e0a..8fc873a5181 100644 --- a/devicemanagement/managed_devices_item_security_baseline_states_request_builder.go +++ b/devicemanagement/managed_devices_item_security_baseline_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to securityBaselineStates for deviceManagement @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go b/devicemanagement/managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go index 42629f05b38..6e5246056cb 100644 --- a/devicemanagement/managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation security baseline states for this device. @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property securityBaselineStates in deviceManagement @@ -151,7 +151,7 @@ func (m *ManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_send_custom_notification_to_company_portal_request_builder.go b/devicemanagement/managed_devices_item_send_custom_notification_to_company_portal_request_builder.go index d0c8264b133..99ea5e3b480 100644 --- a/devicemanagement/managed_devices_item_send_custom_notification_to_company_portal_request_builder.go +++ b/devicemanagement/managed_devices_item_send_custom_notification_to_company_portal_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go b/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go index 969c2fac064..d89e872e307 100644 --- a/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/devicemanagement/managed_devices_item_set_cloud_pc_review_status_request_builder.go @@ -59,7 +59,7 @@ func (m *ManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_set_device_name_request_builder.go b/devicemanagement/managed_devices_item_set_device_name_request_builder.go index 47159fd4a65..bcdb4ae23c2 100644 --- a/devicemanagement/managed_devices_item_set_device_name_request_builder.go +++ b/devicemanagement/managed_devices_item_set_device_name_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemSetDeviceNameRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_shut_down_request_builder.go b/devicemanagement/managed_devices_item_shut_down_request_builder.go index 8a582f0b024..67e823ab4cc 100644 --- a/devicemanagement/managed_devices_item_shut_down_request_builder.go +++ b/devicemanagement/managed_devices_item_shut_down_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemShutDownRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_sync_device_request_builder.go b/devicemanagement/managed_devices_item_sync_device_request_builder.go index cbab5d6d7f6..45a6ee0771a 100644 --- a/devicemanagement/managed_devices_item_sync_device_request_builder.go +++ b/devicemanagement/managed_devices_item_sync_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemSyncDeviceRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_trigger_configuration_manager_action_request_builder.go b/devicemanagement/managed_devices_item_trigger_configuration_manager_action_request_builder.go index e35e9fc85db..03b76d1d8a1 100644 --- a/devicemanagement/managed_devices_item_trigger_configuration_manager_action_request_builder.go +++ b/devicemanagement/managed_devices_item_trigger_configuration_manager_action_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go b/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go index c064b4a2971..0caf79de21e 100644 --- a/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go +++ b/devicemanagement/managed_devices_item_update_windows_device_account_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_users_request_builder.go b/devicemanagement/managed_devices_item_users_request_builder.go index f9f1265b546..1bfa71e90ac 100644 --- a/devicemanagement/managed_devices_item_users_request_builder.go +++ b/devicemanagement/managed_devices_item_users_request_builder.go @@ -84,7 +84,7 @@ func (m *ManagedDevicesItemUsersRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go b/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go index 642a9fbe9fe..ec20530ef82 100644 --- a/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_defender_scan_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemWindowsDefenderScanRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go b/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go index 11a3a30cef2..9efc9485cf4 100644 --- a/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_defender_update_signatures_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go b/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go index 8f9b7797aa6..df4e6dc30ba 100644 --- a/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to detectedMalwareState for deviceManagement @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go b/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go index a60c70d4b37..0fb520ae345 100644 --- a/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDevi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device malware list @@ -134,7 +134,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDevi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property detectedMalwareState in deviceManagement @@ -147,7 +147,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindowsDevi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_windows_protection_state_request_builder.go b/devicemanagement/managed_devices_item_windows_protection_state_request_builder.go index 5b3e99317f4..189a35be8fa 100644 --- a/devicemanagement/managed_devices_item_windows_protection_state_request_builder.go +++ b/devicemanagement/managed_devices_item_windows_protection_state_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the device protection status. This property is read-only. @@ -138,7 +138,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsProtectionState in deviceManagement @@ -151,7 +151,7 @@ func (m *ManagedDevicesItemWindowsProtectionStateRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_item_wipe_request_builder.go b/devicemanagement/managed_devices_item_wipe_request_builder.go index 4ebe80a37f1..08a68fbfe7c 100644 --- a/devicemanagement/managed_devices_item_wipe_request_builder.go +++ b/devicemanagement/managed_devices_item_wipe_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesItemWipeRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_managed_device_item_request_builder.go b/devicemanagement/managed_devices_managed_device_item_request_builder.go index 910a2f72f09..abb99b04eaa 100644 --- a/devicemanagement/managed_devices_managed_device_item_request_builder.go +++ b/devicemanagement/managed_devices_managed_device_item_request_builder.go @@ -318,7 +318,7 @@ func (m *ManagedDevicesManagedDeviceItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of managed devices. @@ -334,7 +334,7 @@ func (m *ManagedDevicesManagedDeviceItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedDevices in deviceManagement @@ -347,7 +347,7 @@ func (m *ManagedDevicesManagedDeviceItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_move_devices_to_o_u_request_builder.go b/devicemanagement/managed_devices_move_devices_to_o_u_request_builder.go index d37d7175da1..f16494bbcdf 100644 --- a/devicemanagement/managed_devices_move_devices_to_o_u_request_builder.go +++ b/devicemanagement/managed_devices_move_devices_to_o_u_request_builder.go @@ -56,7 +56,7 @@ func (m *ManagedDevicesMoveDevicesToOURequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/managed_devices_request_builder.go b/devicemanagement/managed_devices_request_builder.go index 4666e070f41..0f396d3b339 100644 --- a/devicemanagement/managed_devices_request_builder.go +++ b/devicemanagement/managed_devices_request_builder.go @@ -153,7 +153,7 @@ func (m *ManagedDevicesRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedDevices for deviceManagement @@ -166,7 +166,7 @@ func (m *ManagedDevicesRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_configurations_microsoft_tunnel_configuration_item_request_builder.go b/devicemanagement/microsoft_tunnel_configurations_microsoft_tunnel_configuration_item_request_builder.go index 7bc86ca0320..57ea9bbf862 100644 --- a/devicemanagement/microsoft_tunnel_configurations_microsoft_tunnel_configuration_item_request_builder.go +++ b/devicemanagement/microsoft_tunnel_configurations_microsoft_tunnel_configuration_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MicrosoftTunnelConfigurationsMicrosoftTunnelConfigurationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of MicrosoftTunnelConfiguration settings associated with account. @@ -134,7 +134,7 @@ func (m *MicrosoftTunnelConfigurationsMicrosoftTunnelConfigurationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property microsoftTunnelConfigurations in deviceManagement @@ -147,7 +147,7 @@ func (m *MicrosoftTunnelConfigurationsMicrosoftTunnelConfigurationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_configurations_request_builder.go b/devicemanagement/microsoft_tunnel_configurations_request_builder.go index 0a792115eed..5ecd8ab0c0a 100644 --- a/devicemanagement/microsoft_tunnel_configurations_request_builder.go +++ b/devicemanagement/microsoft_tunnel_configurations_request_builder.go @@ -125,7 +125,7 @@ func (m *MicrosoftTunnelConfigurationsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to microsoftTunnelConfigurations for deviceManagement @@ -138,7 +138,7 @@ func (m *MicrosoftTunnelConfigurationsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_health_thresholds_microsoft_tunnel_health_threshold_item_request_builder.go b/devicemanagement/microsoft_tunnel_health_thresholds_microsoft_tunnel_health_threshold_item_request_builder.go index a51afaeb2de..7ac76b1f696 100644 --- a/devicemanagement/microsoft_tunnel_health_thresholds_microsoft_tunnel_health_threshold_item_request_builder.go +++ b/devicemanagement/microsoft_tunnel_health_thresholds_microsoft_tunnel_health_threshold_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MicrosoftTunnelHealthThresholdsMicrosoftTunnelHealthThresholdItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of MicrosoftTunnelHealthThreshold settings associated with account. @@ -134,7 +134,7 @@ func (m *MicrosoftTunnelHealthThresholdsMicrosoftTunnelHealthThresholdItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property microsoftTunnelHealthThresholds in deviceManagement @@ -147,7 +147,7 @@ func (m *MicrosoftTunnelHealthThresholdsMicrosoftTunnelHealthThresholdItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_health_thresholds_request_builder.go b/devicemanagement/microsoft_tunnel_health_thresholds_request_builder.go index 2aa6031a026..2cd0b7b4ad6 100644 --- a/devicemanagement/microsoft_tunnel_health_thresholds_request_builder.go +++ b/devicemanagement/microsoft_tunnel_health_thresholds_request_builder.go @@ -125,7 +125,7 @@ func (m *MicrosoftTunnelHealthThresholdsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to microsoftTunnelHealthThresholds for deviceManagement @@ -138,7 +138,7 @@ func (m *MicrosoftTunnelHealthThresholdsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_create_download_url_request_builder.go b/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_create_download_url_request_builder.go index b801bf46b63..4a04ec8ef38 100644 --- a/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_create_download_url_request_builder.go +++ b/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_create_download_url_request_builder.go @@ -79,7 +79,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesItemCreateDownloadUrlRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_generate_download_url_request_builder.go b/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_generate_download_url_request_builder.go index 0be9af5b6d0..f5aac2a67de 100644 --- a/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_generate_download_url_request_builder.go +++ b/devicemanagement/microsoft_tunnel_server_log_collection_responses_item_generate_download_url_request_builder.go @@ -79,7 +79,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesItemGenerateDownloadUrlReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/microsoft_tunnel_server_log_collection_responses_microsoft_tunnel_server_log_collection_response_item_request_builder.go b/devicemanagement/microsoft_tunnel_server_log_collection_responses_microsoft_tunnel_server_log_collection_response_item_request_builder.go index a11040efb1b..fe8b564a0e5 100644 --- a/devicemanagement/microsoft_tunnel_server_log_collection_responses_microsoft_tunnel_server_log_collection_response_item_request_builder.go +++ b/devicemanagement/microsoft_tunnel_server_log_collection_responses_microsoft_tunnel_server_log_collection_response_item_request_builder.go @@ -126,7 +126,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesMicrosoftTunnelServerLogColl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of MicrosoftTunnelServerLogCollectionResponse settings associated with account. @@ -142,7 +142,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesMicrosoftTunnelServerLogColl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property microsoftTunnelServerLogCollectionResponses in deviceManagement @@ -155,7 +155,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesMicrosoftTunnelServerLogColl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_server_log_collection_responses_request_builder.go b/devicemanagement/microsoft_tunnel_server_log_collection_responses_request_builder.go index a6e4e61b2a7..986dcf4c4e2 100644 --- a/devicemanagement/microsoft_tunnel_server_log_collection_responses_request_builder.go +++ b/devicemanagement/microsoft_tunnel_server_log_collection_responses_request_builder.go @@ -125,7 +125,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to microsoftTunnelServerLogCollectionResponses for deviceManagement @@ -138,7 +138,7 @@ func (m *MicrosoftTunnelServerLogCollectionResponsesRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_configuration_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_configuration_request_builder.go index 82ea759c28f..e54250b56ef 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_configuration_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_configuration_request_builder.go @@ -118,7 +118,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelConfigurationRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the MicrosoftTunnelConfiguration that has been applied to this MicrosoftTunnelSite @@ -134,7 +134,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelConfigurationRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property microsoftTunnelConfiguration in deviceManagement @@ -147,7 +147,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelConfigurationRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_create_server_log_collection_request_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_create_server_log_collection_request_request_builder.go index 2bf98bb094e..486354dfe18 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_create_server_log_collection_request_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_create_server_log_collection_request_request_builder.go @@ -60,7 +60,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemCreateServerLogCollec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_generate_server_log_collection_request_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_generate_server_log_collection_request_request_builder.go index bd304e0e10f..6f655142ab8 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_generate_server_log_collection_request_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_generate_server_log_collection_request_request_builder.go @@ -60,7 +60,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGenerateServerLogColl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metric_time_series_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metric_time_series_request_builder.go index 058484d4f7c..250eb9fcca9 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metric_time_series_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metric_time_series_request_builder.go @@ -79,7 +79,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGetHealthMetricTimeSe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metrics_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metrics_request_builder.go index cdd84de9c94..3095bb117c4 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metrics_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_item_get_health_metrics_request_builder.go @@ -79,7 +79,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersItemGetHealthMetricsReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_microsoft_tunnel_server_item_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_microsoft_tunnel_server_item_request_builder.go index 765e7b6a25d..6cd55087d68 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_microsoft_tunnel_server_item_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_microsoft_tunnel_server_item_request_builder.go @@ -134,7 +134,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersMicrosoftTunnelServerItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of MicrosoftTunnelServers that are registered to this MicrosoftTunnelSite @@ -150,7 +150,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersMicrosoftTunnelServerItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property microsoftTunnelServers in deviceManagement @@ -163,7 +163,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersMicrosoftTunnelServerItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_request_builder.go index 4ed0b4d98cb..e061b34f192 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_microsoft_tunnel_servers_request_builder.go @@ -125,7 +125,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to microsoftTunnelServers for deviceManagement @@ -138,7 +138,7 @@ func (m *MicrosoftTunnelSitesItemMicrosoftTunnelServersRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_sites_item_request_upgrade_request_builder.go b/devicemanagement/microsoft_tunnel_sites_item_request_upgrade_request_builder.go index b7cbed72729..a2ec3645498 100644 --- a/devicemanagement/microsoft_tunnel_sites_item_request_upgrade_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_item_request_upgrade_request_builder.go @@ -56,7 +56,7 @@ func (m *MicrosoftTunnelSitesItemRequestUpgradeRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/microsoft_tunnel_sites_microsoft_tunnel_site_item_request_builder.go b/devicemanagement/microsoft_tunnel_sites_microsoft_tunnel_site_item_request_builder.go index b9b31dc244d..30f2e132796 100644 --- a/devicemanagement/microsoft_tunnel_sites_microsoft_tunnel_site_item_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_microsoft_tunnel_site_item_request_builder.go @@ -130,7 +130,7 @@ func (m *MicrosoftTunnelSitesMicrosoftTunnelSiteItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of MicrosoftTunnelSite settings associated with account. @@ -146,7 +146,7 @@ func (m *MicrosoftTunnelSitesMicrosoftTunnelSiteItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property microsoftTunnelSites in deviceManagement @@ -159,7 +159,7 @@ func (m *MicrosoftTunnelSitesMicrosoftTunnelSiteItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/microsoft_tunnel_sites_request_builder.go b/devicemanagement/microsoft_tunnel_sites_request_builder.go index 62cfa9e53c9..c1a8c0f47a7 100644 --- a/devicemanagement/microsoft_tunnel_sites_request_builder.go +++ b/devicemanagement/microsoft_tunnel_sites_request_builder.go @@ -125,7 +125,7 @@ func (m *MicrosoftTunnelSitesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to microsoftTunnelSites for deviceManagement @@ -138,7 +138,7 @@ func (m *MicrosoftTunnelSitesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go index 0fbe0561132..68221156881 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go @@ -122,7 +122,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection property of AppLogUploadRequest. @@ -138,7 +138,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appLogCollectionRequests in deviceManagement @@ -151,7 +151,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCollect requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go index ad2861f1f09..be11a07fdfd 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go @@ -60,7 +60,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreateDow requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go index a134c22190f..dc549630560 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to appLogCollectionRequests for deviceManagement @@ -138,7 +138,7 @@ func (m *MobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go index e1fd2bae8ab..92f0be4399a 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go @@ -122,7 +122,7 @@ func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection property of MobileAppTroubleshootingEvent. @@ -138,7 +138,7 @@ func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property mobileAppTroubleshootingEvents in deviceManagement @@ -151,7 +151,7 @@ func (m *MobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mobile_app_troubleshooting_events_request_builder.go b/devicemanagement/mobile_app_troubleshooting_events_request_builder.go index 7ce6757d38f..4bc2a72eaa5 100644 --- a/devicemanagement/mobile_app_troubleshooting_events_request_builder.go +++ b/devicemanagement/mobile_app_troubleshooting_events_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileAppTroubleshootingEventsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mobileAppTroubleshootingEvents for deviceManagement @@ -138,7 +138,7 @@ func (m *MobileAppTroubleshootingEventsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go b/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go index 317c8588004..18eba17e59c 100644 --- a/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go +++ b/devicemanagement/mobile_threat_defense_connectors_mobile_threat_defense_connector_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of Mobile threat Defense connectors configured by the tenant. @@ -134,7 +134,7 @@ func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property mobileThreatDefenseConnectors in deviceManagement @@ -147,7 +147,7 @@ func (m *MobileThreatDefenseConnectorsMobileThreatDefenseConnectorItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/mobile_threat_defense_connectors_request_builder.go b/devicemanagement/mobile_threat_defense_connectors_request_builder.go index 259600488a6..1d3d9703802 100644 --- a/devicemanagement/mobile_threat_defense_connectors_request_builder.go +++ b/devicemanagement/mobile_threat_defense_connectors_request_builder.go @@ -125,7 +125,7 @@ func (m *MobileThreatDefenseConnectorsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mobileThreatDefenseConnectors for deviceManagement @@ -138,7 +138,7 @@ func (m *MobileThreatDefenseConnectorsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go b/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go index f2378d49267..7d1b72574b8 100644 --- a/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go +++ b/devicemanagement/monitoring_alert_records_alert_record_item_request_builder.go @@ -125,7 +125,7 @@ func (m *MonitoringAlertRecordsAlertRecordItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an alertRecord object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *MonitoringAlertRecordsAlertRecordItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property alertRecords in deviceManagement @@ -154,7 +154,7 @@ func (m *MonitoringAlertRecordsAlertRecordItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go b/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go index e0470a985ae..6036060daf7 100644 --- a/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go +++ b/devicemanagement/monitoring_alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go @@ -59,7 +59,7 @@ func (m *MonitoringAlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotifi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/monitoring_alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go b/devicemanagement/monitoring_alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go index c9709cf7647..c4bee925180 100644 --- a/devicemanagement/monitoring_alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go +++ b/devicemanagement/monitoring_alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go @@ -97,7 +97,7 @@ func (m *MonitoringAlertRecordsMicrosoftGraphDeviceManagementGetPortalNotificati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/monitoring_alert_records_request_builder.go b/devicemanagement/monitoring_alert_records_request_builder.go index b5a3c50257a..156c6ba5c04 100644 --- a/devicemanagement/monitoring_alert_records_request_builder.go +++ b/devicemanagement/monitoring_alert_records_request_builder.go @@ -132,7 +132,7 @@ func (m *MonitoringAlertRecordsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to alertRecords for deviceManagement @@ -145,7 +145,7 @@ func (m *MonitoringAlertRecordsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go b/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go index bf23d103264..89459cc41f4 100644 --- a/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go +++ b/devicemanagement/monitoring_alert_rules_alert_rule_item_request_builder.go @@ -124,7 +124,7 @@ func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an alertRule object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an alertRule object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *MonitoringAlertRulesAlertRuleItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/monitoring_alert_rules_request_builder.go b/devicemanagement/monitoring_alert_rules_request_builder.go index 8a30ac17e31..deedbb8ecc8 100644 --- a/devicemanagement/monitoring_alert_rules_request_builder.go +++ b/devicemanagement/monitoring_alert_rules_request_builder.go @@ -131,7 +131,7 @@ func (m *MonitoringAlertRulesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an alertRule object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *MonitoringAlertRulesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/monitoring_request_builder.go b/devicemanagement/monitoring_request_builder.go index fd9d27f0a9d..d115120a8b6 100644 --- a/devicemanagement/monitoring_request_builder.go +++ b/devicemanagement/monitoring_request_builder.go @@ -126,7 +126,7 @@ func (m *MonitoringRequestBuilder) ToDeleteRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get monitoring from deviceManagement @@ -142,7 +142,7 @@ func (m *MonitoringRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property monitoring in deviceManagement @@ -155,7 +155,7 @@ func (m *MonitoringRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/ndes_connectors_ndes_connector_item_request_builder.go b/devicemanagement/ndes_connectors_ndes_connector_item_request_builder.go index faf01a43b21..788ba7e46a4 100644 --- a/devicemanagement/ndes_connectors_ndes_connector_item_request_builder.go +++ b/devicemanagement/ndes_connectors_ndes_connector_item_request_builder.go @@ -118,7 +118,7 @@ func (m *NdesConnectorsNdesConnectorItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of Ndes connectors for this account. @@ -134,7 +134,7 @@ func (m *NdesConnectorsNdesConnectorItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property ndesConnectors in deviceManagement @@ -147,7 +147,7 @@ func (m *NdesConnectorsNdesConnectorItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/ndes_connectors_request_builder.go b/devicemanagement/ndes_connectors_request_builder.go index afe914ca52e..24944723929 100644 --- a/devicemanagement/ndes_connectors_request_builder.go +++ b/devicemanagement/ndes_connectors_request_builder.go @@ -125,7 +125,7 @@ func (m *NdesConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to ndesConnectors for deviceManagement @@ -138,7 +138,7 @@ func (m *NdesConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/notification_message_templates_item_localized_notification_messages_localized_notification_message_item_request_builder.go b/devicemanagement/notification_message_templates_item_localized_notification_messages_localized_notification_message_item_request_builder.go index 47e12911c46..5a4ef636ab0 100644 --- a/devicemanagement/notification_message_templates_item_localized_notification_messages_localized_notification_message_item_request_builder.go +++ b/devicemanagement/notification_message_templates_item_localized_notification_messages_localized_notification_message_item_request_builder.go @@ -118,7 +118,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedN requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of localized messages for this Notification Message Template. @@ -134,7 +134,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedN requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property localizedNotificationMessages in deviceManagement @@ -147,7 +147,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesLocalizedN requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go b/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go index 2e59839d7c3..fd31c894e69 100644 --- a/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go +++ b/devicemanagement/notification_message_templates_item_localized_notification_messages_request_builder.go @@ -125,7 +125,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to localizedNotificationMessages for deviceManagement @@ -138,7 +138,7 @@ func (m *NotificationMessageTemplatesItemLocalizedNotificationMessagesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go b/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go index f41b29d4c6d..cec4c5a6d42 100644 --- a/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go +++ b/devicemanagement/notification_message_templates_item_send_test_message_request_builder.go @@ -56,7 +56,7 @@ func (m *NotificationMessageTemplatesItemSendTestMessageRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go b/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go index e496929a782..182a9217dc0 100644 --- a/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go +++ b/devicemanagement/notification_message_templates_notification_message_template_item_request_builder.go @@ -126,7 +126,7 @@ func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Notification Message Templates. @@ -142,7 +142,7 @@ func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property notificationMessageTemplates in deviceManagement @@ -155,7 +155,7 @@ func (m *NotificationMessageTemplatesNotificationMessageTemplateItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/notification_message_templates_request_builder.go b/devicemanagement/notification_message_templates_request_builder.go index 2a6ae326f75..ff10f7f8344 100644 --- a/devicemanagement/notification_message_templates_request_builder.go +++ b/devicemanagement/notification_message_templates_request_builder.go @@ -125,7 +125,7 @@ func (m *NotificationMessageTemplatesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to notificationMessageTemplates for deviceManagement @@ -138,7 +138,7 @@ func (m *NotificationMessageTemplatesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/privilege_management_elevations_privilege_management_elevation_item_request_builder.go b/devicemanagement/privilege_management_elevations_privilege_management_elevation_item_request_builder.go index ae21cfe360c..a9ee3383056 100644 --- a/devicemanagement/privilege_management_elevations_privilege_management_elevation_item_request_builder.go +++ b/devicemanagement/privilege_management_elevations_privilege_management_elevation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *PrivilegeManagementElevationsPrivilegeManagementElevationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the endpoint privilege management elevation event entity contains elevation details. @@ -134,7 +134,7 @@ func (m *PrivilegeManagementElevationsPrivilegeManagementElevationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property privilegeManagementElevations in deviceManagement @@ -147,7 +147,7 @@ func (m *PrivilegeManagementElevationsPrivilegeManagementElevationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/privilege_management_elevations_request_builder.go b/devicemanagement/privilege_management_elevations_request_builder.go index 304bedb6625..01d1fba5663 100644 --- a/devicemanagement/privilege_management_elevations_request_builder.go +++ b/devicemanagement/privilege_management_elevations_request_builder.go @@ -125,7 +125,7 @@ func (m *PrivilegeManagementElevationsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to privilegeManagementElevations for deviceManagement @@ -138,7 +138,7 @@ func (m *PrivilegeManagementElevationsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/remote_action_audits_remote_action_audit_item_request_builder.go b/devicemanagement/remote_action_audits_remote_action_audit_item_request_builder.go index 06c6a74808a..e15155f43f1 100644 --- a/devicemanagement/remote_action_audits_remote_action_audit_item_request_builder.go +++ b/devicemanagement/remote_action_audits_remote_action_audit_item_request_builder.go @@ -118,7 +118,7 @@ func (m *RemoteActionAuditsRemoteActionAuditItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of device remote action audits with the tenant. @@ -134,7 +134,7 @@ func (m *RemoteActionAuditsRemoteActionAuditItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property remoteActionAudits in deviceManagement @@ -147,7 +147,7 @@ func (m *RemoteActionAuditsRemoteActionAuditItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/remote_action_audits_request_builder.go b/devicemanagement/remote_action_audits_request_builder.go index 89ea694cad4..54f5a1fa4b2 100644 --- a/devicemanagement/remote_action_audits_request_builder.go +++ b/devicemanagement/remote_action_audits_request_builder.go @@ -125,7 +125,7 @@ func (m *RemoteActionAuditsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to remoteActionAudits for deviceManagement @@ -138,7 +138,7 @@ func (m *RemoteActionAuditsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/remote_assistance_partners_item_begin_onboarding_request_builder.go b/devicemanagement/remote_assistance_partners_item_begin_onboarding_request_builder.go index ab3bed98754..a76d0b97982 100644 --- a/devicemanagement/remote_assistance_partners_item_begin_onboarding_request_builder.go +++ b/devicemanagement/remote_assistance_partners_item_begin_onboarding_request_builder.go @@ -56,7 +56,7 @@ func (m *RemoteAssistancePartnersItemBeginOnboardingRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/remote_assistance_partners_item_disconnect_request_builder.go b/devicemanagement/remote_assistance_partners_item_disconnect_request_builder.go index b198181a042..b1551923ff3 100644 --- a/devicemanagement/remote_assistance_partners_item_disconnect_request_builder.go +++ b/devicemanagement/remote_assistance_partners_item_disconnect_request_builder.go @@ -56,7 +56,7 @@ func (m *RemoteAssistancePartnersItemDisconnectRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/remote_assistance_partners_remote_assistance_partner_item_request_builder.go b/devicemanagement/remote_assistance_partners_remote_assistance_partner_item_request_builder.go index f0a12e008ac..ca52514e3b3 100644 --- a/devicemanagement/remote_assistance_partners_remote_assistance_partner_item_request_builder.go +++ b/devicemanagement/remote_assistance_partners_remote_assistance_partner_item_request_builder.go @@ -126,7 +126,7 @@ func (m *RemoteAssistancePartnersRemoteAssistancePartnerItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the remote assist partners. @@ -142,7 +142,7 @@ func (m *RemoteAssistancePartnersRemoteAssistancePartnerItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property remoteAssistancePartners in deviceManagement @@ -155,7 +155,7 @@ func (m *RemoteAssistancePartnersRemoteAssistancePartnerItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/remote_assistance_partners_request_builder.go b/devicemanagement/remote_assistance_partners_request_builder.go index f263e570b19..f13692968df 100644 --- a/devicemanagement/remote_assistance_partners_request_builder.go +++ b/devicemanagement/remote_assistance_partners_request_builder.go @@ -125,7 +125,7 @@ func (m *RemoteAssistancePartnersRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to remoteAssistancePartners for deviceManagement @@ -138,7 +138,7 @@ func (m *RemoteAssistancePartnersRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/remote_assistance_settings_request_builder.go b/devicemanagement/remote_assistance_settings_request_builder.go index e5750df673b..65d5955ba17 100644 --- a/devicemanagement/remote_assistance_settings_request_builder.go +++ b/devicemanagement/remote_assistance_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *RemoteAssistanceSettingsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the remote assistance settings singleton @@ -134,7 +134,7 @@ func (m *RemoteAssistanceSettingsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property remoteAssistanceSettings in deviceManagement @@ -147,7 +147,7 @@ func (m *RemoteAssistanceSettingsRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_cached_report_configurations_device_management_cached_report_configuration_item_request_builder.go b/devicemanagement/reports_cached_report_configurations_device_management_cached_report_configuration_item_request_builder.go index eba40c50773..5e978fb39f4 100644 --- a/devicemanagement/reports_cached_report_configurations_device_management_cached_report_configuration_item_request_builder.go +++ b/devicemanagement/reports_cached_report_configurations_device_management_cached_report_configuration_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ReportsCachedReportConfigurationsDeviceManagementCachedReportConfigurat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation entity representing the configuration of a cached report @@ -134,7 +134,7 @@ func (m *ReportsCachedReportConfigurationsDeviceManagementCachedReportConfigurat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cachedReportConfigurations in deviceManagement @@ -147,7 +147,7 @@ func (m *ReportsCachedReportConfigurationsDeviceManagementCachedReportConfigurat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_cached_report_configurations_request_builder.go b/devicemanagement/reports_cached_report_configurations_request_builder.go index 5a25d6c13e5..80a1c249ed6 100644 --- a/devicemanagement/reports_cached_report_configurations_request_builder.go +++ b/devicemanagement/reports_cached_report_configurations_request_builder.go @@ -125,7 +125,7 @@ func (m *ReportsCachedReportConfigurationsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to cachedReportConfigurations for deviceManagement @@ -138,7 +138,7 @@ func (m *ReportsCachedReportConfigurationsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go b/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go index bafa31a026a..ea054fa88b4 100644 --- a/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go +++ b/devicemanagement/reports_export_jobs_device_management_export_job_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation entity representing a job to export a report @@ -134,7 +134,7 @@ func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exportJobs in deviceManagement @@ -147,7 +147,7 @@ func (m *ReportsExportJobsDeviceManagementExportJobItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_export_jobs_request_builder.go b/devicemanagement/reports_export_jobs_request_builder.go index e592a0e5d0b..46782597544 100644 --- a/devicemanagement/reports_export_jobs_request_builder.go +++ b/devicemanagement/reports_export_jobs_request_builder.go @@ -125,7 +125,7 @@ func (m *ReportsExportJobsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to exportJobs for deviceManagement @@ -138,7 +138,7 @@ func (m *ReportsExportJobsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_active_malware_report_request_builder.go b/devicemanagement/reports_get_active_malware_report_request_builder.go index 1e9d3869817..50928eab4b9 100644 --- a/devicemanagement/reports_get_active_malware_report_request_builder.go +++ b/devicemanagement/reports_get_active_malware_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetActiveMalwareReportRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_active_malware_summary_report_request_builder.go b/devicemanagement/reports_get_active_malware_summary_report_request_builder.go index 91379701a15..db243a300d9 100644 --- a/devicemanagement/reports_get_active_malware_summary_report_request_builder.go +++ b/devicemanagement/reports_get_active_malware_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetActiveMalwareSummaryReportRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_all_certificates_report_request_builder.go b/devicemanagement/reports_get_all_certificates_report_request_builder.go index 727f09bba0c..14d41f27fbe 100644 --- a/devicemanagement/reports_get_all_certificates_report_request_builder.go +++ b/devicemanagement/reports_get_all_certificates_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetAllCertificatesReportRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_app_status_overview_report_request_builder.go b/devicemanagement/reports_get_app_status_overview_report_request_builder.go index 1a7f11eaf6e..e7891dc7f48 100644 --- a/devicemanagement/reports_get_app_status_overview_report_request_builder.go +++ b/devicemanagement/reports_get_app_status_overview_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetAppStatusOverviewReportRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_apps_install_summary_report_request_builder.go b/devicemanagement/reports_get_apps_install_summary_report_request_builder.go index bd347596fb4..08740076aad 100644 --- a/devicemanagement/reports_get_apps_install_summary_report_request_builder.go +++ b/devicemanagement/reports_get_apps_install_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetAppsInstallSummaryReportRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_cached_report_request_builder.go b/devicemanagement/reports_get_cached_report_request_builder.go index fae1e3e6aee..9ca51d2459f 100644 --- a/devicemanagement/reports_get_cached_report_request_builder.go +++ b/devicemanagement/reports_get_cached_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetCachedReportRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_certificates_report_request_builder.go b/devicemanagement/reports_get_certificates_report_request_builder.go index 43561e58ec6..5acede03e3f 100644 --- a/devicemanagement/reports_get_certificates_report_request_builder.go +++ b/devicemanagement/reports_get_certificates_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetCertificatesReportRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_compliance_policies_report_for_device_request_builder.go b/devicemanagement/reports_get_compliance_policies_report_for_device_request_builder.go index e34957ddd59..62a9ecebb54 100644 --- a/devicemanagement/reports_get_compliance_policies_report_for_device_request_builder.go +++ b/devicemanagement/reports_get_compliance_policies_report_for_device_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetCompliancePoliciesReportForDeviceRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_compliance_policy_device_summary_report_request_builder.go b/devicemanagement/reports_get_compliance_policy_device_summary_report_request_builder.go index 5725595d45b..98a4ed0d198 100644 --- a/devicemanagement/reports_get_compliance_policy_device_summary_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_policy_device_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetCompliancePolicyDeviceSummaryReportRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_compliance_policy_devices_report_request_builder.go b/devicemanagement/reports_get_compliance_policy_devices_report_request_builder.go index 434b9941ee8..eb83a12cb37 100644 --- a/devicemanagement/reports_get_compliance_policy_devices_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_policy_devices_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetCompliancePolicyDevicesReportRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go b/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go index 0964bb35e13..f98a1605328 100644 --- a/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_policy_non_compliance_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetCompliancePolicyNonComplianceReportRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go b/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go index e82c45c6d8c..07ea51b1317 100644 --- a/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_policy_non_compliance_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetCompliancePolicyNonComplianceSummaryReportRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_compliance_setting_details_report_request_builder.go b/devicemanagement/reports_get_compliance_setting_details_report_request_builder.go index 6f3fc807997..d9f227cd75f 100644 --- a/devicemanagement/reports_get_compliance_setting_details_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_setting_details_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetComplianceSettingDetailsReportRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go b/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go index d16d731447b..9268782b9be 100644 --- a/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_setting_non_compliance_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetComplianceSettingNonComplianceReportRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_compliance_settings_report_request_builder.go b/devicemanagement/reports_get_compliance_settings_report_request_builder.go index 69b4640a956..b64e3da90b2 100644 --- a/devicemanagement/reports_get_compliance_settings_report_request_builder.go +++ b/devicemanagement/reports_get_compliance_settings_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetComplianceSettingsReportRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_config_manager_device_policy_status_report_request_builder.go b/devicemanagement/reports_get_config_manager_device_policy_status_report_request_builder.go index b268be26137..14fc9a4cd62 100644 --- a/devicemanagement/reports_get_config_manager_device_policy_status_report_request_builder.go +++ b/devicemanagement/reports_get_config_manager_device_policy_status_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetConfigManagerDevicePolicyStatusReportRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_configuration_policies_report_for_device_request_builder.go b/devicemanagement/reports_get_configuration_policies_report_for_device_request_builder.go index 6b5ce9bad75..d82d576b9f2 100644 --- a/devicemanagement/reports_get_configuration_policies_report_for_device_request_builder.go +++ b/devicemanagement/reports_get_configuration_policies_report_for_device_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetConfigurationPoliciesReportForDeviceRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_configuration_policy_device_summary_report_request_builder.go b/devicemanagement/reports_get_configuration_policy_device_summary_report_request_builder.go index 6e8dc3e4e19..7b1b552072e 100644 --- a/devicemanagement/reports_get_configuration_policy_device_summary_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_policy_device_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetConfigurationPolicyDeviceSummaryReportRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_configuration_policy_devices_report_request_builder.go b/devicemanagement/reports_get_configuration_policy_devices_report_request_builder.go index 0989bd8f27e..283c9a10336 100644 --- a/devicemanagement/reports_get_configuration_policy_devices_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_policy_devices_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetConfigurationPolicyDevicesReportRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go b/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go index 2cb602f354c..f0b161affc1 100644 --- a/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_policy_non_compliance_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetConfigurationPolicyNonComplianceReportRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go b/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go index e9ae6251130..bc9db488ef4 100644 --- a/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_policy_non_compliance_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetConfigurationPolicyNonComplianceSummaryReportRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_configuration_policy_settings_device_summary_report_request_builder.go b/devicemanagement/reports_get_configuration_policy_settings_device_summary_report_request_builder.go index 4d7eae3e8f9..26f5e097543 100644 --- a/devicemanagement/reports_get_configuration_policy_settings_device_summary_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_policy_settings_device_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetConfigurationPolicySettingsDeviceSummaryReportRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_configuration_setting_details_report_request_builder.go b/devicemanagement/reports_get_configuration_setting_details_report_request_builder.go index 5b27ff2b62a..f5da330c49c 100644 --- a/devicemanagement/reports_get_configuration_setting_details_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_setting_details_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetConfigurationSettingDetailsReportRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go b/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go index 5a9b7ea3c9d..831b5244490 100644 --- a/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_setting_non_compliance_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetConfigurationSettingNonComplianceReportRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_configuration_settings_report_request_builder.go b/devicemanagement/reports_get_configuration_settings_report_request_builder.go index 198cd895f00..3c0ea4cebd2 100644 --- a/devicemanagement/reports_get_configuration_settings_report_request_builder.go +++ b/devicemanagement/reports_get_configuration_settings_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetConfigurationSettingsReportRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_configuration_policy_settings_summary_report_request_builder.go b/devicemanagement/reports_get_device_configuration_policy_settings_summary_report_request_builder.go index 7a7d8308a8f..f48baac6f5a 100644 --- a/devicemanagement/reports_get_device_configuration_policy_settings_summary_report_request_builder.go +++ b/devicemanagement/reports_get_device_configuration_policy_settings_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDeviceConfigurationPolicySettingsSummaryReportRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_configuration_policy_status_summary_request_builder.go b/devicemanagement/reports_get_device_configuration_policy_status_summary_request_builder.go index 4b3b5bfee6f..b099fe76f40 100644 --- a/devicemanagement/reports_get_device_configuration_policy_status_summary_request_builder.go +++ b/devicemanagement/reports_get_device_configuration_policy_status_summary_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDeviceConfigurationPolicyStatusSummaryRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_install_status_report_request_builder.go b/devicemanagement/reports_get_device_install_status_report_request_builder.go index e12ac80fc67..1d2312459f2 100644 --- a/devicemanagement/reports_get_device_install_status_report_request_builder.go +++ b/devicemanagement/reports_get_device_install_status_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDeviceInstallStatusReportRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go b/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go index 6e9acb00eac..ef4810bf834 100644 --- a/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go +++ b/devicemanagement/reports_get_device_management_intent_per_setting_contributing_profiles_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDeviceManagementIntentPerSettingContributingProfilesRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go b/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go index e207999f5eb..ab7bf3f3ddc 100644 --- a/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go +++ b/devicemanagement/reports_get_device_management_intent_settings_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDeviceManagementIntentSettingsReportRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_non_compliance_report_request_builder.go b/devicemanagement/reports_get_device_non_compliance_report_request_builder.go index dd6cd97b8d9..e6d87ce05c5 100644 --- a/devicemanagement/reports_get_device_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_device_non_compliance_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDeviceNonComplianceReportRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_policies_compliance_report_request_builder.go b/devicemanagement/reports_get_device_policies_compliance_report_request_builder.go index fd816457f80..e375a028b76 100644 --- a/devicemanagement/reports_get_device_policies_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_device_policies_compliance_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDevicePoliciesComplianceReportRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_policy_settings_compliance_report_request_builder.go b/devicemanagement/reports_get_device_policy_settings_compliance_report_request_builder.go index 168e61ea501..4a4ce067d60 100644 --- a/devicemanagement/reports_get_device_policy_settings_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_device_policy_settings_compliance_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDevicePolicySettingsComplianceReportRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_status_by_compliace_policy_report_request_builder.go b/devicemanagement/reports_get_device_status_by_compliace_policy_report_request_builder.go index a70b49e2051..b2445dc5750 100644 --- a/devicemanagement/reports_get_device_status_by_compliace_policy_report_request_builder.go +++ b/devicemanagement/reports_get_device_status_by_compliace_policy_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDeviceStatusByCompliacePolicyReportRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_status_by_compliance_policy_setting_report_request_builder.go b/devicemanagement/reports_get_device_status_by_compliance_policy_setting_report_request_builder.go index 2acee942fa5..aab1c638576 100644 --- a/devicemanagement/reports_get_device_status_by_compliance_policy_setting_report_request_builder.go +++ b/devicemanagement/reports_get_device_status_by_compliance_policy_setting_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDeviceStatusByCompliancePolicySettingReportRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_status_summary_by_compliace_policy_report_request_builder.go b/devicemanagement/reports_get_device_status_summary_by_compliace_policy_report_request_builder.go index e03dc003634..4f6a33f32dd 100644 --- a/devicemanagement/reports_get_device_status_summary_by_compliace_policy_report_request_builder.go +++ b/devicemanagement/reports_get_device_status_summary_by_compliace_policy_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDeviceStatusSummaryByCompliacePolicyReportRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_device_status_summary_by_compliance_policy_settings_report_request_builder.go b/devicemanagement/reports_get_device_status_summary_by_compliance_policy_settings_report_request_builder.go index f26d6e37409..4e0765146c4 100644 --- a/devicemanagement/reports_get_device_status_summary_by_compliance_policy_settings_report_request_builder.go +++ b/devicemanagement/reports_get_device_status_summary_by_compliance_policy_settings_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDeviceStatusSummaryByCompliancePolicySettingsReportRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_devices_status_by_policy_platform_compliance_report_request_builder.go b/devicemanagement/reports_get_devices_status_by_policy_platform_compliance_report_request_builder.go index b83a00109c5..fbd11052fbd 100644 --- a/devicemanagement/reports_get_devices_status_by_policy_platform_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_devices_status_by_policy_platform_compliance_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDevicesStatusByPolicyPlatformComplianceReportRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_devices_status_by_setting_report_request_builder.go b/devicemanagement/reports_get_devices_status_by_setting_report_request_builder.go index efed32fe77f..65f42f60068 100644 --- a/devicemanagement/reports_get_devices_status_by_setting_report_request_builder.go +++ b/devicemanagement/reports_get_devices_status_by_setting_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDevicesStatusBySettingReportRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go b/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go index 8a01fc2b231..2f2512323a7 100644 --- a/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go +++ b/devicemanagement/reports_get_devices_without_compliance_policy_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetDevicesWithoutCompliancePolicyReportRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_encryption_report_for_devices_request_builder.go b/devicemanagement/reports_get_encryption_report_for_devices_request_builder.go index b04badcfd71..9af7b87a716 100644 --- a/devicemanagement/reports_get_encryption_report_for_devices_request_builder.go +++ b/devicemanagement/reports_get_encryption_report_for_devices_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetEncryptionReportForDevicesRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_enrollment_configuration_policies_by_device_request_builder.go b/devicemanagement/reports_get_enrollment_configuration_policies_by_device_request_builder.go index 0eddccc464e..8d1b6f29007 100644 --- a/devicemanagement/reports_get_enrollment_configuration_policies_by_device_request_builder.go +++ b/devicemanagement/reports_get_enrollment_configuration_policies_by_device_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetEnrollmentConfigurationPoliciesByDeviceRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_failed_mobile_apps_report_request_builder.go b/devicemanagement/reports_get_failed_mobile_apps_report_request_builder.go index b6f14713932..0c737d227d3 100644 --- a/devicemanagement/reports_get_failed_mobile_apps_report_request_builder.go +++ b/devicemanagement/reports_get_failed_mobile_apps_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetFailedMobileAppsReportRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_failed_mobile_apps_summary_report_request_builder.go b/devicemanagement/reports_get_failed_mobile_apps_summary_report_request_builder.go index 01c36114e71..b7c457a08d5 100644 --- a/devicemanagement/reports_get_failed_mobile_apps_summary_report_request_builder.go +++ b/devicemanagement/reports_get_failed_mobile_apps_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetFailedMobileAppsSummaryReportRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_group_policy_settings_device_settings_report_request_builder.go b/devicemanagement/reports_get_group_policy_settings_device_settings_report_request_builder.go index 9e4c977f86f..ef38340cbb2 100644 --- a/devicemanagement/reports_get_group_policy_settings_device_settings_report_request_builder.go +++ b/devicemanagement/reports_get_group_policy_settings_device_settings_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetGroupPolicySettingsDeviceSettingsReportRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_historical_report_request_builder.go b/devicemanagement/reports_get_historical_report_request_builder.go index f62125e8cd1..0745380cb41 100644 --- a/devicemanagement/reports_get_historical_report_request_builder.go +++ b/devicemanagement/reports_get_historical_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetHistoricalReportRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_malware_summary_report_request_builder.go b/devicemanagement/reports_get_malware_summary_report_request_builder.go index f288418614f..d7d728f010e 100644 --- a/devicemanagement/reports_get_malware_summary_report_request_builder.go +++ b/devicemanagement/reports_get_malware_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetMalwareSummaryReportRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_mobile_application_management_app_configuration_report_request_builder.go b/devicemanagement/reports_get_mobile_application_management_app_configuration_report_request_builder.go index 1992523bc3e..ff12749d9f8 100644 --- a/devicemanagement/reports_get_mobile_application_management_app_configuration_report_request_builder.go +++ b/devicemanagement/reports_get_mobile_application_management_app_configuration_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetMobileApplicationManagementAppConfigurationReportRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_mobile_application_management_app_registration_summary_report_request_builder.go b/devicemanagement/reports_get_mobile_application_management_app_registration_summary_report_request_builder.go index d41d2238b7f..122cee6c5ea 100644 --- a/devicemanagement/reports_get_mobile_application_management_app_registration_summary_report_request_builder.go +++ b/devicemanagement/reports_get_mobile_application_management_app_registration_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetMobileApplicationManagementAppRegistrationSummaryReportReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go b/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go index 45d1fc0ca9b..5b7757f0c2e 100644 --- a/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go +++ b/devicemanagement/reports_get_noncompliant_devices_and_settings_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetNoncompliantDevicesAndSettingsReportRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go b/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go index 15a4291b3a8..c7ba7095442 100644 --- a/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go +++ b/devicemanagement/reports_get_policy_non_compliance_metadata_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetPolicyNonComplianceMetadataRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go b/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go index 57dd964877d..081dee67bcd 100644 --- a/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_policy_non_compliance_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetPolicyNonComplianceReportRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go b/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go index d456b055782..1543c450446 100644 --- a/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go +++ b/devicemanagement/reports_get_policy_non_compliance_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetPolicyNonComplianceSummaryReportRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_quiet_time_policy_user_summary_report_request_builder.go b/devicemanagement/reports_get_quiet_time_policy_user_summary_report_request_builder.go index 826ccac4eb5..1d9bc56b612 100644 --- a/devicemanagement/reports_get_quiet_time_policy_user_summary_report_request_builder.go +++ b/devicemanagement/reports_get_quiet_time_policy_user_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetQuietTimePolicyUserSummaryReportRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_quiet_time_policy_users_report_request_builder.go b/devicemanagement/reports_get_quiet_time_policy_users_report_request_builder.go index 164ffd69e84..b109a343fc5 100644 --- a/devicemanagement/reports_get_quiet_time_policy_users_report_request_builder.go +++ b/devicemanagement/reports_get_quiet_time_policy_users_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetQuietTimePolicyUsersReportRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_related_apps_status_report_request_builder.go b/devicemanagement/reports_get_related_apps_status_report_request_builder.go index 73c9a06bb1f..1e0d2295035 100644 --- a/devicemanagement/reports_get_related_apps_status_report_request_builder.go +++ b/devicemanagement/reports_get_related_apps_status_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetRelatedAppsStatusReportRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_remote_assistance_sessions_report_request_builder.go b/devicemanagement/reports_get_remote_assistance_sessions_report_request_builder.go index d0e1448d862..77a66d38c94 100644 --- a/devicemanagement/reports_get_remote_assistance_sessions_report_request_builder.go +++ b/devicemanagement/reports_get_remote_assistance_sessions_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetRemoteAssistanceSessionsReportRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_report_filters_request_builder.go b/devicemanagement/reports_get_report_filters_request_builder.go index 339a1ef0a56..360cfe61e7b 100644 --- a/devicemanagement/reports_get_report_filters_request_builder.go +++ b/devicemanagement/reports_get_report_filters_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetReportFiltersRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go b/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go index b78aeedc25d..c916996d5ef 100644 --- a/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go +++ b/devicemanagement/reports_get_setting_non_compliance_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetSettingNonComplianceReportRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_unhealthy_defender_agents_report_request_builder.go b/devicemanagement/reports_get_unhealthy_defender_agents_report_request_builder.go index 41a02b40e6b..1bc0f07c068 100644 --- a/devicemanagement/reports_get_unhealthy_defender_agents_report_request_builder.go +++ b/devicemanagement/reports_get_unhealthy_defender_agents_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetUnhealthyDefenderAgentsReportRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_unhealthy_firewall_report_request_builder.go b/devicemanagement/reports_get_unhealthy_firewall_report_request_builder.go index 24eeb2d1ba8..680261d2725 100644 --- a/devicemanagement/reports_get_unhealthy_firewall_report_request_builder.go +++ b/devicemanagement/reports_get_unhealthy_firewall_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetUnhealthyFirewallReportRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_unhealthy_firewall_summary_report_request_builder.go b/devicemanagement/reports_get_unhealthy_firewall_summary_report_request_builder.go index e5f70ae98c1..3e25800e008 100644 --- a/devicemanagement/reports_get_unhealthy_firewall_summary_report_request_builder.go +++ b/devicemanagement/reports_get_unhealthy_firewall_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetUnhealthyFirewallSummaryReportRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_user_install_status_report_request_builder.go b/devicemanagement/reports_get_user_install_status_report_request_builder.go index 41f24ff5afd..7c4a6f0c03a 100644 --- a/devicemanagement/reports_get_user_install_status_report_request_builder.go +++ b/devicemanagement/reports_get_user_install_status_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetUserInstallStatusReportRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_windows_driver_update_alert_summary_report_request_builder.go b/devicemanagement/reports_get_windows_driver_update_alert_summary_report_request_builder.go index 00ee48459e5..af84f794035 100644 --- a/devicemanagement/reports_get_windows_driver_update_alert_summary_report_request_builder.go +++ b/devicemanagement/reports_get_windows_driver_update_alert_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetWindowsDriverUpdateAlertSummaryReportRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.go b/devicemanagement/reports_get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.go index 7549d5baa9e..f3340dbdff9 100644 --- a/devicemanagement/reports_get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.go +++ b/devicemanagement/reports_get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetWindowsDriverUpdateAlertsPerPolicyPerDeviceReportRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_windows_quality_update_alert_summary_report_request_builder.go b/devicemanagement/reports_get_windows_quality_update_alert_summary_report_request_builder.go index 8a750228059..175de84f046 100644 --- a/devicemanagement/reports_get_windows_quality_update_alert_summary_report_request_builder.go +++ b/devicemanagement/reports_get_windows_quality_update_alert_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetWindowsQualityUpdateAlertSummaryReportRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.go b/devicemanagement/reports_get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.go index 71419589626..e62cf1dc3d3 100644 --- a/devicemanagement/reports_get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.go +++ b/devicemanagement/reports_get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetWindowsQualityUpdateAlertsPerPolicyPerDeviceReportRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_windows_update_alert_summary_report_request_builder.go b/devicemanagement/reports_get_windows_update_alert_summary_report_request_builder.go index 68938f0caf3..63ab5d87f76 100644 --- a/devicemanagement/reports_get_windows_update_alert_summary_report_request_builder.go +++ b/devicemanagement/reports_get_windows_update_alert_summary_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetWindowsUpdateAlertSummaryReportRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_windows_update_alerts_per_policy_per_device_report_request_builder.go b/devicemanagement/reports_get_windows_update_alerts_per_policy_per_device_report_request_builder.go index ac25835ece6..fb3b40a8e92 100644 --- a/devicemanagement/reports_get_windows_update_alerts_per_policy_per_device_report_request_builder.go +++ b/devicemanagement/reports_get_windows_update_alerts_per_policy_per_device_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_get_zebra_fota_deployment_report_request_builder.go b/devicemanagement/reports_get_zebra_fota_deployment_report_request_builder.go index 43456a78472..28e9a073338 100644 --- a/devicemanagement/reports_get_zebra_fota_deployment_report_request_builder.go +++ b/devicemanagement/reports_get_zebra_fota_deployment_report_request_builder.go @@ -59,7 +59,7 @@ func (m *ReportsGetZebraFotaDeploymentReportRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reports_request_builder.go b/devicemanagement/reports_request_builder.go index e73fc8362a0..eb47bc8e2e5 100644 --- a/devicemanagement/reports_request_builder.go +++ b/devicemanagement/reports_request_builder.go @@ -406,7 +406,7 @@ func (m *ReportsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation reports singleton @@ -422,7 +422,7 @@ func (m *ReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property reports in deviceManagement @@ -435,7 +435,7 @@ func (m *ReportsRequestBuilder) ToPatchRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/resource_access_profiles_device_management_resource_access_profile_base_item_request_builder.go b/devicemanagement/resource_access_profiles_device_management_resource_access_profile_base_item_request_builder.go index d3679b0124a..ecf477a5e94 100644 --- a/devicemanagement/resource_access_profiles_device_management_resource_access_profile_base_item_request_builder.go +++ b/devicemanagement/resource_access_profiles_device_management_resource_access_profile_base_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ResourceAccessProfilesDeviceManagementResourceAccessProfileBaseItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of resource access settings associated with account. @@ -142,7 +142,7 @@ func (m *ResourceAccessProfilesDeviceManagementResourceAccessProfileBaseItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceAccessProfiles in deviceManagement @@ -155,7 +155,7 @@ func (m *ResourceAccessProfilesDeviceManagementResourceAccessProfileBaseItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/resource_access_profiles_item_assign_request_builder.go b/devicemanagement/resource_access_profiles_item_assign_request_builder.go index 41a52ab7ac2..2f7989771ff 100644 --- a/devicemanagement/resource_access_profiles_item_assign_request_builder.go +++ b/devicemanagement/resource_access_profiles_item_assign_request_builder.go @@ -79,7 +79,7 @@ func (m *ResourceAccessProfilesItemAssignRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/resource_access_profiles_item_assignments_device_management_resource_access_profile_assignment_item_request_builder.go b/devicemanagement/resource_access_profiles_item_assignments_device_management_resource_access_profile_assignment_item_request_builder.go index 781a58607f6..4f2d26b47d4 100644 --- a/devicemanagement/resource_access_profiles_item_assignments_device_management_resource_access_profile_assignment_item_request_builder.go +++ b/devicemanagement/resource_access_profiles_item_assignments_device_management_resource_access_profile_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ResourceAccessProfilesItemAssignmentsDeviceManagementResourceAccessProf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of assignments for the device configuration profile. @@ -134,7 +134,7 @@ func (m *ResourceAccessProfilesItemAssignmentsDeviceManagementResourceAccessProf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *ResourceAccessProfilesItemAssignmentsDeviceManagementResourceAccessProf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/resource_access_profiles_item_assignments_request_builder.go b/devicemanagement/resource_access_profiles_item_assignments_request_builder.go index 212f9514bc4..b3807cae917 100644 --- a/devicemanagement/resource_access_profiles_item_assignments_request_builder.go +++ b/devicemanagement/resource_access_profiles_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *ResourceAccessProfilesItemAssignmentsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *ResourceAccessProfilesItemAssignmentsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/resource_access_profiles_query_by_platform_type_request_builder.go b/devicemanagement/resource_access_profiles_query_by_platform_type_request_builder.go index 71217d586d4..f50d67c2702 100644 --- a/devicemanagement/resource_access_profiles_query_by_platform_type_request_builder.go +++ b/devicemanagement/resource_access_profiles_query_by_platform_type_request_builder.go @@ -79,7 +79,7 @@ func (m *ResourceAccessProfilesQueryByPlatformTypeRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/resource_access_profiles_request_builder.go b/devicemanagement/resource_access_profiles_request_builder.go index cfbea664321..fa7b1d48dc6 100644 --- a/devicemanagement/resource_access_profiles_request_builder.go +++ b/devicemanagement/resource_access_profiles_request_builder.go @@ -129,7 +129,7 @@ func (m *ResourceAccessProfilesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceAccessProfiles for deviceManagement @@ -142,7 +142,7 @@ func (m *ResourceAccessProfilesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/resource_operations_item_get_scopes_for_user_with_userid_request_builder.go b/devicemanagement/resource_operations_item_get_scopes_for_user_with_userid_request_builder.go index 2d5b18e9cc3..5dcfe63cfaf 100644 --- a/devicemanagement/resource_operations_item_get_scopes_for_user_with_userid_request_builder.go +++ b/devicemanagement/resource_operations_item_get_scopes_for_user_with_userid_request_builder.go @@ -100,7 +100,7 @@ func (m *ResourceOperationsItemGetScopesForUserWithUseridRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/resource_operations_request_builder.go b/devicemanagement/resource_operations_request_builder.go index 7a676dc701e..c83aa7cfc3f 100644 --- a/devicemanagement/resource_operations_request_builder.go +++ b/devicemanagement/resource_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ResourceOperationsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceOperations for deviceManagement @@ -138,7 +138,7 @@ func (m *ResourceOperationsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/resource_operations_resource_operation_item_request_builder.go b/devicemanagement/resource_operations_resource_operation_item_request_builder.go index 4beb56c74f5..c00216969ab 100644 --- a/devicemanagement/resource_operations_resource_operation_item_request_builder.go +++ b/devicemanagement/resource_operations_resource_operation_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ResourceOperationsResourceOperationItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Resource Operations. @@ -138,7 +138,7 @@ func (m *ResourceOperationsResourceOperationItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceOperations in deviceManagement @@ -151,7 +151,7 @@ func (m *ResourceOperationsResourceOperationItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_device_management_reusable_policy_setting_item_request_builder.go b/devicemanagement/reusable_policy_settings_device_management_reusable_policy_setting_item_request_builder.go index e6544e61b25..c5fb6425671 100644 --- a/devicemanagement/reusable_policy_settings_device_management_reusable_policy_setting_item_request_builder.go +++ b/devicemanagement/reusable_policy_settings_device_management_reusable_policy_setting_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ReusablePolicySettingsDeviceManagementReusablePolicySettingItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of all reusable settings that can be referred in a policy @@ -142,7 +142,7 @@ func (m *ReusablePolicySettingsDeviceManagementReusablePolicySettingItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property reusablePolicySettings in deviceManagement @@ -155,7 +155,7 @@ func (m *ReusablePolicySettingsDeviceManagementReusablePolicySettingItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_item_clone_request_builder.go b/devicemanagement/reusable_policy_settings_item_clone_request_builder.go index cf926a59b95..526bd29435e 100644 --- a/devicemanagement/reusable_policy_settings_item_clone_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_clone_request_builder.go @@ -60,7 +60,7 @@ func (m *ReusablePolicySettingsItemCloneRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_device_management_configuration_policy_item_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_device_management_configuration_policy_item_request_builder.go index 0ddc7b2a866..aa6e1dd2f8d 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_device_management_configuration_policy_item_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_device_management_configuration_policy_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesDeviceManagem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation configuration policies referencing the current reusable setting. This property is read-only. @@ -158,7 +158,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesDeviceManagem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property referencingConfigurationPolicies in deviceManagement @@ -171,7 +171,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesDeviceManagem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assign_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assign_request_builder.go index ff4a4f1f425..c7cb8691f4c 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assign_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assign_request_builder.go @@ -79,7 +79,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go index 1624d32f564..19845cf9981 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_device_management_configuration_policy_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation policy assignments @@ -134,7 +134,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_request_builder.go index 1094e4b0ff1..e46f6c241cc 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_create_copy_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_create_copy_request_builder.go index bfbb08442b7..f244d77c448 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_create_copy_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_create_copy_request_builder.go @@ -60,7 +60,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemCreateCop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_reorder_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_reorder_request_builder.go index cd7be58c995..a7fa293f220 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_reorder_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_reorder_request_builder.go @@ -56,7 +56,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemReorderRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_retrieve_latest_upgrade_default_baseline_policy_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_retrieve_latest_upgrade_default_baseline_policy_request_builder.go index ddc7ce856f6..25442740812 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_retrieve_latest_upgrade_default_baseline_policy_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_retrieve_latest_upgrade_default_baseline_policy_request_builder.go @@ -60,7 +60,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemRetrieveL requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go index 173f1d7b180..37bf49a7202 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_device_management_configuration_setting_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation policy settings @@ -138,7 +138,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in deviceManagement @@ -151,7 +151,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index 777cceb6ef2..d77b5ef044f 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_request_builder.go index 8bb9f5aa3d1..e45df9d30b3 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_item_setting_definitions_request_builder.go @@ -99,7 +99,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_request_builder.go index 7f38e71a050..acb2858de7e 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_item_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settings for deviceManagement @@ -138,7 +138,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesItemSettingsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_request_builder.go b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_request_builder.go index 314dfbea6b3..7127cfaf295 100644 --- a/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_request_builder.go +++ b/devicemanagement/reusable_policy_settings_item_referencing_configuration_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to referencingConfigurationPolicies for deviceManagement @@ -138,7 +138,7 @@ func (m *ReusablePolicySettingsItemReferencingConfigurationPoliciesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_policy_settings_request_builder.go b/devicemanagement/reusable_policy_settings_request_builder.go index 51ba94af11e..431331cee27 100644 --- a/devicemanagement/reusable_policy_settings_request_builder.go +++ b/devicemanagement/reusable_policy_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *ReusablePolicySettingsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to reusablePolicySettings for deviceManagement @@ -138,7 +138,7 @@ func (m *ReusablePolicySettingsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_settings_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/reusable_settings_device_management_configuration_setting_definition_item_request_builder.go index d8e1bae6a82..320ce5a3070 100644 --- a/devicemanagement/reusable_settings_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/reusable_settings_device_management_configuration_setting_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ReusableSettingsDeviceManagementConfigurationSettingDefinitionItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of all reusable settings @@ -134,7 +134,7 @@ func (m *ReusableSettingsDeviceManagementConfigurationSettingDefinitionItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property reusableSettings in deviceManagement @@ -147,7 +147,7 @@ func (m *ReusableSettingsDeviceManagementConfigurationSettingDefinitionItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/reusable_settings_request_builder.go b/devicemanagement/reusable_settings_request_builder.go index 3f1fb8f3c99..cd4dd6b76fc 100644 --- a/devicemanagement/reusable_settings_request_builder.go +++ b/devicemanagement/reusable_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *ReusableSettingsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to reusableSettings for deviceManagement @@ -138,7 +138,7 @@ func (m *ReusableSettingsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go b/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go index d53b803f0f8..1c01d610f28 100644 --- a/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go +++ b/devicemanagement/role_assignments_device_and_app_management_role_assignment_item_request_builder.go @@ -126,7 +126,7 @@ func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Role Assignments. @@ -142,7 +142,7 @@ func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignments in deviceManagement @@ -155,7 +155,7 @@ func (m *RoleAssignmentsDeviceAndAppManagementRoleAssignmentItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_assignments_item_role_definition_request_builder.go b/devicemanagement/role_assignments_item_role_definition_request_builder.go index b6d96592989..76d342ed072 100644 --- a/devicemanagement/role_assignments_item_role_definition_request_builder.go +++ b/devicemanagement/role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *RoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/role_assignments_item_role_scope_tags_request_builder.go b/devicemanagement/role_assignments_item_role_scope_tags_request_builder.go index db108130460..939616c1b19 100644 --- a/devicemanagement/role_assignments_item_role_scope_tags_request_builder.go +++ b/devicemanagement/role_assignments_item_role_scope_tags_request_builder.go @@ -99,7 +99,7 @@ func (m *RoleAssignmentsItemRoleScopeTagsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/role_assignments_item_role_scope_tags_role_scope_tag_item_request_builder.go b/devicemanagement/role_assignments_item_role_scope_tags_role_scope_tag_item_request_builder.go index 36d7b57a229..86267fcb59c 100644 --- a/devicemanagement/role_assignments_item_role_scope_tags_role_scope_tag_item_request_builder.go +++ b/devicemanagement/role_assignments_item_role_scope_tags_role_scope_tag_item_request_builder.go @@ -72,7 +72,7 @@ func (m *RoleAssignmentsItemRoleScopeTagsRoleScopeTagItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/role_assignments_request_builder.go b/devicemanagement/role_assignments_request_builder.go index 7bf194c00ca..568ae9aaaf9 100644 --- a/devicemanagement/role_assignments_request_builder.go +++ b/devicemanagement/role_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *RoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignments for deviceManagement @@ -138,7 +138,7 @@ func (m *RoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go b/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go index 2f622097255..e6d05bd115c 100644 --- a/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go +++ b/devicemanagement/role_definitions_item_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/role_definitions_item_role_assignments_request_builder.go b/devicemanagement/role_definitions_item_role_assignments_request_builder.go index 9dbaf265b84..6baaf5978b7 100644 --- a/devicemanagement/role_definitions_item_role_assignments_request_builder.go +++ b/devicemanagement/role_definitions_item_role_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignments for deviceManagement @@ -138,7 +138,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go b/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go index b6c9e77acb7..3a30669c6a7 100644 --- a/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go +++ b/devicemanagement/role_definitions_item_role_assignments_role_assignment_item_request_builder.go @@ -122,7 +122,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of Role assignments for this role definition. @@ -138,7 +138,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignments in deviceManagement @@ -151,7 +151,7 @@ func (m *RoleDefinitionsItemRoleAssignmentsRoleAssignmentItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_definitions_request_builder.go b/devicemanagement/role_definitions_request_builder.go index 1194a97d9f2..65359222801 100644 --- a/devicemanagement/role_definitions_request_builder.go +++ b/devicemanagement/role_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *RoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleDefinitions for deviceManagement @@ -138,7 +138,7 @@ func (m *RoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_definitions_role_definition_item_request_builder.go b/devicemanagement/role_definitions_role_definition_item_request_builder.go index 2cf0aeebdcf..ee210016edd 100644 --- a/devicemanagement/role_definitions_role_definition_item_request_builder.go +++ b/devicemanagement/role_definitions_role_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Role Definitions. @@ -138,7 +138,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinitions in deviceManagement @@ -151,7 +151,7 @@ func (m *RoleDefinitionsRoleDefinitionItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_scope_tags_get_role_scope_tags_by_id_request_builder.go b/devicemanagement/role_scope_tags_get_role_scope_tags_by_id_request_builder.go index 38197973678..1b5fb5aaeac 100644 --- a/devicemanagement/role_scope_tags_get_role_scope_tags_by_id_request_builder.go +++ b/devicemanagement/role_scope_tags_get_role_scope_tags_by_id_request_builder.go @@ -79,7 +79,7 @@ func (m *RoleScopeTagsGetRoleScopeTagsByIdRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_scope_tags_has_custom_role_scope_tag_request_builder.go b/devicemanagement/role_scope_tags_has_custom_role_scope_tag_request_builder.go index 807ea1cd2a7..5a846f50c76 100644 --- a/devicemanagement/role_scope_tags_has_custom_role_scope_tag_request_builder.go +++ b/devicemanagement/role_scope_tags_has_custom_role_scope_tag_request_builder.go @@ -79,7 +79,7 @@ func (m *RoleScopeTagsHasCustomRoleScopeTagRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/role_scope_tags_item_assign_request_builder.go b/devicemanagement/role_scope_tags_item_assign_request_builder.go index aca236d09f6..9dc34baf128 100644 --- a/devicemanagement/role_scope_tags_item_assign_request_builder.go +++ b/devicemanagement/role_scope_tags_item_assign_request_builder.go @@ -79,7 +79,7 @@ func (m *RoleScopeTagsItemAssignRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_scope_tags_item_assignments_request_builder.go b/devicemanagement/role_scope_tags_item_assignments_request_builder.go index 721e046a453..e46fa9e4977 100644 --- a/devicemanagement/role_scope_tags_item_assignments_request_builder.go +++ b/devicemanagement/role_scope_tags_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *RoleScopeTagsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *RoleScopeTagsItemAssignmentsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_scope_tags_item_assignments_role_scope_tag_auto_assignment_item_request_builder.go b/devicemanagement/role_scope_tags_item_assignments_role_scope_tag_auto_assignment_item_request_builder.go index a38096a24cd..341d5ce95c1 100644 --- a/devicemanagement/role_scope_tags_item_assignments_role_scope_tag_auto_assignment_item_request_builder.go +++ b/devicemanagement/role_scope_tags_item_assignments_role_scope_tag_auto_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *RoleScopeTagsItemAssignmentsRoleScopeTagAutoAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of assignments for this Role Scope Tag. @@ -134,7 +134,7 @@ func (m *RoleScopeTagsItemAssignmentsRoleScopeTagAutoAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *RoleScopeTagsItemAssignmentsRoleScopeTagAutoAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_scope_tags_request_builder.go b/devicemanagement/role_scope_tags_request_builder.go index 56cedbbbe2b..c8e1ffc2e7b 100644 --- a/devicemanagement/role_scope_tags_request_builder.go +++ b/devicemanagement/role_scope_tags_request_builder.go @@ -133,7 +133,7 @@ func (m *RoleScopeTagsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleScopeTags for deviceManagement @@ -146,7 +146,7 @@ func (m *RoleScopeTagsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/role_scope_tags_role_scope_tag_item_request_builder.go b/devicemanagement/role_scope_tags_role_scope_tag_item_request_builder.go index 2e717564e0e..d0153142e90 100644 --- a/devicemanagement/role_scope_tags_role_scope_tag_item_request_builder.go +++ b/devicemanagement/role_scope_tags_role_scope_tag_item_request_builder.go @@ -126,7 +126,7 @@ func (m *RoleScopeTagsRoleScopeTagItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Role Scope Tags. @@ -142,7 +142,7 @@ func (m *RoleScopeTagsRoleScopeTagItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleScopeTags in deviceManagement @@ -155,7 +155,7 @@ func (m *RoleScopeTagsRoleScopeTagItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/scoped_for_resource_with_resource_request_builder.go b/devicemanagement/scoped_for_resource_with_resource_request_builder.go index 11783b70827..c33be450c63 100644 --- a/devicemanagement/scoped_for_resource_with_resource_request_builder.go +++ b/devicemanagement/scoped_for_resource_with_resource_request_builder.go @@ -82,7 +82,7 @@ func (m *ScopedForResourceWithResourceRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/send_custom_notification_to_company_portal_request_builder.go b/devicemanagement/send_custom_notification_to_company_portal_request_builder.go index 45fc10f2e0e..c4be0ea8321 100644 --- a/devicemanagement/send_custom_notification_to_company_portal_request_builder.go +++ b/devicemanagement/send_custom_notification_to_company_portal_request_builder.go @@ -56,7 +56,7 @@ func (m *SendCustomNotificationToCompanyPortalRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/service_now_connections_request_builder.go b/devicemanagement/service_now_connections_request_builder.go index 0e2fb7329a7..142adf34f4a 100644 --- a/devicemanagement/service_now_connections_request_builder.go +++ b/devicemanagement/service_now_connections_request_builder.go @@ -125,7 +125,7 @@ func (m *ServiceNowConnectionsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to serviceNowConnections for deviceManagement @@ -138,7 +138,7 @@ func (m *ServiceNowConnectionsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/service_now_connections_service_now_connection_item_request_builder.go b/devicemanagement/service_now_connections_service_now_connection_item_request_builder.go index 5826f490c5d..888d0f6f9b0 100644 --- a/devicemanagement/service_now_connections_service_now_connection_item_request_builder.go +++ b/devicemanagement/service_now_connections_service_now_connection_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ServiceNowConnectionsServiceNowConnectionItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of ServiceNowConnections @@ -134,7 +134,7 @@ func (m *ServiceNowConnectionsServiceNowConnectionItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property serviceNowConnections in deviceManagement @@ -147,7 +147,7 @@ func (m *ServiceNowConnectionsServiceNowConnectionItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/setting_definitions_device_management_setting_definition_item_request_builder.go b/devicemanagement/setting_definitions_device_management_setting_definition_item_request_builder.go index 1af26a2d7f8..1bca3b9fc50 100644 --- a/devicemanagement/setting_definitions_device_management_setting_definition_item_request_builder.go +++ b/devicemanagement/setting_definitions_device_management_setting_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *SettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the device management intent setting definitions @@ -134,7 +134,7 @@ func (m *SettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingDefinitions in deviceManagement @@ -147,7 +147,7 @@ func (m *SettingDefinitionsDeviceManagementSettingDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/setting_definitions_request_builder.go b/devicemanagement/setting_definitions_request_builder.go index f88cc777493..74144b7c85c 100644 --- a/devicemanagement/setting_definitions_request_builder.go +++ b/devicemanagement/setting_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *SettingDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingDefinitions for deviceManagement @@ -138,7 +138,7 @@ func (m *SettingDefinitionsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/software_update_status_summary_request_builder.go b/devicemanagement/software_update_status_summary_request_builder.go index 2f220151e4a..d54ebbaf1e1 100644 --- a/devicemanagement/software_update_status_summary_request_builder.go +++ b/devicemanagement/software_update_status_summary_request_builder.go @@ -72,7 +72,7 @@ func (m *SoftwareUpdateStatusSummaryRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/telecom_expense_management_partners_request_builder.go b/devicemanagement/telecom_expense_management_partners_request_builder.go index 61738d4841b..b6f38765308 100644 --- a/devicemanagement/telecom_expense_management_partners_request_builder.go +++ b/devicemanagement/telecom_expense_management_partners_request_builder.go @@ -125,7 +125,7 @@ func (m *TelecomExpenseManagementPartnersRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to telecomExpenseManagementPartners for deviceManagement @@ -138,7 +138,7 @@ func (m *TelecomExpenseManagementPartnersRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go b/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go index b98c5f97665..383b51cf0a8 100644 --- a/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go +++ b/devicemanagement/telecom_expense_management_partners_telecom_expense_management_partner_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the telecom expense management partners. @@ -134,7 +134,7 @@ func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property telecomExpenseManagementPartners in deviceManagement @@ -147,7 +147,7 @@ func (m *TelecomExpenseManagementPartnersTelecomExpenseManagementPartnerItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/template_insights_device_management_template_insights_definition_item_request_builder.go b/devicemanagement/template_insights_device_management_template_insights_definition_item_request_builder.go index 8cdf6764081..1d440eb8406 100644 --- a/devicemanagement/template_insights_device_management_template_insights_definition_item_request_builder.go +++ b/devicemanagement/template_insights_device_management_template_insights_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TemplateInsightsDeviceManagementTemplateInsightsDefinitionItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of setting insights in a template @@ -134,7 +134,7 @@ func (m *TemplateInsightsDeviceManagementTemplateInsightsDefinitionItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property templateInsights in deviceManagement @@ -147,7 +147,7 @@ func (m *TemplateInsightsDeviceManagementTemplateInsightsDefinitionItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/template_insights_request_builder.go b/devicemanagement/template_insights_request_builder.go index dad13ebf20a..7db069904ab 100644 --- a/devicemanagement/template_insights_request_builder.go +++ b/devicemanagement/template_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplateInsightsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to templateInsights for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplateInsightsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/template_settings_device_management_configuration_setting_template_item_request_builder.go b/devicemanagement/template_settings_device_management_configuration_setting_template_item_request_builder.go index 0e478860390..786ea8e4ca6 100644 --- a/devicemanagement/template_settings_device_management_configuration_setting_template_item_request_builder.go +++ b/devicemanagement/template_settings_device_management_configuration_setting_template_item_request_builder.go @@ -122,7 +122,7 @@ func (m *TemplateSettingsDeviceManagementConfigurationSettingTemplateItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of all TemplateSettings @@ -138,7 +138,7 @@ func (m *TemplateSettingsDeviceManagementConfigurationSettingTemplateItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property templateSettings in deviceManagement @@ -151,7 +151,7 @@ func (m *TemplateSettingsDeviceManagementConfigurationSettingTemplateItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/template_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go b/devicemanagement/template_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go index f66abe198e9..1ff23914810 100644 --- a/devicemanagement/template_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go +++ b/devicemanagement/template_settings_item_setting_definitions_device_management_configuration_setting_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TemplateSettingsItemSettingDefinitionsDeviceManagementConfigurationSett requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of related Setting Definitions @@ -134,7 +134,7 @@ func (m *TemplateSettingsItemSettingDefinitionsDeviceManagementConfigurationSett requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingDefinitions in deviceManagement @@ -147,7 +147,7 @@ func (m *TemplateSettingsItemSettingDefinitionsDeviceManagementConfigurationSett requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/template_settings_item_setting_definitions_request_builder.go b/devicemanagement/template_settings_item_setting_definitions_request_builder.go index 68ee95442e5..b5a7d62090c 100644 --- a/devicemanagement/template_settings_item_setting_definitions_request_builder.go +++ b/devicemanagement/template_settings_item_setting_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplateSettingsItemSettingDefinitionsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingDefinitions for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplateSettingsItemSettingDefinitionsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/template_settings_request_builder.go b/devicemanagement/template_settings_request_builder.go index 2a20bb824e8..de038af29e7 100644 --- a/devicemanagement/template_settings_request_builder.go +++ b/devicemanagement/template_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplateSettingsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to templateSettings for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplateSettingsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_device_management_template_item_request_builder.go b/devicemanagement/templates_device_management_template_item_request_builder.go index 45589045c4a..0b752b1a984 100644 --- a/devicemanagement/templates_device_management_template_item_request_builder.go +++ b/devicemanagement/templates_device_management_template_item_request_builder.go @@ -138,7 +138,7 @@ func (m *TemplatesDeviceManagementTemplateItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the available templates @@ -154,7 +154,7 @@ func (m *TemplatesDeviceManagementTemplateItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property templates in deviceManagement @@ -167,7 +167,7 @@ func (m *TemplatesDeviceManagementTemplateItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_import_office365_device_configuration_policies_request_builder.go b/devicemanagement/templates_import_office365_device_configuration_policies_request_builder.go index e3f7d8c3c6d..e3e8457aad3 100644 --- a/devicemanagement/templates_import_office365_device_configuration_policies_request_builder.go +++ b/devicemanagement/templates_import_office365_device_configuration_policies_request_builder.go @@ -79,7 +79,7 @@ func (m *TemplatesImportOffice365DeviceConfigurationPoliciesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/templates_item_categories_device_management_template_setting_category_item_request_builder.go b/devicemanagement/templates_item_categories_device_management_template_setting_category_item_request_builder.go index 7b8480867e5..fa1c036b3ba 100644 --- a/devicemanagement/templates_item_categories_device_management_template_setting_category_item_request_builder.go +++ b/devicemanagement/templates_item_categories_device_management_template_setting_category_item_request_builder.go @@ -126,7 +126,7 @@ func (m *TemplatesItemCategoriesDeviceManagementTemplateSettingCategoryItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of setting categories within the template @@ -142,7 +142,7 @@ func (m *TemplatesItemCategoriesDeviceManagementTemplateSettingCategoryItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property categories in deviceManagement @@ -155,7 +155,7 @@ func (m *TemplatesItemCategoriesDeviceManagementTemplateSettingCategoryItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/templates_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go index 8f2bba2f073..99752d82088 100644 --- a/devicemanagement/templates_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/templates_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TemplatesItemCategoriesItemRecommendedSettingsDeviceManagementSettingIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the settings this category contains @@ -134,7 +134,7 @@ func (m *TemplatesItemCategoriesItemRecommendedSettingsDeviceManagementSettingIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property recommendedSettings in deviceManagement @@ -147,7 +147,7 @@ func (m *TemplatesItemCategoriesItemRecommendedSettingsDeviceManagementSettingIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_categories_item_recommended_settings_request_builder.go b/devicemanagement/templates_item_categories_item_recommended_settings_request_builder.go index 8cca934b14f..46b792c5f8b 100644 --- a/devicemanagement/templates_item_categories_item_recommended_settings_request_builder.go +++ b/devicemanagement/templates_item_categories_item_recommended_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplatesItemCategoriesItemRecommendedSettingsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to recommendedSettings for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplatesItemCategoriesItemRecommendedSettingsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go b/devicemanagement/templates_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go index dea8919d960..15e34608d35 100644 --- a/devicemanagement/templates_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go +++ b/devicemanagement/templates_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TemplatesItemCategoriesItemSettingDefinitionsDeviceManagementSettingDef requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the setting definitions this category contains @@ -134,7 +134,7 @@ func (m *TemplatesItemCategoriesItemSettingDefinitionsDeviceManagementSettingDef requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingDefinitions in deviceManagement @@ -147,7 +147,7 @@ func (m *TemplatesItemCategoriesItemSettingDefinitionsDeviceManagementSettingDef requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_categories_item_setting_definitions_request_builder.go b/devicemanagement/templates_item_categories_item_setting_definitions_request_builder.go index 3947e25828b..4ec6e390dc8 100644 --- a/devicemanagement/templates_item_categories_item_setting_definitions_request_builder.go +++ b/devicemanagement/templates_item_categories_item_setting_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplatesItemCategoriesItemSettingDefinitionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingDefinitions for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplatesItemCategoriesItemSettingDefinitionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_categories_request_builder.go b/devicemanagement/templates_item_categories_request_builder.go index 5521a7c6a7a..a811391a135 100644 --- a/devicemanagement/templates_item_categories_request_builder.go +++ b/devicemanagement/templates_item_categories_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplatesItemCategoriesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to categories for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplatesItemCategoriesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_compare_with_template_id_request_builder.go b/devicemanagement/templates_item_compare_with_template_id_request_builder.go index fb49b317777..b7797d4e5bc 100644 --- a/devicemanagement/templates_item_compare_with_template_id_request_builder.go +++ b/devicemanagement/templates_item_compare_with_template_id_request_builder.go @@ -100,7 +100,7 @@ func (m *TemplatesItemCompareWithTemplateIdRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/templates_item_create_instance_request_builder.go b/devicemanagement/templates_item_create_instance_request_builder.go index 48c6d3cd267..e39ba552bf7 100644 --- a/devicemanagement/templates_item_create_instance_request_builder.go +++ b/devicemanagement/templates_item_create_instance_request_builder.go @@ -60,7 +60,7 @@ func (m *TemplatesItemCreateInstanceRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_device_management_template_item_request_builder.go b/devicemanagement/templates_item_migratable_to_device_management_template_item_request_builder.go index c16c68a6645..475f6b2290c 100644 --- a/devicemanagement/templates_item_migratable_to_device_management_template_item_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_device_management_template_item_request_builder.go @@ -134,7 +134,7 @@ func (m *TemplatesItemMigratableToDeviceManagementTemplateItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of templates this template can migrate to @@ -150,7 +150,7 @@ func (m *TemplatesItemMigratableToDeviceManagementTemplateItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property migratableTo in deviceManagement @@ -163,7 +163,7 @@ func (m *TemplatesItemMigratableToDeviceManagementTemplateItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_import_office365_device_configuration_policies_request_builder.go b/devicemanagement/templates_item_migratable_to_import_office365_device_configuration_policies_request_builder.go index e7920408b67..090c3818b30 100644 --- a/devicemanagement/templates_item_migratable_to_import_office365_device_configuration_policies_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_import_office365_device_configuration_policies_request_builder.go @@ -79,7 +79,7 @@ func (m *TemplatesItemMigratableToImportOffice365DeviceConfigurationPoliciesRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/templates_item_migratable_to_item_categories_device_management_template_setting_category_item_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_device_management_template_setting_category_item_request_builder.go index 852ab649408..2af464cc555 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_device_management_template_setting_category_item_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_device_management_template_setting_category_item_request_builder.go @@ -126,7 +126,7 @@ func (m *TemplatesItemMigratableToItemCategoriesDeviceManagementTemplateSettingC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of setting categories within the template @@ -142,7 +142,7 @@ func (m *TemplatesItemMigratableToItemCategoriesDeviceManagementTemplateSettingC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property categories in deviceManagement @@ -155,7 +155,7 @@ func (m *TemplatesItemMigratableToItemCategoriesDeviceManagementTemplateSettingC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go index b973ed3afc8..206ff71805c 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_device_management_setting_instance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsDeviceMan requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the settings this category contains @@ -134,7 +134,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsDeviceMan requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property recommendedSettings in deviceManagement @@ -147,7 +147,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsDeviceMan requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_request_builder.go index 400f291d0be..fc0f41a408e 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_item_recommended_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to recommendedSettings for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemRecommendedSettingsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go index 9b38165924e..9320e808c86 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_device_management_setting_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsDeviceMana requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the setting definitions this category contains @@ -134,7 +134,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsDeviceMana requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingDefinitions in deviceManagement @@ -147,7 +147,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsDeviceMana requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_request_builder.go index 67da79fd798..bb969923e5d 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_item_setting_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingDefinitions for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplatesItemMigratableToItemCategoriesItemSettingDefinitionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_item_categories_request_builder.go b/devicemanagement/templates_item_migratable_to_item_categories_request_builder.go index f0feb4f2ba2..e3b3fd96b70 100644 --- a/devicemanagement/templates_item_migratable_to_item_categories_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_categories_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplatesItemMigratableToItemCategoriesRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to categories for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplatesItemMigratableToItemCategoriesRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_item_compare_with_template_id_request_builder.go b/devicemanagement/templates_item_migratable_to_item_compare_with_template_id_request_builder.go index 3f99c37608e..76605ac6fde 100644 --- a/devicemanagement/templates_item_migratable_to_item_compare_with_template_id_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_compare_with_template_id_request_builder.go @@ -100,7 +100,7 @@ func (m *TemplatesItemMigratableToItemCompareWithTemplateIdRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/templates_item_migratable_to_item_create_instance_request_builder.go b/devicemanagement/templates_item_migratable_to_item_create_instance_request_builder.go index ab86d9ec1b7..3988e9775ed 100644 --- a/devicemanagement/templates_item_migratable_to_item_create_instance_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_create_instance_request_builder.go @@ -60,7 +60,7 @@ func (m *TemplatesItemMigratableToItemCreateInstanceRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_item_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/templates_item_migratable_to_item_settings_device_management_setting_instance_item_request_builder.go index 4ad273c999c..85bb9d7a0eb 100644 --- a/devicemanagement/templates_item_migratable_to_item_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_settings_device_management_setting_instance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TemplatesItemMigratableToItemSettingsDeviceManagementSettingInstanceIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of all settings this template has @@ -134,7 +134,7 @@ func (m *TemplatesItemMigratableToItemSettingsDeviceManagementSettingInstanceIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in deviceManagement @@ -147,7 +147,7 @@ func (m *TemplatesItemMigratableToItemSettingsDeviceManagementSettingInstanceIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_item_settings_request_builder.go b/devicemanagement/templates_item_migratable_to_item_settings_request_builder.go index ec28e11dfcd..76bb99a92ca 100644 --- a/devicemanagement/templates_item_migratable_to_item_settings_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_item_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplatesItemMigratableToItemSettingsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settings for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplatesItemMigratableToItemSettingsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_migratable_to_request_builder.go b/devicemanagement/templates_item_migratable_to_request_builder.go index 476ba2ef5e7..90769790881 100644 --- a/devicemanagement/templates_item_migratable_to_request_builder.go +++ b/devicemanagement/templates_item_migratable_to_request_builder.go @@ -129,7 +129,7 @@ func (m *TemplatesItemMigratableToRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to migratableTo for deviceManagement @@ -142,7 +142,7 @@ func (m *TemplatesItemMigratableToRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_settings_device_management_setting_instance_item_request_builder.go b/devicemanagement/templates_item_settings_device_management_setting_instance_item_request_builder.go index 41702544035..e483eaf79b2 100644 --- a/devicemanagement/templates_item_settings_device_management_setting_instance_item_request_builder.go +++ b/devicemanagement/templates_item_settings_device_management_setting_instance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TemplatesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of all settings this template has @@ -134,7 +134,7 @@ func (m *TemplatesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in deviceManagement @@ -147,7 +147,7 @@ func (m *TemplatesItemSettingsDeviceManagementSettingInstanceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_item_settings_request_builder.go b/devicemanagement/templates_item_settings_request_builder.go index 7260d9904d2..9115ecec87d 100644 --- a/devicemanagement/templates_item_settings_request_builder.go +++ b/devicemanagement/templates_item_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *TemplatesItemSettingsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settings for deviceManagement @@ -138,7 +138,7 @@ func (m *TemplatesItemSettingsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/templates_request_builder.go b/devicemanagement/templates_request_builder.go index 9e5ff63a7d9..739242df1d1 100644 --- a/devicemanagement/templates_request_builder.go +++ b/devicemanagement/templates_request_builder.go @@ -129,7 +129,7 @@ func (m *TemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to templates for deviceManagement @@ -142,7 +142,7 @@ func (m *TemplatesRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/tenant_attach_r_b_a_c_enable_request_builder.go b/devicemanagement/tenant_attach_r_b_a_c_enable_request_builder.go index 37383408824..cf358871e39 100644 --- a/devicemanagement/tenant_attach_r_b_a_c_enable_request_builder.go +++ b/devicemanagement/tenant_attach_r_b_a_c_enable_request_builder.go @@ -56,7 +56,7 @@ func (m *TenantAttachRBACEnableRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/tenant_attach_r_b_a_c_get_state_request_builder.go b/devicemanagement/tenant_attach_r_b_a_c_get_state_request_builder.go index 507b58866a5..c7f6dd9cf16 100644 --- a/devicemanagement/tenant_attach_r_b_a_c_get_state_request_builder.go +++ b/devicemanagement/tenant_attach_r_b_a_c_get_state_request_builder.go @@ -60,7 +60,7 @@ func (m *TenantAttachRBACGetStateRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/tenant_attach_r_b_a_c_request_builder.go b/devicemanagement/tenant_attach_r_b_a_c_request_builder.go index 5cbf488aae1..1f6ca2cfd67 100644 --- a/devicemanagement/tenant_attach_r_b_a_c_request_builder.go +++ b/devicemanagement/tenant_attach_r_b_a_c_request_builder.go @@ -126,7 +126,7 @@ func (m *TenantAttachRBACRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation tenantAttach RBAC Enablement @@ -142,7 +142,7 @@ func (m *TenantAttachRBACRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tenantAttachRBAC in deviceManagement @@ -155,7 +155,7 @@ func (m *TenantAttachRBACRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/terms_and_conditions_item_acceptance_statuses_item_terms_and_conditions_request_builder.go b/devicemanagement/terms_and_conditions_item_acceptance_statuses_item_terms_and_conditions_request_builder.go index 23b71448cd6..da0e93d63c2 100644 --- a/devicemanagement/terms_and_conditions_item_acceptance_statuses_item_terms_and_conditions_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_acceptance_statuses_item_terms_and_conditions_request_builder.go @@ -72,7 +72,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesItemTermsAndConditionsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go b/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go index ec776ae29ba..d96ba706445 100644 --- a/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_acceptance_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to acceptanceStatuses for deviceManagement @@ -138,7 +138,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/terms_and_conditions_item_acceptance_statuses_terms_and_conditions_acceptance_status_item_request_builder.go b/devicemanagement/terms_and_conditions_item_acceptance_statuses_terms_and_conditions_acceptance_status_item_request_builder.go index 2040183bdf9..2d093dfb799 100644 --- a/devicemanagement/terms_and_conditions_item_acceptance_statuses_terms_and_conditions_acceptance_status_item_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_acceptance_statuses_terms_and_conditions_acceptance_status_item_request_builder.go @@ -122,7 +122,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceSta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of acceptance statuses for this T&C policy. @@ -138,7 +138,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceSta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property acceptanceStatuses in deviceManagement @@ -151,7 +151,7 @@ func (m *TermsAndConditionsItemAcceptanceStatusesTermsAndConditionsAcceptanceSta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/terms_and_conditions_item_assignments_request_builder.go b/devicemanagement/terms_and_conditions_item_assignments_request_builder.go index 84222bd22e8..4e5c99397a2 100644 --- a/devicemanagement/terms_and_conditions_item_assignments_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *TermsAndConditionsItemAssignmentsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *TermsAndConditionsItemAssignmentsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go b/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go index 776e5ded66a..69007ea226e 100644 --- a/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_assignments_terms_and_conditions_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of assignments for this T&C policy. @@ -134,7 +134,7 @@ func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *TermsAndConditionsItemAssignmentsTermsAndConditionsAssignmentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/terms_and_conditions_item_group_assignments_item_terms_and_conditions_request_builder.go b/devicemanagement/terms_and_conditions_item_group_assignments_item_terms_and_conditions_request_builder.go index 2c230cbe32c..42fa3fb7c02 100644 --- a/devicemanagement/terms_and_conditions_item_group_assignments_item_terms_and_conditions_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_group_assignments_item_terms_and_conditions_request_builder.go @@ -72,7 +72,7 @@ func (m *TermsAndConditionsItemGroupAssignmentsItemTermsAndConditionsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/terms_and_conditions_item_group_assignments_request_builder.go b/devicemanagement/terms_and_conditions_item_group_assignments_request_builder.go index 44b789dcb3e..d361d57b890 100644 --- a/devicemanagement/terms_and_conditions_item_group_assignments_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_group_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *TermsAndConditionsItemGroupAssignmentsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupAssignments for deviceManagement @@ -138,7 +138,7 @@ func (m *TermsAndConditionsItemGroupAssignmentsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/terms_and_conditions_item_group_assignments_terms_and_conditions_group_assignment_item_request_builder.go b/devicemanagement/terms_and_conditions_item_group_assignments_terms_and_conditions_group_assignment_item_request_builder.go index c165a126c4f..ed907d49555 100644 --- a/devicemanagement/terms_and_conditions_item_group_assignments_terms_and_conditions_group_assignment_item_request_builder.go +++ b/devicemanagement/terms_and_conditions_item_group_assignments_terms_and_conditions_group_assignment_item_request_builder.go @@ -122,7 +122,7 @@ func (m *TermsAndConditionsItemGroupAssignmentsTermsAndConditionsGroupAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for this T&C policy. @@ -138,7 +138,7 @@ func (m *TermsAndConditionsItemGroupAssignmentsTermsAndConditionsGroupAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupAssignments in deviceManagement @@ -151,7 +151,7 @@ func (m *TermsAndConditionsItemGroupAssignmentsTermsAndConditionsGroupAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/terms_and_conditions_request_builder.go b/devicemanagement/terms_and_conditions_request_builder.go index 091471a455e..8cc76855503 100644 --- a/devicemanagement/terms_and_conditions_request_builder.go +++ b/devicemanagement/terms_and_conditions_request_builder.go @@ -125,7 +125,7 @@ func (m *TermsAndConditionsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to termsAndConditions for deviceManagement @@ -138,7 +138,7 @@ func (m *TermsAndConditionsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go b/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go index 34b41de437c..426efaa6b2f 100644 --- a/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go +++ b/devicemanagement/terms_and_conditions_terms_and_conditions_item_request_builder.go @@ -130,7 +130,7 @@ func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the terms and conditions associated with device management of the company. @@ -146,7 +146,7 @@ func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property termsAndConditions in deviceManagement @@ -159,7 +159,7 @@ func (m *TermsAndConditionsTermsAndConditionsItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go b/devicemanagement/troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go index 41d7662b987..6967cb49a31 100644 --- a/devicemanagement/troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go +++ b/devicemanagement/troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of troubleshooting events for the tenant. @@ -134,7 +134,7 @@ func (m *TroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property troubleshootingEvents in deviceManagement @@ -147,7 +147,7 @@ func (m *TroubleshootingEventsDeviceManagementTroubleshootingEventItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/troubleshooting_events_request_builder.go b/devicemanagement/troubleshooting_events_request_builder.go index 657171ca771..c8888f088e1 100644 --- a/devicemanagement/troubleshooting_events_request_builder.go +++ b/devicemanagement/troubleshooting_events_request_builder.go @@ -125,7 +125,7 @@ func (m *TroubleshootingEventsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to troubleshootingEvents for deviceManagement @@ -138,7 +138,7 @@ func (m *TroubleshootingEventsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_request_builder.go index c9aeb49122a..79eaee088ba 100644 --- a/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAnomalyCorrelationGroupOverview for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.go index 3eb48dd3e49..17c53cba3e6 100644 --- a/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_correlation_group_overview_user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user experience analytics anomaly correlation group overview entity contains the information for each correlation group of an anomaly. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAnomalyCorrelationGroupOverview in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAnomalyCorrelationGroupOverviewUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_anomaly_device_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_device_request_builder.go index 324f32db779..2f609e04953 100644 --- a/devicemanagement/user_experience_analytics_anomaly_device_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_device_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAnomalyDeviceRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAnomalyDevice for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAnomalyDeviceRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_anomaly_device_user_experience_analytics_anomaly_device_item_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_device_user_experience_analytics_anomaly_device_item_request_builder.go index 6ef3bc25d76..7f86b1408d8 100644 --- a/devicemanagement/user_experience_analytics_anomaly_device_user_experience_analytics_anomaly_device_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_device_user_experience_analytics_anomaly_device_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAnomalyDeviceUserExperienceAnalyticsAnomalyDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user experience analytics anomaly entity contains device details. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAnomalyDeviceUserExperienceAnalyticsAnomalyDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAnomalyDevice in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAnomalyDeviceUserExperienceAnalyticsAnomalyDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_anomaly_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_request_builder.go index cb538003acb..9d7dcfd145a 100644 --- a/devicemanagement/user_experience_analytics_anomaly_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAnomalyRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAnomaly for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAnomalyRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_anomaly_user_experience_analytics_anomaly_item_request_builder.go b/devicemanagement/user_experience_analytics_anomaly_user_experience_analytics_anomaly_item_request_builder.go index 03661f42d47..e40630c80c9 100644 --- a/devicemanagement/user_experience_analytics_anomaly_user_experience_analytics_anomaly_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_anomaly_user_experience_analytics_anomaly_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAnomalyUserExperienceAnalyticsAnomalyItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user experience analytics anomaly entity contains anomaly details. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAnomalyUserExperienceAnalyticsAnomalyItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAnomaly in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAnomalyUserExperienceAnalyticsAnomalyItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.go index e339dd9d950..570df54ab4e 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetai requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetai requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.go index bd149455eb2..dd2ef51b9d7 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_details_user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetai requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics appHealth Application Performance by App Version details @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetai requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetai requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.go index 7087f11756c..2f1a67b3f76 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.go index 1d20fca1764..368659831ec 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_device_id_user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics appHealth Application Performance by App Version Device Id @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.go index 26d3c53e16e..515970557f9 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.go index 8bd02d314b8..9c75b0b87e5 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_app_version_user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionUserE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics appHealth Application Performance by App Version @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionUserE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionUserE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.go index 5782c5037ac..7160ebfbc5b 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.go index f806b06d021..b3c1f95d79f 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_by_o_s_version_user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionUserEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics appHealth Application Performance by OS Version @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionUserEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionUserEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_request_builder.go index fb086537c8a..9480531522a 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAppHealthApplicationPerformance for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_application_performance_user_experience_analytics_app_health_application_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_application_performance_user_experience_analytics_app_health_application_performance_item_request_builder.go index 449fd8f9018..48e594d2744 100644 --- a/devicemanagement/user_experience_analytics_app_health_application_performance_user_experience_analytics_app_health_application_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_application_performance_user_experience_analytics_app_health_application_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics appHealth Application Performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAppHealthApplicationPerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAppHealthApplicationPerformanceUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_device_model_performance_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_model_performance_request_builder.go index eabc2d319cc..c0d2eeab069 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_model_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_model_performance_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAppHealthDeviceModelPerformance for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_device_model_performance_user_experience_analytics_app_health_device_model_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_model_performance_user_experience_analytics_app_health_device_model_performance_item_request_builder.go index e9f7e5e96ac..d9d82501949 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_model_performance_user_experience_analytics_app_health_device_model_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_model_performance_user_experience_analytics_app_health_device_model_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAppHealthDeviceModelPerformanceUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics appHealth Model Performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAppHealthDeviceModelPerformanceUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAppHealthDeviceModelPerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAppHealthDeviceModelPerformanceUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_device_performance_details_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_performance_details_request_builder.go index 5a8cd89f7a7..836973189ea 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_performance_details_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_performance_details_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAppHealthDevicePerformanceDetails for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_device_performance_details_user_experience_analytics_app_health_device_performance_details_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_performance_details_user_experience_analytics_app_health_device_performance_details_item_request_builder.go index 526a002b8e5..86f20da0717 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_performance_details_user_experience_analytics_app_health_device_performance_details_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_performance_details_user_experience_analytics_app_health_device_performance_details_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsUserExperienceA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics device performance details @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsUserExperienceA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAppHealthDevicePerformanceDetails in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceDetailsUserExperienceA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_device_performance_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_performance_request_builder.go index 073ff6803f5..51cc50a9627 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_performance_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAppHealthDevicePerformance for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_device_performance_user_experience_analytics_app_health_device_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_device_performance_user_experience_analytics_app_health_device_performance_item_request_builder.go index 2353b011864..48e6efd94d3 100644 --- a/devicemanagement/user_experience_analytics_app_health_device_performance_user_experience_analytics_app_health_device_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_device_performance_user_experience_analytics_app_health_device_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceUserExperienceAnalytic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics appHealth Device Performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceUserExperienceAnalytic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAppHealthDevicePerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAppHealthDevicePerformanceUserExperienceAnalytic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_request_builder.go b/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_request_builder.go index 7dfb496401f..97956b507c4 100644 --- a/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsAppHealthOSVersionPerformance for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_user_experience_analytics_app_health_o_s_version_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_user_experience_analytics_app_health_o_s_version_performance_item_request_builder.go index 3a9a1d75e5e..2b2427473f9 100644 --- a/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_user_experience_analytics_app_health_o_s_version_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_o_s_version_performance_user_experience_analytics_app_health_o_s_version_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAppHealthOSVersionPerformanceUserExperienceAnaly requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics appHealth OS version Performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAppHealthOSVersionPerformanceUserExperienceAnaly requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAppHealthOSVersionPerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAppHealthOSVersionPerformanceUserExperienceAnaly requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_overview_metric_values_request_builder.go b/devicemanagement/user_experience_analytics_app_health_overview_metric_values_request_builder.go index c08cae81bb4..8fba9f04638 100644 --- a/devicemanagement/user_experience_analytics_app_health_overview_metric_values_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_overview_metric_values_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewMetricValuesRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to metricValues for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewMetricValuesRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_overview_metric_values_user_experience_analytics_metric_item_request_builder.go b/devicemanagement/user_experience_analytics_app_health_overview_metric_values_user_experience_analytics_metric_item_request_builder.go index 71ef8b76553..6c19cb30c88 100644 --- a/devicemanagement/user_experience_analytics_app_health_overview_metric_values_user_experience_analytics_metric_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_overview_metric_values_user_experience_analytics_metric_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewMetricValuesUserExperienceAnaly requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the metric values for the user experience analytics category. Read-only. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewMetricValuesUserExperienceAnaly requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property metricValues in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewMetricValuesUserExperienceAnaly requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_app_health_overview_request_builder.go b/devicemanagement/user_experience_analytics_app_health_overview_request_builder.go index 4fc895d228c..ffe0ab7588f 100644 --- a/devicemanagement/user_experience_analytics_app_health_overview_request_builder.go +++ b/devicemanagement/user_experience_analytics_app_health_overview_request_builder.go @@ -122,7 +122,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics appHealth overview @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsAppHealthOverview in deviceManagement @@ -151,7 +151,7 @@ func (m *UserExperienceAnalyticsAppHealthOverviewRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_baselines_item_app_health_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_app_health_metrics_request_builder.go index a2fb7d947ff..96d78029a29 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_app_health_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_app_health_metrics_request_builder.go @@ -72,7 +72,7 @@ func (m *UserExperienceAnalyticsBaselinesItemAppHealthMetricsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_baselines_item_battery_health_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_battery_health_metrics_request_builder.go index 95ae3b71182..85f046c9ed1 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_battery_health_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_battery_health_metrics_request_builder.go @@ -72,7 +72,7 @@ func (m *UserExperienceAnalyticsBaselinesItemBatteryHealthMetricsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_baselines_item_best_practices_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_best_practices_metrics_request_builder.go index 4e5e02ab8e8..07a76d06cbe 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_best_practices_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_best_practices_metrics_request_builder.go @@ -72,7 +72,7 @@ func (m *UserExperienceAnalyticsBaselinesItemBestPracticesMetricsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_baselines_item_device_boot_performance_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_device_boot_performance_metrics_request_builder.go index d0f12f86582..ae99635a95d 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_device_boot_performance_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_device_boot_performance_metrics_request_builder.go @@ -72,7 +72,7 @@ func (m *UserExperienceAnalyticsBaselinesItemDeviceBootPerformanceMetricsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_baselines_item_reboot_analytics_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_reboot_analytics_metrics_request_builder.go index cc6198a1f41..efbf983535b 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_reboot_analytics_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_reboot_analytics_metrics_request_builder.go @@ -72,7 +72,7 @@ func (m *UserExperienceAnalyticsBaselinesItemRebootAnalyticsMetricsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_baselines_item_resource_performance_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_resource_performance_metrics_request_builder.go index f752c5e6647..2067e9cb966 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_resource_performance_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_resource_performance_metrics_request_builder.go @@ -72,7 +72,7 @@ func (m *UserExperienceAnalyticsBaselinesItemResourcePerformanceMetricsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_baselines_item_work_from_anywhere_metrics_request_builder.go b/devicemanagement/user_experience_analytics_baselines_item_work_from_anywhere_metrics_request_builder.go index 39b5fdd817f..84ba941674c 100644 --- a/devicemanagement/user_experience_analytics_baselines_item_work_from_anywhere_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_item_work_from_anywhere_metrics_request_builder.go @@ -72,7 +72,7 @@ func (m *UserExperienceAnalyticsBaselinesItemWorkFromAnywhereMetricsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_baselines_request_builder.go b/devicemanagement/user_experience_analytics_baselines_request_builder.go index 8ea318349aa..679189f5785 100644 --- a/devicemanagement/user_experience_analytics_baselines_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsBaselinesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsBaselines for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsBaselinesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_baselines_user_experience_analytics_baseline_item_request_builder.go b/devicemanagement/user_experience_analytics_baselines_user_experience_analytics_baseline_item_request_builder.go index 342dc434607..8d9037a92e1 100644 --- a/devicemanagement/user_experience_analytics_baselines_user_experience_analytics_baseline_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_baselines_user_experience_analytics_baseline_item_request_builder.go @@ -142,7 +142,7 @@ func (m *UserExperienceAnalyticsBaselinesUserExperienceAnalyticsBaselineItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics baselines @@ -158,7 +158,7 @@ func (m *UserExperienceAnalyticsBaselinesUserExperienceAnalyticsBaselineItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsBaselines in deviceManagement @@ -171,7 +171,7 @@ func (m *UserExperienceAnalyticsBaselinesUserExperienceAnalyticsBaselineItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_app_impact_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_app_impact_request_builder.go index 3ee4f5d71fb..d203679b081 100644 --- a/devicemanagement/user_experience_analytics_battery_health_app_impact_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_app_impact_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsBatteryHealthAppImpact for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_app_impact_user_experience_analytics_battery_health_app_impact_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_app_impact_user_experience_analytics_battery_health_app_impact_item_request_builder.go index b7ec6928c64..8d8f5b9e949 100644 --- a/devicemanagement/user_experience_analytics_battery_health_app_impact_user_experience_analytics_battery_health_app_impact_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_app_impact_user_experience_analytics_battery_health_app_impact_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsBatteryHealthAppImpactUserExperienceAnalyticsBat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user Experience Analytics Battery Health App Impact @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsBatteryHealthAppImpactUserExperienceAnalyticsBat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsBatteryHealthAppImpact in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsBatteryHealthAppImpactUserExperienceAnalyticsBat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_capacity_details_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_capacity_details_request_builder.go index b60fe409bec..ad5675a1c51 100644 --- a/devicemanagement/user_experience_analytics_battery_health_capacity_details_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_capacity_details_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user Experience Analytics Battery Health Capacity Details @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsBatteryHealthCapacityDetails in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_device_app_impact_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_app_impact_request_builder.go index 05d09695f85..f6255211c8e 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_app_impact_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_app_impact_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsBatteryHealthDeviceAppImpact for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_device_app_impact_user_experience_analytics_battery_health_device_app_impact_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_app_impact_user_experience_analytics_battery_health_device_app_impact_item_request_builder.go index c654fd59103..ed8476addd2 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_app_impact_user_experience_analytics_battery_health_device_app_impact_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_app_impact_user_experience_analytics_battery_health_device_app_impact_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceAppImpactUserExperienceAnalyt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user Experience Analytics Battery Health Device App Impact @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceAppImpactUserExperienceAnalyt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsBatteryHealthDeviceAppImpact in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceAppImpactUserExperienceAnalyt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_device_performance_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_performance_request_builder.go index 69897030302..dc11fcf84ee 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_performance_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsBatteryHealthDevicePerformance for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_device_performance_user_experience_analytics_battery_health_device_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_performance_user_experience_analytics_battery_health_device_performance_item_request_builder.go index 6660c721222..e274c63f902 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_performance_user_experience_analytics_battery_health_device_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_performance_user_experience_analytics_battery_health_device_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDevicePerformanceUserExperienceAnal requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user Experience Analytics Battery Health Device Performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDevicePerformanceUserExperienceAnal requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsBatteryHealthDevicePerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDevicePerformanceUserExperienceAnal requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_request_builder.go index b2656c5a533..8dd22d76337 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_user_experience_analytics_battery_health_device_runtime_history_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_user_experience_analytics_battery_health_device_runtime_history_item_request_builder.go index ad4cd897175..e84f9e24773 100644 --- a/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_user_experience_analytics_battery_health_device_runtime_history_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_device_runtime_history_user_experience_analytics_battery_health_device_runtime_history_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryUserExperienceA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user Experience Analytics Battery Health Device Runtime History @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryUserExperienceA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryUserExperienceA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_model_performance_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_model_performance_request_builder.go index 73a591ee247..094bcc549c2 100644 --- a/devicemanagement/user_experience_analytics_battery_health_model_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_model_performance_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsBatteryHealthModelPerformance for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_model_performance_user_experience_analytics_battery_health_model_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_model_performance_user_experience_analytics_battery_health_model_performance_item_request_builder.go index 838f52055f2..14af0ee9a89 100644 --- a/devicemanagement/user_experience_analytics_battery_health_model_performance_user_experience_analytics_battery_health_model_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_model_performance_user_experience_analytics_battery_health_model_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsBatteryHealthModelPerformanceUserExperienceAnaly requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user Experience Analytics Battery Health Model Performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsBatteryHealthModelPerformanceUserExperienceAnaly requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsBatteryHealthModelPerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsBatteryHealthModelPerformanceUserExperienceAnaly requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_os_performance_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_os_performance_request_builder.go index fb704c05692..687e2d79e28 100644 --- a/devicemanagement/user_experience_analytics_battery_health_os_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_os_performance_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsBatteryHealthOsPerformance for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_os_performance_user_experience_analytics_battery_health_os_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_os_performance_user_experience_analytics_battery_health_os_performance_item_request_builder.go index 873504e423f..c5a8e44ee78 100644 --- a/devicemanagement/user_experience_analytics_battery_health_os_performance_user_experience_analytics_battery_health_os_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_os_performance_user_experience_analytics_battery_health_os_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsBatteryHealthOsPerformanceUserExperienceAnalytic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user Experience Analytics Battery Health Os Performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsBatteryHealthOsPerformanceUserExperienceAnalytic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsBatteryHealthOsPerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsBatteryHealthOsPerformanceUserExperienceAnalytic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_battery_health_runtime_details_request_builder.go b/devicemanagement/user_experience_analytics_battery_health_runtime_details_request_builder.go index 65ca5ed2536..46e278a3854 100644 --- a/devicemanagement/user_experience_analytics_battery_health_runtime_details_request_builder.go +++ b/devicemanagement/user_experience_analytics_battery_health_runtime_details_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user Experience Analytics Battery Health Runtime Details @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsBatteryHealthRuntimeDetails in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_categories_item_metric_values_request_builder.go b/devicemanagement/user_experience_analytics_categories_item_metric_values_request_builder.go index 49c2569032a..0ce33647bfa 100644 --- a/devicemanagement/user_experience_analytics_categories_item_metric_values_request_builder.go +++ b/devicemanagement/user_experience_analytics_categories_item_metric_values_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsCategoriesItemMetricValuesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to metricValues for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsCategoriesItemMetricValuesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_categories_item_metric_values_user_experience_analytics_metric_item_request_builder.go b/devicemanagement/user_experience_analytics_categories_item_metric_values_user_experience_analytics_metric_item_request_builder.go index 9c5e3eab0a9..de0d2cd72b4 100644 --- a/devicemanagement/user_experience_analytics_categories_item_metric_values_user_experience_analytics_metric_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_categories_item_metric_values_user_experience_analytics_metric_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsCategoriesItemMetricValuesUserExperienceAnalytic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the metric values for the user experience analytics category. Read-only. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsCategoriesItemMetricValuesUserExperienceAnalytic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property metricValues in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsCategoriesItemMetricValuesUserExperienceAnalytic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_categories_request_builder.go b/devicemanagement/user_experience_analytics_categories_request_builder.go index 5b7daf39344..d2063e1efc3 100644 --- a/devicemanagement/user_experience_analytics_categories_request_builder.go +++ b/devicemanagement/user_experience_analytics_categories_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsCategoriesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsCategories for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsCategoriesRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_categories_user_experience_analytics_category_item_request_builder.go b/devicemanagement/user_experience_analytics_categories_user_experience_analytics_category_item_request_builder.go index 0806d1f5520..5d5ad659540 100644 --- a/devicemanagement/user_experience_analytics_categories_user_experience_analytics_category_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_categories_user_experience_analytics_category_item_request_builder.go @@ -122,7 +122,7 @@ func (m *UserExperienceAnalyticsCategoriesUserExperienceAnalyticsCategoryItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics categories @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsCategoriesUserExperienceAnalyticsCategoryItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsCategories in deviceManagement @@ -151,7 +151,7 @@ func (m *UserExperienceAnalyticsCategoriesUserExperienceAnalyticsCategoryItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_metric_history_request_builder.go b/devicemanagement/user_experience_analytics_device_metric_history_request_builder.go index d7a5563b603..8b42ba4513e 100644 --- a/devicemanagement/user_experience_analytics_device_metric_history_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_metric_history_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsDeviceMetricHistory for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_metric_history_user_experience_analytics_metric_history_item_request_builder.go b/devicemanagement/user_experience_analytics_device_metric_history_user_experience_analytics_metric_history_item_request_builder.go index 6afbdf7dcf8..6c023912e44 100644 --- a/devicemanagement/user_experience_analytics_device_metric_history_user_experience_analytics_metric_history_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_metric_history_user_experience_analytics_metric_history_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsDeviceMetricHistoryUserExperienceAnalyticsMetric requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics device metric history @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsDeviceMetricHistoryUserExperienceAnalyticsMetric requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsDeviceMetricHistory in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsDeviceMetricHistoryUserExperienceAnalyticsMetric requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_performance_request_builder.go b/devicemanagement/user_experience_analytics_device_performance_request_builder.go index 9fd976779b7..598395a48e4 100644 --- a/devicemanagement/user_experience_analytics_device_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_performance_request_builder.go @@ -129,7 +129,7 @@ func (m *UserExperienceAnalyticsDevicePerformanceRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsDevicePerformance for deviceManagement @@ -142,7 +142,7 @@ func (m *UserExperienceAnalyticsDevicePerformanceRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_performance_summarize_device_performance_devices_with_summarize_by_request_builder.go b/devicemanagement/user_experience_analytics_device_performance_summarize_device_performance_devices_with_summarize_by_request_builder.go index aa73f48a749..271fd0efe52 100644 --- a/devicemanagement/user_experience_analytics_device_performance_summarize_device_performance_devices_with_summarize_by_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_performance_summarize_device_performance_devices_with_summarize_by_request_builder.go @@ -104,7 +104,7 @@ func (m *UserExperienceAnalyticsDevicePerformanceSummarizeDevicePerformanceDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_device_performance_user_experience_analytics_device_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_device_performance_user_experience_analytics_device_performance_item_request_builder.go index 108a0589161..d013c9617b5 100644 --- a/devicemanagement/user_experience_analytics_device_performance_user_experience_analytics_device_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_performance_user_experience_analytics_device_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsDevicePerformanceUserExperienceAnalyticsDevicePe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics device performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsDevicePerformanceUserExperienceAnalyticsDevicePe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsDevicePerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsDevicePerformanceUserExperienceAnalyticsDevicePe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_scope_request_builder.go b/devicemanagement/user_experience_analytics_device_scope_request_builder.go index 588a747e05c..5f7199d1a59 100644 --- a/devicemanagement/user_experience_analytics_device_scope_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsDeviceScopeRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user experience analytics device scope entity endpoint to trigger on the service to either START or STOP computing metrics data based on a device scope configuration. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsDeviceScopeRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsDeviceScope in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsDeviceScopeRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_scope_trigger_device_scope_action_request_builder.go b/devicemanagement/user_experience_analytics_device_scope_trigger_device_scope_action_request_builder.go index a2842319d31..a7b9d04b048 100644 --- a/devicemanagement/user_experience_analytics_device_scope_trigger_device_scope_action_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scope_trigger_device_scope_action_request_builder.go @@ -60,7 +60,7 @@ func (m *UserExperienceAnalyticsDeviceScopeTriggerDeviceScopeActionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_scopes_item_trigger_device_scope_action_request_builder.go b/devicemanagement/user_experience_analytics_device_scopes_item_trigger_device_scope_action_request_builder.go index ed1ac5d00e1..651ad4ea095 100644 --- a/devicemanagement/user_experience_analytics_device_scopes_item_trigger_device_scope_action_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scopes_item_trigger_device_scope_action_request_builder.go @@ -60,7 +60,7 @@ func (m *UserExperienceAnalyticsDeviceScopesItemTriggerDeviceScopeActionRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_scopes_request_builder.go b/devicemanagement/user_experience_analytics_device_scopes_request_builder.go index c1c35c5c511..8f9be80668f 100644 --- a/devicemanagement/user_experience_analytics_device_scopes_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsDeviceScopesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsDeviceScopes for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsDeviceScopesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_scopes_user_experience_analytics_device_scope_item_request_builder.go b/devicemanagement/user_experience_analytics_device_scopes_user_experience_analytics_device_scope_item_request_builder.go index e9988888bc1..f6f7fc53789 100644 --- a/devicemanagement/user_experience_analytics_device_scopes_user_experience_analytics_device_scope_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scopes_user_experience_analytics_device_scope_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsDeviceScopesUserExperienceAnalyticsDeviceScopeIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user experience analytics device scope entity contains device scope configuration use to apply filtering on the endpoint analytics reports. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsDeviceScopesUserExperienceAnalyticsDeviceScopeIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsDeviceScopes in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsDeviceScopesUserExperienceAnalyticsDeviceScopeIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_scores_request_builder.go b/devicemanagement/user_experience_analytics_device_scores_request_builder.go index b870294ff17..0ea8a33769a 100644 --- a/devicemanagement/user_experience_analytics_device_scores_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scores_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsDeviceScoresRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsDeviceScores for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsDeviceScoresRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_scores_user_experience_analytics_device_scores_item_request_builder.go b/devicemanagement/user_experience_analytics_device_scores_user_experience_analytics_device_scores_item_request_builder.go index 696bddc7ec2..921be1ff61b 100644 --- a/devicemanagement/user_experience_analytics_device_scores_user_experience_analytics_device_scores_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_scores_user_experience_analytics_device_scores_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsDeviceScoresUserExperienceAnalyticsDeviceScoresI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics device scores @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsDeviceScoresUserExperienceAnalyticsDeviceScoresI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsDeviceScores in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsDeviceScoresUserExperienceAnalyticsDeviceScoresI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_startup_history_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_history_request_builder.go index 13922bf8a5a..9b8aa969e51 100644 --- a/devicemanagement/user_experience_analytics_device_startup_history_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_history_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsDeviceStartupHistory for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_startup_history_user_experience_analytics_device_startup_history_item_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_history_user_experience_analytics_device_startup_history_item_request_builder.go index 05ac885f2f2..82b8860455d 100644 --- a/devicemanagement/user_experience_analytics_device_startup_history_user_experience_analytics_device_startup_history_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_history_user_experience_analytics_device_startup_history_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsDeviceStartupHistoryUserExperienceAnalyticsDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics device Startup History @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsDeviceStartupHistoryUserExperienceAnalyticsDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsDeviceStartupHistory in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsDeviceStartupHistoryUserExperienceAnalyticsDevic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_startup_process_performance_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_process_performance_request_builder.go index ac2beccad9f..cc87ff8f20d 100644 --- a/devicemanagement/user_experience_analytics_device_startup_process_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_process_performance_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsDeviceStartupProcessPerformance for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_startup_process_performance_user_experience_analytics_device_startup_process_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_process_performance_user_experience_analytics_device_startup_process_performance_item_request_builder.go index a2148e4bcd3..d9c1bbfcb91 100644 --- a/devicemanagement/user_experience_analytics_device_startup_process_performance_user_experience_analytics_device_startup_process_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_process_performance_user_experience_analytics_device_startup_process_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessPerformanceUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics device Startup Process Performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessPerformanceUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsDeviceStartupProcessPerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessPerformanceUserExperienceAna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_startup_processes_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_processes_request_builder.go index 8a0d54ebfbd..b2e623a5b0e 100644 --- a/devicemanagement/user_experience_analytics_device_startup_processes_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_processes_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsDeviceStartupProcesses for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_startup_processes_user_experience_analytics_device_startup_process_item_request_builder.go b/devicemanagement/user_experience_analytics_device_startup_processes_user_experience_analytics_device_startup_process_item_request_builder.go index 8d856febe0e..e414352c795 100644 --- a/devicemanagement/user_experience_analytics_device_startup_processes_user_experience_analytics_device_startup_process_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_startup_processes_user_experience_analytics_device_startup_process_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessesUserExperienceAnalyticsDev requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics device Startup Processes @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessesUserExperienceAnalyticsDev requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsDeviceStartupProcesses in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsDeviceStartupProcessesUserExperienceAnalyticsDev requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_timeline_event_request_builder.go b/devicemanagement/user_experience_analytics_device_timeline_event_request_builder.go index e3869085945..f2b1de1d56b 100644 --- a/devicemanagement/user_experience_analytics_device_timeline_event_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_timeline_event_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsDeviceTimelineEventRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsDeviceTimelineEvent for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsDeviceTimelineEventRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_device_timeline_event_user_experience_analytics_device_timeline_event_item_request_builder.go b/devicemanagement/user_experience_analytics_device_timeline_event_user_experience_analytics_device_timeline_event_item_request_builder.go index f598916d964..d989d6bb789 100644 --- a/devicemanagement/user_experience_analytics_device_timeline_event_user_experience_analytics_device_timeline_event_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_device_timeline_event_user_experience_analytics_device_timeline_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsDeviceTimelineEventUserExperienceAnalyticsDevice requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user experience analytics device events entity contains NRT device timeline event details. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsDeviceTimelineEventUserExperienceAnalyticsDevice requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsDeviceTimelineEvent in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsDeviceTimelineEventUserExperienceAnalyticsDevice requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_devices_without_cloud_identity_request_builder.go b/devicemanagement/user_experience_analytics_devices_without_cloud_identity_request_builder.go index 4f3e195f1fc..41823f6fe10 100644 --- a/devicemanagement/user_experience_analytics_devices_without_cloud_identity_request_builder.go +++ b/devicemanagement/user_experience_analytics_devices_without_cloud_identity_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsDevicesWithoutCloudIdentity for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_devices_without_cloud_identity_user_experience_analytics_device_without_cloud_identity_item_request_builder.go b/devicemanagement/user_experience_analytics_devices_without_cloud_identity_user_experience_analytics_device_without_cloud_identity_item_request_builder.go index cd0742946bb..a5fbecf27a7 100644 --- a/devicemanagement/user_experience_analytics_devices_without_cloud_identity_user_experience_analytics_device_without_cloud_identity_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_devices_without_cloud_identity_user_experience_analytics_device_without_cloud_identity_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsDevicesWithoutCloudIdentityUserExperienceAnalyti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics devices without cloud identity. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsDevicesWithoutCloudIdentityUserExperienceAnalyti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsDevicesWithoutCloudIdentity in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsDevicesWithoutCloudIdentityUserExperienceAnalyti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_impacting_process_request_builder.go b/devicemanagement/user_experience_analytics_impacting_process_request_builder.go index e4edd21a7cf..6f150ee8a6b 100644 --- a/devicemanagement/user_experience_analytics_impacting_process_request_builder.go +++ b/devicemanagement/user_experience_analytics_impacting_process_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsImpactingProcessRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsImpactingProcess for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsImpactingProcessRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_impacting_process_user_experience_analytics_impacting_process_item_request_builder.go b/devicemanagement/user_experience_analytics_impacting_process_user_experience_analytics_impacting_process_item_request_builder.go index c23be1b1f8b..661b8848eaa 100644 --- a/devicemanagement/user_experience_analytics_impacting_process_user_experience_analytics_impacting_process_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_impacting_process_user_experience_analytics_impacting_process_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsImpactingProcessUserExperienceAnalyticsImpacting requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics impacting process @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsImpactingProcessUserExperienceAnalyticsImpacting requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsImpactingProcess in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsImpactingProcessUserExperienceAnalyticsImpacting requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_metric_history_request_builder.go b/devicemanagement/user_experience_analytics_metric_history_request_builder.go index a5af52d0c34..1436022ce8e 100644 --- a/devicemanagement/user_experience_analytics_metric_history_request_builder.go +++ b/devicemanagement/user_experience_analytics_metric_history_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsMetricHistoryRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsMetricHistory for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsMetricHistoryRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_metric_history_user_experience_analytics_metric_history_item_request_builder.go b/devicemanagement/user_experience_analytics_metric_history_user_experience_analytics_metric_history_item_request_builder.go index 2c61b2368ce..c93de9690c9 100644 --- a/devicemanagement/user_experience_analytics_metric_history_user_experience_analytics_metric_history_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_metric_history_user_experience_analytics_metric_history_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsMetricHistoryUserExperienceAnalyticsMetricHistor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics metric history @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsMetricHistoryUserExperienceAnalyticsMetricHistor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsMetricHistory in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsMetricHistoryUserExperienceAnalyticsMetricHistor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_model_scores_request_builder.go b/devicemanagement/user_experience_analytics_model_scores_request_builder.go index 4b805694467..230b3253b75 100644 --- a/devicemanagement/user_experience_analytics_model_scores_request_builder.go +++ b/devicemanagement/user_experience_analytics_model_scores_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsModelScoresRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsModelScores for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsModelScoresRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_model_scores_user_experience_analytics_model_scores_item_request_builder.go b/devicemanagement/user_experience_analytics_model_scores_user_experience_analytics_model_scores_item_request_builder.go index 7d969f18c2b..effe63d3372 100644 --- a/devicemanagement/user_experience_analytics_model_scores_user_experience_analytics_model_scores_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_model_scores_user_experience_analytics_model_scores_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsModelScoresUserExperienceAnalyticsModelScoresIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics model scores @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsModelScoresUserExperienceAnalyticsModelScoresIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsModelScores in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsModelScoresUserExperienceAnalyticsModelScoresIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_not_autopilot_ready_device_request_builder.go b/devicemanagement/user_experience_analytics_not_autopilot_ready_device_request_builder.go index 1ebaddcaf33..6aca88e4330 100644 --- a/devicemanagement/user_experience_analytics_not_autopilot_ready_device_request_builder.go +++ b/devicemanagement/user_experience_analytics_not_autopilot_ready_device_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsNotAutopilotReadyDevice for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_not_autopilot_ready_device_user_experience_analytics_not_autopilot_ready_device_item_request_builder.go b/devicemanagement/user_experience_analytics_not_autopilot_ready_device_user_experience_analytics_not_autopilot_ready_device_item_request_builder.go index cdfd818a2e7..85c8eb41ff9 100644 --- a/devicemanagement/user_experience_analytics_not_autopilot_ready_device_user_experience_analytics_not_autopilot_ready_device_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_not_autopilot_ready_device_user_experience_analytics_not_autopilot_ready_device_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsNotAutopilotReadyDeviceUserExperienceAnalyticsNo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics devices not Windows Autopilot ready. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsNotAutopilotReadyDeviceUserExperienceAnalyticsNo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsNotAutopilotReadyDevice in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsNotAutopilotReadyDeviceUserExperienceAnalyticsNo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_overview_request_builder.go b/devicemanagement/user_experience_analytics_overview_request_builder.go index 0ce258e4cef..5ca1147b758 100644 --- a/devicemanagement/user_experience_analytics_overview_request_builder.go +++ b/devicemanagement/user_experience_analytics_overview_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsOverviewRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics overview @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsOverviewRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsOverview in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsOverviewRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_remote_connection_request_builder.go b/devicemanagement/user_experience_analytics_remote_connection_request_builder.go index f9466a4dbae..7dbc9ac9f0c 100644 --- a/devicemanagement/user_experience_analytics_remote_connection_request_builder.go +++ b/devicemanagement/user_experience_analytics_remote_connection_request_builder.go @@ -129,7 +129,7 @@ func (m *UserExperienceAnalyticsRemoteConnectionRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsRemoteConnection for deviceManagement @@ -142,7 +142,7 @@ func (m *UserExperienceAnalyticsRemoteConnectionRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_remote_connection_summarize_device_remote_connection_with_summarize_by_request_builder.go b/devicemanagement/user_experience_analytics_remote_connection_summarize_device_remote_connection_with_summarize_by_request_builder.go index 89afe9f1914..3af0acfea64 100644 --- a/devicemanagement/user_experience_analytics_remote_connection_summarize_device_remote_connection_with_summarize_by_request_builder.go +++ b/devicemanagement/user_experience_analytics_remote_connection_summarize_device_remote_connection_with_summarize_by_request_builder.go @@ -104,7 +104,7 @@ func (m *UserExperienceAnalyticsRemoteConnectionSummarizeDeviceRemoteConnectionW requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_remote_connection_user_experience_analytics_remote_connection_item_request_builder.go b/devicemanagement/user_experience_analytics_remote_connection_user_experience_analytics_remote_connection_item_request_builder.go index 9c5e9bc1343..f5a00d5a63e 100644 --- a/devicemanagement/user_experience_analytics_remote_connection_user_experience_analytics_remote_connection_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_remote_connection_user_experience_analytics_remote_connection_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsRemoteConnectionUserExperienceAnalyticsRemoteCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics remote connection @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsRemoteConnectionUserExperienceAnalyticsRemoteCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsRemoteConnection in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsRemoteConnectionUserExperienceAnalyticsRemoteCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_resource_performance_request_builder.go b/devicemanagement/user_experience_analytics_resource_performance_request_builder.go index a7a3563a2e6..a11150352ab 100644 --- a/devicemanagement/user_experience_analytics_resource_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_resource_performance_request_builder.go @@ -129,7 +129,7 @@ func (m *UserExperienceAnalyticsResourcePerformanceRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsResourcePerformance for deviceManagement @@ -142,7 +142,7 @@ func (m *UserExperienceAnalyticsResourcePerformanceRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_resource_performance_summarize_device_resource_performance_with_summarize_by_request_builder.go b/devicemanagement/user_experience_analytics_resource_performance_summarize_device_resource_performance_with_summarize_by_request_builder.go index a43e57ab3a0..8297125cd9b 100644 --- a/devicemanagement/user_experience_analytics_resource_performance_summarize_device_resource_performance_with_summarize_by_request_builder.go +++ b/devicemanagement/user_experience_analytics_resource_performance_summarize_device_resource_performance_with_summarize_by_request_builder.go @@ -104,7 +104,7 @@ func (m *UserExperienceAnalyticsResourcePerformanceSummarizeDeviceResourcePerfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_resource_performance_user_experience_analytics_resource_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_resource_performance_user_experience_analytics_resource_performance_item_request_builder.go index d1c77eaf08c..d5751b543e3 100644 --- a/devicemanagement/user_experience_analytics_resource_performance_user_experience_analytics_resource_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_resource_performance_user_experience_analytics_resource_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsResourcePerformanceUserExperienceAnalyticsResour requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics resource performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsResourcePerformanceUserExperienceAnalyticsResour requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsResourcePerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsResourcePerformanceUserExperienceAnalyticsResour requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_score_history_request_builder.go b/devicemanagement/user_experience_analytics_score_history_request_builder.go index 6de61b23757..d48fae9498d 100644 --- a/devicemanagement/user_experience_analytics_score_history_request_builder.go +++ b/devicemanagement/user_experience_analytics_score_history_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsScoreHistoryRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsScoreHistory for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsScoreHistoryRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_score_history_user_experience_analytics_score_history_item_request_builder.go b/devicemanagement/user_experience_analytics_score_history_user_experience_analytics_score_history_item_request_builder.go index 9d27288913b..d9f4252bd78 100644 --- a/devicemanagement/user_experience_analytics_score_history_user_experience_analytics_score_history_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_score_history_user_experience_analytics_score_history_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsScoreHistoryUserExperienceAnalyticsScoreHistoryI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics device Startup Score History @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsScoreHistoryUserExperienceAnalyticsScoreHistoryI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsScoreHistory in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsScoreHistoryUserExperienceAnalyticsScoreHistoryI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.go b/devicemanagement/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.go index b92efb5ee03..b73339f5842 100644 --- a/devicemanagement/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.go +++ b/devicemanagement/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.go @@ -60,7 +60,7 @@ func (m *UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_summarized_device_scopes_request_builder.go b/devicemanagement/user_experience_analytics_summarized_device_scopes_request_builder.go index b068632d4d8..44520272d15 100644 --- a/devicemanagement/user_experience_analytics_summarized_device_scopes_request_builder.go +++ b/devicemanagement/user_experience_analytics_summarized_device_scopes_request_builder.go @@ -60,7 +60,7 @@ func (m *UserExperienceAnalyticsSummarizedDeviceScopesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.go index e9b685e9621..c241e98417b 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics work from anywhere hardware readiness metrics. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_request_builder.go index 29c4d2c19af..38eabe6208b 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to metricDevices for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_user_experience_analytics_work_from_anywhere_device_item_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_user_experience_analytics_work_from_anywhere_device_item_request_builder.go index a1106124fdc..6ba532d7896 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_user_experience_analytics_work_from_anywhere_device_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_item_metric_devices_user_experience_analytics_work_from_anywhere_device_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesUserExpe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the work from anywhere metric devices. Read-only. @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesUserExpe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property metricDevices in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsItemMetricDevicesUserExpe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_request_builder.go index 3bb19a701cb..af04096d073 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsWorkFromAnywhereMetrics for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_user_experience_analytics_work_from_anywhere_metric_item_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_user_experience_analytics_work_from_anywhere_metric_item_request_builder.go index db6a1c45088..e9c3c01b77f 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_user_experience_analytics_work_from_anywhere_metric_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_metrics_user_experience_analytics_work_from_anywhere_metric_item_request_builder.go @@ -122,7 +122,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsUserExperienceAnalyticsWo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user experience analytics work from anywhere metrics. @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsUserExperienceAnalyticsWo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsWorkFromAnywhereMetrics in deviceManagement @@ -151,7 +151,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereMetricsUserExperienceAnalyticsWo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_request_builder.go index a424d13917c..7f7078ecb53 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_request_builder.go @@ -125,7 +125,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userExperienceAnalyticsWorkFromAnywhereModelPerformance for deviceManagement @@ -138,7 +138,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.go b/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.go index acd7630b12f..f0a16f363db 100644 --- a/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.go +++ b/devicemanagement/user_experience_analytics_work_from_anywhere_model_performance_user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceUserExperienceAn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user experience analytics work from anywhere model performance @@ -134,7 +134,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceUserExperienceAn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userExperienceAnalyticsWorkFromAnywhereModelPerformance in deviceManagement @@ -147,7 +147,7 @@ func (m *UserExperienceAnalyticsWorkFromAnywhereModelPerformanceUserExperienceAn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_pfx_certificates_request_builder.go b/devicemanagement/user_pfx_certificates_request_builder.go index 207e23d4203..d8c1892bcf5 100644 --- a/devicemanagement/user_pfx_certificates_request_builder.go +++ b/devicemanagement/user_pfx_certificates_request_builder.go @@ -125,7 +125,7 @@ func (m *UserPfxCertificatesRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userPfxCertificates for deviceManagement @@ -138,7 +138,7 @@ func (m *UserPfxCertificatesRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/user_pfx_certificates_user_p_f_x_certificate_item_request_builder.go b/devicemanagement/user_pfx_certificates_user_p_f_x_certificate_item_request_builder.go index 3cc8465cad5..04436723fbd 100644 --- a/devicemanagement/user_pfx_certificates_user_p_f_x_certificate_item_request_builder.go +++ b/devicemanagement/user_pfx_certificates_user_p_f_x_certificate_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserPfxCertificatesUserPFXCertificateItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of PFX certificates associated with a user. @@ -134,7 +134,7 @@ func (m *UserPfxCertificatesUserPFXCertificateItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userPfxCertificates in deviceManagement @@ -147,7 +147,7 @@ func (m *UserPfxCertificatesUserPFXCertificateItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.go b/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.go index 0f91acc70c7..cb2b94f8175 100644 --- a/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.go +++ b/devicemanagement/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.go @@ -82,7 +82,7 @@ func (m *VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go b/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go index 3adda059119..6e618412683 100644 --- a/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_audit_events_cloud_pc_audit_event_item_request_builder.go @@ -121,7 +121,7 @@ func (m *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcAuditEvent object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property auditEvents in deviceManagement @@ -150,7 +150,7 @@ func (m *VirtualEndpointAuditEventsCloudPcAuditEventItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go b/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go index abf931c80ca..2973a629bfb 100644 --- a/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go +++ b/devicemanagement/virtual_endpoint_audit_events_get_audit_activity_types_request_builder.go @@ -97,7 +97,7 @@ func (m *VirtualEndpointAuditEventsGetAuditActivityTypesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_audit_events_request_builder.go b/devicemanagement/virtual_endpoint_audit_events_request_builder.go index 330c10d43d6..b9518c7aeba 100644 --- a/devicemanagement/virtual_endpoint_audit_events_request_builder.go +++ b/devicemanagement/virtual_endpoint_audit_events_request_builder.go @@ -132,7 +132,7 @@ func (m *VirtualEndpointAuditEventsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to auditEvents for deviceManagement @@ -145,7 +145,7 @@ func (m *VirtualEndpointAuditEventsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go b/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go index 92cbdb2e00c..739bfae2aca 100644 --- a/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_bulk_actions_cloud_pc_bulk_action_item_request_builder.go @@ -118,7 +118,7 @@ func (m *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get bulkActions from deviceManagement @@ -134,7 +134,7 @@ func (m *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bulkActions in deviceManagement @@ -147,7 +147,7 @@ func (m *VirtualEndpointBulkActionsCloudPcBulkActionItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go b/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go index df585893092..4369b470644 100644 --- a/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go +++ b/devicemanagement/virtual_endpoint_bulk_actions_request_builder.go @@ -125,7 +125,7 @@ func (m *VirtualEndpointBulkActionsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to bulkActions for deviceManagement @@ -138,7 +138,7 @@ func (m *VirtualEndpointBulkActionsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go index 30433ae9739..11942e782fb 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_bulk_resize_request_builder.go @@ -87,7 +87,7 @@ func (m *VirtualEndpointCloudPCsBulkResizeRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go index b25c34c19bd..1ca2d0babc5 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_cloud_p_c_item_request_builder.go @@ -193,7 +193,7 @@ func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a specific cloudPC object. This API is available in the following national cloud deployments. @@ -209,7 +209,7 @@ func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cloudPCs in deviceManagement @@ -222,7 +222,7 @@ func (m *VirtualEndpointCloudPCsCloudPCItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go index f6b1e6dace5..30c8b9d7a16 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go @@ -107,7 +107,7 @@ func (m *VirtualEndpointCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlan requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go index fc57e9d0bf3..49f490497ae 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_change_user_account_type_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemChangeUserAccountTypeRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_create_snapshot_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_create_snapshot_request_builder.go index 6c05b64b9ee..60a4309d8b1 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_create_snapshot_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_create_snapshot_request_builder.go @@ -56,7 +56,7 @@ func (m *VirtualEndpointCloudPCsItemCreateSnapshotRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go index 16016ad6242..08eaac2e573 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_end_grace_period_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemEndGracePeriodRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go index 6fd99cf1844..2f7d1885d83 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go @@ -97,7 +97,7 @@ func (m *VirtualEndpointCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go index 759cbc8bb7b..f6a541b2e22 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go @@ -60,7 +60,7 @@ func (m *VirtualEndpointCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go index 6d6e6f0e723..44473ccb25a 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go @@ -60,7 +60,7 @@ func (m *VirtualEndpointCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go index dd5a4696ae8..336f0feba0f 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go @@ -62,7 +62,7 @@ func (m *VirtualEndpointCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go index 97798f30967..dda111235aa 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go @@ -97,7 +97,7 @@ func (m *VirtualEndpointCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go index 4e0d042757d..c576f2939f2 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_off_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemPowerOffRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go index 481c3e12739..c66b5d6d875 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_power_on_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemPowerOnRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go index 5fb7cc7f189..1eea3139d9c 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reboot_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemRebootRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go index cffa2ff93bc..5c0c3edfee8 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_rename_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemRenameRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go index 4a0507e09d3..4124f8140d9 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_reprovision_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemReprovisionRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_resize_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_resize_request_builder.go index 6bc82a7524d..edee49bbc24 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_resize_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_resize_request_builder.go @@ -56,7 +56,7 @@ func (m *VirtualEndpointCloudPCsItemResizeRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go index 7c5319233e3..28d1db106ad 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_restore_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemRestoreRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go index 07366c345aa..4126fee984d 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go index 7a245b5d8b8..76c93b4764a 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_start_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemStartRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go index 496c3066be2..d2c943b41c4 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemStopRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go index bd8e8dea3a1..de1e6a38a6e 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_item_troubleshoot_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointCloudPCsItemTroubleshootRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go index e23addfd8b6..feb39aaa10a 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_request_builder.go @@ -136,7 +136,7 @@ func (m *VirtualEndpointCloudPCsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to cloudPCs for deviceManagement @@ -149,7 +149,7 @@ func (m *VirtualEndpointCloudPCsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go b/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go index 16b736f9022..2e75ce8e5a3 100644 --- a/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go +++ b/devicemanagement/virtual_endpoint_cloud_p_cs_validate_bulk_resize_request_builder.go @@ -85,7 +85,7 @@ func (m *VirtualEndpointCloudPCsValidateBulkResizeRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go b/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go index 08a2212350d..5583a6b7375 100644 --- a/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go +++ b/devicemanagement/virtual_endpoint_cross_cloud_government_organization_mapping_request_builder.go @@ -121,7 +121,7 @@ func (m *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcCrossCloudGovernmentOrganizationMapping object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property crossCloudGovernmentOrganizationMapping in deviceManagement @@ -150,7 +150,7 @@ func (m *VirtualEndpointCrossCloudGovernmentOrganizationMappingRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go b/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go index f81cf27225a..c3e17fe2fe3 100644 --- a/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_cloud_pc_device_image_item_request_builder.go @@ -128,7 +128,7 @@ func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a specific cloudPcDeviceImage object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceImages in deviceManagement @@ -157,7 +157,7 @@ func (m *VirtualEndpointDeviceImagesCloudPcDeviceImageItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go b/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go index fb305b7ac92..21f8a8a309b 100644 --- a/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_get_source_images_request_builder.go @@ -97,7 +97,7 @@ func (m *VirtualEndpointDeviceImagesGetSourceImagesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go b/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go index 5176bac54c2..0862ac337bf 100644 --- a/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_item_reupload_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointDeviceImagesItemReuploadRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_device_images_request_builder.go b/devicemanagement/virtual_endpoint_device_images_request_builder.go index 110898e72f1..a9b7357da53 100644 --- a/devicemanagement/virtual_endpoint_device_images_request_builder.go +++ b/devicemanagement/virtual_endpoint_device_images_request_builder.go @@ -135,7 +135,7 @@ func (m *VirtualEndpointDeviceImagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *VirtualEndpointDeviceImagesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go b/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go index e5fa5181ea0..a5405328122 100644 --- a/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_external_partner_settings_cloud_pc_external_partner_setting_item_request_builder.go @@ -124,7 +124,7 @@ func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcExternalPartnerSetting object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a cloudPcExternalPartnerSetting object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *VirtualEndpointExternalPartnerSettingsCloudPcExternalPartnerSettingItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go b/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go index eacd681daaa..89d064676a5 100644 --- a/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_external_partner_settings_request_builder.go @@ -131,7 +131,7 @@ func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new cloudPcExternalPartnerSetting object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *VirtualEndpointExternalPartnerSettingsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go b/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go index 7d0fcb77a78..1baac546dd4 100644 --- a/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_front_line_service_plans_cloud_pc_front_line_service_plan_item_request_builder.go @@ -121,7 +121,7 @@ func (m *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a cloudPcFrontLineServicePlan object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property frontLineServicePlans in deviceManagement @@ -150,7 +150,7 @@ func (m *VirtualEndpointFrontLineServicePlansCloudPcFrontLineServicePlanItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go b/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go index 8eda6a3775c..4672f8f0f2e 100644 --- a/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go +++ b/devicemanagement/virtual_endpoint_front_line_service_plans_request_builder.go @@ -128,7 +128,7 @@ func (m *VirtualEndpointFrontLineServicePlansRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to frontLineServicePlans for deviceManagement @@ -141,7 +141,7 @@ func (m *VirtualEndpointFrontLineServicePlansRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go b/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go index f920e7ce5dc..1b99958ef1f 100644 --- a/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_gallery_images_cloud_pc_gallery_image_item_request_builder.go @@ -121,7 +121,7 @@ func (m *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a specific cloudPcGalleryImage object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property galleryImages in deviceManagement @@ -150,7 +150,7 @@ func (m *VirtualEndpointGalleryImagesCloudPcGalleryImageItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_gallery_images_request_builder.go b/devicemanagement/virtual_endpoint_gallery_images_request_builder.go index b285373b4e0..dfb69a1fdee 100644 --- a/devicemanagement/virtual_endpoint_gallery_images_request_builder.go +++ b/devicemanagement/virtual_endpoint_gallery_images_request_builder.go @@ -128,7 +128,7 @@ func (m *VirtualEndpointGalleryImagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to galleryImages for deviceManagement @@ -141,7 +141,7 @@ func (m *VirtualEndpointGalleryImagesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go b/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go index 506cd279e34..67243b441a3 100644 --- a/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go +++ b/devicemanagement/virtual_endpoint_get_effective_permissions_request_builder.go @@ -97,7 +97,7 @@ func (m *VirtualEndpointGetEffectivePermissionsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go index bac21425595..4b0f713050c 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_cloud_pc_on_premises_connection_item_request_builder.go @@ -131,7 +131,7 @@ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of the cloudPcOnPremisesConnection object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a cloudPcOnPremisesConnection object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *VirtualEndpointOnPremisesConnectionsCloudPcOnPremisesConnectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go index 90c936cc1c2..8ad60b4907c 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_item_run_health_checks_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointOnPremisesConnectionsItemRunHealthChecksRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go index 9822e683913..9bcae77622e 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_item_update_ad_domain_password_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointOnPremisesConnectionsItemUpdateAdDomainPasswordRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go b/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go index 5fda3900ae2..ab1a359d6c3 100644 --- a/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go +++ b/devicemanagement/virtual_endpoint_on_premises_connections_request_builder.go @@ -131,7 +131,7 @@ func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new cloudPcOnPremisesConnection object for provisioning Cloud PCs. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *VirtualEndpointOnPremisesConnectionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_organization_settings_request_builder.go b/devicemanagement/virtual_endpoint_organization_settings_request_builder.go index b58d4e75014..147763d4c62 100644 --- a/devicemanagement/virtual_endpoint_organization_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_organization_settings_request_builder.go @@ -124,7 +124,7 @@ func (m *VirtualEndpointOrganizationSettingsRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *VirtualEndpointOrganizationSettingsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of the cloudPcOrganizationSettings object in a tenant. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *VirtualEndpointOrganizationSettingsRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go index b6aed521473..03e3e44a62b 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_apply_config_request_builder.go @@ -58,7 +58,7 @@ func (m *VirtualEndpointProvisioningPoliciesApplyConfigRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go index e97411a6c7a..43263c22fb5 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go @@ -143,7 +143,7 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcProvisioningPolicy object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a cloudPcProvisioningPolicy object. This API is available in the following national cloud deployments. @@ -174,7 +174,7 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go index 218cff70fd2..abfd70bf68b 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_apply_request_builder.go @@ -58,7 +58,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemApplyRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go index 36695e48259..44f18df500c 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assign_request_builder.go @@ -61,7 +61,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go index ee8a35318af..2091847f770 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_cloud_pc_provisioning_policy_assignment_item_request_builder.go @@ -126,7 +126,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a defined collection of provisioning policy assignments. Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have provisioning policy assigned. Returned only on $expand. For an example about how to get the assignments relationship, see Get cloudPcProvisioningPolicy. @@ -143,7 +143,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -157,7 +157,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsCloudPcProvisioningPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go index f57465d516e..1b6e887a8fb 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_mailbox_settings_request_builder.go @@ -101,7 +101,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -115,7 +115,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_request_builder.go index b77d9e5760b..1c7ed92059a 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemS func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilder) Count()(*VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilder) { return NewVirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -76,7 +76,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. // Deprecated: The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId on 2023-03-16 and will be removed 2023-07-30 func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -90,7 +90,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go index cace51ab06a..3a71f1d4e32 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_request_builder.go @@ -102,7 +102,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go index d1760fe69b1..5560369a46c 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_item_assigned_users_user_item_request_builder.go @@ -82,7 +82,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsItemAssignedUsersUser requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go index 77c21904e5d..d16efe97fac 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_assignments_request_builder.go @@ -129,7 +129,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -143,7 +143,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemAssignmentsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go index 969b85f6d14..3de0c175345 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_request_builder.go @@ -139,7 +139,7 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new cloudPcProvisioningPolicy object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *VirtualEndpointProvisioningPoliciesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go b/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go index 9dddc8f29e3..ba0bc584cba 100644 --- a/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_export_jobs_cloud_pc_export_job_item_request_builder.go @@ -121,7 +121,7 @@ func (m *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exportJobs in deviceManagement @@ -150,7 +150,7 @@ func (m *VirtualEndpointReportsExportJobsCloudPcExportJobItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go b/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go index 9a2692b08ec..b85bae9e8c4 100644 --- a/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_export_jobs_request_builder.go @@ -128,7 +128,7 @@ func (m *VirtualEndpointReportsExportJobsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -141,7 +141,7 @@ func (m *VirtualEndpointReportsExportJobsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_get_action_status_reports_post_request_body.go b/devicemanagement/virtual_endpoint_reports_get_action_status_reports_post_request_body.go new file mode 100644 index 00000000000..dd44e09977e --- /dev/null +++ b/devicemanagement/virtual_endpoint_reports_get_action_status_reports_post_request_body.go @@ -0,0 +1,344 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// VirtualEndpointReportsGetActionStatusReportsPostRequestBody +type VirtualEndpointReportsGetActionStatusReportsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEndpointReportsGetActionStatusReportsPostRequestBody instantiates a new VirtualEndpointReportsGetActionStatusReportsPostRequestBody and sets the default values. +func NewVirtualEndpointReportsGetActionStatusReportsPostRequestBody()(*VirtualEndpointReportsGetActionStatusReportsPostRequestBody) { + m := &VirtualEndpointReportsGetActionStatusReportsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEndpointReportsGetActionStatusReportsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateVirtualEndpointReportsGetActionStatusReportsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointReportsGetActionStatusReportsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["filter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFilter(val) + } + return nil + } + res["groupBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetGroupBy(res) + } + return nil + } + res["orderBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetOrderBy(res) + } + return nil + } + res["search"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSearch(val) + } + return nil + } + res["select"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetSelectEscaped(res) + } + return nil + } + res["skip"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSkip(val) + } + return nil + } + res["top"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTop(val) + } + return nil + } + return res +} +// GetFilter gets the filter property value. The filter property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) GetFilter()(*string) { + val, err := m.GetBackingStore().Get("filter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetGroupBy gets the groupBy property value. The groupBy property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) GetGroupBy()([]string) { + val, err := m.GetBackingStore().Get("groupBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetOrderBy gets the orderBy property value. The orderBy property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) GetOrderBy()([]string) { + val, err := m.GetBackingStore().Get("orderBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetSearch gets the search property value. The search property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) GetSearch()(*string) { + val, err := m.GetBackingStore().Get("search") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSelectEscaped gets the select property value. The select property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) GetSelectEscaped()([]string) { + val, err := m.GetBackingStore().Get("selectEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetSkip gets the skip property value. The skip property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) GetSkip()(*int32) { + val, err := m.GetBackingStore().Get("skip") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTop gets the top property value. The top property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) GetTop()(*int32) { + val, err := m.GetBackingStore().Get("top") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("filter", m.GetFilter()) + if err != nil { + return err + } + } + if m.GetGroupBy() != nil { + err := writer.WriteCollectionOfStringValues("groupBy", m.GetGroupBy()) + if err != nil { + return err + } + } + if m.GetOrderBy() != nil { + err := writer.WriteCollectionOfStringValues("orderBy", m.GetOrderBy()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("search", m.GetSearch()) + if err != nil { + return err + } + } + if m.GetSelectEscaped() != nil { + err := writer.WriteCollectionOfStringValues("select", m.GetSelectEscaped()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("skip", m.GetSkip()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("top", m.GetTop()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFilter sets the filter property value. The filter property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) SetFilter(value *string)() { + err := m.GetBackingStore().Set("filter", value) + if err != nil { + panic(err) + } +} +// SetGroupBy sets the groupBy property value. The groupBy property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) SetGroupBy(value []string)() { + err := m.GetBackingStore().Set("groupBy", value) + if err != nil { + panic(err) + } +} +// SetOrderBy sets the orderBy property value. The orderBy property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) SetOrderBy(value []string)() { + err := m.GetBackingStore().Set("orderBy", value) + if err != nil { + panic(err) + } +} +// SetSearch sets the search property value. The search property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) SetSearch(value *string)() { + err := m.GetBackingStore().Set("search", value) + if err != nil { + panic(err) + } +} +// SetSelectEscaped sets the select property value. The select property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) SetSelectEscaped(value []string)() { + err := m.GetBackingStore().Set("selectEscaped", value) + if err != nil { + panic(err) + } +} +// SetSkip sets the skip property value. The skip property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) SetSkip(value *int32)() { + err := m.GetBackingStore().Set("skip", value) + if err != nil { + panic(err) + } +} +// SetTop sets the top property value. The top property +func (m *VirtualEndpointReportsGetActionStatusReportsPostRequestBody) SetTop(value *int32)() { + err := m.GetBackingStore().Set("top", value) + if err != nil { + panic(err) + } +} +// VirtualEndpointReportsGetActionStatusReportsPostRequestBodyable +type VirtualEndpointReportsGetActionStatusReportsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFilter()(*string) + GetGroupBy()([]string) + GetOrderBy()([]string) + GetSearch()(*string) + GetSelectEscaped()([]string) + GetSkip()(*int32) + GetTop()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFilter(value *string)() + SetGroupBy(value []string)() + SetOrderBy(value []string)() + SetSearch(value *string)() + SetSelectEscaped(value []string)() + SetSkip(value *int32)() + SetTop(value *int32)() +} diff --git a/devicemanagement/virtual_endpoint_reports_get_action_status_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_action_status_reports_request_builder.go new file mode 100644 index 00000000000..1111611a8a3 --- /dev/null +++ b/devicemanagement/virtual_endpoint_reports_get_action_status_reports_request_builder.go @@ -0,0 +1,72 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEndpointReportsGetActionStatusReportsRequestBuilder provides operations to call the getActionStatusReports method. +type VirtualEndpointReportsGetActionStatusReportsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointReportsGetActionStatusReportsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointReportsGetActionStatusReportsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointReportsGetActionStatusReportsRequestBuilderInternal instantiates a new GetActionStatusReportsRequestBuilder and sets the default values. +func NewVirtualEndpointReportsGetActionStatusReportsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportsGetActionStatusReportsRequestBuilder) { + m := &VirtualEndpointReportsGetActionStatusReportsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/getActionStatusReports", pathParameters), + } + return m +} +// NewVirtualEndpointReportsGetActionStatusReportsRequestBuilder instantiates a new GetActionStatusReportsRequestBuilder and sets the default values. +func NewVirtualEndpointReportsGetActionStatusReportsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportsGetActionStatusReportsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointReportsGetActionStatusReportsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action getActionStatusReports +func (m *VirtualEndpointReportsGetActionStatusReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetActionStatusReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetActionStatusReportsRequestBuilderPostRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToPostRequestInformation invoke action getActionStatusReports +func (m *VirtualEndpointReportsGetActionStatusReportsRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointReportsGetActionStatusReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetActionStatusReportsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEndpointReportsGetActionStatusReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetActionStatusReportsRequestBuilder) { + return NewVirtualEndpointReportsGetActionStatusReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_post_request_body.go b/devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_post_request_body.go new file mode 100644 index 00000000000..702ed036021 --- /dev/null +++ b/devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_post_request_body.go @@ -0,0 +1,382 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody +type VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody instantiates a new VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody and sets the default values. +func NewVirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody()(*VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) { + m := &VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateVirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["filter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFilter(val) + } + return nil + } + res["groupBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetGroupBy(res) + } + return nil + } + res["orderBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetOrderBy(res) + } + return nil + } + res["reportName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseCloudPcReportName) + if err != nil { + return err + } + if val != nil { + m.SetReportName(val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName)) + } + return nil + } + res["search"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSearch(val) + } + return nil + } + res["select"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetSelectEscaped(res) + } + return nil + } + res["skip"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSkip(val) + } + return nil + } + res["top"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTop(val) + } + return nil + } + return res +} +// GetFilter gets the filter property value. The filter property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetFilter()(*string) { + val, err := m.GetBackingStore().Get("filter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetGroupBy gets the groupBy property value. The groupBy property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetGroupBy()([]string) { + val, err := m.GetBackingStore().Get("groupBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetOrderBy gets the orderBy property value. The orderBy property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetOrderBy()([]string) { + val, err := m.GetBackingStore().Get("orderBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReportName gets the reportName property value. The reportName property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetReportName()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName) { + val, err := m.GetBackingStore().Get("reportName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName) + } + return nil +} +// GetSearch gets the search property value. The search property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetSearch()(*string) { + val, err := m.GetBackingStore().Get("search") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSelectEscaped gets the select property value. The select property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetSelectEscaped()([]string) { + val, err := m.GetBackingStore().Get("selectEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetSkip gets the skip property value. The skip property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetSkip()(*int32) { + val, err := m.GetBackingStore().Get("skip") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTop gets the top property value. The top property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) GetTop()(*int32) { + val, err := m.GetBackingStore().Get("top") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("filter", m.GetFilter()) + if err != nil { + return err + } + } + if m.GetGroupBy() != nil { + err := writer.WriteCollectionOfStringValues("groupBy", m.GetGroupBy()) + if err != nil { + return err + } + } + if m.GetOrderBy() != nil { + err := writer.WriteCollectionOfStringValues("orderBy", m.GetOrderBy()) + if err != nil { + return err + } + } + if m.GetReportName() != nil { + cast := (*m.GetReportName()).String() + err := writer.WriteStringValue("reportName", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("search", m.GetSearch()) + if err != nil { + return err + } + } + if m.GetSelectEscaped() != nil { + err := writer.WriteCollectionOfStringValues("select", m.GetSelectEscaped()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("skip", m.GetSkip()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("top", m.GetTop()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFilter sets the filter property value. The filter property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) SetFilter(value *string)() { + err := m.GetBackingStore().Set("filter", value) + if err != nil { + panic(err) + } +} +// SetGroupBy sets the groupBy property value. The groupBy property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) SetGroupBy(value []string)() { + err := m.GetBackingStore().Set("groupBy", value) + if err != nil { + panic(err) + } +} +// SetOrderBy sets the orderBy property value. The orderBy property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) SetOrderBy(value []string)() { + err := m.GetBackingStore().Set("orderBy", value) + if err != nil { + panic(err) + } +} +// SetReportName sets the reportName property value. The reportName property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) SetReportName(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName)() { + err := m.GetBackingStore().Set("reportName", value) + if err != nil { + panic(err) + } +} +// SetSearch sets the search property value. The search property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) SetSearch(value *string)() { + err := m.GetBackingStore().Set("search", value) + if err != nil { + panic(err) + } +} +// SetSelectEscaped sets the select property value. The select property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) SetSelectEscaped(value []string)() { + err := m.GetBackingStore().Set("selectEscaped", value) + if err != nil { + panic(err) + } +} +// SetSkip sets the skip property value. The skip property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) SetSkip(value *int32)() { + err := m.GetBackingStore().Set("skip", value) + if err != nil { + panic(err) + } +} +// SetTop sets the top property value. The top property +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBody) SetTop(value *int32)() { + err := m.GetBackingStore().Set("top", value) + if err != nil { + panic(err) + } +} +// VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBodyable +type VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFilter()(*string) + GetGroupBy()([]string) + GetOrderBy()([]string) + GetReportName()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName) + GetSearch()(*string) + GetSelectEscaped()([]string) + GetSkip()(*int32) + GetTop()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFilter(value *string)() + SetGroupBy(value []string)() + SetOrderBy(value []string)() + SetReportName(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportName)() + SetSearch(value *string)() + SetSelectEscaped(value []string)() + SetSkip(value *int32)() + SetTop(value *int32)() +} diff --git a/devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_request_builder.go new file mode 100644 index 00000000000..bbdad6f5e5e --- /dev/null +++ b/devicemanagement/virtual_endpoint_reports_get_cloud_pc_recommendation_reports_request_builder.go @@ -0,0 +1,72 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder provides operations to call the getCloudPcRecommendationReports method. +type VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilderInternal instantiates a new GetCloudPcRecommendationReportsRequestBuilder and sets the default values. +func NewVirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder) { + m := &VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/getCloudPcRecommendationReports", pathParameters), + } + return m +} +// NewVirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder instantiates a new GetCloudPcRecommendationReportsRequestBuilder and sets the default values. +func NewVirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action getCloudPcRecommendationReports +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToPostRequestInformation invoke action getCloudPcRecommendationReports +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointReportsGetCloudPcRecommendationReportsPostRequestBodyable, requestConfiguration *VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder) { + return NewVirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go index 6c59bf360a4..7b1648c29f6 100644 --- a/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_connection_quality_reports_request_builder.go @@ -62,7 +62,7 @@ func (m *VirtualEndpointReportsGetConnectionQualityReportsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go index 01b01ceb80f..7926eb0a395 100644 --- a/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_daily_aggregated_remote_connection_reports_request_builder.go @@ -62,7 +62,7 @@ func (m *VirtualEndpointReportsGetDailyAggregatedRemoteConnectionReportsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go index 51c945b7a99..25ec59ac467 100644 --- a/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_frontline_report_request_builder.go @@ -62,7 +62,7 @@ func (m *VirtualEndpointReportsGetFrontlineReportRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go index 0bcd5140abf..e86cd0217e5 100644 --- a/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_inaccessible_cloud_pc_reports_request_builder.go @@ -62,7 +62,7 @@ func (m *VirtualEndpointReportsGetInaccessibleCloudPcReportsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go index bb9c7b98773..afd8de9ac7b 100644 --- a/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_raw_remote_connection_reports_request_builder.go @@ -62,7 +62,7 @@ func (m *VirtualEndpointReportsGetRawRemoteConnectionReportsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go index 08b415ab6c9..e2dd2dee207 100644 --- a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.go @@ -62,7 +62,7 @@ func (m *VirtualEndpointReportsGetRealTimeRemoteConnectionLatencyWithCloudPcIdRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go index 9ee7d90de38..f61c6519279 100644 --- a/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.go @@ -62,7 +62,7 @@ func (m *VirtualEndpointReportsGetRealTimeRemoteConnectionStatusWithCloudPcIdReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go index c7529a427ad..4b56c187d57 100644 --- a/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_remote_connection_historical_reports_request_builder.go @@ -62,7 +62,7 @@ func (m *VirtualEndpointReportsGetRemoteConnectionHistoricalReportsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go index ff6f400d410..fc87b5bd200 100644 --- a/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_shared_use_license_usage_report_request_builder.go @@ -64,7 +64,7 @@ func (m *VirtualEndpointReportsGetSharedUseLicenseUsageReportRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go index f018c4a7994..8585dedf4e2 100644 --- a/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_get_total_aggregated_remote_connection_reports_request_builder.go @@ -62,7 +62,7 @@ func (m *VirtualEndpointReportsGetTotalAggregatedRemoteConnectionReportsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_reports_request_builder.go b/devicemanagement/virtual_endpoint_reports_request_builder.go index 7a763ac08cf..4fcd083ba81 100644 --- a/devicemanagement/virtual_endpoint_reports_request_builder.go +++ b/devicemanagement/virtual_endpoint_reports_request_builder.go @@ -93,6 +93,14 @@ func (m *VirtualEndpointReportsRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportsable), nil } +// GetActionStatusReports provides operations to call the getActionStatusReports method. +func (m *VirtualEndpointReportsRequestBuilder) GetActionStatusReports()(*VirtualEndpointReportsGetActionStatusReportsRequestBuilder) { + return NewVirtualEndpointReportsGetActionStatusReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GetCloudPcRecommendationReports provides operations to call the getCloudPcRecommendationReports method. +func (m *VirtualEndpointReportsRequestBuilder) GetCloudPcRecommendationReports()(*VirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilder) { + return NewVirtualEndpointReportsGetCloudPcRecommendationReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // GetConnectionQualityReports provides operations to call the getConnectionQualityReports method. func (m *VirtualEndpointReportsRequestBuilder) GetConnectionQualityReports()(*VirtualEndpointReportsGetConnectionQualityReportsRequestBuilder) { return NewVirtualEndpointReportsGetConnectionQualityReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -162,7 +170,7 @@ func (m *VirtualEndpointReportsRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation cloud PC related reports. @@ -178,7 +186,7 @@ func (m *VirtualEndpointReportsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property reports in deviceManagement @@ -191,7 +199,7 @@ func (m *VirtualEndpointReportsRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_request_builder.go b/devicemanagement/virtual_endpoint_request_builder.go index 1bde25eb4f6..ae8b23ebfe3 100644 --- a/devicemanagement/virtual_endpoint_request_builder.go +++ b/devicemanagement/virtual_endpoint_request_builder.go @@ -160,6 +160,14 @@ func (m *VirtualEndpointRequestBuilder) ProvisioningPolicies()(*VirtualEndpointP func (m *VirtualEndpointRequestBuilder) Reports()(*VirtualEndpointReportsRequestBuilder) { return NewVirtualEndpointReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RetrieveScopedPermissions provides operations to call the retrieveScopedPermissions method. +func (m *VirtualEndpointRequestBuilder) RetrieveScopedPermissions()(*VirtualEndpointRetrieveScopedPermissionsRequestBuilder) { + return NewVirtualEndpointRetrieveScopedPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// RetrieveTenantEncryptionSetting provides operations to call the retrieveTenantEncryptionSetting method. +func (m *VirtualEndpointRequestBuilder) RetrieveTenantEncryptionSetting()(*VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder) { + return NewVirtualEndpointRetrieveTenantEncryptionSettingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ServicePlans provides operations to manage the servicePlans property of the microsoft.graph.virtualEndpoint entity. func (m *VirtualEndpointRequestBuilder) ServicePlans()(*VirtualEndpointServicePlansRequestBuilder) { return NewVirtualEndpointServicePlansRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) @@ -186,7 +194,7 @@ func (m *VirtualEndpointRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get virtualEndpoint from deviceManagement @@ -202,7 +210,7 @@ func (m *VirtualEndpointRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property virtualEndpoint in deviceManagement @@ -215,7 +223,7 @@ func (m *VirtualEndpointRequestBuilder) ToPatchRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_get_response.go b/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_get_response.go new file mode 100644 index 00000000000..aa8733dc0ac --- /dev/null +++ b/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_get_response.go @@ -0,0 +1,88 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +// VirtualEndpointRetrieveScopedPermissionsGetResponse +type VirtualEndpointRetrieveScopedPermissionsGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewVirtualEndpointRetrieveScopedPermissionsGetResponse instantiates a new VirtualEndpointRetrieveScopedPermissionsGetResponse and sets the default values. +func NewVirtualEndpointRetrieveScopedPermissionsGetResponse()(*VirtualEndpointRetrieveScopedPermissionsGetResponse) { + m := &VirtualEndpointRetrieveScopedPermissionsGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateVirtualEndpointRetrieveScopedPermissionsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateVirtualEndpointRetrieveScopedPermissionsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointRetrieveScopedPermissionsGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *VirtualEndpointRetrieveScopedPermissionsGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCloudPcScopedPermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcScopedPermissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcScopedPermissionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *VirtualEndpointRetrieveScopedPermissionsGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcScopedPermissionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcScopedPermissionable) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEndpointRetrieveScopedPermissionsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *VirtualEndpointRetrieveScopedPermissionsGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcScopedPermissionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// VirtualEndpointRetrieveScopedPermissionsGetResponseable +type VirtualEndpointRetrieveScopedPermissionsGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcScopedPermissionable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcScopedPermissionable)() +} diff --git a/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_request_builder.go b/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_request_builder.go new file mode 100644 index 00000000000..0cca948de3a --- /dev/null +++ b/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_request_builder.go @@ -0,0 +1,106 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEndpointRetrieveScopedPermissionsRequestBuilder provides operations to call the retrieveScopedPermissions method. +type VirtualEndpointRetrieveScopedPermissionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetQueryParameters invoke function retrieveScopedPermissions +type VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetQueryParameters +} +// NewVirtualEndpointRetrieveScopedPermissionsRequestBuilderInternal instantiates a new RetrieveScopedPermissionsRequestBuilder and sets the default values. +func NewVirtualEndpointRetrieveScopedPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointRetrieveScopedPermissionsRequestBuilder) { + m := &VirtualEndpointRetrieveScopedPermissionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/retrieveScopedPermissions(){?%24top,%24skip,%24search,%24filter,%24count}", pathParameters), + } + return m +} +// NewVirtualEndpointRetrieveScopedPermissionsRequestBuilder instantiates a new RetrieveScopedPermissionsRequestBuilder and sets the default values. +func NewVirtualEndpointRetrieveScopedPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointRetrieveScopedPermissionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointRetrieveScopedPermissionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function retrieveScopedPermissions +// Deprecated: This method is obsolete. Use GetAsRetrieveScopedPermissionsGetResponse instead. +func (m *VirtualEndpointRetrieveScopedPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetRequestConfiguration)(VirtualEndpointRetrieveScopedPermissionsResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEndpointRetrieveScopedPermissionsResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(VirtualEndpointRetrieveScopedPermissionsResponseable), nil +} +// GetAsRetrieveScopedPermissionsGetResponse invoke function retrieveScopedPermissions +func (m *VirtualEndpointRetrieveScopedPermissionsRequestBuilder) GetAsRetrieveScopedPermissionsGetResponse(ctx context.Context, requestConfiguration *VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetRequestConfiguration)(VirtualEndpointRetrieveScopedPermissionsGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEndpointRetrieveScopedPermissionsGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(VirtualEndpointRetrieveScopedPermissionsGetResponseable), nil +} +// ToGetRequestInformation invoke function retrieveScopedPermissions +func (m *VirtualEndpointRetrieveScopedPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointRetrieveScopedPermissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEndpointRetrieveScopedPermissionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointRetrieveScopedPermissionsRequestBuilder) { + return NewVirtualEndpointRetrieveScopedPermissionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_response.go b/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_response.go new file mode 100644 index 00000000000..e314693479d --- /dev/null +++ b/devicemanagement/virtual_endpoint_retrieve_scoped_permissions_response.go @@ -0,0 +1,28 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// VirtualEndpointRetrieveScopedPermissionsResponse +// Deprecated: This class is obsolete. Use retrieveScopedPermissionsGetResponse instead. +type VirtualEndpointRetrieveScopedPermissionsResponse struct { + VirtualEndpointRetrieveScopedPermissionsGetResponse +} +// NewVirtualEndpointRetrieveScopedPermissionsResponse instantiates a new VirtualEndpointRetrieveScopedPermissionsResponse and sets the default values. +func NewVirtualEndpointRetrieveScopedPermissionsResponse()(*VirtualEndpointRetrieveScopedPermissionsResponse) { + m := &VirtualEndpointRetrieveScopedPermissionsResponse{ + VirtualEndpointRetrieveScopedPermissionsGetResponse: *NewVirtualEndpointRetrieveScopedPermissionsGetResponse(), + } + return m +} +// CreateVirtualEndpointRetrieveScopedPermissionsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateVirtualEndpointRetrieveScopedPermissionsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointRetrieveScopedPermissionsResponse(), nil +} +// VirtualEndpointRetrieveScopedPermissionsResponseable +// Deprecated: This class is obsolete. Use retrieveScopedPermissionsGetResponse instead. +type VirtualEndpointRetrieveScopedPermissionsResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + VirtualEndpointRetrieveScopedPermissionsGetResponseable +} diff --git a/devicemanagement/virtual_endpoint_retrieve_tenant_encryption_setting_request_builder.go b/devicemanagement/virtual_endpoint_retrieve_tenant_encryption_setting_request_builder.go new file mode 100644 index 00000000000..d38c4f0c087 --- /dev/null +++ b/devicemanagement/virtual_endpoint_retrieve_tenant_encryption_setting_request_builder.go @@ -0,0 +1,69 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder provides operations to call the retrieveTenantEncryptionSetting method. +type VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointRetrieveTenantEncryptionSettingRequestBuilderInternal instantiates a new RetrieveTenantEncryptionSettingRequestBuilder and sets the default values. +func NewVirtualEndpointRetrieveTenantEncryptionSettingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder) { + m := &VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/retrieveTenantEncryptionSetting()", pathParameters), + } + return m +} +// NewVirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder instantiates a new RetrieveTenantEncryptionSettingRequestBuilder and sets the default values. +func NewVirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointRetrieveTenantEncryptionSettingRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function retrieveTenantEncryptionSetting +func (m *VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcTenantEncryptionSettingable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCloudPcTenantEncryptionSettingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcTenantEncryptionSettingable), nil +} +// ToGetRequestInformation invoke function retrieveTenantEncryptionSetting +func (m *VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder) { + return NewVirtualEndpointRetrieveTenantEncryptionSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_service_plans_cloud_pc_service_plan_item_request_builder.go b/devicemanagement/virtual_endpoint_service_plans_cloud_pc_service_plan_item_request_builder.go index a7c522e0903..826bed1c39e 100644 --- a/devicemanagement/virtual_endpoint_service_plans_cloud_pc_service_plan_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_service_plans_cloud_pc_service_plan_item_request_builder.go @@ -118,7 +118,7 @@ func (m *VirtualEndpointServicePlansCloudPcServicePlanItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation cloud PC service plans. @@ -134,7 +134,7 @@ func (m *VirtualEndpointServicePlansCloudPcServicePlanItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property servicePlans in deviceManagement @@ -147,7 +147,7 @@ func (m *VirtualEndpointServicePlansCloudPcServicePlanItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_service_plans_request_builder.go b/devicemanagement/virtual_endpoint_service_plans_request_builder.go index 9fc8754a59c..33a50e0c040 100644 --- a/devicemanagement/virtual_endpoint_service_plans_request_builder.go +++ b/devicemanagement/virtual_endpoint_service_plans_request_builder.go @@ -128,7 +128,7 @@ func (m *VirtualEndpointServicePlansRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to servicePlans for deviceManagement @@ -141,7 +141,7 @@ func (m *VirtualEndpointServicePlansRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go b/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go index 7ead9e0ea31..5dee8aa7f0d 100644 --- a/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_shared_use_service_plans_cloud_pc_shared_use_service_plan_item_request_builder.go @@ -125,7 +125,7 @@ func (m *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcSharedUseServicePlan object. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedUseServicePlans in deviceManagement @@ -156,7 +156,7 @@ func (m *VirtualEndpointSharedUseServicePlansCloudPcSharedUseServicePlanItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go b/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go index 2cd19119174..a6b27c0ac91 100644 --- a/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go +++ b/devicemanagement/virtual_endpoint_shared_use_service_plans_request_builder.go @@ -132,7 +132,7 @@ func (m *VirtualEndpointSharedUseServicePlansRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedUseServicePlans for deviceManagement @@ -146,7 +146,7 @@ func (m *VirtualEndpointSharedUseServicePlansRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go index 0961b6bec2d..3eed7572070 100644 --- a/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_cloud_pc_snapshot_item_request_builder.go @@ -121,7 +121,7 @@ func (m *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcSnapshot object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property snapshots in deviceManagement @@ -150,7 +150,7 @@ func (m *VirtualEndpointSnapshotsCloudPcSnapshotItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go index b9dd5002818..46e6b4ea984 100644 --- a/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_get_storage_accounts_with_subscription_id_request_builder.go @@ -100,7 +100,7 @@ func (m *VirtualEndpointSnapshotsGetStorageAccountsWithSubscriptionIdRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go index 5aae0e24628..a32e552d983 100644 --- a/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_get_subscriptions_request_builder.go @@ -97,7 +97,7 @@ func (m *VirtualEndpointSnapshotsGetSubscriptionsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/virtual_endpoint_snapshots_request_builder.go b/devicemanagement/virtual_endpoint_snapshots_request_builder.go index 9ad82fea8eb..15eafed79b0 100644 --- a/devicemanagement/virtual_endpoint_snapshots_request_builder.go +++ b/devicemanagement/virtual_endpoint_snapshots_request_builder.go @@ -136,7 +136,7 @@ func (m *VirtualEndpointSnapshotsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to snapshots for deviceManagement @@ -149,7 +149,7 @@ func (m *VirtualEndpointSnapshotsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_supported_regions_cloud_pc_supported_region_item_request_builder.go b/devicemanagement/virtual_endpoint_supported_regions_cloud_pc_supported_region_item_request_builder.go index b4e237e2d18..e15b764c9fa 100644 --- a/devicemanagement/virtual_endpoint_supported_regions_cloud_pc_supported_region_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_supported_regions_cloud_pc_supported_region_item_request_builder.go @@ -118,7 +118,7 @@ func (m *VirtualEndpointSupportedRegionsCloudPcSupportedRegionItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation cloud PC supported regions. @@ -134,7 +134,7 @@ func (m *VirtualEndpointSupportedRegionsCloudPcSupportedRegionItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property supportedRegions in deviceManagement @@ -147,7 +147,7 @@ func (m *VirtualEndpointSupportedRegionsCloudPcSupportedRegionItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_supported_regions_request_builder.go b/devicemanagement/virtual_endpoint_supported_regions_request_builder.go index 677e4544f53..17dceaeff1e 100644 --- a/devicemanagement/virtual_endpoint_supported_regions_request_builder.go +++ b/devicemanagement/virtual_endpoint_supported_regions_request_builder.go @@ -128,7 +128,7 @@ func (m *VirtualEndpointSupportedRegionsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to supportedRegions for deviceManagement @@ -141,7 +141,7 @@ func (m *VirtualEndpointSupportedRegionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go index 64d09400a00..8ea94efadbd 100644 --- a/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_cloud_pc_user_setting_item_request_builder.go @@ -135,7 +135,7 @@ func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcUserSetting object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a cloudPcUserSetting object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *VirtualEndpointUserSettingsCloudPcUserSettingItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go index 9010f7c5805..10e5505b8e0 100644 --- a/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_item_assign_request_builder.go @@ -59,7 +59,7 @@ func (m *VirtualEndpointUserSettingsItemAssignRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_user_settings_item_assignments_cloud_pc_user_setting_assignment_item_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_item_assignments_cloud_pc_user_setting_assignment_item_request_builder.go index 8283e3d5d2b..6d62af5e562 100644 --- a/devicemanagement/virtual_endpoint_user_settings_item_assignments_cloud_pc_user_setting_assignment_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_item_assignments_cloud_pc_user_setting_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *VirtualEndpointUserSettingsItemAssignmentsCloudPcUserSettingAssignmentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -134,7 +134,7 @@ func (m *VirtualEndpointUserSettingsItemAssignmentsCloudPcUserSettingAssignmentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *VirtualEndpointUserSettingsItemAssignmentsCloudPcUserSettingAssignmentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_user_settings_item_assignments_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_item_assignments_request_builder.go index 0f1e32f573a..035405f3beb 100644 --- a/devicemanagement/virtual_endpoint_user_settings_item_assignments_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *VirtualEndpointUserSettingsItemAssignmentsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *VirtualEndpointUserSettingsItemAssignmentsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/virtual_endpoint_user_settings_request_builder.go b/devicemanagement/virtual_endpoint_user_settings_request_builder.go index c1119eba0c9..97739537fc2 100644 --- a/devicemanagement/virtual_endpoint_user_settings_request_builder.go +++ b/devicemanagement/virtual_endpoint_user_settings_request_builder.go @@ -131,7 +131,7 @@ func (m *VirtualEndpointUserSettingsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new cloudPcUserSetting object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *VirtualEndpointUserSettingsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_has_payload_links_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_has_payload_links_request_builder.go index 087070a7a8c..85fc0fa0298 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_has_payload_links_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *WindowsAutopilotDeploymentProfilesHasPayloadLinksRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assign_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assign_request_builder.go index f3a4d72813c..590f0ea7012 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assign_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_allow_next_enrollment_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_allow_next_enrollment_request_builder.go index 459e75145fa..7c813367ae5 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_allow_next_enrollment_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_allow_next_enrollment_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAllowNextEnrol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_resource_account_to_device_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_resource_account_to_device_request_builder.go index 84e38d9b1bc..2c74262a154 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_resource_account_to_device_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_resource_account_to_device_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_user_to_device_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_user_to_device_request_builder.go index c6f1517411a..6432a88969c 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_user_to_device_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_assign_user_to_device_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemAssignUserToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_deployment_profile_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_deployment_profile_request_builder.go index 45d5d345f8b..f5251d6de0c 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_deployment_profile_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_deployment_profile_request_builder.go @@ -72,7 +72,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemDeploymentProf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_intended_deployment_profile_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_intended_deployment_profile_request_builder.go index 58bd35aca32..5b0959eb568 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_intended_deployment_profile_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_intended_deployment_profile_request_builder.go @@ -72,7 +72,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemIntendedDeploy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_resource_account_from_device_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_resource_account_from_device_request_builder.go index f7076ac07fa..80acd0c4fec 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_resource_account_from_device_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_resource_account_from_device_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUnassignResour requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_user_from_device_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_user_from_device_request_builder.go index 75072667188..3bb7653dbf7 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_user_from_device_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_unassign_user_from_device_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUnassignUserFr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_update_device_properties_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_update_device_properties_request_builder.go index b817e7c4677..f1a36ccc738 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_update_device_properties_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_item_update_device_properties_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesItemUpdateDevicePr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_request_builder.go index 0b33f39dcec..78bf1963f64 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignedDevices for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_windows_autopilot_device_identity_item_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_windows_autopilot_device_identity_item_request_builder.go index 9c2ac15ff6c..71bf60e82c3 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_windows_autopilot_device_identity_item_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assigned_devices_windows_autopilot_device_identity_item_request_builder.go @@ -138,7 +138,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of assigned devices for the profile. @@ -154,7 +154,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedDevices in deviceManagement @@ -167,7 +167,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignedDevicesWindowsAutopilotDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_request_builder.go index 3b6889321cf..3f00378f6fa 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignmentsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignmentsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_windows_autopilot_deployment_profile_assignment_item_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_windows_autopilot_deployment_profile_assignment_item_request_builder.go index 742602a92ce..3f3c97f0217 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_windows_autopilot_deployment_profile_assignment_item_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_item_assignments_windows_autopilot_deployment_profile_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignmentsWindowsAutopilotDeploy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the profile. @@ -134,7 +134,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignmentsWindowsAutopilotDeploy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *WindowsAutopilotDeploymentProfilesItemAssignmentsWindowsAutopilotDeploy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_request_builder.go index 44b1205f392..fd9fd1fccbf 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_request_builder.go @@ -129,7 +129,7 @@ func (m *WindowsAutopilotDeploymentProfilesRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsAutopilotDeploymentProfiles for deviceManagement @@ -142,7 +142,7 @@ func (m *WindowsAutopilotDeploymentProfilesRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_deployment_profiles_windows_autopilot_deployment_profile_item_request_builder.go b/devicemanagement/windows_autopilot_deployment_profiles_windows_autopilot_deployment_profile_item_request_builder.go index f2b8533ddf8..3031905ffc2 100644 --- a/devicemanagement/windows_autopilot_deployment_profiles_windows_autopilot_deployment_profile_item_request_builder.go +++ b/devicemanagement/windows_autopilot_deployment_profiles_windows_autopilot_deployment_profile_item_request_builder.go @@ -130,7 +130,7 @@ func (m *WindowsAutopilotDeploymentProfilesWindowsAutopilotDeploymentProfileItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation windows auto pilot deployment profiles @@ -146,7 +146,7 @@ func (m *WindowsAutopilotDeploymentProfilesWindowsAutopilotDeploymentProfileItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsAutopilotDeploymentProfiles in deviceManagement @@ -159,7 +159,7 @@ func (m *WindowsAutopilotDeploymentProfilesWindowsAutopilotDeploymentProfileItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_device_identities_item_allow_next_enrollment_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_allow_next_enrollment_request_builder.go index d8c1e863291..8b0e1afaeb8 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_allow_next_enrollment_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_allow_next_enrollment_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemAllowNextEnrollmentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_autopilot_device_identities_item_assign_resource_account_to_device_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_assign_resource_account_to_device_request_builder.go index d42161c294f..0f4f19d94dc 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_assign_resource_account_to_device_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_assign_resource_account_to_device_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemAssignResourceAccountToDeviceReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go index 08916e46ea5..825cf7791eb 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_assign_user_to_device_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemAssignUserToDeviceRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_device_identities_item_deployment_profile_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_deployment_profile_request_builder.go index 6aee9f3d8a8..8c45a5fe51a 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_deployment_profile_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_deployment_profile_request_builder.go @@ -72,7 +72,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemDeploymentProfileRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_autopilot_device_identities_item_intended_deployment_profile_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_intended_deployment_profile_request_builder.go index 9bc8b38c751..dcc1b295ad6 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_intended_deployment_profile_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_intended_deployment_profile_request_builder.go @@ -72,7 +72,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemIntendedDeploymentProfileRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_autopilot_device_identities_item_unassign_resource_account_from_device_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_unassign_resource_account_from_device_request_builder.go index c884e5af9df..d836c0139e4 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_unassign_resource_account_from_device_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_unassign_resource_account_from_device_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemUnassignResourceAccountFromDeviceRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go index 721291da260..a4bef240281 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_unassign_user_from_device_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemUnassignUserFromDeviceRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go b/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go index 67c8aeb9b83..9fa3563cbd4 100644 --- a/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_item_update_device_properties_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotDeviceIdentitiesItemUpdateDevicePropertiesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_device_identities_request_builder.go b/devicemanagement/windows_autopilot_device_identities_request_builder.go index 31d470495e8..3466f0e15f8 100644 --- a/devicemanagement/windows_autopilot_device_identities_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsAutopilotDeviceIdentities for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsAutopilotDeviceIdentitiesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go b/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go index 0d54f2c627a..571c79d0adc 100644 --- a/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go +++ b/devicemanagement/windows_autopilot_device_identities_windows_autopilot_device_identity_item_request_builder.go @@ -138,7 +138,7 @@ func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Windows autopilot device identities contained collection. @@ -154,7 +154,7 @@ func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsAutopilotDeviceIdentities in deviceManagement @@ -167,7 +167,7 @@ func (m *WindowsAutopilotDeviceIdentitiesWindowsAutopilotDeviceIdentityItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_settings_request_builder.go b/devicemanagement/windows_autopilot_settings_request_builder.go index 00ec243d681..5dfc2b4a3ea 100644 --- a/devicemanagement/windows_autopilot_settings_request_builder.go +++ b/devicemanagement/windows_autopilot_settings_request_builder.go @@ -122,7 +122,7 @@ func (m *WindowsAutopilotSettingsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Windows autopilot account settings. @@ -138,7 +138,7 @@ func (m *WindowsAutopilotSettingsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsAutopilotSettings in deviceManagement @@ -151,7 +151,7 @@ func (m *WindowsAutopilotSettingsRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_autopilot_settings_sync_request_builder.go b/devicemanagement/windows_autopilot_settings_sync_request_builder.go index 43db10ff46c..983a97b17a5 100644 --- a/devicemanagement/windows_autopilot_settings_sync_request_builder.go +++ b/devicemanagement/windows_autopilot_settings_sync_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsAutopilotSettingsSyncRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_driver_update_profiles_item_assign_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_assign_request_builder.go index 9983a544eda..1c2d02aa083 100644 --- a/devicemanagement/windows_driver_update_profiles_item_assign_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsDriverUpdateProfilesItemAssignRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_driver_update_profiles_item_assignments_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_assignments_request_builder.go index 1ed95c48ce8..8525a4e973a 100644 --- a/devicemanagement/windows_driver_update_profiles_item_assignments_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsDriverUpdateProfilesItemAssignmentsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsDriverUpdateProfilesItemAssignmentsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_driver_update_profiles_item_assignments_windows_driver_update_profile_assignment_item_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_assignments_windows_driver_update_profile_assignment_item_request_builder.go index 79e545ac675..db713c1fab4 100644 --- a/devicemanagement/windows_driver_update_profiles_item_assignments_windows_driver_update_profile_assignment_item_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_assignments_windows_driver_update_profile_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsDriverUpdateProfilesItemAssignmentsWindowsDriverUpdateProfileAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments of the profile. @@ -134,7 +134,7 @@ func (m *WindowsDriverUpdateProfilesItemAssignmentsWindowsDriverUpdateProfileAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *WindowsDriverUpdateProfilesItemAssignmentsWindowsDriverUpdateProfileAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_driver_update_profiles_item_driver_inventories_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_driver_inventories_request_builder.go index 0bf8d47688c..3ecbadf681a 100644 --- a/devicemanagement/windows_driver_update_profiles_item_driver_inventories_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_driver_inventories_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsDriverUpdateProfilesItemDriverInventoriesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to driverInventories for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsDriverUpdateProfilesItemDriverInventoriesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_driver_update_profiles_item_driver_inventories_windows_driver_update_inventory_item_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_driver_inventories_windows_driver_update_inventory_item_request_builder.go index 65388d72de4..d57ff1d9196 100644 --- a/devicemanagement/windows_driver_update_profiles_item_driver_inventories_windows_driver_update_inventory_item_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_driver_inventories_windows_driver_update_inventory_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsDriverUpdateProfilesItemDriverInventoriesWindowsDriverUpdateInve requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation driver inventories for this profile. @@ -134,7 +134,7 @@ func (m *WindowsDriverUpdateProfilesItemDriverInventoriesWindowsDriverUpdateInve requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property driverInventories in deviceManagement @@ -147,7 +147,7 @@ func (m *WindowsDriverUpdateProfilesItemDriverInventoriesWindowsDriverUpdateInve requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_driver_update_profiles_item_execute_action_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_execute_action_request_builder.go index dc3fe8481f5..82b375ab4f7 100644 --- a/devicemanagement/windows_driver_update_profiles_item_execute_action_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_execute_action_request_builder.go @@ -60,7 +60,7 @@ func (m *WindowsDriverUpdateProfilesItemExecuteActionRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_driver_update_profiles_item_sync_inventory_request_builder.go b/devicemanagement/windows_driver_update_profiles_item_sync_inventory_request_builder.go index 7882489500c..a984c36a070 100644 --- a/devicemanagement/windows_driver_update_profiles_item_sync_inventory_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_item_sync_inventory_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsDriverUpdateProfilesItemSyncInventoryRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/windows_driver_update_profiles_request_builder.go b/devicemanagement/windows_driver_update_profiles_request_builder.go index ed0e5a1a38b..27a43fe4ea0 100644 --- a/devicemanagement/windows_driver_update_profiles_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsDriverUpdateProfilesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsDriverUpdateProfiles for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsDriverUpdateProfilesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_driver_update_profiles_windows_driver_update_profile_item_request_builder.go b/devicemanagement/windows_driver_update_profiles_windows_driver_update_profile_item_request_builder.go index 3df2cc1b6f2..9a5c1da15f3 100644 --- a/devicemanagement/windows_driver_update_profiles_windows_driver_update_profile_item_request_builder.go +++ b/devicemanagement/windows_driver_update_profiles_windows_driver_update_profile_item_request_builder.go @@ -138,7 +138,7 @@ func (m *WindowsDriverUpdateProfilesWindowsDriverUpdateProfileItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of windows driver update profiles @@ -154,7 +154,7 @@ func (m *WindowsDriverUpdateProfilesWindowsDriverUpdateProfileItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsDriverUpdateProfiles in deviceManagement @@ -167,7 +167,7 @@ func (m *WindowsDriverUpdateProfilesWindowsDriverUpdateProfileItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_feature_update_profiles_item_assign_request_builder.go b/devicemanagement/windows_feature_update_profiles_item_assign_request_builder.go index 31625394022..d037f3882bd 100644 --- a/devicemanagement/windows_feature_update_profiles_item_assign_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsFeatureUpdateProfilesItemAssignRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_feature_update_profiles_item_assignments_request_builder.go b/devicemanagement/windows_feature_update_profiles_item_assignments_request_builder.go index 664664589fc..86027951d5e 100644 --- a/devicemanagement/windows_feature_update_profiles_item_assignments_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsFeatureUpdateProfilesItemAssignmentsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsFeatureUpdateProfilesItemAssignmentsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_feature_update_profiles_item_assignments_windows_feature_update_profile_assignment_item_request_builder.go b/devicemanagement/windows_feature_update_profiles_item_assignments_windows_feature_update_profile_assignment_item_request_builder.go index a5d8363e18f..36839d93168 100644 --- a/devicemanagement/windows_feature_update_profiles_item_assignments_windows_feature_update_profile_assignment_item_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_item_assignments_windows_feature_update_profile_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsFeatureUpdateProfilesItemAssignmentsWindowsFeatureUpdateProfileA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments of the profile. @@ -134,7 +134,7 @@ func (m *WindowsFeatureUpdateProfilesItemAssignmentsWindowsFeatureUpdateProfileA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *WindowsFeatureUpdateProfilesItemAssignmentsWindowsFeatureUpdateProfileA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_feature_update_profiles_request_builder.go b/devicemanagement/windows_feature_update_profiles_request_builder.go index b95164a5bf7..03d6e592386 100644 --- a/devicemanagement/windows_feature_update_profiles_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsFeatureUpdateProfilesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsFeatureUpdateProfiles for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsFeatureUpdateProfilesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_feature_update_profiles_windows_feature_update_profile_item_request_builder.go b/devicemanagement/windows_feature_update_profiles_windows_feature_update_profile_item_request_builder.go index ebaca0704c5..4e7dd5f18dc 100644 --- a/devicemanagement/windows_feature_update_profiles_windows_feature_update_profile_item_request_builder.go +++ b/devicemanagement/windows_feature_update_profiles_windows_feature_update_profile_item_request_builder.go @@ -126,7 +126,7 @@ func (m *WindowsFeatureUpdateProfilesWindowsFeatureUpdateProfileItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of windows feature update profiles @@ -142,7 +142,7 @@ func (m *WindowsFeatureUpdateProfilesWindowsFeatureUpdateProfileItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsFeatureUpdateProfiles in deviceManagement @@ -155,7 +155,7 @@ func (m *WindowsFeatureUpdateProfilesWindowsFeatureUpdateProfileItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go b/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go index cb12610b328..7d568418b87 100644 --- a/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go +++ b/devicemanagement/windows_information_protection_app_learning_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsInformationProtectionAppLearningSummaries for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_information_protection_app_learning_summaries_windows_information_protection_app_learning_summary_item_request_builder.go b/devicemanagement/windows_information_protection_app_learning_summaries_windows_information_protection_app_learning_summary_item_request_builder.go index 6b09bcef3c2..e20fc20f5b3 100644 --- a/devicemanagement/windows_information_protection_app_learning_summaries_windows_information_protection_app_learning_summary_item_request_builder.go +++ b/devicemanagement/windows_information_protection_app_learning_summaries_windows_information_protection_app_learning_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the windows information protection app learning summaries. @@ -134,7 +134,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsInformationProtectionAppLearningSummaries in deviceManagement @@ -147,7 +147,7 @@ func (m *WindowsInformationProtectionAppLearningSummariesWindowsInformationProte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go b/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go index 536a72a62e7..db1ce2a03e7 100644 --- a/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go +++ b/devicemanagement/windows_information_protection_network_learning_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsInformationProtectionNetworkLearningSummaries for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_information_protection_network_learning_summaries_windows_information_protection_network_learning_summary_item_request_builder.go b/devicemanagement/windows_information_protection_network_learning_summaries_windows_information_protection_network_learning_summary_item_request_builder.go index 9a71e291581..d8bfea0c930 100644 --- a/devicemanagement/windows_information_protection_network_learning_summaries_windows_information_protection_network_learning_summary_item_request_builder.go +++ b/devicemanagement/windows_information_protection_network_learning_summaries_windows_information_protection_network_learning_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the windows information protection network learning summaries. @@ -134,7 +134,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsInformationProtectionNetworkLearningSummaries in deviceManagement @@ -147,7 +147,7 @@ func (m *WindowsInformationProtectionNetworkLearningSummariesWindowsInformationP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_malware_information_item_device_malware_states_malware_state_for_windows_device_item_request_builder.go b/devicemanagement/windows_malware_information_item_device_malware_states_malware_state_for_windows_device_item_request_builder.go index 9d0469e2beb..062bbcb7a99 100644 --- a/devicemanagement/windows_malware_information_item_device_malware_states_malware_state_for_windows_device_item_request_builder.go +++ b/devicemanagement/windows_malware_information_item_device_malware_states_malware_state_for_windows_device_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of devices affected by current malware with the malware state on each device @@ -134,7 +134,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceMalwareStates in deviceManagement @@ -147,7 +147,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesMalwareStateForWindowsD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go b/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go index 7c02ec86215..10ca12a0ab1 100644 --- a/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go +++ b/devicemanagement/windows_malware_information_item_device_malware_states_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceMalwareStates for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsMalwareInformationItemDeviceMalwareStatesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_malware_information_request_builder.go b/devicemanagement/windows_malware_information_request_builder.go index 01d6ab2be6e..13b9f12e186 100644 --- a/devicemanagement/windows_malware_information_request_builder.go +++ b/devicemanagement/windows_malware_information_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsMalwareInformationRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsMalwareInformation for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsMalwareInformationRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go b/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go index e3aec2facb5..da34804b881 100644 --- a/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go +++ b/devicemanagement/windows_malware_information_windows_malware_information_item_request_builder.go @@ -122,7 +122,7 @@ func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of affected malware in the tenant. @@ -138,7 +138,7 @@ func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsMalwareInformation in deviceManagement @@ -151,7 +151,7 @@ func (m *WindowsMalwareInformationWindowsMalwareInformationItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_quality_update_profiles_item_assign_request_builder.go b/devicemanagement/windows_quality_update_profiles_item_assign_request_builder.go index 5858964450c..cafe3d9b941 100644 --- a/devicemanagement/windows_quality_update_profiles_item_assign_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *WindowsQualityUpdateProfilesItemAssignRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_quality_update_profiles_item_assignments_request_builder.go b/devicemanagement/windows_quality_update_profiles_item_assignments_request_builder.go index 7f28bd8fe17..06c61e976e6 100644 --- a/devicemanagement/windows_quality_update_profiles_item_assignments_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsQualityUpdateProfilesItemAssignmentsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsQualityUpdateProfilesItemAssignmentsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_quality_update_profiles_item_assignments_windows_quality_update_profile_assignment_item_request_builder.go b/devicemanagement/windows_quality_update_profiles_item_assignments_windows_quality_update_profile_assignment_item_request_builder.go index 18e201c669c..27ff47ffebc 100644 --- a/devicemanagement/windows_quality_update_profiles_item_assignments_windows_quality_update_profile_assignment_item_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_item_assignments_windows_quality_update_profile_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsQualityUpdateProfilesItemAssignmentsWindowsQualityUpdateProfileA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments of the profile. @@ -134,7 +134,7 @@ func (m *WindowsQualityUpdateProfilesItemAssignmentsWindowsQualityUpdateProfileA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in deviceManagement @@ -147,7 +147,7 @@ func (m *WindowsQualityUpdateProfilesItemAssignmentsWindowsQualityUpdateProfileA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_quality_update_profiles_request_builder.go b/devicemanagement/windows_quality_update_profiles_request_builder.go index 0fed6cc5beb..06e40837287 100644 --- a/devicemanagement/windows_quality_update_profiles_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsQualityUpdateProfilesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsQualityUpdateProfiles for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsQualityUpdateProfilesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_quality_update_profiles_windows_quality_update_profile_item_request_builder.go b/devicemanagement/windows_quality_update_profiles_windows_quality_update_profile_item_request_builder.go index 9114cdad33d..7d17f5a2e93 100644 --- a/devicemanagement/windows_quality_update_profiles_windows_quality_update_profile_item_request_builder.go +++ b/devicemanagement/windows_quality_update_profiles_windows_quality_update_profile_item_request_builder.go @@ -126,7 +126,7 @@ func (m *WindowsQualityUpdateProfilesWindowsQualityUpdateProfileItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of windows quality update profiles @@ -142,7 +142,7 @@ func (m *WindowsQualityUpdateProfilesWindowsQualityUpdateProfileItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsQualityUpdateProfiles in deviceManagement @@ -155,7 +155,7 @@ func (m *WindowsQualityUpdateProfilesWindowsQualityUpdateProfileItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_update_catalog_items_request_builder.go b/devicemanagement/windows_update_catalog_items_request_builder.go index 59fa478d27e..23ec24f5c7d 100644 --- a/devicemanagement/windows_update_catalog_items_request_builder.go +++ b/devicemanagement/windows_update_catalog_items_request_builder.go @@ -125,7 +125,7 @@ func (m *WindowsUpdateCatalogItemsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsUpdateCatalogItems for deviceManagement @@ -138,7 +138,7 @@ func (m *WindowsUpdateCatalogItemsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/windows_update_catalog_items_windows_update_catalog_item_item_request_builder.go b/devicemanagement/windows_update_catalog_items_windows_update_catalog_item_item_request_builder.go index 820db93623b..9a46675f05d 100644 --- a/devicemanagement/windows_update_catalog_items_windows_update_catalog_item_item_request_builder.go +++ b/devicemanagement/windows_update_catalog_items_windows_update_catalog_item_item_request_builder.go @@ -118,7 +118,7 @@ func (m *WindowsUpdateCatalogItemsWindowsUpdateCatalogItemItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of windows update catalog items (fetaure updates item , quality updates item) @@ -134,7 +134,7 @@ func (m *WindowsUpdateCatalogItemsWindowsUpdateCatalogItemItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsUpdateCatalogItems in deviceManagement @@ -147,7 +147,7 @@ func (m *WindowsUpdateCatalogItemsWindowsUpdateCatalogItemItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/zebra_fota_artifacts_request_builder.go b/devicemanagement/zebra_fota_artifacts_request_builder.go index 6ccf6521568..1f2f137ee5b 100644 --- a/devicemanagement/zebra_fota_artifacts_request_builder.go +++ b/devicemanagement/zebra_fota_artifacts_request_builder.go @@ -125,7 +125,7 @@ func (m *ZebraFotaArtifactsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to zebraFotaArtifacts for deviceManagement @@ -138,7 +138,7 @@ func (m *ZebraFotaArtifactsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/zebra_fota_artifacts_zebra_fota_artifact_item_request_builder.go b/devicemanagement/zebra_fota_artifacts_zebra_fota_artifact_item_request_builder.go index c5cb182aed2..3e0556b6cb0 100644 --- a/devicemanagement/zebra_fota_artifacts_zebra_fota_artifact_item_request_builder.go +++ b/devicemanagement/zebra_fota_artifacts_zebra_fota_artifact_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ZebraFotaArtifactsZebraFotaArtifactItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the Collection of ZebraFotaArtifacts. @@ -134,7 +134,7 @@ func (m *ZebraFotaArtifactsZebraFotaArtifactItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property zebraFotaArtifacts in deviceManagement @@ -147,7 +147,7 @@ func (m *ZebraFotaArtifactsZebraFotaArtifactItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/zebra_fota_connector_approve_fota_apps_request_builder.go b/devicemanagement/zebra_fota_connector_approve_fota_apps_request_builder.go index cb4af634de2..06b609e474f 100644 --- a/devicemanagement/zebra_fota_connector_approve_fota_apps_request_builder.go +++ b/devicemanagement/zebra_fota_connector_approve_fota_apps_request_builder.go @@ -79,7 +79,7 @@ func (m *ZebraFotaConnectorApproveFotaAppsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/zebra_fota_connector_connect_request_builder.go b/devicemanagement/zebra_fota_connector_connect_request_builder.go index 84965602d9e..47911dfcabf 100644 --- a/devicemanagement/zebra_fota_connector_connect_request_builder.go +++ b/devicemanagement/zebra_fota_connector_connect_request_builder.go @@ -79,7 +79,7 @@ func (m *ZebraFotaConnectorConnectRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/zebra_fota_connector_disconnect_request_builder.go b/devicemanagement/zebra_fota_connector_disconnect_request_builder.go index 6597cc81a59..1892039699e 100644 --- a/devicemanagement/zebra_fota_connector_disconnect_request_builder.go +++ b/devicemanagement/zebra_fota_connector_disconnect_request_builder.go @@ -79,7 +79,7 @@ func (m *ZebraFotaConnectorDisconnectRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/zebra_fota_connector_has_active_deployments_request_builder.go b/devicemanagement/zebra_fota_connector_has_active_deployments_request_builder.go index 5ad13d5976e..4f6a3cef73b 100644 --- a/devicemanagement/zebra_fota_connector_has_active_deployments_request_builder.go +++ b/devicemanagement/zebra_fota_connector_has_active_deployments_request_builder.go @@ -79,7 +79,7 @@ func (m *ZebraFotaConnectorHasActiveDeploymentsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/zebra_fota_connector_request_builder.go b/devicemanagement/zebra_fota_connector_request_builder.go index fa2f2ffb45a..b50f6d7f825 100644 --- a/devicemanagement/zebra_fota_connector_request_builder.go +++ b/devicemanagement/zebra_fota_connector_request_builder.go @@ -134,7 +134,7 @@ func (m *ZebraFotaConnectorRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the singleton ZebraFotaConnector associated with account. @@ -150,7 +150,7 @@ func (m *ZebraFotaConnectorRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property zebraFotaConnector in deviceManagement @@ -163,7 +163,7 @@ func (m *ZebraFotaConnectorRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/zebra_fota_deployments_item_cancel_request_builder.go b/devicemanagement/zebra_fota_deployments_item_cancel_request_builder.go index 97ac38e53ea..e9265528696 100644 --- a/devicemanagement/zebra_fota_deployments_item_cancel_request_builder.go +++ b/devicemanagement/zebra_fota_deployments_item_cancel_request_builder.go @@ -79,7 +79,7 @@ func (m *ZebraFotaDeploymentsItemCancelRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devicemanagement/zebra_fota_deployments_request_builder.go b/devicemanagement/zebra_fota_deployments_request_builder.go index d69fb3de73b..7e633d3c096 100644 --- a/devicemanagement/zebra_fota_deployments_request_builder.go +++ b/devicemanagement/zebra_fota_deployments_request_builder.go @@ -125,7 +125,7 @@ func (m *ZebraFotaDeploymentsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to zebraFotaDeployments for deviceManagement @@ -138,7 +138,7 @@ func (m *ZebraFotaDeploymentsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devicemanagement/zebra_fota_deployments_zebra_fota_deployment_item_request_builder.go b/devicemanagement/zebra_fota_deployments_zebra_fota_deployment_item_request_builder.go index d91b9628d7d..76117494d47 100644 --- a/devicemanagement/zebra_fota_deployments_zebra_fota_deployment_item_request_builder.go +++ b/devicemanagement/zebra_fota_deployments_zebra_fota_deployment_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ZebraFotaDeploymentsZebraFotaDeploymentItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of ZebraFotaDeployments associated with account. @@ -138,7 +138,7 @@ func (m *ZebraFotaDeploymentsZebraFotaDeploymentItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property zebraFotaDeployments in deviceManagement @@ -151,7 +151,7 @@ func (m *ZebraFotaDeploymentsZebraFotaDeploymentItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/delta_request_builder.go b/devices/delta_request_builder.go index cbb0a85af39..f0a0f0e47cb 100644 --- a/devices/delta_request_builder.go +++ b/devices/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/device_item_request_builder.go b/devices/device_item_request_builder.go index c931db85ac9..8cfd6263803 100644 --- a/devices/device_item_request_builder.go +++ b/devices/device_item_request_builder.go @@ -167,7 +167,7 @@ func (m *DeviceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -183,7 +183,7 @@ func (m *DeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -196,7 +196,7 @@ func (m *DeviceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/devices_request_builder.go b/devices/devices_request_builder.go index ce904231364..ddf2ebaaa5e 100644 --- a/devices/devices_request_builder.go +++ b/devices/devices_request_builder.go @@ -143,7 +143,7 @@ func (m *DevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new device. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *DevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/get_by_ids_request_builder.go b/devices/get_by_ids_request_builder.go index 4f89a3771e6..e7ba1746252 100644 --- a/devices/get_by_ids_request_builder.go +++ b/devices/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/get_user_owned_objects_request_builder.go b/devices/get_user_owned_objects_request_builder.go index 488cb6719f4..7a69a599e8c 100644 --- a/devices/get_user_owned_objects_request_builder.go +++ b/devices/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_check_member_groups_request_builder.go b/devices/item_check_member_groups_request_builder.go index 2eb7c690af6..44ce6122417 100644 --- a/devices/item_check_member_groups_request_builder.go +++ b/devices/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_check_member_objects_request_builder.go b/devices/item_check_member_objects_request_builder.go index e3373691b4c..c85148d25e0 100644 --- a/devices/item_check_member_objects_request_builder.go +++ b/devices/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_commands_command_item_request_builder.go b/devices/item_commands_command_item_request_builder.go index a40a06b9baf..a6ef5a11e1a 100644 --- a/devices/item_commands_command_item_request_builder.go +++ b/devices/item_commands_command_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemCommandsCommandItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation set of commands sent to this device. @@ -138,7 +138,7 @@ func (m *ItemCommandsCommandItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property commands in devices @@ -151,7 +151,7 @@ func (m *ItemCommandsCommandItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_commands_item_responsepayload_request_builder.go b/devices/item_commands_item_responsepayload_request_builder.go index 3ae6b756765..a222bdb7621 100644 --- a/devices/item_commands_item_responsepayload_request_builder.go +++ b/devices/item_commands_item_responsepayload_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemCommandsItemResponsepayloadRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_commands_request_builder.go b/devices/item_commands_request_builder.go index 0928e983729..505207c3584 100644 --- a/devices/item_commands_request_builder.go +++ b/devices/item_commands_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemCommandsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to commands for devices @@ -138,7 +138,7 @@ func (m *ItemCommandsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_extensions_extension_item_request_builder.go b/devices/item_extensions_extension_item_request_builder.go index 9c56649f7ca..2f32490a0a8 100644 --- a/devices/item_extensions_extension_item_request_builder.go +++ b/devices/item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for the device. Read-only. Nullable. @@ -134,7 +134,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in devices @@ -147,7 +147,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_extensions_request_builder.go b/devices/item_extensions_request_builder.go index 05842efe622..fc04623049f 100644 --- a/devices/item_extensions_request_builder.go +++ b/devices/item_extensions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for devices @@ -138,7 +138,7 @@ func (m *ItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_get_member_groups_request_builder.go b/devices/item_get_member_groups_request_builder.go index ef092f5daca..2697fe4ff4d 100644 --- a/devices/item_get_member_groups_request_builder.go +++ b/devices/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_get_member_objects_request_builder.go b/devices/item_get_member_objects_request_builder.go index d49ee21e31a..ae85dfa5718 100644 --- a/devices/item_get_member_objects_request_builder.go +++ b/devices/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_member_of_directory_object_item_request_builder.go b/devices/item_member_of_directory_object_item_request_builder.go index 6fdf959dd0e..9e3870c94d6 100644 --- a/devices/item_member_of_directory_object_item_request_builder.go +++ b/devices/item_member_of_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_member_of_graph_administrative_unit_request_builder.go b/devices/item_member_of_graph_administrative_unit_request_builder.go index 625eb0f2db0..a08e404cdf8 100644 --- a/devices/item_member_of_graph_administrative_unit_request_builder.go +++ b/devices/item_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_member_of_graph_group_request_builder.go b/devices/item_member_of_graph_group_request_builder.go index 8b8eeecc4df..f2709d1cf5a 100644 --- a/devices/item_member_of_graph_group_request_builder.go +++ b/devices/item_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_member_of_item_graph_administrative_unit_request_builder.go b/devices/item_member_of_item_graph_administrative_unit_request_builder.go index 9d42169b8c3..168f99ce53d 100644 --- a/devices/item_member_of_item_graph_administrative_unit_request_builder.go +++ b/devices/item_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_member_of_item_graph_group_request_builder.go b/devices/item_member_of_item_graph_group_request_builder.go index 5b38dbc9ba4..329aa3ef1bc 100644 --- a/devices/item_member_of_item_graph_group_request_builder.go +++ b/devices/item_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_member_of_request_builder.go b/devices/item_member_of_request_builder.go index 16a4c781b31..077466d6009 100644 --- a/devices/item_member_of_request_builder.go +++ b/devices/item_member_of_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_owners_graph_endpoint_request_builder.go b/devices/item_registered_owners_graph_endpoint_request_builder.go index 65d37c30267..96f976bf482 100644 --- a/devices/item_registered_owners_graph_endpoint_request_builder.go +++ b/devices/item_registered_owners_graph_endpoint_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemRegisteredOwnersGraphEndpointRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_owners_graph_service_principal_request_builder.go b/devices/item_registered_owners_graph_service_principal_request_builder.go index 07073d9080d..6beb655f87d 100644 --- a/devices/item_registered_owners_graph_service_principal_request_builder.go +++ b/devices/item_registered_owners_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemRegisteredOwnersGraphServicePrincipalRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_owners_graph_user_request_builder.go b/devices/item_registered_owners_graph_user_request_builder.go index 8bf9f35abd2..a3c41ae22c6 100644 --- a/devices/item_registered_owners_graph_user_request_builder.go +++ b/devices/item_registered_owners_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemRegisteredOwnersGraphUserRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_owners_item_graph_endpoint_request_builder.go b/devices/item_registered_owners_item_graph_endpoint_request_builder.go index 184e654e15d..d250ee058a4 100644 --- a/devices/item_registered_owners_item_graph_endpoint_request_builder.go +++ b/devices/item_registered_owners_item_graph_endpoint_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRegisteredOwnersItemGraphEndpointRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_owners_item_graph_service_principal_request_builder.go b/devices/item_registered_owners_item_graph_service_principal_request_builder.go index 79e5b573858..7837b8e938c 100644 --- a/devices/item_registered_owners_item_graph_service_principal_request_builder.go +++ b/devices/item_registered_owners_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRegisteredOwnersItemGraphServicePrincipalRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_owners_item_graph_user_request_builder.go b/devices/item_registered_owners_item_graph_user_request_builder.go index b04582f46dd..71d1d594030 100644 --- a/devices/item_registered_owners_item_graph_user_request_builder.go +++ b/devices/item_registered_owners_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRegisteredOwnersItemGraphUserRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_owners_item_ref_request_builder.go b/devices/item_registered_owners_item_ref_request_builder.go index e7b544746bf..c586635c27a 100644 --- a/devices/item_registered_owners_item_ref_request_builder.go +++ b/devices/item_registered_owners_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemRegisteredOwnersItemRefRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_owners_ref_request_builder.go b/devices/item_registered_owners_ref_request_builder.go index bca984c37db..d4ec555940f 100644 --- a/devices/item_registered_owners_ref_request_builder.go +++ b/devices/item_registered_owners_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemRegisteredOwnersRefRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a user as a registered owner of the device. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *ItemRegisteredOwnersRefRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_registered_owners_request_builder.go b/devices/item_registered_owners_request_builder.go index 656488a0a7d..feddfb30dda 100644 --- a/devices/item_registered_owners_request_builder.go +++ b/devices/item_registered_owners_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRegisteredOwnersRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_users_graph_endpoint_request_builder.go b/devices/item_registered_users_graph_endpoint_request_builder.go index 8b9886290a6..1a266f2ebce 100644 --- a/devices/item_registered_users_graph_endpoint_request_builder.go +++ b/devices/item_registered_users_graph_endpoint_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemRegisteredUsersGraphEndpointRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_users_graph_service_principal_request_builder.go b/devices/item_registered_users_graph_service_principal_request_builder.go index 020600b00fc..0b3d89e4ef0 100644 --- a/devices/item_registered_users_graph_service_principal_request_builder.go +++ b/devices/item_registered_users_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemRegisteredUsersGraphServicePrincipalRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_users_graph_user_request_builder.go b/devices/item_registered_users_graph_user_request_builder.go index 0fd2f72ce76..022339e9c02 100644 --- a/devices/item_registered_users_graph_user_request_builder.go +++ b/devices/item_registered_users_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemRegisteredUsersGraphUserRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_users_item_graph_endpoint_request_builder.go b/devices/item_registered_users_item_graph_endpoint_request_builder.go index 732c0e7f6e4..3c5b57c8e5e 100644 --- a/devices/item_registered_users_item_graph_endpoint_request_builder.go +++ b/devices/item_registered_users_item_graph_endpoint_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRegisteredUsersItemGraphEndpointRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_users_item_graph_service_principal_request_builder.go b/devices/item_registered_users_item_graph_service_principal_request_builder.go index daa0f94a52d..6b3f9783102 100644 --- a/devices/item_registered_users_item_graph_service_principal_request_builder.go +++ b/devices/item_registered_users_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRegisteredUsersItemGraphServicePrincipalRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_users_item_graph_user_request_builder.go b/devices/item_registered_users_item_graph_user_request_builder.go index e0428d9f0af..ee8c95825ce 100644 --- a/devices/item_registered_users_item_graph_user_request_builder.go +++ b/devices/item_registered_users_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRegisteredUsersItemGraphUserRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_users_item_ref_request_builder.go b/devices/item_registered_users_item_ref_request_builder.go index 8d54f4eecfb..25fafab9e9c 100644 --- a/devices/item_registered_users_item_ref_request_builder.go +++ b/devices/item_registered_users_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemRegisteredUsersItemRefRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_registered_users_ref_request_builder.go b/devices/item_registered_users_ref_request_builder.go index a6b41a4ecdc..61b1c532207 100644 --- a/devices/item_registered_users_ref_request_builder.go +++ b/devices/item_registered_users_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemRegisteredUsersRefRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a registered user for the device. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *ItemRegisteredUsersRefRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_registered_users_request_builder.go b/devices/item_registered_users_request_builder.go index 3e85751e90f..9dccf1029c6 100644 --- a/devices/item_registered_users_request_builder.go +++ b/devices/item_registered_users_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRegisteredUsersRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_restore_request_builder.go b/devices/item_restore_request_builder.go index 7c60c8b4e61..f04f5dcb478 100644 --- a/devices/item_restore_request_builder.go +++ b/devices/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_transitive_member_of_directory_object_item_request_builder.go b/devices/item_transitive_member_of_directory_object_item_request_builder.go index 9b4c9bbcc18..a5967d388cf 100644 --- a/devices/item_transitive_member_of_directory_object_item_request_builder.go +++ b/devices/item_transitive_member_of_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_transitive_member_of_graph_administrative_unit_request_builder.go b/devices/item_transitive_member_of_graph_administrative_unit_request_builder.go index 74bf1eb0a77..1ddd6714aa9 100644 --- a/devices/item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/devices/item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_transitive_member_of_graph_group_request_builder.go b/devices/item_transitive_member_of_graph_group_request_builder.go index 2a5048d114c..63f404fa84c 100644 --- a/devices/item_transitive_member_of_graph_group_request_builder.go +++ b/devices/item_transitive_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphGroupRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/devices/item_transitive_member_of_item_graph_administrative_unit_request_builder.go index ba29123ced5..b9cdcddc182 100644 --- a/devices/item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/devices/item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_transitive_member_of_item_graph_group_request_builder.go b/devices/item_transitive_member_of_item_graph_group_request_builder.go index 8487c7c03d0..3d8d3cf1af5 100644 --- a/devices/item_transitive_member_of_item_graph_group_request_builder.go +++ b/devices/item_transitive_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_transitive_member_of_request_builder.go b/devices/item_transitive_member_of_request_builder.go index 9153ddcf0f2..ff3be801815 100644 --- a/devices/item_transitive_member_of_request_builder.go +++ b/devices/item_transitive_member_of_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/devices/item_usage_rights_request_builder.go b/devices/item_usage_rights_request_builder.go index dc4fbc2d74f..486168f7951 100644 --- a/devices/item_usage_rights_request_builder.go +++ b/devices/item_usage_rights_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemUsageRightsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to usageRights for devices @@ -141,7 +141,7 @@ func (m *ItemUsageRightsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/item_usage_rights_usage_right_item_request_builder.go b/devices/item_usage_rights_usage_right_item_request_builder.go index 1b65e17dd2d..51be96305a6 100644 --- a/devices/item_usage_rights_usage_right_item_request_builder.go +++ b/devices/item_usage_rights_usage_right_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemUsageRightsUsageRightItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the usage rights a device has been granted. @@ -134,7 +134,7 @@ func (m *ItemUsageRightsUsageRightItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property usageRights in devices @@ -147,7 +147,7 @@ func (m *ItemUsageRightsUsageRightItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/devices/validate_properties_request_builder.go b/devices/validate_properties_request_builder.go index d1591f9e791..9b067498bd5 100644 --- a/devices/validate_properties_request_builder.go +++ b/devices/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/deviceswithdeviceid/devices_with_device_id_request_builder.go b/deviceswithdeviceid/devices_with_device_id_request_builder.go index 674fbbcae9b..4eec1469273 100644 --- a/deviceswithdeviceid/devices_with_device_id_request_builder.go +++ b/deviceswithdeviceid/devices_with_device_id_request_builder.go @@ -130,7 +130,7 @@ func (m *DevicesWithDeviceIdRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -146,7 +146,7 @@ func (m *DevicesWithDeviceIdRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -159,7 +159,7 @@ func (m *DevicesWithDeviceIdRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/administrative_units_administrative_unit_item_request_builder.go b/directory/administrative_units_administrative_unit_item_request_builder.go index 1134bc371b4..ba493a7478f 100644 --- a/directory/administrative_units_administrative_unit_item_request_builder.go +++ b/directory/administrative_units_administrative_unit_item_request_builder.go @@ -130,7 +130,7 @@ func (m *AdministrativeUnitsAdministrativeUnitItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation conceptual container for user and group directory objects. @@ -146,7 +146,7 @@ func (m *AdministrativeUnitsAdministrativeUnitItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property administrativeUnits in directory @@ -159,7 +159,7 @@ func (m *AdministrativeUnitsAdministrativeUnitItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/administrative_units_delta_request_builder.go b/directory/administrative_units_delta_request_builder.go index 82e57f2651b..99d835f657c 100644 --- a/directory/administrative_units_delta_request_builder.go +++ b/directory/administrative_units_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *AdministrativeUnitsDeltaRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_extensions_extension_item_request_builder.go b/directory/administrative_units_item_extensions_extension_item_request_builder.go index c0849bf3e96..14bfad88115 100644 --- a/directory/administrative_units_item_extensions_extension_item_request_builder.go +++ b/directory/administrative_units_item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AdministrativeUnitsItemExtensionsExtensionItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for this administrative unit. Nullable. @@ -134,7 +134,7 @@ func (m *AdministrativeUnitsItemExtensionsExtensionItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in directory @@ -147,7 +147,7 @@ func (m *AdministrativeUnitsItemExtensionsExtensionItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/administrative_units_item_extensions_request_builder.go b/directory/administrative_units_item_extensions_request_builder.go index 70790abb3cb..98d2be2341a 100644 --- a/directory/administrative_units_item_extensions_request_builder.go +++ b/directory/administrative_units_item_extensions_request_builder.go @@ -125,7 +125,7 @@ func (m *AdministrativeUnitsItemExtensionsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for directory @@ -138,7 +138,7 @@ func (m *AdministrativeUnitsItemExtensionsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/administrative_units_item_members_graph_application_request_builder.go b/directory/administrative_units_item_members_graph_application_request_builder.go index 42746f797a3..8550f083262 100644 --- a/directory/administrative_units_item_members_graph_application_request_builder.go +++ b/directory/administrative_units_item_members_graph_application_request_builder.go @@ -88,7 +88,7 @@ func (m *AdministrativeUnitsItemMembersGraphApplicationRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_graph_device_request_builder.go b/directory/administrative_units_item_members_graph_device_request_builder.go index da297ccf010..69e10fd36d1 100644 --- a/directory/administrative_units_item_members_graph_device_request_builder.go +++ b/directory/administrative_units_item_members_graph_device_request_builder.go @@ -88,7 +88,7 @@ func (m *AdministrativeUnitsItemMembersGraphDeviceRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_graph_group_request_builder.go b/directory/administrative_units_item_members_graph_group_request_builder.go index adc3f455fa3..eccc031f6c9 100644 --- a/directory/administrative_units_item_members_graph_group_request_builder.go +++ b/directory/administrative_units_item_members_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *AdministrativeUnitsItemMembersGraphGroupRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_graph_org_contact_request_builder.go b/directory/administrative_units_item_members_graph_org_contact_request_builder.go index 3cfbcc03fe8..0b05a78b8e7 100644 --- a/directory/administrative_units_item_members_graph_org_contact_request_builder.go +++ b/directory/administrative_units_item_members_graph_org_contact_request_builder.go @@ -88,7 +88,7 @@ func (m *AdministrativeUnitsItemMembersGraphOrgContactRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_graph_service_principal_request_builder.go b/directory/administrative_units_item_members_graph_service_principal_request_builder.go index 1872e764580..25c8a359650 100644 --- a/directory/administrative_units_item_members_graph_service_principal_request_builder.go +++ b/directory/administrative_units_item_members_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *AdministrativeUnitsItemMembersGraphServicePrincipalRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_graph_user_request_builder.go b/directory/administrative_units_item_members_graph_user_request_builder.go index 508e07e0d71..080c389f96f 100644 --- a/directory/administrative_units_item_members_graph_user_request_builder.go +++ b/directory/administrative_units_item_members_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *AdministrativeUnitsItemMembersGraphUserRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_item_graph_application_request_builder.go b/directory/administrative_units_item_members_item_graph_application_request_builder.go index d623c79ca89..597ffd20fd2 100644 --- a/directory/administrative_units_item_members_item_graph_application_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_application_request_builder.go @@ -72,7 +72,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphApplicationRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_item_graph_device_request_builder.go b/directory/administrative_units_item_members_item_graph_device_request_builder.go index 0c0d2b27569..d1a7eeb4393 100644 --- a/directory/administrative_units_item_members_item_graph_device_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_device_request_builder.go @@ -72,7 +72,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphDeviceRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_item_graph_group_request_builder.go b/directory/administrative_units_item_members_item_graph_group_request_builder.go index 2abb8676be7..7ce8b4c6fc0 100644 --- a/directory/administrative_units_item_members_item_graph_group_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphGroupRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_item_graph_org_contact_request_builder.go b/directory/administrative_units_item_members_item_graph_org_contact_request_builder.go index 93bf8d2b6da..9973720878b 100644 --- a/directory/administrative_units_item_members_item_graph_org_contact_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_org_contact_request_builder.go @@ -72,7 +72,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphOrgContactRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_item_graph_service_principal_request_builder.go b/directory/administrative_units_item_members_item_graph_service_principal_request_builder.go index e1617ee8ff6..721b97f94c9 100644 --- a/directory/administrative_units_item_members_item_graph_service_principal_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphServicePrincipalRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_item_graph_user_request_builder.go b/directory/administrative_units_item_members_item_graph_user_request_builder.go index 34d487843ab..75902257f2e 100644 --- a/directory/administrative_units_item_members_item_graph_user_request_builder.go +++ b/directory/administrative_units_item_members_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *AdministrativeUnitsItemMembersItemGraphUserRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_item_ref_request_builder.go b/directory/administrative_units_item_members_item_ref_request_builder.go index 7b3cc2a9b1c..eacc0a2e96c 100644 --- a/directory/administrative_units_item_members_item_ref_request_builder.go +++ b/directory/administrative_units_item_members_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *AdministrativeUnitsItemMembersItemRefRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/administrative_units_item_members_ref_request_builder.go b/directory/administrative_units_item_members_ref_request_builder.go index 766fc33dfa5..ba2eaf7702a 100644 --- a/directory/administrative_units_item_members_ref_request_builder.go +++ b/directory/administrative_units_item_members_ref_request_builder.go @@ -106,7 +106,7 @@ func (m *AdministrativeUnitsItemMembersRefRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to members for directory @@ -119,7 +119,7 @@ func (m *AdministrativeUnitsItemMembersRefRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/administrative_units_item_members_request_builder.go b/directory/administrative_units_item_members_request_builder.go index cdb82196201..def07e77875 100644 --- a/directory/administrative_units_item_members_request_builder.go +++ b/directory/administrative_units_item_members_request_builder.go @@ -156,7 +156,7 @@ func (m *AdministrativeUnitsItemMembersRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to members for directory @@ -169,7 +169,7 @@ func (m *AdministrativeUnitsItemMembersRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/administrative_units_item_scoped_role_members_request_builder.go b/directory/administrative_units_item_scoped_role_members_request_builder.go index 8ef47509058..89e1f8bc140 100644 --- a/directory/administrative_units_item_scoped_role_members_request_builder.go +++ b/directory/administrative_units_item_scoped_role_members_request_builder.go @@ -131,7 +131,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go b/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go index bef14e5e839..7387a3cab6f 100644 --- a/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go +++ b/directory/administrative_units_item_scoped_role_members_scoped_role_membership_item_request_builder.go @@ -124,7 +124,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property scopedRoleMembers in directory @@ -153,7 +153,7 @@ func (m *AdministrativeUnitsItemScopedRoleMembersScopedRoleMembershipItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/administrative_units_request_builder.go b/directory/administrative_units_request_builder.go index c45db08718d..c3a11785d12 100644 --- a/directory/administrative_units_request_builder.go +++ b/directory/administrative_units_request_builder.go @@ -129,7 +129,7 @@ func (m *AdministrativeUnitsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to administrativeUnits for directory @@ -142,7 +142,7 @@ func (m *AdministrativeUnitsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/attribute_sets_attribute_set_item_request_builder.go b/directory/attribute_sets_attribute_set_item_request_builder.go index b18217bac39..132e26790ac 100644 --- a/directory/attribute_sets_attribute_set_item_request_builder.go +++ b/directory/attribute_sets_attribute_set_item_request_builder.go @@ -124,7 +124,7 @@ func (m *AttributeSetsAttributeSetItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an attributeSet object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *AttributeSetsAttributeSetItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an attributeSet object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *AttributeSetsAttributeSetItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/attribute_sets_request_builder.go b/directory/attribute_sets_request_builder.go index e55caac99ab..d9285009f40 100644 --- a/directory/attribute_sets_request_builder.go +++ b/directory/attribute_sets_request_builder.go @@ -131,7 +131,7 @@ func (m *AttributeSetsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new attributeSet object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *AttributeSetsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go index 041884fc846..eed4e017dd3 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_certificate_based_application_configuration_item_request_builder.go @@ -127,7 +127,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a certificateBasedApplicationConfiguration object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a certificateBasedApplicationConfiguration object. To update the trustedCertificateAuthorities within a certificateBasedApplicationConfiguration object, use the Update certificateAuthorityAsEntity operation. @@ -156,7 +156,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsCertific requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_certificate_authority_as_entity_item_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_certificate_authority_as_entity_item_request_builder.go index fe76af27ad1..55013c4857e 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_certificate_authority_as_entity_item_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_certificate_authority_as_entity_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of trusted certificate authorities. @@ -134,7 +134,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property trustedCertificateAuthorities in directory @@ -147,7 +147,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go index 823d595fcb2..0adaee5447f 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go @@ -125,7 +125,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to trustedCertificateAuthorities for directory @@ -138,7 +138,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsItemTrus requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go b/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go index da3c2d874c8..610671ff786 100644 --- a/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go +++ b/directory/certificate_authorities_certificate_based_application_configurations_request_builder.go @@ -128,7 +128,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to certificateBasedApplicationConfigurations for directory @@ -141,7 +141,7 @@ func (m *CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/certificate_authorities_request_builder.go b/directory/certificate_authorities_request_builder.go index 06017248cbc..ba9fb6048e8 100644 --- a/directory/certificate_authorities_request_builder.go +++ b/directory/certificate_authorities_request_builder.go @@ -122,7 +122,7 @@ func (m *CertificateAuthoritiesRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get certificateAuthorities from directory @@ -138,7 +138,7 @@ func (m *CertificateAuthoritiesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property certificateAuthorities in directory @@ -151,7 +151,7 @@ func (m *CertificateAuthoritiesRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go b/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go index b04b294a32f..1dd1db74114 100644 --- a/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go +++ b/directory/custom_security_attribute_definitions_custom_security_attribute_definition_item_request_builder.go @@ -128,7 +128,7 @@ func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *CustomSecurityAttributeDefinitionsCustomSecurityAttributeDefinitionItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go b/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go index 1681c6832c6..e685f730858 100644 --- a/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go +++ b/directory/custom_security_attribute_definitions_item_allowed_values_allowed_value_item_request_builder.go @@ -124,7 +124,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an allowedValue object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an allowedValue object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesAllowedValueItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go b/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go index 24786ca6b29..306b2346e88 100644 --- a/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go +++ b/directory/custom_security_attribute_definitions_item_allowed_values_request_builder.go @@ -131,7 +131,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new allowedValue object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CustomSecurityAttributeDefinitionsItemAllowedValuesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/custom_security_attribute_definitions_request_builder.go b/directory/custom_security_attribute_definitions_request_builder.go index 0d6a392c8d7..0a77f6ab815 100644 --- a/directory/custom_security_attribute_definitions_request_builder.go +++ b/directory/custom_security_attribute_definitions_request_builder.go @@ -131,7 +131,7 @@ func (m *CustomSecurityAttributeDefinitionsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CustomSecurityAttributeDefinitionsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/deleted_items_directory_object_item_request_builder.go b/directory/deleted_items_directory_object_item_request_builder.go index 29e9e19112e..b2f3ee4cb33 100644 --- a/directory/deleted_items_directory_object_item_request_builder.go +++ b/directory/deleted_items_directory_object_item_request_builder.go @@ -116,7 +116,7 @@ func (m *DeletedItemsDirectoryObjectItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_get_by_ids_request_builder.go b/directory/deleted_items_get_by_ids_request_builder.go index 002ccc94354..24dec4c9b73 100644 --- a/directory/deleted_items_get_by_ids_request_builder.go +++ b/directory/deleted_items_get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *DeletedItemsGetByIdsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/deleted_items_graph_administrative_unit_request_builder.go b/directory/deleted_items_graph_administrative_unit_request_builder.go index 3bdc310fba3..4abf9d9b269 100644 --- a/directory/deleted_items_graph_administrative_unit_request_builder.go +++ b/directory/deleted_items_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *DeletedItemsGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_graph_application_request_builder.go b/directory/deleted_items_graph_application_request_builder.go index ea4fc634d8a..55d556b32c7 100644 --- a/directory/deleted_items_graph_application_request_builder.go +++ b/directory/deleted_items_graph_application_request_builder.go @@ -88,7 +88,7 @@ func (m *DeletedItemsGraphApplicationRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_graph_device_request_builder.go b/directory/deleted_items_graph_device_request_builder.go index 17158c7bf1b..7d8b25c1d30 100644 --- a/directory/deleted_items_graph_device_request_builder.go +++ b/directory/deleted_items_graph_device_request_builder.go @@ -88,7 +88,7 @@ func (m *DeletedItemsGraphDeviceRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_graph_group_request_builder.go b/directory/deleted_items_graph_group_request_builder.go index 16a39bc5a50..4a7ccab7552 100644 --- a/directory/deleted_items_graph_group_request_builder.go +++ b/directory/deleted_items_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *DeletedItemsGraphGroupRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_graph_service_principal_request_builder.go b/directory/deleted_items_graph_service_principal_request_builder.go index cb21c1891ce..39f69e9c620 100644 --- a/directory/deleted_items_graph_service_principal_request_builder.go +++ b/directory/deleted_items_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *DeletedItemsGraphServicePrincipalRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_graph_user_request_builder.go b/directory/deleted_items_graph_user_request_builder.go index bfa109e71d7..714034a081d 100644 --- a/directory/deleted_items_graph_user_request_builder.go +++ b/directory/deleted_items_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *DeletedItemsGraphUserRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_item_check_member_groups_request_builder.go b/directory/deleted_items_item_check_member_groups_request_builder.go index 109242c9257..81946650599 100644 --- a/directory/deleted_items_item_check_member_groups_request_builder.go +++ b/directory/deleted_items_item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *DeletedItemsItemCheckMemberGroupsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/deleted_items_item_check_member_objects_request_builder.go b/directory/deleted_items_item_check_member_objects_request_builder.go index 04f70c20dc9..d8f949a0e67 100644 --- a/directory/deleted_items_item_check_member_objects_request_builder.go +++ b/directory/deleted_items_item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *DeletedItemsItemCheckMemberObjectsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/deleted_items_item_get_member_groups_request_builder.go b/directory/deleted_items_item_get_member_groups_request_builder.go index 2d641990889..bc461f8870c 100644 --- a/directory/deleted_items_item_get_member_groups_request_builder.go +++ b/directory/deleted_items_item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *DeletedItemsItemGetMemberGroupsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/deleted_items_item_get_member_objects_request_builder.go b/directory/deleted_items_item_get_member_objects_request_builder.go index 7ffe6bdf9a4..c96676d6302 100644 --- a/directory/deleted_items_item_get_member_objects_request_builder.go +++ b/directory/deleted_items_item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *DeletedItemsItemGetMemberObjectsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/deleted_items_item_graph_administrative_unit_request_builder.go b/directory/deleted_items_item_graph_administrative_unit_request_builder.go index 97d37933d0e..6bf621773db 100644 --- a/directory/deleted_items_item_graph_administrative_unit_request_builder.go +++ b/directory/deleted_items_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *DeletedItemsItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_item_graph_application_request_builder.go b/directory/deleted_items_item_graph_application_request_builder.go index 78482040e45..5989a4d86a1 100644 --- a/directory/deleted_items_item_graph_application_request_builder.go +++ b/directory/deleted_items_item_graph_application_request_builder.go @@ -72,7 +72,7 @@ func (m *DeletedItemsItemGraphApplicationRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_item_graph_device_request_builder.go b/directory/deleted_items_item_graph_device_request_builder.go index 7897a6ef076..d95bbc60594 100644 --- a/directory/deleted_items_item_graph_device_request_builder.go +++ b/directory/deleted_items_item_graph_device_request_builder.go @@ -72,7 +72,7 @@ func (m *DeletedItemsItemGraphDeviceRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_item_graph_group_request_builder.go b/directory/deleted_items_item_graph_group_request_builder.go index ab3cceadf73..aadfefe1406 100644 --- a/directory/deleted_items_item_graph_group_request_builder.go +++ b/directory/deleted_items_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *DeletedItemsItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_item_graph_service_principal_request_builder.go b/directory/deleted_items_item_graph_service_principal_request_builder.go index 8c2f9909fa7..f53d3a8af50 100644 --- a/directory/deleted_items_item_graph_service_principal_request_builder.go +++ b/directory/deleted_items_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *DeletedItemsItemGraphServicePrincipalRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_item_graph_user_request_builder.go b/directory/deleted_items_item_graph_user_request_builder.go index 752fd73ac76..0459a1d7a19 100644 --- a/directory/deleted_items_item_graph_user_request_builder.go +++ b/directory/deleted_items_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *DeletedItemsItemGraphUserRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_item_restore_request_builder.go b/directory/deleted_items_item_restore_request_builder.go index d5a7ccc5685..0dfeabd5751 100644 --- a/directory/deleted_items_item_restore_request_builder.go +++ b/directory/deleted_items_item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *DeletedItemsItemRestoreRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/deleted_items_request_builder.go b/directory/deleted_items_request_builder.go index 482de2d8e43..1b08f7a1148 100644 --- a/directory/deleted_items_request_builder.go +++ b/directory/deleted_items_request_builder.go @@ -127,7 +127,7 @@ func (m *DeletedItemsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ValidateProperties provides operations to call the validateProperties method. diff --git a/directory/deleted_items_validate_properties_request_builder.go b/directory/deleted_items_validate_properties_request_builder.go index f2d34087467..8fce2bb7892 100644 --- a/directory/deleted_items_validate_properties_request_builder.go +++ b/directory/deleted_items_validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *DeletedItemsValidatePropertiesRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/device_local_credentials_device_local_credential_info_item_request_builder.go b/directory/device_local_credentials_device_local_credential_info_item_request_builder.go index 9d52fbb9710..94fa5a64526 100644 --- a/directory/device_local_credentials_device_local_credential_info_item_request_builder.go +++ b/directory/device_local_credentials_device_local_credential_info_item_request_builder.go @@ -119,7 +119,7 @@ func (m *DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of a deviceLocalCredentialInfo for a specified device object. This API is available in the following national cloud deployments. @@ -135,7 +135,7 @@ func (m *DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceLocalCredentials in directory @@ -148,7 +148,7 @@ func (m *DeviceLocalCredentialsDeviceLocalCredentialInfoItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/device_local_credentials_request_builder.go b/directory/device_local_credentials_request_builder.go index 70a9e321dca..fc598b3220b 100644 --- a/directory/device_local_credentials_request_builder.go +++ b/directory/device_local_credentials_request_builder.go @@ -124,7 +124,7 @@ func (m *DeviceLocalCredentialsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceLocalCredentials for directory @@ -137,7 +137,7 @@ func (m *DeviceLocalCredentialsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/directory_request_builder.go b/directory/directory_request_builder.go index c0fdf0f3851..4e96ac2c330 100644 --- a/directory/directory_request_builder.go +++ b/directory/directory_request_builder.go @@ -158,7 +158,7 @@ func (m *DirectoryRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update directory @@ -171,7 +171,7 @@ func (m *DirectoryRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/feature_rollout_policies_feature_rollout_policy_item_request_builder.go b/directory/feature_rollout_policies_feature_rollout_policy_item_request_builder.go index 356c9facdc4..26f1453845c 100644 --- a/directory/feature_rollout_policies_feature_rollout_policy_item_request_builder.go +++ b/directory/feature_rollout_policies_feature_rollout_policy_item_request_builder.go @@ -126,7 +126,7 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get featureRolloutPolicies from directory @@ -143,7 +143,7 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property featureRolloutPolicies in directory @@ -157,7 +157,7 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go b/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go index ef42208c8d5..9f12506f6cc 100644 --- a/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_item_ref_request_builder.go @@ -71,7 +71,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go b/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go index 4167e50e73d..8a1b7870fd8 100644 --- a/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -123,7 +123,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/feature_rollout_policies_item_applies_to_request_builder.go b/directory/feature_rollout_policies_item_applies_to_request_builder.go index eefb191d681..7849f9f8c21 100644 --- a/directory/feature_rollout_policies_item_applies_to_request_builder.go +++ b/directory/feature_rollout_policies_item_applies_to_request_builder.go @@ -135,7 +135,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -149,7 +149,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/feature_rollout_policies_request_builder.go b/directory/feature_rollout_policies_request_builder.go index be3587994ff..60a773ec67e 100644 --- a/directory/feature_rollout_policies_request_builder.go +++ b/directory/feature_rollout_policies_request_builder.go @@ -129,7 +129,7 @@ func (m *FeatureRolloutPoliciesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to featureRolloutPolicies for directory @@ -143,7 +143,7 @@ func (m *FeatureRolloutPoliciesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/federation_configurations_available_provider_types_request_builder.go b/directory/federation_configurations_available_provider_types_request_builder.go index 08e8eeb1653..3bf540669b9 100644 --- a/directory/federation_configurations_available_provider_types_request_builder.go +++ b/directory/federation_configurations_available_provider_types_request_builder.go @@ -97,7 +97,7 @@ func (m *FederationConfigurationsAvailableProviderTypesRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/federation_configurations_identity_provider_base_item_request_builder.go b/directory/federation_configurations_identity_provider_base_item_request_builder.go index c1d3b26590a..1e916221ded 100644 --- a/directory/federation_configurations_identity_provider_base_item_request_builder.go +++ b/directory/federation_configurations_identity_provider_base_item_request_builder.go @@ -121,7 +121,7 @@ func (m *FederationConfigurationsIdentityProviderBaseItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. @@ -137,7 +137,7 @@ func (m *FederationConfigurationsIdentityProviderBaseItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property federationConfigurations in directory @@ -150,7 +150,7 @@ func (m *FederationConfigurationsIdentityProviderBaseItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/federation_configurations_request_builder.go b/directory/federation_configurations_request_builder.go index 41d459aba96..b7c88a10926 100644 --- a/directory/federation_configurations_request_builder.go +++ b/directory/federation_configurations_request_builder.go @@ -129,7 +129,7 @@ func (m *FederationConfigurationsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to federationConfigurations for directory @@ -142,7 +142,7 @@ func (m *FederationConfigurationsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/impacted_resources_impacted_resource_item_request_builder.go b/directory/impacted_resources_impacted_resource_item_request_builder.go index 4e60c804378..03bc1fbe9cd 100644 --- a/directory/impacted_resources_impacted_resource_item_request_builder.go +++ b/directory/impacted_resources_impacted_resource_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ImpactedResourcesImpactedResourceItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get impactedResources from directory @@ -150,7 +150,7 @@ func (m *ImpactedResourcesImpactedResourceItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property impactedResources in directory @@ -163,7 +163,7 @@ func (m *ImpactedResourcesImpactedResourceItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/impacted_resources_item_complete_request_builder.go b/directory/impacted_resources_item_complete_request_builder.go index 82027135267..e99970a0a4f 100644 --- a/directory/impacted_resources_item_complete_request_builder.go +++ b/directory/impacted_resources_item_complete_request_builder.go @@ -63,7 +63,7 @@ func (m *ImpactedResourcesItemCompleteRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/impacted_resources_item_dismiss_request_builder.go b/directory/impacted_resources_item_dismiss_request_builder.go index 238c4abd015..d515ccf8508 100644 --- a/directory/impacted_resources_item_dismiss_request_builder.go +++ b/directory/impacted_resources_item_dismiss_request_builder.go @@ -63,7 +63,7 @@ func (m *ImpactedResourcesItemDismissRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/impacted_resources_item_postpone_request_builder.go b/directory/impacted_resources_item_postpone_request_builder.go index 8c736477e16..34b95f32103 100644 --- a/directory/impacted_resources_item_postpone_request_builder.go +++ b/directory/impacted_resources_item_postpone_request_builder.go @@ -63,7 +63,7 @@ func (m *ImpactedResourcesItemPostponeRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/impacted_resources_item_reactivate_request_builder.go b/directory/impacted_resources_item_reactivate_request_builder.go index 7fc61f9c3eb..185df9a72f7 100644 --- a/directory/impacted_resources_item_reactivate_request_builder.go +++ b/directory/impacted_resources_item_reactivate_request_builder.go @@ -63,7 +63,7 @@ func (m *ImpactedResourcesItemReactivateRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/impacted_resources_request_builder.go b/directory/impacted_resources_request_builder.go index a53c922dea3..ba6d72b833f 100644 --- a/directory/impacted_resources_request_builder.go +++ b/directory/impacted_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *ImpactedResourcesRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to impactedResources for directory @@ -138,7 +138,7 @@ func (m *ImpactedResourcesRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go b/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go index 5b3c27bf8c0..fd9c3a5a309 100644 --- a/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go +++ b/directory/inbound_shared_user_profiles_inbound_shared_user_profile_user_item_request_builder.go @@ -129,7 +129,7 @@ func (m *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of an inboundSharedUserProfile. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property inboundSharedUserProfiles in directory @@ -158,7 +158,7 @@ func (m *InboundSharedUserProfilesInboundSharedUserProfileUserItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go b/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go index 5b3c7135f55..9c8c25283e5 100644 --- a/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go +++ b/directory/inbound_shared_user_profiles_item_export_personal_data_request_builder.go @@ -59,7 +59,7 @@ func (m *InboundSharedUserProfilesItemExportPersonalDataRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go b/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go index 9ee96a4ecaa..a92f5082456 100644 --- a/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go +++ b/directory/inbound_shared_user_profiles_item_remove_personal_data_request_builder.go @@ -59,7 +59,7 @@ func (m *InboundSharedUserProfilesItemRemovePersonalDataRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/inbound_shared_user_profiles_request_builder.go b/directory/inbound_shared_user_profiles_request_builder.go index bc266012195..d121b2fbec7 100644 --- a/directory/inbound_shared_user_profiles_request_builder.go +++ b/directory/inbound_shared_user_profiles_request_builder.go @@ -128,7 +128,7 @@ func (m *InboundSharedUserProfilesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to inboundSharedUserProfiles for directory @@ -141,7 +141,7 @@ func (m *InboundSharedUserProfilesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go b/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go index 5b9c88b7f80..9183c87a0da 100644 --- a/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go +++ b/directory/on_premises_synchronization_on_premises_directory_synchronization_item_request_builder.go @@ -124,7 +124,7 @@ func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *OnPremisesSynchronizationOnPremisesDirectorySynchronizationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/on_premises_synchronization_request_builder.go b/directory/on_premises_synchronization_request_builder.go index e64bc7fb688..547752e15cf 100644 --- a/directory/on_premises_synchronization_request_builder.go +++ b/directory/on_premises_synchronization_request_builder.go @@ -125,7 +125,7 @@ func (m *OnPremisesSynchronizationRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to onPremisesSynchronization for directory @@ -138,7 +138,7 @@ func (m *OnPremisesSynchronizationRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go b/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go index 337250771c9..29ffc9451e3 100644 --- a/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go +++ b/directory/outbound_shared_user_profiles_item_tenants_item_remove_personal_data_request_builder.go @@ -59,7 +59,7 @@ func (m *OutboundSharedUserProfilesItemTenantsItemRemovePersonalDataRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/outbound_shared_user_profiles_item_tenants_request_builder.go b/directory/outbound_shared_user_profiles_item_tenants_request_builder.go index 0ee749d5a38..e51d9136d82 100644 --- a/directory/outbound_shared_user_profiles_item_tenants_request_builder.go +++ b/directory/outbound_shared_user_profiles_item_tenants_request_builder.go @@ -128,7 +128,7 @@ func (m *OutboundSharedUserProfilesItemTenantsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tenants for directory @@ -141,7 +141,7 @@ func (m *OutboundSharedUserProfilesItemTenantsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go b/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go index 3530f639f0f..850224623a5 100644 --- a/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go +++ b/directory/outbound_shared_user_profiles_item_tenants_tenant_reference_tenant_item_request_builder.go @@ -122,7 +122,7 @@ func (m *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of external Microsoft Entra tenants that the user has shared profile data with. Read-only. @@ -138,7 +138,7 @@ func (m *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tenants in directory @@ -151,7 +151,7 @@ func (m *OutboundSharedUserProfilesItemTenantsTenantReferenceTenantItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go b/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go index a02e1208211..bcbb80213e5 100644 --- a/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go +++ b/directory/outbound_shared_user_profiles_outbound_shared_user_profile_user_item_request_builder.go @@ -125,7 +125,7 @@ func (m *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the details of an outboundSharedUserProfile. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property outboundSharedUserProfiles in directory @@ -154,7 +154,7 @@ func (m *OutboundSharedUserProfilesOutboundSharedUserProfileUserItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/outbound_shared_user_profiles_request_builder.go b/directory/outbound_shared_user_profiles_request_builder.go index 4f731cee242..673ac7d2953 100644 --- a/directory/outbound_shared_user_profiles_request_builder.go +++ b/directory/outbound_shared_user_profiles_request_builder.go @@ -128,7 +128,7 @@ func (m *OutboundSharedUserProfilesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to outboundSharedUserProfiles for directory @@ -141,7 +141,7 @@ func (m *OutboundSharedUserProfilesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/recommendations_item_complete_request_builder.go b/directory/recommendations_item_complete_request_builder.go index 66162049086..a428cc6950c 100644 --- a/directory/recommendations_item_complete_request_builder.go +++ b/directory/recommendations_item_complete_request_builder.go @@ -63,7 +63,7 @@ func (m *RecommendationsItemCompleteRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/recommendations_item_dismiss_request_builder.go b/directory/recommendations_item_dismiss_request_builder.go index 2ec4661d9df..6ff78d2dfde 100644 --- a/directory/recommendations_item_dismiss_request_builder.go +++ b/directory/recommendations_item_dismiss_request_builder.go @@ -63,7 +63,7 @@ func (m *RecommendationsItemDismissRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/recommendations_item_impacted_resources_impacted_resource_item_request_builder.go b/directory/recommendations_item_impacted_resources_impacted_resource_item_request_builder.go index ebe1363bfe9..b1d3e0f7f8b 100644 --- a/directory/recommendations_item_impacted_resources_impacted_resource_item_request_builder.go +++ b/directory/recommendations_item_impacted_resources_impacted_resource_item_request_builder.go @@ -134,7 +134,7 @@ func (m *RecommendationsItemImpactedResourcesImpactedResourceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of directory objects associated with the recommendation. @@ -150,7 +150,7 @@ func (m *RecommendationsItemImpactedResourcesImpactedResourceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property impactedResources in directory @@ -163,7 +163,7 @@ func (m *RecommendationsItemImpactedResourcesImpactedResourceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/recommendations_item_impacted_resources_item_complete_request_builder.go b/directory/recommendations_item_impacted_resources_item_complete_request_builder.go index 79a56607046..0d93bf31950 100644 --- a/directory/recommendations_item_impacted_resources_item_complete_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_complete_request_builder.go @@ -63,7 +63,7 @@ func (m *RecommendationsItemImpactedResourcesItemCompleteRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go b/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go index f37702ba167..4b9e3cf3dab 100644 --- a/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_dismiss_request_builder.go @@ -63,7 +63,7 @@ func (m *RecommendationsItemImpactedResourcesItemDismissRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go b/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go index c60ea7d21eb..8d25e58b0e4 100644 --- a/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_postpone_request_builder.go @@ -63,7 +63,7 @@ func (m *RecommendationsItemImpactedResourcesItemPostponeRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go b/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go index 841f2726060..55448786bff 100644 --- a/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go +++ b/directory/recommendations_item_impacted_resources_item_reactivate_request_builder.go @@ -63,7 +63,7 @@ func (m *RecommendationsItemImpactedResourcesItemReactivateRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/recommendations_item_impacted_resources_request_builder.go b/directory/recommendations_item_impacted_resources_request_builder.go index 5d69fb604b0..26d55b15b78 100644 --- a/directory/recommendations_item_impacted_resources_request_builder.go +++ b/directory/recommendations_item_impacted_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *RecommendationsItemImpactedResourcesRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to impactedResources for directory @@ -138,7 +138,7 @@ func (m *RecommendationsItemImpactedResourcesRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/recommendations_item_postpone_request_builder.go b/directory/recommendations_item_postpone_request_builder.go index c51cf3f2f6e..bdac8590e04 100644 --- a/directory/recommendations_item_postpone_request_builder.go +++ b/directory/recommendations_item_postpone_request_builder.go @@ -63,7 +63,7 @@ func (m *RecommendationsItemPostponeRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/recommendations_item_reactivate_request_builder.go b/directory/recommendations_item_reactivate_request_builder.go index b06633bf01d..a135f9e4894 100644 --- a/directory/recommendations_item_reactivate_request_builder.go +++ b/directory/recommendations_item_reactivate_request_builder.go @@ -63,7 +63,7 @@ func (m *RecommendationsItemReactivateRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directory/recommendations_recommendation_item_request_builder.go b/directory/recommendations_recommendation_item_request_builder.go index 61c08d3c499..f8141a31a02 100644 --- a/directory/recommendations_recommendation_item_request_builder.go +++ b/directory/recommendations_recommendation_item_request_builder.go @@ -141,7 +141,7 @@ func (m *RecommendationsRecommendationItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a recommendation object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *RecommendationsRecommendationItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property recommendations in directory @@ -170,7 +170,7 @@ func (m *RecommendationsRecommendationItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/recommendations_request_builder.go b/directory/recommendations_request_builder.go index b0b272d243e..1829d0fe9de 100644 --- a/directory/recommendations_request_builder.go +++ b/directory/recommendations_request_builder.go @@ -128,7 +128,7 @@ func (m *RecommendationsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to recommendations for directory @@ -141,7 +141,7 @@ func (m *RecommendationsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/shared_email_domains_request_builder.go b/directory/shared_email_domains_request_builder.go index 043b5ac7052..3f71d5c0542 100644 --- a/directory/shared_email_domains_request_builder.go +++ b/directory/shared_email_domains_request_builder.go @@ -125,7 +125,7 @@ func (m *SharedEmailDomainsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedEmailDomains for directory @@ -138,7 +138,7 @@ func (m *SharedEmailDomainsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/shared_email_domains_shared_email_domain_item_request_builder.go b/directory/shared_email_domains_shared_email_domain_item_request_builder.go index bcd5daf3b69..875ad09d08c 100644 --- a/directory/shared_email_domains_shared_email_domain_item_request_builder.go +++ b/directory/shared_email_domains_shared_email_domain_item_request_builder.go @@ -118,7 +118,7 @@ func (m *SharedEmailDomainsSharedEmailDomainItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sharedEmailDomains from directory @@ -134,7 +134,7 @@ func (m *SharedEmailDomainsSharedEmailDomainItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedEmailDomains in directory @@ -147,7 +147,7 @@ func (m *SharedEmailDomainsSharedEmailDomainItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/subscriptions_company_subscription_item_request_builder.go b/directory/subscriptions_company_subscription_item_request_builder.go index 926aa196459..963ee63c1f3 100644 --- a/directory/subscriptions_company_subscription_item_request_builder.go +++ b/directory/subscriptions_company_subscription_item_request_builder.go @@ -121,7 +121,7 @@ func (m *SubscriptionsCompanySubscriptionItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *SubscriptionsCompanySubscriptionItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subscriptions in directory @@ -150,7 +150,7 @@ func (m *SubscriptionsCompanySubscriptionItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directory/subscriptions_request_builder.go b/directory/subscriptions_request_builder.go index bc775f7b1a4..88fcd9072aa 100644 --- a/directory/subscriptions_request_builder.go +++ b/directory/subscriptions_request_builder.go @@ -128,7 +128,7 @@ func (m *SubscriptionsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to subscriptions for directory @@ -141,7 +141,7 @@ func (m *SubscriptionsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryobjects/delta_request_builder.go b/directoryobjects/delta_request_builder.go index 77de4cc9969..5f3e447cef3 100644 --- a/directoryobjects/delta_request_builder.go +++ b/directoryobjects/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryobjects/directory_object_item_request_builder.go b/directoryobjects/directory_object_item_request_builder.go index 1f1f5ddbe8f..be52f263702 100644 --- a/directoryobjects/directory_object_item_request_builder.go +++ b/directoryobjects/directory_object_item_request_builder.go @@ -144,7 +144,7 @@ func (m *DirectoryObjectItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a directoryObject object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *DirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in directoryObjects @@ -173,7 +173,7 @@ func (m *DirectoryObjectItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryobjects/directory_objects_request_builder.go b/directoryobjects/directory_objects_request_builder.go index 7b006710eb2..5b858d6d10a 100644 --- a/directoryobjects/directory_objects_request_builder.go +++ b/directoryobjects/directory_objects_request_builder.go @@ -137,7 +137,7 @@ func (m *DirectoryObjectsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to directoryObjects @@ -150,7 +150,7 @@ func (m *DirectoryObjectsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryobjects/get_by_ids_request_builder.go b/directoryobjects/get_by_ids_request_builder.go index 0bb16e77537..57871877111 100644 --- a/directoryobjects/get_by_ids_request_builder.go +++ b/directoryobjects/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryobjects/get_user_owned_objects_request_builder.go b/directoryobjects/get_user_owned_objects_request_builder.go index 37160b8064d..80e890285ee 100644 --- a/directoryobjects/get_user_owned_objects_request_builder.go +++ b/directoryobjects/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryobjects/item_check_member_groups_request_builder.go b/directoryobjects/item_check_member_groups_request_builder.go index 807c4b54ed2..7280a31847a 100644 --- a/directoryobjects/item_check_member_groups_request_builder.go +++ b/directoryobjects/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryobjects/item_check_member_objects_request_builder.go b/directoryobjects/item_check_member_objects_request_builder.go index 13dde287227..0e02d8c3cc1 100644 --- a/directoryobjects/item_check_member_objects_request_builder.go +++ b/directoryobjects/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryobjects/item_get_member_groups_request_builder.go b/directoryobjects/item_get_member_groups_request_builder.go index eb7e335aec5..8478bc92f3a 100644 --- a/directoryobjects/item_get_member_groups_request_builder.go +++ b/directoryobjects/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryobjects/item_get_member_objects_request_builder.go b/directoryobjects/item_get_member_objects_request_builder.go index 5a1a2a1c2ec..7a00f062d48 100644 --- a/directoryobjects/item_get_member_objects_request_builder.go +++ b/directoryobjects/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryobjects/item_restore_request_builder.go b/directoryobjects/item_restore_request_builder.go index 6ccf6c49933..d53c214cc68 100644 --- a/directoryobjects/item_restore_request_builder.go +++ b/directoryobjects/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryobjects/validate_properties_request_builder.go b/directoryobjects/validate_properties_request_builder.go index 0d1a4de4e4e..ee427f55fc9 100644 --- a/directoryobjects/validate_properties_request_builder.go +++ b/directoryobjects/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/delta_request_builder.go b/directoryroles/delta_request_builder.go index a2cbddb5d6a..4ac392cd9f2 100644 --- a/directoryroles/delta_request_builder.go +++ b/directoryroles/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/directory_role_item_request_builder.go b/directoryroles/directory_role_item_request_builder.go index f906bd4d203..58c0bcc7943 100644 --- a/directoryroles/directory_role_item_request_builder.go +++ b/directoryroles/directory_role_item_request_builder.go @@ -149,7 +149,7 @@ func (m *DirectoryRoleItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -165,7 +165,7 @@ func (m *DirectoryRoleItemRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in directoryRoles @@ -178,7 +178,7 @@ func (m *DirectoryRoleItemRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/directory_roles_request_builder.go b/directoryroles/directory_roles_request_builder.go index fe09bd62325..84235f76079 100644 --- a/directoryroles/directory_roles_request_builder.go +++ b/directoryroles/directory_roles_request_builder.go @@ -141,7 +141,7 @@ func (m *DirectoryRolesRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -154,7 +154,7 @@ func (m *DirectoryRolesRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/get_by_ids_request_builder.go b/directoryroles/get_by_ids_request_builder.go index ed52627d784..c4d0d7fd51e 100644 --- a/directoryroles/get_by_ids_request_builder.go +++ b/directoryroles/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/get_user_owned_objects_request_builder.go b/directoryroles/get_user_owned_objects_request_builder.go index f97c9e4179f..f0686afbd61 100644 --- a/directoryroles/get_user_owned_objects_request_builder.go +++ b/directoryroles/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/item_check_member_groups_request_builder.go b/directoryroles/item_check_member_groups_request_builder.go index 1867b50f228..439a4fe1e12 100644 --- a/directoryroles/item_check_member_groups_request_builder.go +++ b/directoryroles/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/item_check_member_objects_request_builder.go b/directoryroles/item_check_member_objects_request_builder.go index abc050ad1cb..0d9bcf0b356 100644 --- a/directoryroles/item_check_member_objects_request_builder.go +++ b/directoryroles/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/item_get_member_groups_request_builder.go b/directoryroles/item_get_member_groups_request_builder.go index 547944415ac..99c5d734ffa 100644 --- a/directoryroles/item_get_member_groups_request_builder.go +++ b/directoryroles/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/item_get_member_objects_request_builder.go b/directoryroles/item_get_member_objects_request_builder.go index 4f399970fcb..2d93995ac02 100644 --- a/directoryroles/item_get_member_objects_request_builder.go +++ b/directoryroles/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/item_members_graph_application_request_builder.go b/directoryroles/item_members_graph_application_request_builder.go index 34732223613..a98fd7901bb 100644 --- a/directoryroles/item_members_graph_application_request_builder.go +++ b/directoryroles/item_members_graph_application_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphApplicationRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_graph_device_request_builder.go b/directoryroles/item_members_graph_device_request_builder.go index ae02c436c8c..d82de015aad 100644 --- a/directoryroles/item_members_graph_device_request_builder.go +++ b/directoryroles/item_members_graph_device_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphDeviceRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_graph_group_request_builder.go b/directoryroles/item_members_graph_group_request_builder.go index a58147958ab..6218b458b7f 100644 --- a/directoryroles/item_members_graph_group_request_builder.go +++ b/directoryroles/item_members_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphGroupRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_graph_org_contact_request_builder.go b/directoryroles/item_members_graph_org_contact_request_builder.go index 8f4e158bda3..80753eedd6f 100644 --- a/directoryroles/item_members_graph_org_contact_request_builder.go +++ b/directoryroles/item_members_graph_org_contact_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphOrgContactRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_graph_service_principal_request_builder.go b/directoryroles/item_members_graph_service_principal_request_builder.go index 5ca52e6b026..28cf5ae1b8f 100644 --- a/directoryroles/item_members_graph_service_principal_request_builder.go +++ b/directoryroles/item_members_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphServicePrincipalRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_graph_user_request_builder.go b/directoryroles/item_members_graph_user_request_builder.go index 23d742f3096..b3563d7b88f 100644 --- a/directoryroles/item_members_graph_user_request_builder.go +++ b/directoryroles/item_members_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphUserRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_item_graph_application_request_builder.go b/directoryroles/item_members_item_graph_application_request_builder.go index 2ce53f124e0..c1ecbdb20b6 100644 --- a/directoryroles/item_members_item_graph_application_request_builder.go +++ b/directoryroles/item_members_item_graph_application_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphApplicationRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_item_graph_device_request_builder.go b/directoryroles/item_members_item_graph_device_request_builder.go index 08dbe90c405..a59de2af8f9 100644 --- a/directoryroles/item_members_item_graph_device_request_builder.go +++ b/directoryroles/item_members_item_graph_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphDeviceRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_item_graph_group_request_builder.go b/directoryroles/item_members_item_graph_group_request_builder.go index 89801be0a26..39b0384704f 100644 --- a/directoryroles/item_members_item_graph_group_request_builder.go +++ b/directoryroles/item_members_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_item_graph_org_contact_request_builder.go b/directoryroles/item_members_item_graph_org_contact_request_builder.go index 629dbf888d5..6c91275b3c1 100644 --- a/directoryroles/item_members_item_graph_org_contact_request_builder.go +++ b/directoryroles/item_members_item_graph_org_contact_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphOrgContactRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_item_graph_service_principal_request_builder.go b/directoryroles/item_members_item_graph_service_principal_request_builder.go index dc6baa0690e..d0516f4febd 100644 --- a/directoryroles/item_members_item_graph_service_principal_request_builder.go +++ b/directoryroles/item_members_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphServicePrincipalRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_item_graph_user_request_builder.go b/directoryroles/item_members_item_graph_user_request_builder.go index 972649b4f88..1b927a3ec42 100644 --- a/directoryroles/item_members_item_graph_user_request_builder.go +++ b/directoryroles/item_members_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_item_ref_request_builder.go b/directoryroles/item_members_item_ref_request_builder.go index c3167909703..926f67f2885 100644 --- a/directoryroles/item_members_item_ref_request_builder.go +++ b/directoryroles/item_members_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_members_ref_request_builder.go b/directoryroles/item_members_ref_request_builder.go index 4f5e0d3e955..be97ca10dea 100644 --- a/directoryroles/item_members_ref_request_builder.go +++ b/directoryroles/item_members_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/item_members_request_builder.go b/directoryroles/item_members_request_builder.go index a468904333b..ee52bb61a42 100644 --- a/directoryroles/item_members_request_builder.go +++ b/directoryroles/item_members_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_restore_request_builder.go b/directoryroles/item_restore_request_builder.go index 2f012ebbaca..c5ee5ee1e73 100644 --- a/directoryroles/item_restore_request_builder.go +++ b/directoryroles/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroles/item_scoped_members_request_builder.go b/directoryroles/item_scoped_members_request_builder.go index feb7ce62064..911a729d783 100644 --- a/directoryroles/item_scoped_members_request_builder.go +++ b/directoryroles/item_scoped_members_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemScopedMembersRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to scopedMembers for directoryRoles @@ -141,7 +141,7 @@ func (m *ItemScopedMembersRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/item_scoped_members_scoped_role_membership_item_request_builder.go b/directoryroles/item_scoped_members_scoped_role_membership_item_request_builder.go index ad9a31d280e..1433ad7316a 100644 --- a/directoryroles/item_scoped_members_scoped_role_membership_item_request_builder.go +++ b/directoryroles/item_scoped_members_scoped_role_membership_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemScopedMembersScopedRoleMembershipItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation members of this directory role that are scoped to administrative units. Read-only. Nullable. @@ -134,7 +134,7 @@ func (m *ItemScopedMembersScopedRoleMembershipItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property scopedMembers in directoryRoles @@ -147,7 +147,7 @@ func (m *ItemScopedMembersScopedRoleMembershipItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroles/validate_properties_request_builder.go b/directoryroles/validate_properties_request_builder.go index a53f99c346d..71a0dbdda62 100644 --- a/directoryroles/validate_properties_request_builder.go +++ b/directoryroles/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go b/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go index b5dbb14973a..9597edda5e4 100644 --- a/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go +++ b/directoryroleswithroletemplateid/directory_roles_with_role_template_id_request_builder.go @@ -124,7 +124,7 @@ func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in directoryRoles by roleTemplateId @@ -153,7 +153,7 @@ func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroletemplates/delta_request_builder.go b/directoryroletemplates/delta_request_builder.go index 282b7bc6d55..caac8021e58 100644 --- a/directoryroletemplates/delta_request_builder.go +++ b/directoryroletemplates/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroletemplates/directory_role_template_item_request_builder.go b/directoryroletemplates/directory_role_template_item_request_builder.go index 8b9140fd562..4ad2ab0a081 100644 --- a/directoryroletemplates/directory_role_template_item_request_builder.go +++ b/directoryroletemplates/directory_role_template_item_request_builder.go @@ -141,7 +141,7 @@ func (m *DirectoryRoleTemplateItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a directoryroletemplate object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *DirectoryRoleTemplateItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in directoryRoleTemplates @@ -170,7 +170,7 @@ func (m *DirectoryRoleTemplateItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroletemplates/directory_role_templates_request_builder.go b/directoryroletemplates/directory_role_templates_request_builder.go index 3745fcd1781..9d055c091ad 100644 --- a/directoryroletemplates/directory_role_templates_request_builder.go +++ b/directoryroletemplates/directory_role_templates_request_builder.go @@ -138,7 +138,7 @@ func (m *DirectoryRoleTemplatesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to directoryRoleTemplates @@ -151,7 +151,7 @@ func (m *DirectoryRoleTemplatesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroletemplates/get_by_ids_request_builder.go b/directoryroletemplates/get_by_ids_request_builder.go index 3e674ae7d06..1610bb659a4 100644 --- a/directoryroletemplates/get_by_ids_request_builder.go +++ b/directoryroletemplates/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroletemplates/get_user_owned_objects_request_builder.go b/directoryroletemplates/get_user_owned_objects_request_builder.go index 838ade4fe42..b049b706fb9 100644 --- a/directoryroletemplates/get_user_owned_objects_request_builder.go +++ b/directoryroletemplates/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroletemplates/item_check_member_groups_request_builder.go b/directoryroletemplates/item_check_member_groups_request_builder.go index b9b15e2a66f..255ffc6262f 100644 --- a/directoryroletemplates/item_check_member_groups_request_builder.go +++ b/directoryroletemplates/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroletemplates/item_check_member_objects_request_builder.go b/directoryroletemplates/item_check_member_objects_request_builder.go index 39332586c3e..01a9775546f 100644 --- a/directoryroletemplates/item_check_member_objects_request_builder.go +++ b/directoryroletemplates/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroletemplates/item_get_member_groups_request_builder.go b/directoryroletemplates/item_get_member_groups_request_builder.go index f6aec1e2e58..3964243ca3b 100644 --- a/directoryroletemplates/item_get_member_groups_request_builder.go +++ b/directoryroletemplates/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroletemplates/item_get_member_objects_request_builder.go b/directoryroletemplates/item_get_member_objects_request_builder.go index aa2391cf27e..dfb6cbb6db4 100644 --- a/directoryroletemplates/item_get_member_objects_request_builder.go +++ b/directoryroletemplates/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directoryroletemplates/item_restore_request_builder.go b/directoryroletemplates/item_restore_request_builder.go index 0db153f4c7a..844647faf91 100644 --- a/directoryroletemplates/item_restore_request_builder.go +++ b/directoryroletemplates/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directoryroletemplates/validate_properties_request_builder.go b/directoryroletemplates/validate_properties_request_builder.go index bcfc5851a7b..fd513b5b72b 100644 --- a/directoryroletemplates/validate_properties_request_builder.go +++ b/directoryroletemplates/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directorysettingtemplates/delta_request_builder.go b/directorysettingtemplates/delta_request_builder.go index 8f14a8bb427..b77e4b5c3cb 100644 --- a/directorysettingtemplates/delta_request_builder.go +++ b/directorysettingtemplates/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directorysettingtemplates/directory_setting_template_item_request_builder.go b/directorysettingtemplates/directory_setting_template_item_request_builder.go index 7d8d01c9e9b..fa181c4d04e 100644 --- a/directorysettingtemplates/directory_setting_template_item_request_builder.go +++ b/directorysettingtemplates/directory_setting_template_item_request_builder.go @@ -141,7 +141,7 @@ func (m *DirectorySettingTemplateItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -157,7 +157,7 @@ func (m *DirectorySettingTemplateItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in directorySettingTemplates @@ -170,7 +170,7 @@ func (m *DirectorySettingTemplateItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directorysettingtemplates/directory_setting_templates_request_builder.go b/directorysettingtemplates/directory_setting_templates_request_builder.go index 7315a8ca1fc..7856fbb5717 100644 --- a/directorysettingtemplates/directory_setting_templates_request_builder.go +++ b/directorysettingtemplates/directory_setting_templates_request_builder.go @@ -140,7 +140,7 @@ func (m *DirectorySettingTemplatesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to directorySettingTemplates @@ -153,7 +153,7 @@ func (m *DirectorySettingTemplatesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directorysettingtemplates/get_by_ids_request_builder.go b/directorysettingtemplates/get_by_ids_request_builder.go index cba01f3b605..4a9b1db2d61 100644 --- a/directorysettingtemplates/get_by_ids_request_builder.go +++ b/directorysettingtemplates/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directorysettingtemplates/get_user_owned_objects_request_builder.go b/directorysettingtemplates/get_user_owned_objects_request_builder.go index 5c65cbd36c6..4573f01ec15 100644 --- a/directorysettingtemplates/get_user_owned_objects_request_builder.go +++ b/directorysettingtemplates/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directorysettingtemplates/item_check_member_groups_request_builder.go b/directorysettingtemplates/item_check_member_groups_request_builder.go index 4713d7c192d..dc30077b170 100644 --- a/directorysettingtemplates/item_check_member_groups_request_builder.go +++ b/directorysettingtemplates/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directorysettingtemplates/item_check_member_objects_request_builder.go b/directorysettingtemplates/item_check_member_objects_request_builder.go index 709f83b66bd..ddeb76f5cf4 100644 --- a/directorysettingtemplates/item_check_member_objects_request_builder.go +++ b/directorysettingtemplates/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directorysettingtemplates/item_get_member_groups_request_builder.go b/directorysettingtemplates/item_get_member_groups_request_builder.go index 22e6d4742b5..4f0a78ee6a6 100644 --- a/directorysettingtemplates/item_get_member_groups_request_builder.go +++ b/directorysettingtemplates/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directorysettingtemplates/item_get_member_objects_request_builder.go b/directorysettingtemplates/item_get_member_objects_request_builder.go index 1029d3d5f8b..8fdc6f30d79 100644 --- a/directorysettingtemplates/item_get_member_objects_request_builder.go +++ b/directorysettingtemplates/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/directorysettingtemplates/item_restore_request_builder.go b/directorysettingtemplates/item_restore_request_builder.go index 5154331daa6..4ecaaa26223 100644 --- a/directorysettingtemplates/item_restore_request_builder.go +++ b/directorysettingtemplates/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/directorysettingtemplates/validate_properties_request_builder.go b/directorysettingtemplates/validate_properties_request_builder.go index ce0d8967f63..636e0ce80f9 100644 --- a/directorysettingtemplates/validate_properties_request_builder.go +++ b/directorysettingtemplates/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domaindnsrecords/domain_dns_record_item_request_builder.go b/domaindnsrecords/domain_dns_record_item_request_builder.go index b5204eb1c0e..0af9a968eca 100644 --- a/domaindnsrecords/domain_dns_record_item_request_builder.go +++ b/domaindnsrecords/domain_dns_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DomainDnsRecordItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from domainDnsRecords by key @@ -134,7 +134,7 @@ func (m *DomainDnsRecordItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in domainDnsRecords @@ -147,7 +147,7 @@ func (m *DomainDnsRecordItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domaindnsrecords/domain_dns_records_request_builder.go b/domaindnsrecords/domain_dns_records_request_builder.go index 4383d00084d..81a39cd12ca 100644 --- a/domaindnsrecords/domain_dns_records_request_builder.go +++ b/domaindnsrecords/domain_dns_records_request_builder.go @@ -125,7 +125,7 @@ func (m *DomainDnsRecordsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to domainDnsRecords @@ -138,7 +138,7 @@ func (m *DomainDnsRecordsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/domain_item_request_builder.go b/domains/domain_item_request_builder.go index 76bc0f555cb..acda0efb4d9 100644 --- a/domains/domain_item_request_builder.go +++ b/domains/domain_item_request_builder.go @@ -155,7 +155,7 @@ func (m *DomainItemRequestBuilder) ToDeleteRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of domain object. This API is available in the following national cloud deployments. @@ -171,7 +171,7 @@ func (m *DomainItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of domain object. This API is available in the following national cloud deployments. @@ -184,7 +184,7 @@ func (m *DomainItemRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/domains_request_builder.go b/domains/domains_request_builder.go index e15a26331eb..3e9a0df276d 100644 --- a/domains/domains_request_builder.go +++ b/domains/domains_request_builder.go @@ -131,7 +131,7 @@ func (m *DomainsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *DomainsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/item_domain_name_references_directory_object_item_request_builder.go b/domains/item_domain_name_references_directory_object_item_request_builder.go index 7645a3ccb89..4758eb35fda 100644 --- a/domains/item_domain_name_references_directory_object_item_request_builder.go +++ b/domains/item_domain_name_references_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDomainNameReferencesDirectoryObjectItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/domains/item_domain_name_references_request_builder.go b/domains/item_domain_name_references_request_builder.go index 9cb3dc07df7..07a904f7ef0 100644 --- a/domains/item_domain_name_references_request_builder.go +++ b/domains/item_domain_name_references_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemDomainNameReferencesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go b/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go index bc6027aac77..42289638662 100644 --- a/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go +++ b/domains/item_federation_configuration_internal_domain_federation_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an internalDomainFederation object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemFederationConfigurationInternalDomainFederationItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/item_federation_configuration_request_builder.go b/domains/item_federation_configuration_request_builder.go index 6e3c872f154..14ddff7d15c 100644 --- a/domains/item_federation_configuration_request_builder.go +++ b/domains/item_federation_configuration_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemFederationConfigurationRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new internalDomainFederation object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemFederationConfigurationRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/item_force_delete_request_builder.go b/domains/item_force_delete_request_builder.go index 3d45971cb4d..280eaa01a3b 100644 --- a/domains/item_force_delete_request_builder.go +++ b/domains/item_force_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemForceDeleteRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/item_promote_request_builder.go b/domains/item_promote_request_builder.go index 435df746c61..747208029e3 100644 --- a/domains/item_promote_request_builder.go +++ b/domains/item_promote_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemPromoteRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/domains/item_promote_to_initial_request_builder.go b/domains/item_promote_to_initial_request_builder.go index 60f8567b0a6..332a6b2f5b7 100644 --- a/domains/item_promote_to_initial_request_builder.go +++ b/domains/item_promote_to_initial_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemPromoteToInitialRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go b/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go index 70e67011ca1..e2b753a6026 100644 --- a/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go +++ b/domains/item_service_configuration_records_domain_dns_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation dNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property serviceConfigurationRecords in domains @@ -147,7 +147,7 @@ func (m *ItemServiceConfigurationRecordsDomainDnsRecordItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/item_service_configuration_records_request_builder.go b/domains/item_service_configuration_records_request_builder.go index a414a69d90b..dde965bdd2a 100644 --- a/domains/item_service_configuration_records_request_builder.go +++ b/domains/item_service_configuration_records_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemServiceConfigurationRecordsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to serviceConfigurationRecords for domains @@ -141,7 +141,7 @@ func (m *ItemServiceConfigurationRecordsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/item_shared_email_domain_invitations_request_builder.go b/domains/item_shared_email_domain_invitations_request_builder.go index 27c700b669e..41b41812b05 100644 --- a/domains/item_shared_email_domain_invitations_request_builder.go +++ b/domains/item_shared_email_domain_invitations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSharedEmailDomainInvitationsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedEmailDomainInvitations for domains @@ -138,7 +138,7 @@ func (m *ItemSharedEmailDomainInvitationsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/item_shared_email_domain_invitations_shared_email_domain_invitation_item_request_builder.go b/domains/item_shared_email_domain_invitations_shared_email_domain_invitation_item_request_builder.go index 15533be3577..eef33f98732 100644 --- a/domains/item_shared_email_domain_invitations_shared_email_domain_invitation_item_request_builder.go +++ b/domains/item_shared_email_domain_invitations_shared_email_domain_invitation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSharedEmailDomainInvitationsSharedEmailDomainInvitationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sharedEmailDomainInvitations from domains @@ -134,7 +134,7 @@ func (m *ItemSharedEmailDomainInvitationsSharedEmailDomainInvitationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedEmailDomainInvitations in domains @@ -147,7 +147,7 @@ func (m *ItemSharedEmailDomainInvitationsSharedEmailDomainInvitationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go b/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go index cec3a90059e..a8cc9d5ad90 100644 --- a/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go +++ b/domains/item_verification_dns_records_domain_dns_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation dNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Microsoft Entra ID. Read-only, Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property verificationDnsRecords in domains @@ -147,7 +147,7 @@ func (m *ItemVerificationDnsRecordsDomainDnsRecordItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/item_verification_dns_records_request_builder.go b/domains/item_verification_dns_records_request_builder.go index 01b85625008..fe191c5b0cd 100644 --- a/domains/item_verification_dns_records_request_builder.go +++ b/domains/item_verification_dns_records_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemVerificationDnsRecordsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to verificationDnsRecords for domains @@ -141,7 +141,7 @@ func (m *ItemVerificationDnsRecordsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/domains/item_verify_request_builder.go b/domains/item_verify_request_builder.go index ad6df7c0622..23f188470ed 100644 --- a/domains/item_verify_request_builder.go +++ b/domains/item_verify_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemVerifyRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/drive_item_request_builder.go b/drives/drive_item_request_builder.go index af4c74d5bc1..a08e53e689d 100644 --- a/drives/drive_item_request_builder.go +++ b/drives/drive_item_request_builder.go @@ -166,7 +166,7 @@ func (m *DriveItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from drives by key @@ -182,7 +182,7 @@ func (m *DriveItemRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in drives @@ -195,7 +195,7 @@ func (m *DriveItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/drives_request_builder.go b/drives/drives_request_builder.go index 6635deb5231..2cf817fbe0c 100644 --- a/drives/drives_request_builder.go +++ b/drives/drives_request_builder.go @@ -119,7 +119,7 @@ func (m *DrivesRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to drives @@ -132,7 +132,7 @@ func (m *DrivesRequestBuilder) ToPostRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_activities_item_activity_o_l_d_item_request_builder.go b/drives/item_activities_item_activity_o_l_d_item_request_builder.go index c0454282fb9..67dbddeaae7 100644 --- a/drives/item_activities_item_activity_o_l_d_item_request_builder.go +++ b/drives/item_activities_item_activity_o_l_d_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemActivitiesItemActivityOLDItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of recent activities that took place under this drive. @@ -142,7 +142,7 @@ func (m *ItemActivitiesItemActivityOLDItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in drives @@ -155,7 +155,7 @@ func (m *ItemActivitiesItemActivityOLDItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_activities_item_drive_item_content_request_builder.go b/drives/item_activities_item_drive_item_content_request_builder.go index eec1bb550db..80e111ed678 100644 --- a/drives/item_activities_item_drive_item_content_request_builder.go +++ b/drives/item_activities_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemActivitiesItemDriveItemContentRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemActivitiesItemDriveItemContentRequestBuilder) ToPutRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_activities_item_drive_item_request_builder.go b/drives/item_activities_item_drive_item_request_builder.go index 9190b631561..8c8ac78f81d 100644 --- a/drives/item_activities_item_drive_item_request_builder.go +++ b/drives/item_activities_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemActivitiesItemDriveItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_activities_item_list_item_request_builder.go b/drives/item_activities_item_list_item_request_builder.go index 1e69eb617ae..bd1ae67aa02 100644 --- a/drives/item_activities_item_list_item_request_builder.go +++ b/drives/item_activities_item_list_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemActivitiesItemListItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_activities_request_builder.go b/drives/item_activities_request_builder.go index a3c978a5ede..6dc5bc3e9d8 100644 --- a/drives/item_activities_request_builder.go +++ b/drives/item_activities_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemActivitiesRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for drives @@ -141,7 +141,7 @@ func (m *ItemActivitiesRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_bundles_drive_item_item_request_builder.go b/drives/item_bundles_drive_item_item_request_builder.go index d74d1314a9c..78e236fe2d5 100644 --- a/drives/item_bundles_drive_item_item_request_builder.go +++ b/drives/item_bundles_drive_item_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemBundlesDriveItemItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_bundles_item_content_request_builder.go b/drives/item_bundles_item_content_request_builder.go index feca84ace71..2b275cb4449 100644 --- a/drives/item_bundles_item_content_request_builder.go +++ b/drives/item_bundles_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemBundlesItemContentRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemBundlesItemContentRequestBuilder) ToPutRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_bundles_request_builder.go b/drives/item_bundles_request_builder.go index dac19ff1dde..bca080c08ca 100644 --- a/drives/item_bundles_request_builder.go +++ b/drives/item_bundles_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemBundlesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to bundles for drives @@ -138,7 +138,7 @@ func (m *ItemBundlesRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_created_by_user_mailbox_settings_request_builder.go b/drives/item_created_by_user_mailbox_settings_request_builder.go index 519061f7fb8..4bbdd7425ea 100644 --- a/drives/item_created_by_user_mailbox_settings_request_builder.go +++ b/drives/item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_created_by_user_request_builder.go b/drives/item_created_by_user_request_builder.go index 208c9d414ae..426e2bb5540 100644 --- a/drives/item_created_by_user_request_builder.go +++ b/drives/item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_created_by_user_service_provisioning_errors_request_builder.go b/drives/item_created_by_user_service_provisioning_errors_request_builder.go index e621292d8d7..c280c0ac94c 100644 --- a/drives/item_created_by_user_service_provisioning_errors_request_builder.go +++ b/drives/item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_following_drive_item_item_request_builder.go b/drives/item_following_drive_item_item_request_builder.go index d55b3c41b2c..7b043d27c74 100644 --- a/drives/item_following_drive_item_item_request_builder.go +++ b/drives/item_following_drive_item_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemFollowingDriveItemItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_following_item_content_request_builder.go b/drives/item_following_item_content_request_builder.go index 763adb9686d..c2ff769a979 100644 --- a/drives/item_following_item_content_request_builder.go +++ b/drives/item_following_item_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemFollowingItemContentRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *ItemFollowingItemContentRequestBuilder) ToPutRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_following_request_builder.go b/drives/item_following_request_builder.go index 02bf6d6418e..c40bd1f7bae 100644 --- a/drives/item_following_request_builder.go +++ b/drives/item_following_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemFollowingRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_drive_item_item_request_builder.go b/drives/item_items_drive_item_item_request_builder.go index 62d4372171b..d015fcce4c4 100644 --- a/drives/item_items_drive_item_item_request_builder.go +++ b/drives/item_items_drive_item_item_request_builder.go @@ -232,7 +232,7 @@ func (m *ItemItemsDriveItemItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation all items contained in the drive. Read-only. Nullable. @@ -248,7 +248,7 @@ func (m *ItemItemsDriveItemItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the metadata for a DriveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. This API is available in the following national cloud deployments. @@ -261,7 +261,7 @@ func (m *ItemItemsDriveItemItemRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_activities_item_activity_o_l_d_item_request_builder.go b/drives/item_items_item_activities_item_activity_o_l_d_item_request_builder.go index 799c10315cf..78e3c330349 100644 --- a/drives/item_items_item_activities_item_activity_o_l_d_item_request_builder.go +++ b/drives/item_items_item_activities_item_activity_o_l_d_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_activities_request_builder.go b/drives/item_items_item_activities_request_builder.go index b8f83092f89..bde60eaa7bf 100644 --- a/drives/item_items_item_activities_request_builder.go +++ b/drives/item_items_item_activities_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemItemsItemActivitiesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_analytics_all_time_request_builder.go b/drives/item_items_item_analytics_all_time_request_builder.go index 6528c5ceb16..0f36419e589 100644 --- a/drives/item_items_item_analytics_all_time_request_builder.go +++ b/drives/item_items_item_analytics_all_time_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemAnalyticsAllTimeRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go index 47745550d4a..42e59e3e31e 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation exposes the itemActivities represented in this itemActivityStat resource. @@ -138,7 +138,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go index a8a93a575b7..a1d21cbdac4 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go index 4df2a0612c9..2ef3fb0f450 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activities_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activities_request_builder.go index e535e63edb1..0fcf1702337 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activities_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activities_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go index 7f28d730d02..8225a00f41e 100644 --- a/drives/item_items_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemActivityStats from drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemActivityStats in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_analytics_item_activity_stats_request_builder.go b/drives/item_items_item_analytics_item_activity_stats_request_builder.go index e4dc32dd331..c7b8d76c227 100644 --- a/drives/item_items_item_analytics_item_activity_stats_request_builder.go +++ b/drives/item_items_item_analytics_item_activity_stats_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to itemActivityStats for drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemAnalyticsItemActivityStatsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_analytics_last_seven_days_request_builder.go b/drives/item_items_item_analytics_last_seven_days_request_builder.go index 5c8f9a7f564..9c9660db0f4 100644 --- a/drives/item_items_item_analytics_last_seven_days_request_builder.go +++ b/drives/item_items_item_analytics_last_seven_days_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemAnalyticsLastSevenDaysRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_analytics_request_builder.go b/drives/item_items_item_analytics_request_builder.go index c0ff205a0d1..de2f66f4a04 100644 --- a/drives/item_items_item_analytics_request_builder.go +++ b/drives/item_items_item_analytics_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemItemsItemAnalyticsRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -149,7 +149,7 @@ func (m *ItemItemsItemAnalyticsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property analytics in drives @@ -162,7 +162,7 @@ func (m *ItemItemsItemAnalyticsRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_assign_sensitivity_label_request_builder.go b/drives/item_items_item_assign_sensitivity_label_request_builder.go index 3596e1498a8..a180841cb62 100644 --- a/drives/item_items_item_assign_sensitivity_label_request_builder.go +++ b/drives/item_items_item_assign_sensitivity_label_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemAssignSensitivityLabelRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_checkin_request_builder.go b/drives/item_items_item_checkin_request_builder.go index 3873a5a4ee7..b05dd97446c 100644 --- a/drives/item_items_item_checkin_request_builder.go +++ b/drives/item_items_item_checkin_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemCheckinRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_checkout_request_builder.go b/drives/item_items_item_checkout_request_builder.go index 47ef8fccf3c..f39e3dfcc65 100644 --- a/drives/item_items_item_checkout_request_builder.go +++ b/drives/item_items_item_checkout_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemCheckoutRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_children_drive_item_item_request_builder.go b/drives/item_items_item_children_drive_item_item_request_builder.go index 2ba76bcb76b..a610ccb4d3c 100644 --- a/drives/item_items_item_children_drive_item_item_request_builder.go +++ b/drives/item_items_item_children_drive_item_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemItemsItemChildrenDriveItemItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_children_item_content_request_builder.go b/drives/item_items_item_children_item_content_request_builder.go index 30e8ea66233..8c398b08a05 100644 --- a/drives/item_items_item_children_item_content_request_builder.go +++ b/drives/item_items_item_children_item_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemItemsItemChildrenItemContentRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *ItemItemsItemChildrenItemContentRequestBuilder) ToPutRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_items_item_children_request_builder.go b/drives/item_items_item_children_request_builder.go index 40f17c4fc39..89050c32bca 100644 --- a/drives/item_items_item_children_request_builder.go +++ b/drives/item_items_item_children_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemItemsItemChildrenRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for drives @@ -144,7 +144,7 @@ func (m *ItemItemsItemChildrenRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_content_request_builder.go b/drives/item_items_item_content_request_builder.go index b3ff3036486..8bb28765195 100644 --- a/drives/item_items_item_content_request_builder.go +++ b/drives/item_items_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemItemsItemContentRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemItemsItemContentRequestBuilder) ToPutRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_items_item_copy_request_builder.go b/drives/item_items_item_copy_request_builder.go index 4b6b1b0eeae..99253195be3 100644 --- a/drives/item_items_item_copy_request_builder.go +++ b/drives/item_items_item_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemCopyRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_create_link_request_builder.go b/drives/item_items_item_create_link_request_builder.go index 5c4d35f75c2..1776feaa836 100644 --- a/drives/item_items_item_create_link_request_builder.go +++ b/drives/item_items_item_create_link_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemCreateLinkRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_create_upload_session_request_builder.go b/drives/item_items_item_create_upload_session_request_builder.go index 17cecd342fa..a1c8daa7017 100644 --- a/drives/item_items_item_create_upload_session_request_builder.go +++ b/drives/item_items_item_create_upload_session_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemCreateUploadSessionRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_created_by_user_mailbox_settings_request_builder.go b/drives/item_items_item_created_by_user_mailbox_settings_request_builder.go index 0f075015cee..2d261148947 100644 --- a/drives/item_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/drives/item_items_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_created_by_user_request_builder.go b/drives/item_items_item_created_by_user_request_builder.go index cab158360a5..f308d34ad24 100644 --- a/drives/item_items_item_created_by_user_request_builder.go +++ b/drives/item_items_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemItemsItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_created_by_user_service_provisioning_errors_request_builder.go b/drives/item_items_item_created_by_user_service_provisioning_errors_request_builder.go index cfb5b355380..39fc9cf499c 100644 --- a/drives/item_items_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/drives/item_items_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl func (m *ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_delta_request_builder.go b/drives/item_items_item_delta_request_builder.go index 4a4546bcad8..f7496a4c503 100644 --- a/drives/item_items_item_delta_request_builder.go +++ b/drives/item_items_item_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemItemsItemDeltaRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_delta_with_token_request_builder.go b/drives/item_items_item_delta_with_token_request_builder.go index 445ebd60ff9..330db640da3 100644 --- a/drives/item_items_item_delta_with_token_request_builder.go +++ b/drives/item_items_item_delta_with_token_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemItemsItemDeltaWithTokenRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_extract_sensitivity_labels_request_builder.go b/drives/item_items_item_extract_sensitivity_labels_request_builder.go index b8a796410f6..c4b811a9ff7 100644 --- a/drives/item_items_item_extract_sensitivity_labels_request_builder.go +++ b/drives/item_items_item_extract_sensitivity_labels_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemExtractSensitivityLabelsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_follow_request_builder.go b/drives/item_items_item_follow_request_builder.go index b89a17cde5b..3d68d06f859 100644 --- a/drives/item_items_item_follow_request_builder.go +++ b/drives/item_items_item_follow_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemFollowRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 7047fe83588..3ea77a27a08 100644 --- a/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/drives/item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_invite_request_builder.go b/drives/item_items_item_invite_request_builder.go index 6e1400a2d2f..e5fda10d296 100644 --- a/drives/item_items_item_invite_request_builder.go +++ b/drives/item_items_item_invite_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemItemsItemInviteRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/drives/item_items_item_last_modified_by_user_mailbox_settings_request_builder.go index 2d59819ee44..4235cb382a3 100644 --- a/drives/item_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/drives/item_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_last_modified_by_user_request_builder.go b/drives/item_items_item_last_modified_by_user_request_builder.go index 02f75bad1ae..cae67291696 100644 --- a/drives/item_items_item_last_modified_by_user_request_builder.go +++ b/drives/item_items_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemItemsItemLastModifiedByUserRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/drives/item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go index 885b0665dea..f3aa5e089a2 100644 --- a/drives/item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/drives/item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(r func (m *ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_list_item_request_builder.go b/drives/item_items_item_list_item_request_builder.go index f50474584c0..fda5a143dc0 100644 --- a/drives/item_items_item_list_item_request_builder.go +++ b/drives/item_items_item_list_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemListItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_permanent_delete_request_builder.go b/drives/item_items_item_permanent_delete_request_builder.go index 5509db20f14..83003513e76 100644 --- a/drives/item_items_item_permanent_delete_request_builder.go +++ b/drives/item_items_item_permanent_delete_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemPermanentDeleteRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_permissions_item_grant_request_builder.go b/drives/item_items_item_permissions_item_grant_request_builder.go index 05ba00b6025..dca7407067f 100644 --- a/drives/item_items_item_permissions_item_grant_request_builder.go +++ b/drives/item_items_item_permissions_item_grant_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemItemsItemPermissionsItemGrantRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_permissions_item_revoke_grants_request_builder.go b/drives/item_items_item_permissions_item_revoke_grants_request_builder.go index f583ffe3cc8..85a8cb9d770 100644 --- a/drives/item_items_item_permissions_item_revoke_grants_request_builder.go +++ b/drives/item_items_item_permissions_item_revoke_grants_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemPermissionsItemRevokeGrantsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_permissions_permission_item_request_builder.go b/drives/item_items_item_permissions_permission_item_request_builder.go index 7a0098174d0..189120ba44d 100644 --- a/drives/item_items_item_permissions_permission_item_request_builder.go +++ b/drives/item_items_item_permissions_permission_item_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -151,7 +151,7 @@ func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -164,7 +164,7 @@ func (m *ItemItemsItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_permissions_request_builder.go b/drives/item_items_item_permissions_request_builder.go index 00cac1382ee..8b816da03c7 100644 --- a/drives/item_items_item_permissions_request_builder.go +++ b/drives/item_items_item_permissions_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemPermissionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissions for drives @@ -141,7 +141,7 @@ func (m *ItemItemsItemPermissionsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_preview_request_builder.go b/drives/item_items_item_preview_request_builder.go index 092d6e7d01a..d58e63ef737 100644 --- a/drives/item_items_item_preview_request_builder.go +++ b/drives/item_items_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemPreviewRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_restore_request_builder.go b/drives/item_items_item_restore_request_builder.go index 396797262e5..8762bd20cbb 100644 --- a/drives/item_items_item_restore_request_builder.go +++ b/drives/item_items_item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemRestoreRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_retention_label_request_builder.go b/drives/item_items_item_retention_label_request_builder.go index 6961d26f5c7..a0fb71adae9 100644 --- a/drives/item_items_item_retention_label_request_builder.go +++ b/drives/item_items_item_retention_label_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation information about retention label and settings enforced on the driveItem. Read-write. @@ -140,7 +140,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_search_with_q_request_builder.go b/drives/item_items_item_search_with_q_request_builder.go index 8e06b3979f7..db751e598da 100644 --- a/drives/item_items_item_search_with_q_request_builder.go +++ b/drives/item_items_item_search_with_q_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemItemsItemSearchWithQRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go b/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go index ea1ef9b869b..095615995cf 100644 --- a/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go +++ b/drives/item_items_item_subscriptions_item_reauthorize_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemSubscriptionsItemReauthorizeRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_subscriptions_request_builder.go b/drives/item_items_item_subscriptions_request_builder.go index c87a3f903eb..20a44e51851 100644 --- a/drives/item_items_item_subscriptions_request_builder.go +++ b/drives/item_items_item_subscriptions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemSubscriptionsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to subscriptions for drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemSubscriptionsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_subscriptions_subscription_item_request_builder.go b/drives/item_items_item_subscriptions_subscription_item_request_builder.go index a3385559108..f68a620dcf2 100644 --- a/drives/item_items_item_subscriptions_subscription_item_request_builder.go +++ b/drives/item_items_item_subscriptions_subscription_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemSubscriptionsSubscriptionItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the set of subscriptions on the item. Only supported on the root of a drive. @@ -138,7 +138,7 @@ func (m *ItemItemsItemSubscriptionsSubscriptionItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subscriptions in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemSubscriptionsSubscriptionItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_thumbnails_request_builder.go b/drives/item_items_item_thumbnails_request_builder.go index 8c74a50606f..3235ae233d7 100644 --- a/drives/item_items_item_thumbnails_request_builder.go +++ b/drives/item_items_item_thumbnails_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemThumbnailsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to thumbnails for drives @@ -141,7 +141,7 @@ func (m *ItemItemsItemThumbnailsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go b/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go index d7bb317168a..c338dbc9b1c 100644 --- a/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go +++ b/drives/item_items_item_thumbnails_thumbnail_set_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. @@ -134,7 +134,7 @@ func (m *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property thumbnails in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemThumbnailsThumbnailSetItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_unfollow_request_builder.go b/drives/item_items_item_unfollow_request_builder.go index 030f6f45bdf..a978b3a60d8 100644 --- a/drives/item_items_item_unfollow_request_builder.go +++ b/drives/item_items_item_unfollow_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemUnfollowRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_validate_permission_request_builder.go b/drives/item_items_item_validate_permission_request_builder.go index 17129e85dfc..066c633f16b 100644 --- a/drives/item_items_item_validate_permission_request_builder.go +++ b/drives/item_items_item_validate_permission_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemValidatePermissionRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_versions_drive_item_version_item_request_builder.go b/drives/item_items_item_versions_drive_item_version_item_request_builder.go index e3d13ab22c2..c21f27d837c 100644 --- a/drives/item_items_item_versions_drive_item_version_item_request_builder.go +++ b/drives/item_items_item_versions_drive_item_version_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the metadata for a specific version of a DriveItem. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property versions in drives @@ -158,7 +158,7 @@ func (m *ItemItemsItemVersionsDriveItemVersionItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_versions_item_content_request_builder.go b/drives/item_items_item_versions_item_content_request_builder.go index 1c2af7da2ab..8ea1b9f88b1 100644 --- a/drives/item_items_item_versions_item_content_request_builder.go +++ b/drives/item_items_item_versions_item_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemItemsItemVersionsItemContentRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property versions in drives @@ -102,7 +102,7 @@ func (m *ItemItemsItemVersionsItemContentRequestBuilder) ToPutRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_items_item_versions_item_restore_version_request_builder.go b/drives/item_items_item_versions_item_restore_version_request_builder.go index 180469b053e..42ca290ea5c 100644 --- a/drives/item_items_item_versions_item_restore_version_request_builder.go +++ b/drives/item_items_item_versions_item_restore_version_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemVersionsItemRestoreVersionRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_versions_request_builder.go b/drives/item_items_item_versions_request_builder.go index 3db15f3d8ba..8483a091b08 100644 --- a/drives/item_items_item_versions_request_builder.go +++ b/drives/item_items_item_versions_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemVersionsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to versions for drives @@ -141,7 +141,7 @@ func (m *ItemItemsItemVersionsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_application_calculate_request_builder.go b/drives/item_items_item_workbook_application_calculate_request_builder.go index 420d37cef74..0524d36063b 100644 --- a/drives/item_items_item_workbook_application_calculate_request_builder.go +++ b/drives/item_items_item_workbook_application_calculate_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookApplicationCalculateRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_application_request_builder.go b/drives/item_items_item_workbook_application_request_builder.go index 7dd459b3710..cac60a0c816 100644 --- a/drives/item_items_item_workbook_application_request_builder.go +++ b/drives/item_items_item_workbook_application_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemWorkbookApplicationRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a workbookApplication object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemItemsItemWorkbookApplicationRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property application in drives @@ -154,7 +154,7 @@ func (m *ItemItemsItemWorkbookApplicationRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_close_session_request_builder.go b/drives/item_items_item_workbook_close_session_request_builder.go index faaa1135dea..1cb9f913e5b 100644 --- a/drives/item_items_item_workbook_close_session_request_builder.go +++ b/drives/item_items_item_workbook_close_session_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookCloseSessionRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_count_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_count_request_builder.go index 88846c29870..4c019244d2b 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesCountRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_item_at_with_index_request_builder.go index 16a353e20bd..2806da296dd 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesItemAtWithIndexR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_request_builder.go index 72d5a6145a6..13725032aa9 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to changes for drives @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_workbook_document_task_change_item_request_builder.go index 25771617df1..84409b96a73 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_changes_workbook_document_task_change_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocument requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of task change histories. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocument requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property changes in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskChangesWorkbookDocument requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_request_builder.go index f30b53e905f..96525e92999 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the comment that the task is associated with. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property comment in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_count_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_count_request_builder.go index 207ccf604dc..f2e8781de1d 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesCount requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_item_at_with_index_request_builder.go index 6ac93a346f9..350ee9196a7 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_request_builder.go index 012e3d30a7a..a35ef3c4c2d 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to changes for drives @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_workbook_document_task_change_item_request_builder.go index a372f267de3..1b48d2574bc 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_changes_workbook_document_task_change_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkb requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of task change histories. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkb requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property changes in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskChangesWorkb requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_request_builder.go index dda07804e10..84ed18122e5 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_comment_task_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the task associated with the comment. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property task in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskCommentTaskRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_replies_item_task_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_item_task_request_builder.go index d5c4e237a4f..dfc99c35f42 100644 --- a/drives/item_items_item_workbook_comments_item_replies_item_task_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_item_task_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the task associated with the comment thread. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property task in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesItemTaskRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_replies_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_request_builder.go index 43040d55531..091a63570c9 100644 --- a/drives/item_items_item_workbook_comments_item_replies_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to replies for drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_replies_workbook_comment_reply_item_request_builder.go b/drives/item_items_item_workbook_comments_item_replies_workbook_comment_reply_item_request_builder.go index db92162a87a..15c9be539c5 100644 --- a/drives/item_items_item_workbook_comments_item_replies_workbook_comment_reply_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_replies_workbook_comment_reply_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesWorkbookCommentReplyItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get replies from drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesWorkbookCommentReplyItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookCommentsItemRepliesWorkbookCommentReplyItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_task_changes_count_request_builder.go b/drives/item_items_item_workbook_comments_item_task_changes_count_request_builder.go index 4ab2c16bc0a..49ff534c276 100644 --- a/drives/item_items_item_workbook_comments_item_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_changes_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesCountRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_comments_item_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_comments_item_task_changes_item_at_with_index_request_builder.go index c4db9e11e03..e04816ebf2c 100644 --- a/drives/item_items_item_workbook_comments_item_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_changes_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesItemAtWithIndexRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_comments_item_task_changes_request_builder.go b/drives/item_items_item_workbook_comments_item_task_changes_request_builder.go index 1ae56322b7f..d549064eed2 100644 --- a/drives/item_items_item_workbook_comments_item_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_changes_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to changes for drives @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_comments_item_task_changes_workbook_document_task_change_item_request_builder.go index ddcb88ef541..ef45fb5833d 100644 --- a/drives/item_items_item_workbook_comments_item_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_changes_workbook_document_task_change_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of task change histories. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property changes in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskChangesWorkbookDocumentTaskChangeI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_count_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_count_request_builder.go index 4b1bb256b50..a8c513c9ed8 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesCount requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_item_at_with_index_request_builder.go index 41a77d44d80..ad11b81deef 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_request_builder.go index a381a760edd..4b345e8d7cf 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to changes for drives @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go index cb9ee657456..ba7a2062101 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkb requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of task change histories. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkb requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property changes in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskChangesWorkb requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_request_builder.go index 6ea8c0009ef..52abe393a7a 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_item_task_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the task associated with the comment thread. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property task in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesItemTaskRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_request_builder.go index 334a09b702e..02af1d8e1f2 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to replies for drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_task_comment_replies_workbook_comment_reply_item_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_replies_workbook_comment_reply_item_request_builder.go index 947e8dc56bc..c0389021d22 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_replies_workbook_comment_reply_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_replies_workbook_comment_reply_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesWorkbookCommentReply requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get replies from drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesWorkbookCommentReply requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRepliesWorkbookCommentReply requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_task_comment_request_builder.go b/drives/item_items_item_workbook_comments_item_task_comment_request_builder.go index 559a332699b..0eaebb1091e 100644 --- a/drives/item_items_item_workbook_comments_item_task_comment_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_comment_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the comment that the task is associated with. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property comment in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskCommentRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_item_task_request_builder.go b/drives/item_items_item_workbook_comments_item_task_request_builder.go index 782d5926a9e..a469065ca76 100644 --- a/drives/item_items_item_workbook_comments_item_task_request_builder.go +++ b/drives/item_items_item_workbook_comments_item_task_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the task associated with the comment. Read-only. Nullable. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property task in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookCommentsItemTaskRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_request_builder.go b/drives/item_items_item_workbook_comments_request_builder.go index 3012cac64d5..2ad828b5cd9 100644 --- a/drives/item_items_item_workbook_comments_request_builder.go +++ b/drives/item_items_item_workbook_comments_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemWorkbookCommentsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to comments for drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookCommentsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_comments_workbook_comment_item_request_builder.go b/drives/item_items_item_workbook_comments_workbook_comment_item_request_builder.go index cb28530823d..0d2cd1b5bd4 100644 --- a/drives/item_items_item_workbook_comments_workbook_comment_item_request_builder.go +++ b/drives/item_items_item_workbook_comments_workbook_comment_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookCommentsWorkbookCommentItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get comments from drives @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookCommentsWorkbookCommentItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property comments in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookCommentsWorkbookCommentItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_create_session_request_builder.go b/drives/item_items_item_workbook_create_session_request_builder.go index 71ca3f7ad18..cddcb4b7039 100644 --- a/drives/item_items_item_workbook_create_session_request_builder.go +++ b/drives/item_items_item_workbook_create_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookCreateSessionRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_abs_request_builder.go b/drives/item_items_item_workbook_functions_abs_request_builder.go index 9021e3f2c0c..85aece34531 100644 --- a/drives/item_items_item_workbook_functions_abs_request_builder.go +++ b/drives/item_items_item_workbook_functions_abs_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAbsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_accr_int_m_request_builder.go b/drives/item_items_item_workbook_functions_accr_int_m_request_builder.go index d65e021d4d0..1222b337fa7 100644 --- a/drives/item_items_item_workbook_functions_accr_int_m_request_builder.go +++ b/drives/item_items_item_workbook_functions_accr_int_m_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAccrIntMRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_accr_int_request_builder.go b/drives/item_items_item_workbook_functions_accr_int_request_builder.go index 2f3f74c7d98..dbfe8c8b9b6 100644 --- a/drives/item_items_item_workbook_functions_accr_int_request_builder.go +++ b/drives/item_items_item_workbook_functions_accr_int_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAccrIntRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_acos_request_builder.go b/drives/item_items_item_workbook_functions_acos_request_builder.go index 48c4712797c..66e2da40c4e 100644 --- a/drives/item_items_item_workbook_functions_acos_request_builder.go +++ b/drives/item_items_item_workbook_functions_acos_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcosRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_acosh_request_builder.go b/drives/item_items_item_workbook_functions_acosh_request_builder.go index 46554e721c0..b201f340426 100644 --- a/drives/item_items_item_workbook_functions_acosh_request_builder.go +++ b/drives/item_items_item_workbook_functions_acosh_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcoshRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_acot_request_builder.go b/drives/item_items_item_workbook_functions_acot_request_builder.go index d2ad1006159..388f4193af1 100644 --- a/drives/item_items_item_workbook_functions_acot_request_builder.go +++ b/drives/item_items_item_workbook_functions_acot_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcotRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_acoth_request_builder.go b/drives/item_items_item_workbook_functions_acoth_request_builder.go index ab0f0c44c10..6e1ff9f400c 100644 --- a/drives/item_items_item_workbook_functions_acoth_request_builder.go +++ b/drives/item_items_item_workbook_functions_acoth_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAcothRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_amor_degrc_request_builder.go b/drives/item_items_item_workbook_functions_amor_degrc_request_builder.go index 90771ac0990..26c67178f32 100644 --- a/drives/item_items_item_workbook_functions_amor_degrc_request_builder.go +++ b/drives/item_items_item_workbook_functions_amor_degrc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAmorDegrcRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_amor_linc_request_builder.go b/drives/item_items_item_workbook_functions_amor_linc_request_builder.go index e0e71f23f22..27c15db6c24 100644 --- a/drives/item_items_item_workbook_functions_amor_linc_request_builder.go +++ b/drives/item_items_item_workbook_functions_amor_linc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAmorLincRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_and_request_builder.go b/drives/item_items_item_workbook_functions_and_request_builder.go index 761225943f8..be237645ed0 100644 --- a/drives/item_items_item_workbook_functions_and_request_builder.go +++ b/drives/item_items_item_workbook_functions_and_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAndRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_arabic_request_builder.go b/drives/item_items_item_workbook_functions_arabic_request_builder.go index f8faa600caa..d8320d93002 100644 --- a/drives/item_items_item_workbook_functions_arabic_request_builder.go +++ b/drives/item_items_item_workbook_functions_arabic_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsArabicRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_areas_request_builder.go b/drives/item_items_item_workbook_functions_areas_request_builder.go index 2ed081ef65a..e57518922c2 100644 --- a/drives/item_items_item_workbook_functions_areas_request_builder.go +++ b/drives/item_items_item_workbook_functions_areas_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAreasRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_asc_request_builder.go b/drives/item_items_item_workbook_functions_asc_request_builder.go index 74327176c1b..7cbca744b14 100644 --- a/drives/item_items_item_workbook_functions_asc_request_builder.go +++ b/drives/item_items_item_workbook_functions_asc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAscRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_asin_request_builder.go b/drives/item_items_item_workbook_functions_asin_request_builder.go index dc1c0ba76df..c9df282955f 100644 --- a/drives/item_items_item_workbook_functions_asin_request_builder.go +++ b/drives/item_items_item_workbook_functions_asin_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAsinRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_asinh_request_builder.go b/drives/item_items_item_workbook_functions_asinh_request_builder.go index 7fadd2bab31..cd664f1e039 100644 --- a/drives/item_items_item_workbook_functions_asinh_request_builder.go +++ b/drives/item_items_item_workbook_functions_asinh_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAsinhRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_atan2_request_builder.go b/drives/item_items_item_workbook_functions_atan2_request_builder.go index b680071651b..75ab12dae95 100644 --- a/drives/item_items_item_workbook_functions_atan2_request_builder.go +++ b/drives/item_items_item_workbook_functions_atan2_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAtan2RequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_atan_request_builder.go b/drives/item_items_item_workbook_functions_atan_request_builder.go index f250109429b..b9e4093574b 100644 --- a/drives/item_items_item_workbook_functions_atan_request_builder.go +++ b/drives/item_items_item_workbook_functions_atan_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAtanRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_atanh_request_builder.go b/drives/item_items_item_workbook_functions_atanh_request_builder.go index c9d8c7a00a6..672413079d1 100644 --- a/drives/item_items_item_workbook_functions_atanh_request_builder.go +++ b/drives/item_items_item_workbook_functions_atanh_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAtanhRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_ave_dev_request_builder.go b/drives/item_items_item_workbook_functions_ave_dev_request_builder.go index 32e752f144e..6cf427a030f 100644 --- a/drives/item_items_item_workbook_functions_ave_dev_request_builder.go +++ b/drives/item_items_item_workbook_functions_ave_dev_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAveDevRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_average_a_request_builder.go b/drives/item_items_item_workbook_functions_average_a_request_builder.go index fc20d3a5058..9e92616ca61 100644 --- a/drives/item_items_item_workbook_functions_average_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_average_a_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageARequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_average_if_request_builder.go b/drives/item_items_item_workbook_functions_average_if_request_builder.go index 2f7eda1ea1a..952b88dafc9 100644 --- a/drives/item_items_item_workbook_functions_average_if_request_builder.go +++ b/drives/item_items_item_workbook_functions_average_if_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageIfRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_average_ifs_request_builder.go b/drives/item_items_item_workbook_functions_average_ifs_request_builder.go index 272e12d74d3..58ca0233144 100644 --- a/drives/item_items_item_workbook_functions_average_ifs_request_builder.go +++ b/drives/item_items_item_workbook_functions_average_ifs_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageIfsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_average_request_builder.go b/drives/item_items_item_workbook_functions_average_request_builder.go index 4a6fe60ffa9..940c46190de 100644 --- a/drives/item_items_item_workbook_functions_average_request_builder.go +++ b/drives/item_items_item_workbook_functions_average_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsAverageRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_baht_text_request_builder.go b/drives/item_items_item_workbook_functions_baht_text_request_builder.go index e898817fb55..80bf245ec4c 100644 --- a/drives/item_items_item_workbook_functions_baht_text_request_builder.go +++ b/drives/item_items_item_workbook_functions_baht_text_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBahtTextRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_base_request_builder.go b/drives/item_items_item_workbook_functions_base_request_builder.go index 0703b72cd35..acd375bf9dd 100644 --- a/drives/item_items_item_workbook_functions_base_request_builder.go +++ b/drives/item_items_item_workbook_functions_base_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBaseRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bessel_i_request_builder.go b/drives/item_items_item_workbook_functions_bessel_i_request_builder.go index 26f4a1d919c..a08a6308d75 100644 --- a/drives/item_items_item_workbook_functions_bessel_i_request_builder.go +++ b/drives/item_items_item_workbook_functions_bessel_i_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBesselIRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bessel_j_request_builder.go b/drives/item_items_item_workbook_functions_bessel_j_request_builder.go index aaf91d03d75..e230ffaccd6 100644 --- a/drives/item_items_item_workbook_functions_bessel_j_request_builder.go +++ b/drives/item_items_item_workbook_functions_bessel_j_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBesselJRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bessel_k_request_builder.go b/drives/item_items_item_workbook_functions_bessel_k_request_builder.go index 33de80c7281..2bd55010edf 100644 --- a/drives/item_items_item_workbook_functions_bessel_k_request_builder.go +++ b/drives/item_items_item_workbook_functions_bessel_k_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBesselKRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bessel_y_request_builder.go b/drives/item_items_item_workbook_functions_bessel_y_request_builder.go index 159f426aa67..ba1718b919d 100644 --- a/drives/item_items_item_workbook_functions_bessel_y_request_builder.go +++ b/drives/item_items_item_workbook_functions_bessel_y_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBesselYRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_beta_dist_request_builder.go b/drives/item_items_item_workbook_functions_beta_dist_request_builder.go index 1c5d2be2f2b..deb995ba05d 100644 --- a/drives/item_items_item_workbook_functions_beta_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_beta_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_DistRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_beta_inv_request_builder.go b/drives/item_items_item_workbook_functions_beta_inv_request_builder.go index 69522e8ead2..ab7813d5db9 100644 --- a/drives/item_items_item_workbook_functions_beta_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_beta_inv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBeta_InvRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bin2_dec_request_builder.go b/drives/item_items_item_workbook_functions_bin2_dec_request_builder.go index e0c218b7818..3131bed7d8a 100644 --- a/drives/item_items_item_workbook_functions_bin2_dec_request_builder.go +++ b/drives/item_items_item_workbook_functions_bin2_dec_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBin2DecRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bin2_hex_request_builder.go b/drives/item_items_item_workbook_functions_bin2_hex_request_builder.go index 66ab9e84fcd..04505406b69 100644 --- a/drives/item_items_item_workbook_functions_bin2_hex_request_builder.go +++ b/drives/item_items_item_workbook_functions_bin2_hex_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBin2HexRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bin2_oct_request_builder.go b/drives/item_items_item_workbook_functions_bin2_oct_request_builder.go index 0f25cd84558..329e1ec5be1 100644 --- a/drives/item_items_item_workbook_functions_bin2_oct_request_builder.go +++ b/drives/item_items_item_workbook_functions_bin2_oct_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBin2OctRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_binom_dist_range_request_builder.go b/drives/item_items_item_workbook_functions_binom_dist_range_request_builder.go index 8c0c39a69e4..8fb5e9142d7 100644 --- a/drives/item_items_item_workbook_functions_binom_dist_range_request_builder.go +++ b/drives/item_items_item_workbook_functions_binom_dist_range_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_Dist_RangeRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_binom_dist_request_builder.go b/drives/item_items_item_workbook_functions_binom_dist_request_builder.go index bda771197a1..2593212d392 100644 --- a/drives/item_items_item_workbook_functions_binom_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_binom_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_DistRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_binom_inv_request_builder.go b/drives/item_items_item_workbook_functions_binom_inv_request_builder.go index 4ea27a26db5..1eb9d90c1f9 100644 --- a/drives/item_items_item_workbook_functions_binom_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_binom_inv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBinom_InvRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bitand_request_builder.go b/drives/item_items_item_workbook_functions_bitand_request_builder.go index 28ce7754177..3529a02b11b 100644 --- a/drives/item_items_item_workbook_functions_bitand_request_builder.go +++ b/drives/item_items_item_workbook_functions_bitand_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBitandRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bitlshift_request_builder.go b/drives/item_items_item_workbook_functions_bitlshift_request_builder.go index 864e54d3f54..587b6a842d4 100644 --- a/drives/item_items_item_workbook_functions_bitlshift_request_builder.go +++ b/drives/item_items_item_workbook_functions_bitlshift_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBitlshiftRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bitor_request_builder.go b/drives/item_items_item_workbook_functions_bitor_request_builder.go index 072f6133e49..841a0433853 100644 --- a/drives/item_items_item_workbook_functions_bitor_request_builder.go +++ b/drives/item_items_item_workbook_functions_bitor_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBitorRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bitrshift_request_builder.go b/drives/item_items_item_workbook_functions_bitrshift_request_builder.go index d951ca96693..d5614923ff2 100644 --- a/drives/item_items_item_workbook_functions_bitrshift_request_builder.go +++ b/drives/item_items_item_workbook_functions_bitrshift_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBitrshiftRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_bitxor_request_builder.go b/drives/item_items_item_workbook_functions_bitxor_request_builder.go index 4fffa53f2fe..95fbd3585d2 100644 --- a/drives/item_items_item_workbook_functions_bitxor_request_builder.go +++ b/drives/item_items_item_workbook_functions_bitxor_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsBitxorRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_ceiling_math_request_builder.go b/drives/item_items_item_workbook_functions_ceiling_math_request_builder.go index 74c8ce2d510..de9ab6997e8 100644 --- a/drives/item_items_item_workbook_functions_ceiling_math_request_builder.go +++ b/drives/item_items_item_workbook_functions_ceiling_math_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCeiling_MathRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_ceiling_precise_request_builder.go b/drives/item_items_item_workbook_functions_ceiling_precise_request_builder.go index f59b3e80188..7f246bde8fc 100644 --- a/drives/item_items_item_workbook_functions_ceiling_precise_request_builder.go +++ b/drives/item_items_item_workbook_functions_ceiling_precise_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCeiling_PreciseRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_char_request_builder.go b/drives/item_items_item_workbook_functions_char_request_builder.go index c7b4a0614fb..d3d42567d77 100644 --- a/drives/item_items_item_workbook_functions_char_request_builder.go +++ b/drives/item_items_item_workbook_functions_char_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCharRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_chi_sq_dist_r_t_request_builder.go b/drives/item_items_item_workbook_functions_chi_sq_dist_r_t_request_builder.go index dcfc07cbaf7..264d611a2da 100644 --- a/drives/item_items_item_workbook_functions_chi_sq_dist_r_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_chi_sq_dist_r_t_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsChiSq_Dist_RTRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_chi_sq_dist_request_builder.go b/drives/item_items_item_workbook_functions_chi_sq_dist_request_builder.go index c6419e7ac78..f8774056554 100644 --- a/drives/item_items_item_workbook_functions_chi_sq_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_chi_sq_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsChiSq_DistRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_chi_sq_inv_r_t_request_builder.go b/drives/item_items_item_workbook_functions_chi_sq_inv_r_t_request_builder.go index 636252adb22..447af25ae95 100644 --- a/drives/item_items_item_workbook_functions_chi_sq_inv_r_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_chi_sq_inv_r_t_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsChiSq_Inv_RTRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_chi_sq_inv_request_builder.go b/drives/item_items_item_workbook_functions_chi_sq_inv_request_builder.go index 3b52cdc6b33..25fcddff80a 100644 --- a/drives/item_items_item_workbook_functions_chi_sq_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_chi_sq_inv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsChiSq_InvRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_choose_request_builder.go b/drives/item_items_item_workbook_functions_choose_request_builder.go index 2ee0de5e6cc..1f0d2d233ec 100644 --- a/drives/item_items_item_workbook_functions_choose_request_builder.go +++ b/drives/item_items_item_workbook_functions_choose_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsChooseRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_clean_request_builder.go b/drives/item_items_item_workbook_functions_clean_request_builder.go index cb043f759da..40e7075331a 100644 --- a/drives/item_items_item_workbook_functions_clean_request_builder.go +++ b/drives/item_items_item_workbook_functions_clean_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCleanRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_code_request_builder.go b/drives/item_items_item_workbook_functions_code_request_builder.go index c770af96152..fd29f58c35e 100644 --- a/drives/item_items_item_workbook_functions_code_request_builder.go +++ b/drives/item_items_item_workbook_functions_code_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCodeRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_columns_request_builder.go b/drives/item_items_item_workbook_functions_columns_request_builder.go index 8a8618b5cc4..7586418b024 100644 --- a/drives/item_items_item_workbook_functions_columns_request_builder.go +++ b/drives/item_items_item_workbook_functions_columns_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsColumnsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_combin_request_builder.go b/drives/item_items_item_workbook_functions_combin_request_builder.go index 85482b091d7..ea1769c20cf 100644 --- a/drives/item_items_item_workbook_functions_combin_request_builder.go +++ b/drives/item_items_item_workbook_functions_combin_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCombinRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_combina_request_builder.go b/drives/item_items_item_workbook_functions_combina_request_builder.go index 98fe50c6e37..8db091a3942 100644 --- a/drives/item_items_item_workbook_functions_combina_request_builder.go +++ b/drives/item_items_item_workbook_functions_combina_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCombinaRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_complex_request_builder.go b/drives/item_items_item_workbook_functions_complex_request_builder.go index d48da6d9524..7e1a6ca60a3 100644 --- a/drives/item_items_item_workbook_functions_complex_request_builder.go +++ b/drives/item_items_item_workbook_functions_complex_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsComplexRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_concatenate_request_builder.go b/drives/item_items_item_workbook_functions_concatenate_request_builder.go index 5a899e1a454..878b7e06f4b 100644 --- a/drives/item_items_item_workbook_functions_concatenate_request_builder.go +++ b/drives/item_items_item_workbook_functions_concatenate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsConcatenateRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_confidence_norm_request_builder.go b/drives/item_items_item_workbook_functions_confidence_norm_request_builder.go index 5a7b74c6faa..4fe5bafb044 100644 --- a/drives/item_items_item_workbook_functions_confidence_norm_request_builder.go +++ b/drives/item_items_item_workbook_functions_confidence_norm_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_NormRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_confidence_t_request_builder.go b/drives/item_items_item_workbook_functions_confidence_t_request_builder.go index 6fa225b88b0..7aeaafc2d91 100644 --- a/drives/item_items_item_workbook_functions_confidence_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_confidence_t_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsConfidence_TRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_convert_request_builder.go b/drives/item_items_item_workbook_functions_convert_request_builder.go index 0944001cbc7..7abb9ee1e46 100644 --- a/drives/item_items_item_workbook_functions_convert_request_builder.go +++ b/drives/item_items_item_workbook_functions_convert_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsConvertRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_cos_request_builder.go b/drives/item_items_item_workbook_functions_cos_request_builder.go index 7a117c02f09..1dea3f12295 100644 --- a/drives/item_items_item_workbook_functions_cos_request_builder.go +++ b/drives/item_items_item_workbook_functions_cos_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCosRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_cosh_request_builder.go b/drives/item_items_item_workbook_functions_cosh_request_builder.go index 45c2658083b..cc5d2a9f0d6 100644 --- a/drives/item_items_item_workbook_functions_cosh_request_builder.go +++ b/drives/item_items_item_workbook_functions_cosh_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoshRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_cot_request_builder.go b/drives/item_items_item_workbook_functions_cot_request_builder.go index 88f728b8abc..68d16563ef7 100644 --- a/drives/item_items_item_workbook_functions_cot_request_builder.go +++ b/drives/item_items_item_workbook_functions_cot_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCotRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_coth_request_builder.go b/drives/item_items_item_workbook_functions_coth_request_builder.go index 5562c3749de..46496375b73 100644 --- a/drives/item_items_item_workbook_functions_coth_request_builder.go +++ b/drives/item_items_item_workbook_functions_coth_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCothRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_count_a_request_builder.go b/drives/item_items_item_workbook_functions_count_a_request_builder.go index fdb6e0e147c..58166e5ec0f 100644 --- a/drives/item_items_item_workbook_functions_count_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_count_a_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountARequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_count_blank_request_builder.go b/drives/item_items_item_workbook_functions_count_blank_request_builder.go index 452889f3096..9e4c69d6778 100644 --- a/drives/item_items_item_workbook_functions_count_blank_request_builder.go +++ b/drives/item_items_item_workbook_functions_count_blank_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountBlankRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_count_if_request_builder.go b/drives/item_items_item_workbook_functions_count_if_request_builder.go index f0da77d30c6..9f1e84f6889 100644 --- a/drives/item_items_item_workbook_functions_count_if_request_builder.go +++ b/drives/item_items_item_workbook_functions_count_if_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountIfRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_count_ifs_request_builder.go b/drives/item_items_item_workbook_functions_count_ifs_request_builder.go index 011f5e0d486..5550641b060 100644 --- a/drives/item_items_item_workbook_functions_count_ifs_request_builder.go +++ b/drives/item_items_item_workbook_functions_count_ifs_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountIfsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_count_request_builder.go b/drives/item_items_item_workbook_functions_count_request_builder.go index 68e2566e9e8..7877a665060 100644 --- a/drives/item_items_item_workbook_functions_count_request_builder.go +++ b/drives/item_items_item_workbook_functions_count_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCountRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_coup_day_bs_request_builder.go b/drives/item_items_item_workbook_functions_coup_day_bs_request_builder.go index 315a86da257..ef44aa19460 100644 --- a/drives/item_items_item_workbook_functions_coup_day_bs_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_day_bs_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupDayBsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_coup_days_nc_request_builder.go b/drives/item_items_item_workbook_functions_coup_days_nc_request_builder.go index d61540a8d96..8f9c23530fd 100644 --- a/drives/item_items_item_workbook_functions_coup_days_nc_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_days_nc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupDaysNcRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_coup_days_request_builder.go b/drives/item_items_item_workbook_functions_coup_days_request_builder.go index e213aa29624..8fe76e4b0d9 100644 --- a/drives/item_items_item_workbook_functions_coup_days_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_days_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupDaysRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_coup_ncd_request_builder.go b/drives/item_items_item_workbook_functions_coup_ncd_request_builder.go index 2325e7898d3..b89327b4b09 100644 --- a/drives/item_items_item_workbook_functions_coup_ncd_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_ncd_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupNcdRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_coup_num_request_builder.go b/drives/item_items_item_workbook_functions_coup_num_request_builder.go index d40f39f6e27..a71dc2d9b88 100644 --- a/drives/item_items_item_workbook_functions_coup_num_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_num_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupNumRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_coup_pcd_request_builder.go b/drives/item_items_item_workbook_functions_coup_pcd_request_builder.go index 581ab8e6937..50d3ff2e617 100644 --- a/drives/item_items_item_workbook_functions_coup_pcd_request_builder.go +++ b/drives/item_items_item_workbook_functions_coup_pcd_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCoupPcdRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_csc_request_builder.go b/drives/item_items_item_workbook_functions_csc_request_builder.go index cbde4c6799f..59057a07cab 100644 --- a/drives/item_items_item_workbook_functions_csc_request_builder.go +++ b/drives/item_items_item_workbook_functions_csc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCscRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_csch_request_builder.go b/drives/item_items_item_workbook_functions_csch_request_builder.go index 8c2c8bcca36..91c1e2fc32d 100644 --- a/drives/item_items_item_workbook_functions_csch_request_builder.go +++ b/drives/item_items_item_workbook_functions_csch_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCschRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_cum_i_pmt_request_builder.go b/drives/item_items_item_workbook_functions_cum_i_pmt_request_builder.go index e67ec253d70..9631248da9b 100644 --- a/drives/item_items_item_workbook_functions_cum_i_pmt_request_builder.go +++ b/drives/item_items_item_workbook_functions_cum_i_pmt_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCumIPmtRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_cum_princ_request_builder.go b/drives/item_items_item_workbook_functions_cum_princ_request_builder.go index 96523e36092..6fb05c10c46 100644 --- a/drives/item_items_item_workbook_functions_cum_princ_request_builder.go +++ b/drives/item_items_item_workbook_functions_cum_princ_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsCumPrincRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_date_request_builder.go b/drives/item_items_item_workbook_functions_date_request_builder.go index 0fea60552e1..8247b850112 100644 --- a/drives/item_items_item_workbook_functions_date_request_builder.go +++ b/drives/item_items_item_workbook_functions_date_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDateRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_datevalue_request_builder.go b/drives/item_items_item_workbook_functions_datevalue_request_builder.go index 325724ca016..4cb41183a22 100644 --- a/drives/item_items_item_workbook_functions_datevalue_request_builder.go +++ b/drives/item_items_item_workbook_functions_datevalue_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDatevalueRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_daverage_request_builder.go b/drives/item_items_item_workbook_functions_daverage_request_builder.go index 947f7975f93..a99442dc6f9 100644 --- a/drives/item_items_item_workbook_functions_daverage_request_builder.go +++ b/drives/item_items_item_workbook_functions_daverage_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDaverageRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_day_request_builder.go b/drives/item_items_item_workbook_functions_day_request_builder.go index c1cbdb1aeff..f895770437e 100644 --- a/drives/item_items_item_workbook_functions_day_request_builder.go +++ b/drives/item_items_item_workbook_functions_day_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDayRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_days360_request_builder.go b/drives/item_items_item_workbook_functions_days360_request_builder.go index 6c3e37936c8..0b335b7e750 100644 --- a/drives/item_items_item_workbook_functions_days360_request_builder.go +++ b/drives/item_items_item_workbook_functions_days360_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDays360RequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_days_request_builder.go b/drives/item_items_item_workbook_functions_days_request_builder.go index 2e0f122f204..decf97ed6a1 100644 --- a/drives/item_items_item_workbook_functions_days_request_builder.go +++ b/drives/item_items_item_workbook_functions_days_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDaysRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_db_request_builder.go b/drives/item_items_item_workbook_functions_db_request_builder.go index 8bf0d7004c8..20fb5973246 100644 --- a/drives/item_items_item_workbook_functions_db_request_builder.go +++ b/drives/item_items_item_workbook_functions_db_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDbRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dbcs_request_builder.go b/drives/item_items_item_workbook_functions_dbcs_request_builder.go index 233b50087e4..0684ec72b52 100644 --- a/drives/item_items_item_workbook_functions_dbcs_request_builder.go +++ b/drives/item_items_item_workbook_functions_dbcs_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDbcsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dcount_a_request_builder.go b/drives/item_items_item_workbook_functions_dcount_a_request_builder.go index bd5c92d961e..af56e96aaed 100644 --- a/drives/item_items_item_workbook_functions_dcount_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_dcount_a_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDcountARequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dcount_request_builder.go b/drives/item_items_item_workbook_functions_dcount_request_builder.go index 48e495943c9..b06e3359d36 100644 --- a/drives/item_items_item_workbook_functions_dcount_request_builder.go +++ b/drives/item_items_item_workbook_functions_dcount_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDcountRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_ddb_request_builder.go b/drives/item_items_item_workbook_functions_ddb_request_builder.go index c7152ae487c..5f80c7f58a0 100644 --- a/drives/item_items_item_workbook_functions_ddb_request_builder.go +++ b/drives/item_items_item_workbook_functions_ddb_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDdbRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dec2_bin_request_builder.go b/drives/item_items_item_workbook_functions_dec2_bin_request_builder.go index 43c24cf1714..0bc0acc4d62 100644 --- a/drives/item_items_item_workbook_functions_dec2_bin_request_builder.go +++ b/drives/item_items_item_workbook_functions_dec2_bin_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDec2BinRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dec2_hex_request_builder.go b/drives/item_items_item_workbook_functions_dec2_hex_request_builder.go index a208d1d716f..1d928b6f481 100644 --- a/drives/item_items_item_workbook_functions_dec2_hex_request_builder.go +++ b/drives/item_items_item_workbook_functions_dec2_hex_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDec2HexRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dec2_oct_request_builder.go b/drives/item_items_item_workbook_functions_dec2_oct_request_builder.go index 77cb50b56cb..2387f48405c 100644 --- a/drives/item_items_item_workbook_functions_dec2_oct_request_builder.go +++ b/drives/item_items_item_workbook_functions_dec2_oct_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDec2OctRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_decimal_request_builder.go b/drives/item_items_item_workbook_functions_decimal_request_builder.go index 466e6709b94..77ca3189eb2 100644 --- a/drives/item_items_item_workbook_functions_decimal_request_builder.go +++ b/drives/item_items_item_workbook_functions_decimal_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDecimalRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_degrees_request_builder.go b/drives/item_items_item_workbook_functions_degrees_request_builder.go index 094f85c7954..430076a2c26 100644 --- a/drives/item_items_item_workbook_functions_degrees_request_builder.go +++ b/drives/item_items_item_workbook_functions_degrees_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDegreesRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_delta_request_builder.go b/drives/item_items_item_workbook_functions_delta_request_builder.go index dd2257bce51..2f8b1c51088 100644 --- a/drives/item_items_item_workbook_functions_delta_request_builder.go +++ b/drives/item_items_item_workbook_functions_delta_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDeltaRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dev_sq_request_builder.go b/drives/item_items_item_workbook_functions_dev_sq_request_builder.go index a80a1013be9..e79ee547851 100644 --- a/drives/item_items_item_workbook_functions_dev_sq_request_builder.go +++ b/drives/item_items_item_workbook_functions_dev_sq_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDevSqRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dget_request_builder.go b/drives/item_items_item_workbook_functions_dget_request_builder.go index c22552a7004..33e52a07a25 100644 --- a/drives/item_items_item_workbook_functions_dget_request_builder.go +++ b/drives/item_items_item_workbook_functions_dget_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDgetRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_disc_request_builder.go b/drives/item_items_item_workbook_functions_disc_request_builder.go index 61dfd43fab0..c9ef6315389 100644 --- a/drives/item_items_item_workbook_functions_disc_request_builder.go +++ b/drives/item_items_item_workbook_functions_disc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDiscRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dmax_request_builder.go b/drives/item_items_item_workbook_functions_dmax_request_builder.go index 4a5f152b9f5..118128446a5 100644 --- a/drives/item_items_item_workbook_functions_dmax_request_builder.go +++ b/drives/item_items_item_workbook_functions_dmax_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDmaxRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dmin_request_builder.go b/drives/item_items_item_workbook_functions_dmin_request_builder.go index 85bd4d46784..034e670a270 100644 --- a/drives/item_items_item_workbook_functions_dmin_request_builder.go +++ b/drives/item_items_item_workbook_functions_dmin_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDminRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dollar_de_request_builder.go b/drives/item_items_item_workbook_functions_dollar_de_request_builder.go index 957f6922b6d..1f6eaa3d33e 100644 --- a/drives/item_items_item_workbook_functions_dollar_de_request_builder.go +++ b/drives/item_items_item_workbook_functions_dollar_de_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDollarDeRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dollar_fr_request_builder.go b/drives/item_items_item_workbook_functions_dollar_fr_request_builder.go index 71e18023ac0..f1a57b42791 100644 --- a/drives/item_items_item_workbook_functions_dollar_fr_request_builder.go +++ b/drives/item_items_item_workbook_functions_dollar_fr_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDollarFrRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dollar_request_builder.go b/drives/item_items_item_workbook_functions_dollar_request_builder.go index ec8ff3b173b..cfcc6af263f 100644 --- a/drives/item_items_item_workbook_functions_dollar_request_builder.go +++ b/drives/item_items_item_workbook_functions_dollar_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDollarRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dproduct_request_builder.go b/drives/item_items_item_workbook_functions_dproduct_request_builder.go index 421118959ae..e24148fedb1 100644 --- a/drives/item_items_item_workbook_functions_dproduct_request_builder.go +++ b/drives/item_items_item_workbook_functions_dproduct_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDproductRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dst_dev_p_request_builder.go b/drives/item_items_item_workbook_functions_dst_dev_p_request_builder.go index 4dd7af6f321..61e62828ad8 100644 --- a/drives/item_items_item_workbook_functions_dst_dev_p_request_builder.go +++ b/drives/item_items_item_workbook_functions_dst_dev_p_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDstDevPRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dst_dev_request_builder.go b/drives/item_items_item_workbook_functions_dst_dev_request_builder.go index 5923008dc47..a94a0b0ba52 100644 --- a/drives/item_items_item_workbook_functions_dst_dev_request_builder.go +++ b/drives/item_items_item_workbook_functions_dst_dev_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDstDevRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dsum_request_builder.go b/drives/item_items_item_workbook_functions_dsum_request_builder.go index bb227ba3d3d..623606901c1 100644 --- a/drives/item_items_item_workbook_functions_dsum_request_builder.go +++ b/drives/item_items_item_workbook_functions_dsum_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDsumRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_duration_request_builder.go b/drives/item_items_item_workbook_functions_duration_request_builder.go index e1ae8ea5b0a..5ba3e3bfcdc 100644 --- a/drives/item_items_item_workbook_functions_duration_request_builder.go +++ b/drives/item_items_item_workbook_functions_duration_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDurationRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dvar_p_request_builder.go b/drives/item_items_item_workbook_functions_dvar_p_request_builder.go index 080a68d8d95..54602443b6b 100644 --- a/drives/item_items_item_workbook_functions_dvar_p_request_builder.go +++ b/drives/item_items_item_workbook_functions_dvar_p_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDvarPRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_dvar_request_builder.go b/drives/item_items_item_workbook_functions_dvar_request_builder.go index bd2ffe48e3b..470ca2f40d1 100644 --- a/drives/item_items_item_workbook_functions_dvar_request_builder.go +++ b/drives/item_items_item_workbook_functions_dvar_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsDvarRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_ecma_ceiling_request_builder.go b/drives/item_items_item_workbook_functions_ecma_ceiling_request_builder.go index 6a30475499f..2dd4bf3226f 100644 --- a/drives/item_items_item_workbook_functions_ecma_ceiling_request_builder.go +++ b/drives/item_items_item_workbook_functions_ecma_ceiling_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsEcma_CeilingRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_edate_request_builder.go b/drives/item_items_item_workbook_functions_edate_request_builder.go index ffe67129117..46adee6d4c4 100644 --- a/drives/item_items_item_workbook_functions_edate_request_builder.go +++ b/drives/item_items_item_workbook_functions_edate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsEdateRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_effect_request_builder.go b/drives/item_items_item_workbook_functions_effect_request_builder.go index 52d4086d92d..881f3c22977 100644 --- a/drives/item_items_item_workbook_functions_effect_request_builder.go +++ b/drives/item_items_item_workbook_functions_effect_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsEffectRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_eo_month_request_builder.go b/drives/item_items_item_workbook_functions_eo_month_request_builder.go index 7910d7ab761..39f4338538d 100644 --- a/drives/item_items_item_workbook_functions_eo_month_request_builder.go +++ b/drives/item_items_item_workbook_functions_eo_month_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsEoMonthRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_erf_c_precise_request_builder.go b/drives/item_items_item_workbook_functions_erf_c_precise_request_builder.go index 31e0b3db405..07f7ade7c62 100644 --- a/drives/item_items_item_workbook_functions_erf_c_precise_request_builder.go +++ b/drives/item_items_item_workbook_functions_erf_c_precise_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsErfC_PreciseRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_erf_c_request_builder.go b/drives/item_items_item_workbook_functions_erf_c_request_builder.go index f42aadf04bf..da8dd142a9f 100644 --- a/drives/item_items_item_workbook_functions_erf_c_request_builder.go +++ b/drives/item_items_item_workbook_functions_erf_c_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsErfCRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_erf_precise_request_builder.go b/drives/item_items_item_workbook_functions_erf_precise_request_builder.go index 9b1607eff2f..8b9e64ff3e0 100644 --- a/drives/item_items_item_workbook_functions_erf_precise_request_builder.go +++ b/drives/item_items_item_workbook_functions_erf_precise_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsErf_PreciseRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_erf_request_builder.go b/drives/item_items_item_workbook_functions_erf_request_builder.go index d4c059cf7a8..e4a3c264ea2 100644 --- a/drives/item_items_item_workbook_functions_erf_request_builder.go +++ b/drives/item_items_item_workbook_functions_erf_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsErfRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_error_type_request_builder.go b/drives/item_items_item_workbook_functions_error_type_request_builder.go index 2832ec211fc..ef71a8f21ae 100644 --- a/drives/item_items_item_workbook_functions_error_type_request_builder.go +++ b/drives/item_items_item_workbook_functions_error_type_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsError_TypeRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_even_request_builder.go b/drives/item_items_item_workbook_functions_even_request_builder.go index c7922aadcf5..3d60abb6e67 100644 --- a/drives/item_items_item_workbook_functions_even_request_builder.go +++ b/drives/item_items_item_workbook_functions_even_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsEvenRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_exact_request_builder.go b/drives/item_items_item_workbook_functions_exact_request_builder.go index 47efee1cfaf..73e759ed1d4 100644 --- a/drives/item_items_item_workbook_functions_exact_request_builder.go +++ b/drives/item_items_item_workbook_functions_exact_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsExactRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_exp_request_builder.go b/drives/item_items_item_workbook_functions_exp_request_builder.go index 7b6e07d467d..10ac2a3c910 100644 --- a/drives/item_items_item_workbook_functions_exp_request_builder.go +++ b/drives/item_items_item_workbook_functions_exp_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsExpRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_expon_dist_request_builder.go b/drives/item_items_item_workbook_functions_expon_dist_request_builder.go index a62993ad6f6..b997f629cfa 100644 --- a/drives/item_items_item_workbook_functions_expon_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_expon_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsExpon_DistRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_f_dist_r_t_request_builder.go b/drives/item_items_item_workbook_functions_f_dist_r_t_request_builder.go index e5164cca51c..5aee921044b 100644 --- a/drives/item_items_item_workbook_functions_f_dist_r_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_f_dist_r_t_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsF_Dist_RTRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_f_dist_request_builder.go b/drives/item_items_item_workbook_functions_f_dist_request_builder.go index 1424d8bf0f0..1ddc0210d25 100644 --- a/drives/item_items_item_workbook_functions_f_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_f_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsF_DistRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_f_inv_r_t_request_builder.go b/drives/item_items_item_workbook_functions_f_inv_r_t_request_builder.go index 4af5dec96c1..cdb93bf77fe 100644 --- a/drives/item_items_item_workbook_functions_f_inv_r_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_f_inv_r_t_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsF_Inv_RTRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_f_inv_request_builder.go b/drives/item_items_item_workbook_functions_f_inv_request_builder.go index be4eb072eb0..25f61db450c 100644 --- a/drives/item_items_item_workbook_functions_f_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_f_inv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsF_InvRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_fact_double_request_builder.go b/drives/item_items_item_workbook_functions_fact_double_request_builder.go index 3d7121b6e98..348bbd8543c 100644 --- a/drives/item_items_item_workbook_functions_fact_double_request_builder.go +++ b/drives/item_items_item_workbook_functions_fact_double_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFactDoubleRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_fact_request_builder.go b/drives/item_items_item_workbook_functions_fact_request_builder.go index af7d54fa3ec..6b5f842dd36 100644 --- a/drives/item_items_item_workbook_functions_fact_request_builder.go +++ b/drives/item_items_item_workbook_functions_fact_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFactRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_false_request_builder.go b/drives/item_items_item_workbook_functions_false_request_builder.go index 35ecb71d1b5..287228d6ea0 100644 --- a/drives/item_items_item_workbook_functions_false_request_builder.go +++ b/drives/item_items_item_workbook_functions_false_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFalseRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_functions_find_b_request_builder.go b/drives/item_items_item_workbook_functions_find_b_request_builder.go index babf8228a80..257c8cca561 100644 --- a/drives/item_items_item_workbook_functions_find_b_request_builder.go +++ b/drives/item_items_item_workbook_functions_find_b_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFindBRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_find_request_builder.go b/drives/item_items_item_workbook_functions_find_request_builder.go index 60b08a040ab..2fa68c5211f 100644 --- a/drives/item_items_item_workbook_functions_find_request_builder.go +++ b/drives/item_items_item_workbook_functions_find_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFindRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_fisher_inv_request_builder.go b/drives/item_items_item_workbook_functions_fisher_inv_request_builder.go index ec979be0f25..b36105993c0 100644 --- a/drives/item_items_item_workbook_functions_fisher_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_fisher_inv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFisherInvRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_fisher_request_builder.go b/drives/item_items_item_workbook_functions_fisher_request_builder.go index 91f569f4535..ae1e10ba0d3 100644 --- a/drives/item_items_item_workbook_functions_fisher_request_builder.go +++ b/drives/item_items_item_workbook_functions_fisher_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFisherRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_fixed_request_builder.go b/drives/item_items_item_workbook_functions_fixed_request_builder.go index e9cdfab994f..4d6d853b07f 100644 --- a/drives/item_items_item_workbook_functions_fixed_request_builder.go +++ b/drives/item_items_item_workbook_functions_fixed_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFixedRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_floor_math_request_builder.go b/drives/item_items_item_workbook_functions_floor_math_request_builder.go index a68cc8e10ee..f85f81b6007 100644 --- a/drives/item_items_item_workbook_functions_floor_math_request_builder.go +++ b/drives/item_items_item_workbook_functions_floor_math_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFloor_MathRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_floor_precise_request_builder.go b/drives/item_items_item_workbook_functions_floor_precise_request_builder.go index 20bb537ccf7..2ace814de0d 100644 --- a/drives/item_items_item_workbook_functions_floor_precise_request_builder.go +++ b/drives/item_items_item_workbook_functions_floor_precise_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFloor_PreciseRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_fv_request_builder.go b/drives/item_items_item_workbook_functions_fv_request_builder.go index ff60ac310bc..9c35b5e99d0 100644 --- a/drives/item_items_item_workbook_functions_fv_request_builder.go +++ b/drives/item_items_item_workbook_functions_fv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFvRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_fvschedule_request_builder.go b/drives/item_items_item_workbook_functions_fvschedule_request_builder.go index 881dfd0bbd0..019447b99ac 100644 --- a/drives/item_items_item_workbook_functions_fvschedule_request_builder.go +++ b/drives/item_items_item_workbook_functions_fvschedule_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsFvscheduleRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_gamma_dist_request_builder.go b/drives/item_items_item_workbook_functions_gamma_dist_request_builder.go index d0945be6acf..bc6f36cf2f2 100644 --- a/drives/item_items_item_workbook_functions_gamma_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_gamma_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_DistRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_gamma_inv_request_builder.go b/drives/item_items_item_workbook_functions_gamma_inv_request_builder.go index 6b97e5246e1..21419942c78 100644 --- a/drives/item_items_item_workbook_functions_gamma_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_gamma_inv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsGamma_InvRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_gamma_ln_precise_request_builder.go b/drives/item_items_item_workbook_functions_gamma_ln_precise_request_builder.go index 54875ec1eb0..98dd52ac150 100644 --- a/drives/item_items_item_workbook_functions_gamma_ln_precise_request_builder.go +++ b/drives/item_items_item_workbook_functions_gamma_ln_precise_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsGammaLn_PreciseRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_gamma_ln_request_builder.go b/drives/item_items_item_workbook_functions_gamma_ln_request_builder.go index 1147059326f..c9e3e2eb54e 100644 --- a/drives/item_items_item_workbook_functions_gamma_ln_request_builder.go +++ b/drives/item_items_item_workbook_functions_gamma_ln_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsGammaLnRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_gamma_request_builder.go b/drives/item_items_item_workbook_functions_gamma_request_builder.go index 50ee57ed1ca..1996e147266 100644 --- a/drives/item_items_item_workbook_functions_gamma_request_builder.go +++ b/drives/item_items_item_workbook_functions_gamma_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsGammaRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_gauss_request_builder.go b/drives/item_items_item_workbook_functions_gauss_request_builder.go index 1161fcd0aee..a7e16affcf3 100644 --- a/drives/item_items_item_workbook_functions_gauss_request_builder.go +++ b/drives/item_items_item_workbook_functions_gauss_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsGaussRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_gcd_request_builder.go b/drives/item_items_item_workbook_functions_gcd_request_builder.go index 14df7a57f61..4ac16dc65a9 100644 --- a/drives/item_items_item_workbook_functions_gcd_request_builder.go +++ b/drives/item_items_item_workbook_functions_gcd_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsGcdRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_ge_step_request_builder.go b/drives/item_items_item_workbook_functions_ge_step_request_builder.go index 074e1924966..55d070ab41f 100644 --- a/drives/item_items_item_workbook_functions_ge_step_request_builder.go +++ b/drives/item_items_item_workbook_functions_ge_step_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsGeStepRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_geo_mean_request_builder.go b/drives/item_items_item_workbook_functions_geo_mean_request_builder.go index 097e7c2277e..e6a9a4dede1 100644 --- a/drives/item_items_item_workbook_functions_geo_mean_request_builder.go +++ b/drives/item_items_item_workbook_functions_geo_mean_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsGeoMeanRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_har_mean_request_builder.go b/drives/item_items_item_workbook_functions_har_mean_request_builder.go index b102314131a..e1ba4948d3c 100644 --- a/drives/item_items_item_workbook_functions_har_mean_request_builder.go +++ b/drives/item_items_item_workbook_functions_har_mean_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsHarMeanRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_hex2_bin_request_builder.go b/drives/item_items_item_workbook_functions_hex2_bin_request_builder.go index b67278d96df..168896503c2 100644 --- a/drives/item_items_item_workbook_functions_hex2_bin_request_builder.go +++ b/drives/item_items_item_workbook_functions_hex2_bin_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsHex2BinRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_hex2_dec_request_builder.go b/drives/item_items_item_workbook_functions_hex2_dec_request_builder.go index 6ab3722dd2e..9ab16d19a2b 100644 --- a/drives/item_items_item_workbook_functions_hex2_dec_request_builder.go +++ b/drives/item_items_item_workbook_functions_hex2_dec_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsHex2DecRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_hex2_oct_request_builder.go b/drives/item_items_item_workbook_functions_hex2_oct_request_builder.go index 72632051ac7..f695c0af095 100644 --- a/drives/item_items_item_workbook_functions_hex2_oct_request_builder.go +++ b/drives/item_items_item_workbook_functions_hex2_oct_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsHex2OctRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_hlookup_request_builder.go b/drives/item_items_item_workbook_functions_hlookup_request_builder.go index ff9a4e071ef..5563db40296 100644 --- a/drives/item_items_item_workbook_functions_hlookup_request_builder.go +++ b/drives/item_items_item_workbook_functions_hlookup_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsHlookupRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_hour_request_builder.go b/drives/item_items_item_workbook_functions_hour_request_builder.go index 555812f9f06..048e6130355 100644 --- a/drives/item_items_item_workbook_functions_hour_request_builder.go +++ b/drives/item_items_item_workbook_functions_hour_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsHourRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_hyp_geom_dist_request_builder.go b/drives/item_items_item_workbook_functions_hyp_geom_dist_request_builder.go index cb202bda0cd..9407e013389 100644 --- a/drives/item_items_item_workbook_functions_hyp_geom_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_hyp_geom_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsHypGeom_DistRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_hyperlink_request_builder.go b/drives/item_items_item_workbook_functions_hyperlink_request_builder.go index 3967a3c5cc3..4750931e03b 100644 --- a/drives/item_items_item_workbook_functions_hyperlink_request_builder.go +++ b/drives/item_items_item_workbook_functions_hyperlink_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsHyperlinkRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_if_request_builder.go b/drives/item_items_item_workbook_functions_if_request_builder.go index 3c978f235d0..1fb08520331 100644 --- a/drives/item_items_item_workbook_functions_if_request_builder.go +++ b/drives/item_items_item_workbook_functions_if_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIfRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_abs_request_builder.go b/drives/item_items_item_workbook_functions_im_abs_request_builder.go index 273af96fbdf..9c60f9a27e1 100644 --- a/drives/item_items_item_workbook_functions_im_abs_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_abs_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImAbsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_argument_request_builder.go b/drives/item_items_item_workbook_functions_im_argument_request_builder.go index 79da1a224fb..90d4d38e2c7 100644 --- a/drives/item_items_item_workbook_functions_im_argument_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_argument_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImArgumentRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_conjugate_request_builder.go b/drives/item_items_item_workbook_functions_im_conjugate_request_builder.go index 7998697c21d..40605245571 100644 --- a/drives/item_items_item_workbook_functions_im_conjugate_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_conjugate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImConjugateRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_cos_request_builder.go b/drives/item_items_item_workbook_functions_im_cos_request_builder.go index e5c34b6577f..2f8c4724a38 100644 --- a/drives/item_items_item_workbook_functions_im_cos_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_cos_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImCosRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_cosh_request_builder.go b/drives/item_items_item_workbook_functions_im_cosh_request_builder.go index b98b8b850f7..26fb8583a19 100644 --- a/drives/item_items_item_workbook_functions_im_cosh_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_cosh_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImCoshRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_cot_request_builder.go b/drives/item_items_item_workbook_functions_im_cot_request_builder.go index 30c356cae9c..b4831e88db0 100644 --- a/drives/item_items_item_workbook_functions_im_cot_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_cot_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImCotRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_csc_request_builder.go b/drives/item_items_item_workbook_functions_im_csc_request_builder.go index 0909c2ca542..be55e165ecc 100644 --- a/drives/item_items_item_workbook_functions_im_csc_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_csc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImCscRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_csch_request_builder.go b/drives/item_items_item_workbook_functions_im_csch_request_builder.go index a4cec459548..a0f88eb380e 100644 --- a/drives/item_items_item_workbook_functions_im_csch_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_csch_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImCschRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_div_request_builder.go b/drives/item_items_item_workbook_functions_im_div_request_builder.go index 6c222bf93e8..63e1726acd3 100644 --- a/drives/item_items_item_workbook_functions_im_div_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_div_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImDivRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_exp_request_builder.go b/drives/item_items_item_workbook_functions_im_exp_request_builder.go index 496df35095c..045f85907c6 100644 --- a/drives/item_items_item_workbook_functions_im_exp_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_exp_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImExpRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_ln_request_builder.go b/drives/item_items_item_workbook_functions_im_ln_request_builder.go index 4177255b430..95d3f1429b4 100644 --- a/drives/item_items_item_workbook_functions_im_ln_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_ln_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImLnRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_log10_request_builder.go b/drives/item_items_item_workbook_functions_im_log10_request_builder.go index f718835caaa..d309320cf8c 100644 --- a/drives/item_items_item_workbook_functions_im_log10_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_log10_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImLog10RequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_log2_request_builder.go b/drives/item_items_item_workbook_functions_im_log2_request_builder.go index 1a59cff7ef1..be05700ef6b 100644 --- a/drives/item_items_item_workbook_functions_im_log2_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_log2_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImLog2RequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_power_request_builder.go b/drives/item_items_item_workbook_functions_im_power_request_builder.go index ee2f6203c24..eb10587f840 100644 --- a/drives/item_items_item_workbook_functions_im_power_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_power_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImPowerRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_product_request_builder.go b/drives/item_items_item_workbook_functions_im_product_request_builder.go index 232d9ec32b5..26aaf39173f 100644 --- a/drives/item_items_item_workbook_functions_im_product_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_product_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImProductRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_real_request_builder.go b/drives/item_items_item_workbook_functions_im_real_request_builder.go index e4612a08750..2b101bf3847 100644 --- a/drives/item_items_item_workbook_functions_im_real_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_real_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImRealRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_sec_request_builder.go b/drives/item_items_item_workbook_functions_im_sec_request_builder.go index caed3f70b5f..c09ee1df246 100644 --- a/drives/item_items_item_workbook_functions_im_sec_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sec_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSecRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_sech_request_builder.go b/drives/item_items_item_workbook_functions_im_sech_request_builder.go index 2b9b0a938e0..3ed5c666213 100644 --- a/drives/item_items_item_workbook_functions_im_sech_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sech_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSechRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_sin_request_builder.go b/drives/item_items_item_workbook_functions_im_sin_request_builder.go index 3b4e32753a1..ad4435ff46e 100644 --- a/drives/item_items_item_workbook_functions_im_sin_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sin_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSinRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_sinh_request_builder.go b/drives/item_items_item_workbook_functions_im_sinh_request_builder.go index 982f947000d..d137f8403e6 100644 --- a/drives/item_items_item_workbook_functions_im_sinh_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sinh_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSinhRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_sqrt_request_builder.go b/drives/item_items_item_workbook_functions_im_sqrt_request_builder.go index fa65cee46ce..0f82a0b0a49 100644 --- a/drives/item_items_item_workbook_functions_im_sqrt_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sqrt_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSqrtRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_sub_request_builder.go b/drives/item_items_item_workbook_functions_im_sub_request_builder.go index 13126e08468..c73b1afd055 100644 --- a/drives/item_items_item_workbook_functions_im_sub_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sub_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSubRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_sum_request_builder.go b/drives/item_items_item_workbook_functions_im_sum_request_builder.go index 5807780ecfa..3b554715f98 100644 --- a/drives/item_items_item_workbook_functions_im_sum_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_sum_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImSumRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_im_tan_request_builder.go b/drives/item_items_item_workbook_functions_im_tan_request_builder.go index eeb31699b4a..fccd47be082 100644 --- a/drives/item_items_item_workbook_functions_im_tan_request_builder.go +++ b/drives/item_items_item_workbook_functions_im_tan_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImTanRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_imaginary_request_builder.go b/drives/item_items_item_workbook_functions_imaginary_request_builder.go index 9bff07af53e..01202c9227e 100644 --- a/drives/item_items_item_workbook_functions_imaginary_request_builder.go +++ b/drives/item_items_item_workbook_functions_imaginary_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsImaginaryRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_int_rate_request_builder.go b/drives/item_items_item_workbook_functions_int_rate_request_builder.go index d0440b31aac..60f5159c2f0 100644 --- a/drives/item_items_item_workbook_functions_int_rate_request_builder.go +++ b/drives/item_items_item_workbook_functions_int_rate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIntRateRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_int_request_builder.go b/drives/item_items_item_workbook_functions_int_request_builder.go index 3668e18c736..9cb853af4b3 100644 --- a/drives/item_items_item_workbook_functions_int_request_builder.go +++ b/drives/item_items_item_workbook_functions_int_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIntRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_ipmt_request_builder.go b/drives/item_items_item_workbook_functions_ipmt_request_builder.go index 7efd3d9483a..c09fbc3d9d1 100644 --- a/drives/item_items_item_workbook_functions_ipmt_request_builder.go +++ b/drives/item_items_item_workbook_functions_ipmt_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIpmtRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_irr_request_builder.go b/drives/item_items_item_workbook_functions_irr_request_builder.go index 91bcf666807..d0d7226484c 100644 --- a/drives/item_items_item_workbook_functions_irr_request_builder.go +++ b/drives/item_items_item_workbook_functions_irr_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIrrRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_is_err_request_builder.go b/drives/item_items_item_workbook_functions_is_err_request_builder.go index 7d193d77678..d716f45f25a 100644 --- a/drives/item_items_item_workbook_functions_is_err_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_err_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsErrRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_is_error_request_builder.go b/drives/item_items_item_workbook_functions_is_error_request_builder.go index bc21ff11b41..045dda565ca 100644 --- a/drives/item_items_item_workbook_functions_is_error_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_error_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsErrorRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_is_even_request_builder.go b/drives/item_items_item_workbook_functions_is_even_request_builder.go index c248b2f2211..1e432301b6c 100644 --- a/drives/item_items_item_workbook_functions_is_even_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_even_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsEvenRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_is_formula_request_builder.go b/drives/item_items_item_workbook_functions_is_formula_request_builder.go index d5c89885a14..2c7b11e005f 100644 --- a/drives/item_items_item_workbook_functions_is_formula_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_formula_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsFormulaRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_is_logical_request_builder.go b/drives/item_items_item_workbook_functions_is_logical_request_builder.go index 955070733d3..a08590675d4 100644 --- a/drives/item_items_item_workbook_functions_is_logical_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_logical_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsLogicalRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_is_n_a_request_builder.go b/drives/item_items_item_workbook_functions_is_n_a_request_builder.go index 676f1e9caea..2fbf66a1c36 100644 --- a/drives/item_items_item_workbook_functions_is_n_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_n_a_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsNARequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_is_non_text_request_builder.go b/drives/item_items_item_workbook_functions_is_non_text_request_builder.go index 7fc09692cbb..df690449cb7 100644 --- a/drives/item_items_item_workbook_functions_is_non_text_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_non_text_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsNonTextRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_is_number_request_builder.go b/drives/item_items_item_workbook_functions_is_number_request_builder.go index 8f00149d5b2..e5a677ffe7a 100644 --- a/drives/item_items_item_workbook_functions_is_number_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_number_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsNumberRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_is_odd_request_builder.go b/drives/item_items_item_workbook_functions_is_odd_request_builder.go index 0c0d657b8e4..a5ad9205f30 100644 --- a/drives/item_items_item_workbook_functions_is_odd_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_odd_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsOddRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_is_text_request_builder.go b/drives/item_items_item_workbook_functions_is_text_request_builder.go index e6d51c0220b..6e83bdd4fb8 100644 --- a/drives/item_items_item_workbook_functions_is_text_request_builder.go +++ b/drives/item_items_item_workbook_functions_is_text_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsTextRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_iso_ceiling_request_builder.go b/drives/item_items_item_workbook_functions_iso_ceiling_request_builder.go index 976f28cdbe8..7a8e1f9878b 100644 --- a/drives/item_items_item_workbook_functions_iso_ceiling_request_builder.go +++ b/drives/item_items_item_workbook_functions_iso_ceiling_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIso_CeilingRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_iso_week_num_request_builder.go b/drives/item_items_item_workbook_functions_iso_week_num_request_builder.go index 35397f8c697..91e782fc7ff 100644 --- a/drives/item_items_item_workbook_functions_iso_week_num_request_builder.go +++ b/drives/item_items_item_workbook_functions_iso_week_num_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsoWeekNumRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_ispmt_request_builder.go b/drives/item_items_item_workbook_functions_ispmt_request_builder.go index fe0716de83e..97f24cdd29f 100644 --- a/drives/item_items_item_workbook_functions_ispmt_request_builder.go +++ b/drives/item_items_item_workbook_functions_ispmt_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIspmtRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_isref_request_builder.go b/drives/item_items_item_workbook_functions_isref_request_builder.go index 8d7f167beb6..3252eabd5af 100644 --- a/drives/item_items_item_workbook_functions_isref_request_builder.go +++ b/drives/item_items_item_workbook_functions_isref_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsIsrefRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_kurt_request_builder.go b/drives/item_items_item_workbook_functions_kurt_request_builder.go index 42edf0829d0..af12aab6d37 100644 --- a/drives/item_items_item_workbook_functions_kurt_request_builder.go +++ b/drives/item_items_item_workbook_functions_kurt_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsKurtRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_large_request_builder.go b/drives/item_items_item_workbook_functions_large_request_builder.go index adb0a1624b5..d8023b36ad6 100644 --- a/drives/item_items_item_workbook_functions_large_request_builder.go +++ b/drives/item_items_item_workbook_functions_large_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLargeRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_lcm_request_builder.go b/drives/item_items_item_workbook_functions_lcm_request_builder.go index 6235dadd709..75ebabc8635 100644 --- a/drives/item_items_item_workbook_functions_lcm_request_builder.go +++ b/drives/item_items_item_workbook_functions_lcm_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLcmRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_left_request_builder.go b/drives/item_items_item_workbook_functions_left_request_builder.go index 93ec58f6ec6..f5c5e87668e 100644 --- a/drives/item_items_item_workbook_functions_left_request_builder.go +++ b/drives/item_items_item_workbook_functions_left_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLeftRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_leftb_request_builder.go b/drives/item_items_item_workbook_functions_leftb_request_builder.go index e8c83715f91..0743be49193 100644 --- a/drives/item_items_item_workbook_functions_leftb_request_builder.go +++ b/drives/item_items_item_workbook_functions_leftb_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLeftbRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_len_request_builder.go b/drives/item_items_item_workbook_functions_len_request_builder.go index 845840ee654..8f00c4a6a03 100644 --- a/drives/item_items_item_workbook_functions_len_request_builder.go +++ b/drives/item_items_item_workbook_functions_len_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLenRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_lenb_request_builder.go b/drives/item_items_item_workbook_functions_lenb_request_builder.go index be165891d74..a81ddfe4b6c 100644 --- a/drives/item_items_item_workbook_functions_lenb_request_builder.go +++ b/drives/item_items_item_workbook_functions_lenb_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLenbRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_ln_request_builder.go b/drives/item_items_item_workbook_functions_ln_request_builder.go index 1a136d0dfcb..54bfc9edee0 100644 --- a/drives/item_items_item_workbook_functions_ln_request_builder.go +++ b/drives/item_items_item_workbook_functions_ln_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLnRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_log10_request_builder.go b/drives/item_items_item_workbook_functions_log10_request_builder.go index 288a219bf3f..050a2624547 100644 --- a/drives/item_items_item_workbook_functions_log10_request_builder.go +++ b/drives/item_items_item_workbook_functions_log10_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLog10RequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_log_norm_dist_request_builder.go b/drives/item_items_item_workbook_functions_log_norm_dist_request_builder.go index 67760f4e0a2..6750a25838f 100644 --- a/drives/item_items_item_workbook_functions_log_norm_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_log_norm_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLogNorm_DistRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_log_norm_inv_request_builder.go b/drives/item_items_item_workbook_functions_log_norm_inv_request_builder.go index f9b948b3c78..0b0f01b8dc6 100644 --- a/drives/item_items_item_workbook_functions_log_norm_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_log_norm_inv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLogNorm_InvRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_log_request_builder.go b/drives/item_items_item_workbook_functions_log_request_builder.go index 1958cd4b370..a7b35580ef5 100644 --- a/drives/item_items_item_workbook_functions_log_request_builder.go +++ b/drives/item_items_item_workbook_functions_log_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLogRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_lookup_request_builder.go b/drives/item_items_item_workbook_functions_lookup_request_builder.go index 05a631dca17..10ff8b797cb 100644 --- a/drives/item_items_item_workbook_functions_lookup_request_builder.go +++ b/drives/item_items_item_workbook_functions_lookup_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLookupRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_lower_request_builder.go b/drives/item_items_item_workbook_functions_lower_request_builder.go index e6f5ab65b2f..24258102981 100644 --- a/drives/item_items_item_workbook_functions_lower_request_builder.go +++ b/drives/item_items_item_workbook_functions_lower_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsLowerRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_match_request_builder.go b/drives/item_items_item_workbook_functions_match_request_builder.go index 81cfa60c22c..2298249295b 100644 --- a/drives/item_items_item_workbook_functions_match_request_builder.go +++ b/drives/item_items_item_workbook_functions_match_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMatchRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_max_a_request_builder.go b/drives/item_items_item_workbook_functions_max_a_request_builder.go index 0b19140c5fc..376163ef1a4 100644 --- a/drives/item_items_item_workbook_functions_max_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_max_a_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMaxARequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_max_request_builder.go b/drives/item_items_item_workbook_functions_max_request_builder.go index 4c3ddbcb723..0e77ae56001 100644 --- a/drives/item_items_item_workbook_functions_max_request_builder.go +++ b/drives/item_items_item_workbook_functions_max_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMaxRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_mduration_request_builder.go b/drives/item_items_item_workbook_functions_mduration_request_builder.go index 0c970751fa0..0998b595645 100644 --- a/drives/item_items_item_workbook_functions_mduration_request_builder.go +++ b/drives/item_items_item_workbook_functions_mduration_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMdurationRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_median_request_builder.go b/drives/item_items_item_workbook_functions_median_request_builder.go index a1148b2ad21..9eebbc42834 100644 --- a/drives/item_items_item_workbook_functions_median_request_builder.go +++ b/drives/item_items_item_workbook_functions_median_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMedianRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_mid_request_builder.go b/drives/item_items_item_workbook_functions_mid_request_builder.go index b643cb17569..d200be1279b 100644 --- a/drives/item_items_item_workbook_functions_mid_request_builder.go +++ b/drives/item_items_item_workbook_functions_mid_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMidRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_midb_request_builder.go b/drives/item_items_item_workbook_functions_midb_request_builder.go index 2ef5f66c09e..2fe34dacfb2 100644 --- a/drives/item_items_item_workbook_functions_midb_request_builder.go +++ b/drives/item_items_item_workbook_functions_midb_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMidbRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_min_a_request_builder.go b/drives/item_items_item_workbook_functions_min_a_request_builder.go index 31407db86b8..c730df2215a 100644 --- a/drives/item_items_item_workbook_functions_min_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_min_a_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMinARequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_min_request_builder.go b/drives/item_items_item_workbook_functions_min_request_builder.go index a09f505ac0e..75d2265dc58 100644 --- a/drives/item_items_item_workbook_functions_min_request_builder.go +++ b/drives/item_items_item_workbook_functions_min_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMinRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_minute_request_builder.go b/drives/item_items_item_workbook_functions_minute_request_builder.go index c638659e04c..de8902cc5b7 100644 --- a/drives/item_items_item_workbook_functions_minute_request_builder.go +++ b/drives/item_items_item_workbook_functions_minute_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMinuteRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_mirr_request_builder.go b/drives/item_items_item_workbook_functions_mirr_request_builder.go index 3c43daa5dc1..0569bb789c2 100644 --- a/drives/item_items_item_workbook_functions_mirr_request_builder.go +++ b/drives/item_items_item_workbook_functions_mirr_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMirrRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_mod_request_builder.go b/drives/item_items_item_workbook_functions_mod_request_builder.go index 89dc794ea13..3dd50257035 100644 --- a/drives/item_items_item_workbook_functions_mod_request_builder.go +++ b/drives/item_items_item_workbook_functions_mod_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsModRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_month_request_builder.go b/drives/item_items_item_workbook_functions_month_request_builder.go index 34ebe7297e7..363c426fbaf 100644 --- a/drives/item_items_item_workbook_functions_month_request_builder.go +++ b/drives/item_items_item_workbook_functions_month_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMonthRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_mround_request_builder.go b/drives/item_items_item_workbook_functions_mround_request_builder.go index 30daa87992e..48164436667 100644 --- a/drives/item_items_item_workbook_functions_mround_request_builder.go +++ b/drives/item_items_item_workbook_functions_mround_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMroundRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_multi_nomial_request_builder.go b/drives/item_items_item_workbook_functions_multi_nomial_request_builder.go index 959450962e0..5e62816616d 100644 --- a/drives/item_items_item_workbook_functions_multi_nomial_request_builder.go +++ b/drives/item_items_item_workbook_functions_multi_nomial_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsMultiNomialRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_n_request_builder.go b/drives/item_items_item_workbook_functions_n_request_builder.go index e80af858997..ba6ab742788 100644 --- a/drives/item_items_item_workbook_functions_n_request_builder.go +++ b/drives/item_items_item_workbook_functions_n_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_na_request_builder.go b/drives/item_items_item_workbook_functions_na_request_builder.go index ef492b6a50e..6d6a9f75770 100644 --- a/drives/item_items_item_workbook_functions_na_request_builder.go +++ b/drives/item_items_item_workbook_functions_na_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNaRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_functions_neg_binom_dist_request_builder.go b/drives/item_items_item_workbook_functions_neg_binom_dist_request_builder.go index 9e93c6b4b48..40c5e7c8bc5 100644 --- a/drives/item_items_item_workbook_functions_neg_binom_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_neg_binom_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNegBinom_DistRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_network_days_intl_request_builder.go b/drives/item_items_item_workbook_functions_network_days_intl_request_builder.go index 04055dd2b5f..b3b1ee11570 100644 --- a/drives/item_items_item_workbook_functions_network_days_intl_request_builder.go +++ b/drives/item_items_item_workbook_functions_network_days_intl_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNetworkDays_IntlRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_network_days_request_builder.go b/drives/item_items_item_workbook_functions_network_days_request_builder.go index e84522b01c5..f49c6c776f4 100644 --- a/drives/item_items_item_workbook_functions_network_days_request_builder.go +++ b/drives/item_items_item_workbook_functions_network_days_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNetworkDaysRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_nominal_request_builder.go b/drives/item_items_item_workbook_functions_nominal_request_builder.go index 7788d4db165..ad55acaf010 100644 --- a/drives/item_items_item_workbook_functions_nominal_request_builder.go +++ b/drives/item_items_item_workbook_functions_nominal_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNominalRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_norm_dist_request_builder.go b/drives/item_items_item_workbook_functions_norm_dist_request_builder.go index 999ed7bfaa4..adae66b2d7c 100644 --- a/drives/item_items_item_workbook_functions_norm_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_norm_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_DistRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_norm_inv_request_builder.go b/drives/item_items_item_workbook_functions_norm_inv_request_builder.go index b8ab328f733..3b000f9029e 100644 --- a/drives/item_items_item_workbook_functions_norm_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_norm_inv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_InvRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_norm_s_dist_request_builder.go b/drives/item_items_item_workbook_functions_norm_s_dist_request_builder.go index 7c1cd2dfbbe..f345581afc6 100644 --- a/drives/item_items_item_workbook_functions_norm_s_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_norm_s_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_S_DistRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_norm_s_inv_request_builder.go b/drives/item_items_item_workbook_functions_norm_s_inv_request_builder.go index c9fbd2c6ee2..61d08bf4dd5 100644 --- a/drives/item_items_item_workbook_functions_norm_s_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_norm_s_inv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNorm_S_InvRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_not_request_builder.go b/drives/item_items_item_workbook_functions_not_request_builder.go index 69237b70146..6ab457b45f7 100644 --- a/drives/item_items_item_workbook_functions_not_request_builder.go +++ b/drives/item_items_item_workbook_functions_not_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNotRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_now_request_builder.go b/drives/item_items_item_workbook_functions_now_request_builder.go index 2b973668ab9..a9c25546954 100644 --- a/drives/item_items_item_workbook_functions_now_request_builder.go +++ b/drives/item_items_item_workbook_functions_now_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNowRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_functions_nper_request_builder.go b/drives/item_items_item_workbook_functions_nper_request_builder.go index 6b03e625a48..40f40f6358c 100644 --- a/drives/item_items_item_workbook_functions_nper_request_builder.go +++ b/drives/item_items_item_workbook_functions_nper_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNperRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_npv_request_builder.go b/drives/item_items_item_workbook_functions_npv_request_builder.go index e6d72d3e1bc..fc8146f7fbd 100644 --- a/drives/item_items_item_workbook_functions_npv_request_builder.go +++ b/drives/item_items_item_workbook_functions_npv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNpvRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_number_value_request_builder.go b/drives/item_items_item_workbook_functions_number_value_request_builder.go index b88d59cfcf3..758bcf6ccd7 100644 --- a/drives/item_items_item_workbook_functions_number_value_request_builder.go +++ b/drives/item_items_item_workbook_functions_number_value_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsNumberValueRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_oct2_bin_request_builder.go b/drives/item_items_item_workbook_functions_oct2_bin_request_builder.go index 2527b486cbd..e5146356a6f 100644 --- a/drives/item_items_item_workbook_functions_oct2_bin_request_builder.go +++ b/drives/item_items_item_workbook_functions_oct2_bin_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsOct2BinRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_oct2_dec_request_builder.go b/drives/item_items_item_workbook_functions_oct2_dec_request_builder.go index 8e56bd3ebd7..ca1862e77bb 100644 --- a/drives/item_items_item_workbook_functions_oct2_dec_request_builder.go +++ b/drives/item_items_item_workbook_functions_oct2_dec_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsOct2DecRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_oct2_hex_request_builder.go b/drives/item_items_item_workbook_functions_oct2_hex_request_builder.go index 248c4eb75cb..f50c973f282 100644 --- a/drives/item_items_item_workbook_functions_oct2_hex_request_builder.go +++ b/drives/item_items_item_workbook_functions_oct2_hex_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsOct2HexRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_odd_f_price_request_builder.go b/drives/item_items_item_workbook_functions_odd_f_price_request_builder.go index 76792fcb507..4a343958725 100644 --- a/drives/item_items_item_workbook_functions_odd_f_price_request_builder.go +++ b/drives/item_items_item_workbook_functions_odd_f_price_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddFPriceRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_odd_f_yield_request_builder.go b/drives/item_items_item_workbook_functions_odd_f_yield_request_builder.go index 3be53d95204..28503b65426 100644 --- a/drives/item_items_item_workbook_functions_odd_f_yield_request_builder.go +++ b/drives/item_items_item_workbook_functions_odd_f_yield_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddFYieldRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_odd_l_price_request_builder.go b/drives/item_items_item_workbook_functions_odd_l_price_request_builder.go index 914bd95b4b7..01b59085995 100644 --- a/drives/item_items_item_workbook_functions_odd_l_price_request_builder.go +++ b/drives/item_items_item_workbook_functions_odd_l_price_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddLPriceRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_odd_l_yield_request_builder.go b/drives/item_items_item_workbook_functions_odd_l_yield_request_builder.go index 85f003e8261..7bff345b4da 100644 --- a/drives/item_items_item_workbook_functions_odd_l_yield_request_builder.go +++ b/drives/item_items_item_workbook_functions_odd_l_yield_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddLYieldRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_odd_request_builder.go b/drives/item_items_item_workbook_functions_odd_request_builder.go index 29eed65e1ea..a6311abe577 100644 --- a/drives/item_items_item_workbook_functions_odd_request_builder.go +++ b/drives/item_items_item_workbook_functions_odd_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsOddRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_or_request_builder.go b/drives/item_items_item_workbook_functions_or_request_builder.go index 99684c5813e..a621e78afa9 100644 --- a/drives/item_items_item_workbook_functions_or_request_builder.go +++ b/drives/item_items_item_workbook_functions_or_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsOrRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_pduration_request_builder.go b/drives/item_items_item_workbook_functions_pduration_request_builder.go index 6b01695e2c8..7a03ad3e6cd 100644 --- a/drives/item_items_item_workbook_functions_pduration_request_builder.go +++ b/drives/item_items_item_workbook_functions_pduration_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPdurationRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_percent_rank_exc_request_builder.go b/drives/item_items_item_workbook_functions_percent_rank_exc_request_builder.go index c34f2a195c8..6173a54808a 100644 --- a/drives/item_items_item_workbook_functions_percent_rank_exc_request_builder.go +++ b/drives/item_items_item_workbook_functions_percent_rank_exc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentRank_ExcRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_percent_rank_inc_request_builder.go b/drives/item_items_item_workbook_functions_percent_rank_inc_request_builder.go index 0d417eef005..eba6cf81779 100644 --- a/drives/item_items_item_workbook_functions_percent_rank_inc_request_builder.go +++ b/drives/item_items_item_workbook_functions_percent_rank_inc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentRank_IncRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_percentile_exc_request_builder.go b/drives/item_items_item_workbook_functions_percentile_exc_request_builder.go index af8a690f066..b7d35098e3d 100644 --- a/drives/item_items_item_workbook_functions_percentile_exc_request_builder.go +++ b/drives/item_items_item_workbook_functions_percentile_exc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_ExcRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_percentile_inc_request_builder.go b/drives/item_items_item_workbook_functions_percentile_inc_request_builder.go index 78fbaf4ce83..a59655b3038 100644 --- a/drives/item_items_item_workbook_functions_percentile_inc_request_builder.go +++ b/drives/item_items_item_workbook_functions_percentile_inc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPercentile_IncRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_permut_request_builder.go b/drives/item_items_item_workbook_functions_permut_request_builder.go index 0cdf1399152..3ff05f91eb0 100644 --- a/drives/item_items_item_workbook_functions_permut_request_builder.go +++ b/drives/item_items_item_workbook_functions_permut_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPermutRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_permutationa_request_builder.go b/drives/item_items_item_workbook_functions_permutationa_request_builder.go index a88d93f61d7..f8d08a27b3e 100644 --- a/drives/item_items_item_workbook_functions_permutationa_request_builder.go +++ b/drives/item_items_item_workbook_functions_permutationa_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPermutationaRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_phi_request_builder.go b/drives/item_items_item_workbook_functions_phi_request_builder.go index d61ef3d83bd..402d9c7ddb7 100644 --- a/drives/item_items_item_workbook_functions_phi_request_builder.go +++ b/drives/item_items_item_workbook_functions_phi_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPhiRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_pi_request_builder.go b/drives/item_items_item_workbook_functions_pi_request_builder.go index dc491a2fb63..f1a65b4d9b7 100644 --- a/drives/item_items_item_workbook_functions_pi_request_builder.go +++ b/drives/item_items_item_workbook_functions_pi_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPiRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_functions_pmt_request_builder.go b/drives/item_items_item_workbook_functions_pmt_request_builder.go index d9d3be7bd90..c31623dcd6f 100644 --- a/drives/item_items_item_workbook_functions_pmt_request_builder.go +++ b/drives/item_items_item_workbook_functions_pmt_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPmtRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_poisson_dist_request_builder.go b/drives/item_items_item_workbook_functions_poisson_dist_request_builder.go index 873cb95c350..2ed4c62eb63 100644 --- a/drives/item_items_item_workbook_functions_poisson_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_poisson_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPoisson_DistRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_power_request_builder.go b/drives/item_items_item_workbook_functions_power_request_builder.go index 80bfa01f3dd..3f1872784c3 100644 --- a/drives/item_items_item_workbook_functions_power_request_builder.go +++ b/drives/item_items_item_workbook_functions_power_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPowerRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_ppmt_request_builder.go b/drives/item_items_item_workbook_functions_ppmt_request_builder.go index 3ccaa8f7053..570e3bb11a4 100644 --- a/drives/item_items_item_workbook_functions_ppmt_request_builder.go +++ b/drives/item_items_item_workbook_functions_ppmt_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPpmtRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_price_disc_request_builder.go b/drives/item_items_item_workbook_functions_price_disc_request_builder.go index b4e0c919baf..0fe65db7298 100644 --- a/drives/item_items_item_workbook_functions_price_disc_request_builder.go +++ b/drives/item_items_item_workbook_functions_price_disc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPriceDiscRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_price_mat_request_builder.go b/drives/item_items_item_workbook_functions_price_mat_request_builder.go index 009581ce2ca..01201174db3 100644 --- a/drives/item_items_item_workbook_functions_price_mat_request_builder.go +++ b/drives/item_items_item_workbook_functions_price_mat_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPriceMatRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_price_request_builder.go b/drives/item_items_item_workbook_functions_price_request_builder.go index bddeb03589d..a89bcaf43c4 100644 --- a/drives/item_items_item_workbook_functions_price_request_builder.go +++ b/drives/item_items_item_workbook_functions_price_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPriceRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_product_request_builder.go b/drives/item_items_item_workbook_functions_product_request_builder.go index 8e76076790c..4b3dbda8948 100644 --- a/drives/item_items_item_workbook_functions_product_request_builder.go +++ b/drives/item_items_item_workbook_functions_product_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsProductRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_proper_request_builder.go b/drives/item_items_item_workbook_functions_proper_request_builder.go index 7196db5c9af..a7c1bdf7f7b 100644 --- a/drives/item_items_item_workbook_functions_proper_request_builder.go +++ b/drives/item_items_item_workbook_functions_proper_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsProperRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_pv_request_builder.go b/drives/item_items_item_workbook_functions_pv_request_builder.go index 561509685dd..9dc91071106 100644 --- a/drives/item_items_item_workbook_functions_pv_request_builder.go +++ b/drives/item_items_item_workbook_functions_pv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsPvRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_quartile_exc_request_builder.go b/drives/item_items_item_workbook_functions_quartile_exc_request_builder.go index 99faaa11d8b..0b3d0258417 100644 --- a/drives/item_items_item_workbook_functions_quartile_exc_request_builder.go +++ b/drives/item_items_item_workbook_functions_quartile_exc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_ExcRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_quartile_inc_request_builder.go b/drives/item_items_item_workbook_functions_quartile_inc_request_builder.go index f6d863d00c3..33e8e295905 100644 --- a/drives/item_items_item_workbook_functions_quartile_inc_request_builder.go +++ b/drives/item_items_item_workbook_functions_quartile_inc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsQuartile_IncRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_quotient_request_builder.go b/drives/item_items_item_workbook_functions_quotient_request_builder.go index 2e63b87f507..8ccbe823101 100644 --- a/drives/item_items_item_workbook_functions_quotient_request_builder.go +++ b/drives/item_items_item_workbook_functions_quotient_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsQuotientRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_radians_request_builder.go b/drives/item_items_item_workbook_functions_radians_request_builder.go index 7139105a6d4..3b968a30a45 100644 --- a/drives/item_items_item_workbook_functions_radians_request_builder.go +++ b/drives/item_items_item_workbook_functions_radians_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRadiansRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_rand_between_request_builder.go b/drives/item_items_item_workbook_functions_rand_between_request_builder.go index 5de6c1567ed..4ef5a3426f5 100644 --- a/drives/item_items_item_workbook_functions_rand_between_request_builder.go +++ b/drives/item_items_item_workbook_functions_rand_between_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRandBetweenRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_rand_request_builder.go b/drives/item_items_item_workbook_functions_rand_request_builder.go index 99f67881c39..2065a9439f7 100644 --- a/drives/item_items_item_workbook_functions_rand_request_builder.go +++ b/drives/item_items_item_workbook_functions_rand_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRandRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_functions_rank_avg_request_builder.go b/drives/item_items_item_workbook_functions_rank_avg_request_builder.go index a8d48dc68e1..b2b5bd00567 100644 --- a/drives/item_items_item_workbook_functions_rank_avg_request_builder.go +++ b/drives/item_items_item_workbook_functions_rank_avg_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRank_AvgRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_rank_eq_request_builder.go b/drives/item_items_item_workbook_functions_rank_eq_request_builder.go index f0332b88c18..3a294cb539b 100644 --- a/drives/item_items_item_workbook_functions_rank_eq_request_builder.go +++ b/drives/item_items_item_workbook_functions_rank_eq_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRank_EqRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_rate_request_builder.go b/drives/item_items_item_workbook_functions_rate_request_builder.go index dd69a64296a..fbb7b6430d5 100644 --- a/drives/item_items_item_workbook_functions_rate_request_builder.go +++ b/drives/item_items_item_workbook_functions_rate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRateRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_received_request_builder.go b/drives/item_items_item_workbook_functions_received_request_builder.go index 08f032d0255..702b0351e3b 100644 --- a/drives/item_items_item_workbook_functions_received_request_builder.go +++ b/drives/item_items_item_workbook_functions_received_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsReceivedRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_replace_b_request_builder.go b/drives/item_items_item_workbook_functions_replace_b_request_builder.go index d918713b208..7524fe272f9 100644 --- a/drives/item_items_item_workbook_functions_replace_b_request_builder.go +++ b/drives/item_items_item_workbook_functions_replace_b_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsReplaceBRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_replace_request_builder.go b/drives/item_items_item_workbook_functions_replace_request_builder.go index 57153a3a22b..e1298807d5f 100644 --- a/drives/item_items_item_workbook_functions_replace_request_builder.go +++ b/drives/item_items_item_workbook_functions_replace_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsReplaceRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_rept_request_builder.go b/drives/item_items_item_workbook_functions_rept_request_builder.go index cee463dd309..16b3726195e 100644 --- a/drives/item_items_item_workbook_functions_rept_request_builder.go +++ b/drives/item_items_item_workbook_functions_rept_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsReptRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_request_builder.go b/drives/item_items_item_workbook_functions_request_builder.go index 2443e3f569f..2c54e11b7fb 100644 --- a/drives/item_items_item_workbook_functions_request_builder.go +++ b/drives/item_items_item_workbook_functions_request_builder.go @@ -1462,7 +1462,7 @@ func (m *ItemItemsItemWorkbookFunctionsRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get functions from drives @@ -1478,7 +1478,7 @@ func (m *ItemItemsItemWorkbookFunctionsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property functions in drives @@ -1491,7 +1491,7 @@ func (m *ItemItemsItemWorkbookFunctionsRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_right_request_builder.go b/drives/item_items_item_workbook_functions_right_request_builder.go index 7895e88a2c0..7aa023001c0 100644 --- a/drives/item_items_item_workbook_functions_right_request_builder.go +++ b/drives/item_items_item_workbook_functions_right_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRightRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_rightb_request_builder.go b/drives/item_items_item_workbook_functions_rightb_request_builder.go index 4acd2e78c75..6564b8dfacd 100644 --- a/drives/item_items_item_workbook_functions_rightb_request_builder.go +++ b/drives/item_items_item_workbook_functions_rightb_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRightbRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_roman_request_builder.go b/drives/item_items_item_workbook_functions_roman_request_builder.go index 2b443cf9bd7..757ce26de38 100644 --- a/drives/item_items_item_workbook_functions_roman_request_builder.go +++ b/drives/item_items_item_workbook_functions_roman_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRomanRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_round_down_request_builder.go b/drives/item_items_item_workbook_functions_round_down_request_builder.go index 2560553ca65..790f806ed5e 100644 --- a/drives/item_items_item_workbook_functions_round_down_request_builder.go +++ b/drives/item_items_item_workbook_functions_round_down_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRoundDownRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_round_request_builder.go b/drives/item_items_item_workbook_functions_round_request_builder.go index 8532ddaa90d..122dd87e04b 100644 --- a/drives/item_items_item_workbook_functions_round_request_builder.go +++ b/drives/item_items_item_workbook_functions_round_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRoundRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_round_up_request_builder.go b/drives/item_items_item_workbook_functions_round_up_request_builder.go index 5dd1feb9d81..001bf5fbb3c 100644 --- a/drives/item_items_item_workbook_functions_round_up_request_builder.go +++ b/drives/item_items_item_workbook_functions_round_up_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRoundUpRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_rows_request_builder.go b/drives/item_items_item_workbook_functions_rows_request_builder.go index 1ab6a71069e..6f1e8964593 100644 --- a/drives/item_items_item_workbook_functions_rows_request_builder.go +++ b/drives/item_items_item_workbook_functions_rows_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRowsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_rri_request_builder.go b/drives/item_items_item_workbook_functions_rri_request_builder.go index 2a628911392..16daf141f22 100644 --- a/drives/item_items_item_workbook_functions_rri_request_builder.go +++ b/drives/item_items_item_workbook_functions_rri_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsRriRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sec_request_builder.go b/drives/item_items_item_workbook_functions_sec_request_builder.go index 2f761480ef5..0eb58a3fdb4 100644 --- a/drives/item_items_item_workbook_functions_sec_request_builder.go +++ b/drives/item_items_item_workbook_functions_sec_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSecRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sech_request_builder.go b/drives/item_items_item_workbook_functions_sech_request_builder.go index a092fb07f28..02651c98d63 100644 --- a/drives/item_items_item_workbook_functions_sech_request_builder.go +++ b/drives/item_items_item_workbook_functions_sech_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSechRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_second_request_builder.go b/drives/item_items_item_workbook_functions_second_request_builder.go index 21990c52077..d3ea14ecde4 100644 --- a/drives/item_items_item_workbook_functions_second_request_builder.go +++ b/drives/item_items_item_workbook_functions_second_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSecondRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_series_sum_request_builder.go b/drives/item_items_item_workbook_functions_series_sum_request_builder.go index f2a57881937..53541bc8c74 100644 --- a/drives/item_items_item_workbook_functions_series_sum_request_builder.go +++ b/drives/item_items_item_workbook_functions_series_sum_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSeriesSumRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sheet_request_builder.go b/drives/item_items_item_workbook_functions_sheet_request_builder.go index 34f79547f88..3c7ad261218 100644 --- a/drives/item_items_item_workbook_functions_sheet_request_builder.go +++ b/drives/item_items_item_workbook_functions_sheet_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSheetRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sheets_request_builder.go b/drives/item_items_item_workbook_functions_sheets_request_builder.go index 1ce266b8107..61725762c51 100644 --- a/drives/item_items_item_workbook_functions_sheets_request_builder.go +++ b/drives/item_items_item_workbook_functions_sheets_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSheetsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sign_request_builder.go b/drives/item_items_item_workbook_functions_sign_request_builder.go index 4ee563997d7..93ecbc90b3a 100644 --- a/drives/item_items_item_workbook_functions_sign_request_builder.go +++ b/drives/item_items_item_workbook_functions_sign_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSignRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sin_request_builder.go b/drives/item_items_item_workbook_functions_sin_request_builder.go index 90667f406d1..d7d083049d7 100644 --- a/drives/item_items_item_workbook_functions_sin_request_builder.go +++ b/drives/item_items_item_workbook_functions_sin_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSinRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sinh_request_builder.go b/drives/item_items_item_workbook_functions_sinh_request_builder.go index a0aeb26890d..d67d6e3cae3 100644 --- a/drives/item_items_item_workbook_functions_sinh_request_builder.go +++ b/drives/item_items_item_workbook_functions_sinh_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSinhRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_skew_p_request_builder.go b/drives/item_items_item_workbook_functions_skew_p_request_builder.go index d819ab1d89a..3a95ddd8f76 100644 --- a/drives/item_items_item_workbook_functions_skew_p_request_builder.go +++ b/drives/item_items_item_workbook_functions_skew_p_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSkew_pRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_skew_request_builder.go b/drives/item_items_item_workbook_functions_skew_request_builder.go index c88d21e4d08..bc38868e9eb 100644 --- a/drives/item_items_item_workbook_functions_skew_request_builder.go +++ b/drives/item_items_item_workbook_functions_skew_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSkewRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sln_request_builder.go b/drives/item_items_item_workbook_functions_sln_request_builder.go index c8bbd7d4af8..b5327f48138 100644 --- a/drives/item_items_item_workbook_functions_sln_request_builder.go +++ b/drives/item_items_item_workbook_functions_sln_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSlnRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_small_request_builder.go b/drives/item_items_item_workbook_functions_small_request_builder.go index 34ece9bf7d9..d8335fd0075 100644 --- a/drives/item_items_item_workbook_functions_small_request_builder.go +++ b/drives/item_items_item_workbook_functions_small_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSmallRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sqrt_pi_request_builder.go b/drives/item_items_item_workbook_functions_sqrt_pi_request_builder.go index 43e95a9262a..a956583fca3 100644 --- a/drives/item_items_item_workbook_functions_sqrt_pi_request_builder.go +++ b/drives/item_items_item_workbook_functions_sqrt_pi_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSqrtPiRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sqrt_request_builder.go b/drives/item_items_item_workbook_functions_sqrt_request_builder.go index 241880a49fb..b3f498d028b 100644 --- a/drives/item_items_item_workbook_functions_sqrt_request_builder.go +++ b/drives/item_items_item_workbook_functions_sqrt_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSqrtRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_st_dev_a_request_builder.go b/drives/item_items_item_workbook_functions_st_dev_a_request_builder.go index 5d0fdb79e8a..b2f155e430a 100644 --- a/drives/item_items_item_workbook_functions_st_dev_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_st_dev_a_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsStDevARequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_st_dev_p_a_request_builder.go b/drives/item_items_item_workbook_functions_st_dev_p_a_request_builder.go index d02df8b3ad1..3190f0960a3 100644 --- a/drives/item_items_item_workbook_functions_st_dev_p_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_st_dev_p_a_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsStDevPARequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_st_dev_p_request_builder.go b/drives/item_items_item_workbook_functions_st_dev_p_request_builder.go index 2650b6ec4d8..d55d3ff760d 100644 --- a/drives/item_items_item_workbook_functions_st_dev_p_request_builder.go +++ b/drives/item_items_item_workbook_functions_st_dev_p_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsStDev_PRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_st_dev_s_request_builder.go b/drives/item_items_item_workbook_functions_st_dev_s_request_builder.go index 16594dcaf5d..31b2db528a6 100644 --- a/drives/item_items_item_workbook_functions_st_dev_s_request_builder.go +++ b/drives/item_items_item_workbook_functions_st_dev_s_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsStDev_SRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_standardize_request_builder.go b/drives/item_items_item_workbook_functions_standardize_request_builder.go index dfe5135e07a..0d96201755e 100644 --- a/drives/item_items_item_workbook_functions_standardize_request_builder.go +++ b/drives/item_items_item_workbook_functions_standardize_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsStandardizeRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_substitute_request_builder.go b/drives/item_items_item_workbook_functions_substitute_request_builder.go index 14420165afe..a2ffb961f45 100644 --- a/drives/item_items_item_workbook_functions_substitute_request_builder.go +++ b/drives/item_items_item_workbook_functions_substitute_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSubstituteRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_subtotal_request_builder.go b/drives/item_items_item_workbook_functions_subtotal_request_builder.go index 70374e51b46..2df113396a3 100644 --- a/drives/item_items_item_workbook_functions_subtotal_request_builder.go +++ b/drives/item_items_item_workbook_functions_subtotal_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSubtotalRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sum_if_request_builder.go b/drives/item_items_item_workbook_functions_sum_if_request_builder.go index f3394a6c97e..af492a3e3db 100644 --- a/drives/item_items_item_workbook_functions_sum_if_request_builder.go +++ b/drives/item_items_item_workbook_functions_sum_if_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSumIfRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sum_ifs_request_builder.go b/drives/item_items_item_workbook_functions_sum_ifs_request_builder.go index 351009a2a9c..c2389c5050a 100644 --- a/drives/item_items_item_workbook_functions_sum_ifs_request_builder.go +++ b/drives/item_items_item_workbook_functions_sum_ifs_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSumIfsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sum_request_builder.go b/drives/item_items_item_workbook_functions_sum_request_builder.go index d02b9ccf2c5..2b373a02889 100644 --- a/drives/item_items_item_workbook_functions_sum_request_builder.go +++ b/drives/item_items_item_workbook_functions_sum_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSumRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_sum_sq_request_builder.go b/drives/item_items_item_workbook_functions_sum_sq_request_builder.go index e8f24241a4d..c09ed93265c 100644 --- a/drives/item_items_item_workbook_functions_sum_sq_request_builder.go +++ b/drives/item_items_item_workbook_functions_sum_sq_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSumSqRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_syd_request_builder.go b/drives/item_items_item_workbook_functions_syd_request_builder.go index 58d9827bb07..b1f8c0c1f74 100644 --- a/drives/item_items_item_workbook_functions_syd_request_builder.go +++ b/drives/item_items_item_workbook_functions_syd_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsSydRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_t_dist_2_t_request_builder.go b/drives/item_items_item_workbook_functions_t_dist_2_t_request_builder.go index 960b26f5f91..8d2b1aa1ae4 100644 --- a/drives/item_items_item_workbook_functions_t_dist_2_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_dist_2_t_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsT_Dist_2TRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_t_dist_r_t_request_builder.go b/drives/item_items_item_workbook_functions_t_dist_r_t_request_builder.go index 3b756876d3a..8686f0154ce 100644 --- a/drives/item_items_item_workbook_functions_t_dist_r_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_dist_r_t_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsT_Dist_RTRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_t_dist_request_builder.go b/drives/item_items_item_workbook_functions_t_dist_request_builder.go index 24f99187bc4..1935be10af7 100644 --- a/drives/item_items_item_workbook_functions_t_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsT_DistRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_t_inv_2_t_request_builder.go b/drives/item_items_item_workbook_functions_t_inv_2_t_request_builder.go index 072dd73cd54..40ad52cb4a5 100644 --- a/drives/item_items_item_workbook_functions_t_inv_2_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_inv_2_t_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsT_Inv_2TRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_t_inv_request_builder.go b/drives/item_items_item_workbook_functions_t_inv_request_builder.go index c3fa1bf4ccc..a541975000d 100644 --- a/drives/item_items_item_workbook_functions_t_inv_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_inv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsT_InvRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_t_request_builder.go b/drives/item_items_item_workbook_functions_t_request_builder.go index f0e1b501f43..7adf9695b93 100644 --- a/drives/item_items_item_workbook_functions_t_request_builder.go +++ b/drives/item_items_item_workbook_functions_t_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_tan_request_builder.go b/drives/item_items_item_workbook_functions_tan_request_builder.go index 82f8db5277e..ed7692e1594 100644 --- a/drives/item_items_item_workbook_functions_tan_request_builder.go +++ b/drives/item_items_item_workbook_functions_tan_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTanRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_tanh_request_builder.go b/drives/item_items_item_workbook_functions_tanh_request_builder.go index b07269718ca..5c966eff205 100644 --- a/drives/item_items_item_workbook_functions_tanh_request_builder.go +++ b/drives/item_items_item_workbook_functions_tanh_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTanhRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_tbill_eq_request_builder.go b/drives/item_items_item_workbook_functions_tbill_eq_request_builder.go index f7dc2e80659..f8f7f211b6a 100644 --- a/drives/item_items_item_workbook_functions_tbill_eq_request_builder.go +++ b/drives/item_items_item_workbook_functions_tbill_eq_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTbillEqRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_tbill_price_request_builder.go b/drives/item_items_item_workbook_functions_tbill_price_request_builder.go index 0acca0d76a4..80773f7c392 100644 --- a/drives/item_items_item_workbook_functions_tbill_price_request_builder.go +++ b/drives/item_items_item_workbook_functions_tbill_price_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTbillPriceRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_tbill_yield_request_builder.go b/drives/item_items_item_workbook_functions_tbill_yield_request_builder.go index 3f360722bf0..fafb4a82db5 100644 --- a/drives/item_items_item_workbook_functions_tbill_yield_request_builder.go +++ b/drives/item_items_item_workbook_functions_tbill_yield_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTbillYieldRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_text_request_builder.go b/drives/item_items_item_workbook_functions_text_request_builder.go index 16fda4a901f..eedb5f374a7 100644 --- a/drives/item_items_item_workbook_functions_text_request_builder.go +++ b/drives/item_items_item_workbook_functions_text_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTextRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_time_request_builder.go b/drives/item_items_item_workbook_functions_time_request_builder.go index 368055c0d0e..4b936a708d6 100644 --- a/drives/item_items_item_workbook_functions_time_request_builder.go +++ b/drives/item_items_item_workbook_functions_time_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTimeRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_timevalue_request_builder.go b/drives/item_items_item_workbook_functions_timevalue_request_builder.go index 5eab303e3e7..eaec8bb30e7 100644 --- a/drives/item_items_item_workbook_functions_timevalue_request_builder.go +++ b/drives/item_items_item_workbook_functions_timevalue_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTimevalueRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_today_request_builder.go b/drives/item_items_item_workbook_functions_today_request_builder.go index 77e6b84b5ee..59c8186f99e 100644 --- a/drives/item_items_item_workbook_functions_today_request_builder.go +++ b/drives/item_items_item_workbook_functions_today_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTodayRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_functions_trim_mean_request_builder.go b/drives/item_items_item_workbook_functions_trim_mean_request_builder.go index 9bfb4e56942..7da243b4b27 100644 --- a/drives/item_items_item_workbook_functions_trim_mean_request_builder.go +++ b/drives/item_items_item_workbook_functions_trim_mean_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTrimMeanRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_trim_request_builder.go b/drives/item_items_item_workbook_functions_trim_request_builder.go index 7cd2e5634b3..5c8abe9c671 100644 --- a/drives/item_items_item_workbook_functions_trim_request_builder.go +++ b/drives/item_items_item_workbook_functions_trim_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTrimRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_true_request_builder.go b/drives/item_items_item_workbook_functions_true_request_builder.go index 828b2fe0f44..3342780c61f 100644 --- a/drives/item_items_item_workbook_functions_true_request_builder.go +++ b/drives/item_items_item_workbook_functions_true_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTrueRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_functions_trunc_request_builder.go b/drives/item_items_item_workbook_functions_trunc_request_builder.go index d8ad385b888..da392d73e5b 100644 --- a/drives/item_items_item_workbook_functions_trunc_request_builder.go +++ b/drives/item_items_item_workbook_functions_trunc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTruncRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_type_request_builder.go b/drives/item_items_item_workbook_functions_type_request_builder.go index 849a65de0f5..dcd30eeda9d 100644 --- a/drives/item_items_item_workbook_functions_type_request_builder.go +++ b/drives/item_items_item_workbook_functions_type_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsTypeRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_unichar_request_builder.go b/drives/item_items_item_workbook_functions_unichar_request_builder.go index 0fd20add1f8..9eabe016459 100644 --- a/drives/item_items_item_workbook_functions_unichar_request_builder.go +++ b/drives/item_items_item_workbook_functions_unichar_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsUnicharRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_unicode_request_builder.go b/drives/item_items_item_workbook_functions_unicode_request_builder.go index d9f2a6081ec..896eb54db82 100644 --- a/drives/item_items_item_workbook_functions_unicode_request_builder.go +++ b/drives/item_items_item_workbook_functions_unicode_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsUnicodeRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_upper_request_builder.go b/drives/item_items_item_workbook_functions_upper_request_builder.go index ef78ca7d31d..ac64c0ccb9d 100644 --- a/drives/item_items_item_workbook_functions_upper_request_builder.go +++ b/drives/item_items_item_workbook_functions_upper_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsUpperRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_usdollar_request_builder.go b/drives/item_items_item_workbook_functions_usdollar_request_builder.go index db13bb935a5..e1e8ed83a68 100644 --- a/drives/item_items_item_workbook_functions_usdollar_request_builder.go +++ b/drives/item_items_item_workbook_functions_usdollar_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsUsdollarRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_value_request_builder.go b/drives/item_items_item_workbook_functions_value_request_builder.go index 161f80de3c6..74508a4e414 100644 --- a/drives/item_items_item_workbook_functions_value_request_builder.go +++ b/drives/item_items_item_workbook_functions_value_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsValueRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_var_a_request_builder.go b/drives/item_items_item_workbook_functions_var_a_request_builder.go index 60aab631215..949b7e9e640 100644 --- a/drives/item_items_item_workbook_functions_var_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_var_a_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsVarARequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_var_p_a_request_builder.go b/drives/item_items_item_workbook_functions_var_p_a_request_builder.go index 1573c6b19fb..6519c1e51b0 100644 --- a/drives/item_items_item_workbook_functions_var_p_a_request_builder.go +++ b/drives/item_items_item_workbook_functions_var_p_a_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsVarPARequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_var_p_request_builder.go b/drives/item_items_item_workbook_functions_var_p_request_builder.go index 1d54130cbe8..a52b172347a 100644 --- a/drives/item_items_item_workbook_functions_var_p_request_builder.go +++ b/drives/item_items_item_workbook_functions_var_p_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsVar_PRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_var_s_request_builder.go b/drives/item_items_item_workbook_functions_var_s_request_builder.go index b86594f430c..0ed227c169c 100644 --- a/drives/item_items_item_workbook_functions_var_s_request_builder.go +++ b/drives/item_items_item_workbook_functions_var_s_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsVar_SRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_vdb_request_builder.go b/drives/item_items_item_workbook_functions_vdb_request_builder.go index a7765842049..68ae4f94f62 100644 --- a/drives/item_items_item_workbook_functions_vdb_request_builder.go +++ b/drives/item_items_item_workbook_functions_vdb_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsVdbRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_vlookup_request_builder.go b/drives/item_items_item_workbook_functions_vlookup_request_builder.go index 9f6d6f89916..54ef2e05860 100644 --- a/drives/item_items_item_workbook_functions_vlookup_request_builder.go +++ b/drives/item_items_item_workbook_functions_vlookup_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsVlookupRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_week_num_request_builder.go b/drives/item_items_item_workbook_functions_week_num_request_builder.go index 72f6d6cf44f..da06809bbe0 100644 --- a/drives/item_items_item_workbook_functions_week_num_request_builder.go +++ b/drives/item_items_item_workbook_functions_week_num_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsWeekNumRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_weekday_request_builder.go b/drives/item_items_item_workbook_functions_weekday_request_builder.go index 42101a5edc8..a28c5175942 100644 --- a/drives/item_items_item_workbook_functions_weekday_request_builder.go +++ b/drives/item_items_item_workbook_functions_weekday_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsWeekdayRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_weibull_dist_request_builder.go b/drives/item_items_item_workbook_functions_weibull_dist_request_builder.go index d0ab881c3e8..99eb8abdb43 100644 --- a/drives/item_items_item_workbook_functions_weibull_dist_request_builder.go +++ b/drives/item_items_item_workbook_functions_weibull_dist_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsWeibull_DistRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_work_day_intl_request_builder.go b/drives/item_items_item_workbook_functions_work_day_intl_request_builder.go index 54e2a868533..9d8450113a9 100644 --- a/drives/item_items_item_workbook_functions_work_day_intl_request_builder.go +++ b/drives/item_items_item_workbook_functions_work_day_intl_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsWorkDay_IntlRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_work_day_request_builder.go b/drives/item_items_item_workbook_functions_work_day_request_builder.go index 321fc84db87..5e7c9232da3 100644 --- a/drives/item_items_item_workbook_functions_work_day_request_builder.go +++ b/drives/item_items_item_workbook_functions_work_day_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsWorkDayRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_xirr_request_builder.go b/drives/item_items_item_workbook_functions_xirr_request_builder.go index a990b3a9c44..ab779e0cdfa 100644 --- a/drives/item_items_item_workbook_functions_xirr_request_builder.go +++ b/drives/item_items_item_workbook_functions_xirr_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsXirrRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_xnpv_request_builder.go b/drives/item_items_item_workbook_functions_xnpv_request_builder.go index 4d0f1807a83..a9623c1ef5c 100644 --- a/drives/item_items_item_workbook_functions_xnpv_request_builder.go +++ b/drives/item_items_item_workbook_functions_xnpv_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsXnpvRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_xor_request_builder.go b/drives/item_items_item_workbook_functions_xor_request_builder.go index 6332ec4f3c7..8c875ed1657 100644 --- a/drives/item_items_item_workbook_functions_xor_request_builder.go +++ b/drives/item_items_item_workbook_functions_xor_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsXorRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_year_frac_request_builder.go b/drives/item_items_item_workbook_functions_year_frac_request_builder.go index 904f302dd6d..a553db65f05 100644 --- a/drives/item_items_item_workbook_functions_year_frac_request_builder.go +++ b/drives/item_items_item_workbook_functions_year_frac_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsYearFracRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_year_request_builder.go b/drives/item_items_item_workbook_functions_year_request_builder.go index a5cf9b92fe2..95ea482b05f 100644 --- a/drives/item_items_item_workbook_functions_year_request_builder.go +++ b/drives/item_items_item_workbook_functions_year_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsYearRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_yield_disc_request_builder.go b/drives/item_items_item_workbook_functions_yield_disc_request_builder.go index 750a1856d84..bbec87d6929 100644 --- a/drives/item_items_item_workbook_functions_yield_disc_request_builder.go +++ b/drives/item_items_item_workbook_functions_yield_disc_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsYieldDiscRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_yield_mat_request_builder.go b/drives/item_items_item_workbook_functions_yield_mat_request_builder.go index d98bbba046c..48e5be64159 100644 --- a/drives/item_items_item_workbook_functions_yield_mat_request_builder.go +++ b/drives/item_items_item_workbook_functions_yield_mat_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsYieldMatRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_yield_request_builder.go b/drives/item_items_item_workbook_functions_yield_request_builder.go index 99785db519b..a22ff95771c 100644 --- a/drives/item_items_item_workbook_functions_yield_request_builder.go +++ b/drives/item_items_item_workbook_functions_yield_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsYieldRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_functions_z_test_request_builder.go b/drives/item_items_item_workbook_functions_z_test_request_builder.go index 2d01befa651..a8e27eea548 100644 --- a/drives/item_items_item_workbook_functions_z_test_request_builder.go +++ b/drives/item_items_item_workbook_functions_z_test_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookFunctionsZ_TestRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_names_add_formula_local_request_builder.go b/drives/item_items_item_workbook_names_add_formula_local_request_builder.go index 5dbb5d62887..b5675d7fa5e 100644 --- a/drives/item_items_item_workbook_names_add_formula_local_request_builder.go +++ b/drives/item_items_item_workbook_names_add_formula_local_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookNamesAddFormulaLocalRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_names_add_request_builder.go b/drives/item_items_item_workbook_names_add_request_builder.go index 3ff10222a1a..ed74b6ac95c 100644 --- a/drives/item_items_item_workbook_names_add_request_builder.go +++ b/drives/item_items_item_workbook_names_add_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookNamesAddRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_names_item_range_request_builder.go b/drives/item_items_item_workbook_names_item_range_request_builder.go index 4a7fa021a9f..68e776085e8 100644 --- a/drives/item_items_item_workbook_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_names_item_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookNamesItemRangeRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_names_item_worksheet_request_builder.go b/drives/item_items_item_workbook_names_item_worksheet_request_builder.go index feb53037e74..5985e2f1a2d 100644 --- a/drives/item_items_item_workbook_names_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_names_item_worksheet_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemWorkbookNamesItemWorksheetRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_names_request_builder.go b/drives/item_items_item_workbook_names_request_builder.go index f2166f4559a..d181c83efe9 100644 --- a/drives/item_items_item_workbook_names_request_builder.go +++ b/drives/item_items_item_workbook_names_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemItemsItemWorkbookNamesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to names for drives @@ -149,7 +149,7 @@ func (m *ItemItemsItemWorkbookNamesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go b/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go index efcf8f0684c..0bc33585075 100644 --- a/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go +++ b/drives/item_items_item_workbook_names_workbook_named_item_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of nameditem object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of nameditem object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemItemsItemWorkbookNamesWorkbookNamedItemItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_operations_request_builder.go b/drives/item_items_item_workbook_operations_request_builder.go index dd9bf157d0e..da9df229f6f 100644 --- a/drives/item_items_item_workbook_operations_request_builder.go +++ b/drives/item_items_item_workbook_operations_request_builder.go @@ -117,7 +117,7 @@ func (m *ItemItemsItemWorkbookOperationsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for drives @@ -130,7 +130,7 @@ func (m *ItemItemsItemWorkbookOperationsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go b/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go index 37b90c4e23e..db8063c9a7f 100644 --- a/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go +++ b/drives/item_items_item_workbook_operations_workbook_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in drives @@ -150,7 +150,7 @@ func (m *ItemItemsItemWorkbookOperationsWorkbookOperationItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_refresh_session_request_builder.go b/drives/item_items_item_workbook_refresh_session_request_builder.go index 9f5230b21ce..e363547cc53 100644 --- a/drives/item_items_item_workbook_refresh_session_request_builder.go +++ b/drives/item_items_item_workbook_refresh_session_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookRefreshSessionRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_request_builder.go b/drives/item_items_item_workbook_request_builder.go index 5dd0aff5a3b..ab7faff93c0 100644 --- a/drives/item_items_item_workbook_request_builder.go +++ b/drives/item_items_item_workbook_request_builder.go @@ -162,7 +162,7 @@ func (m *ItemItemsItemWorkbookRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation for files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable. @@ -178,7 +178,7 @@ func (m *ItemItemsItemWorkbookRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property workbook in drives @@ -191,7 +191,7 @@ func (m *ItemItemsItemWorkbookRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_session_info_resource_with_key_request_builder.go b/drives/item_items_item_workbook_session_info_resource_with_key_request_builder.go index 45637f97a3f..4ece7f75a11 100644 --- a/drives/item_items_item_workbook_session_info_resource_with_key_request_builder.go +++ b/drives/item_items_item_workbook_session_info_resource_with_key_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookSessionInfoResourceWithKeyRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go b/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go index d919ef46278..8a2983b3b7e 100644 --- a/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go +++ b/drives/item_items_item_workbook_table_row_operation_result_with_key_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTableRowOperationResultWithKeyRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_add_request_builder.go b/drives/item_items_item_workbook_tables_add_request_builder.go index 54100b72170..80ab237ded4 100644 --- a/drives/item_items_item_workbook_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_add_request_builder.go @@ -31,10 +31,10 @@ func NewItemItemsItemWorkbookTablesAddRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. This API is available in the following national cloud deployments. +// Post use this API to create a new Table. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -53,7 +53,7 @@ func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. This API is available in the following national cloud deployments. +// ToPostRequestInformation use this API to create a new Table. This API is available in the following national cloud deployments. func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_count_request_builder.go b/drives/item_items_item_workbook_tables_count_request_builder.go index 6f7814bdcd3..6904eee93b0 100644 --- a/drives/item_items_item_workbook_tables_count_request_builder.go +++ b/drives/item_items_item_workbook_tables_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookTablesCountRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_tables_item_at_with_index_request_builder.go index dcc5b387f8c..0e77d68616c 100644 --- a/drives/item_items_item_workbook_tables_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookTablesItemAtWithIndexRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go b/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go index 80f72c5dcc9..70ad6ff83fa 100644 --- a/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_clear_filters_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookTablesItemClearFiltersRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go index 292028a6215..3f2599262af 100644 --- a/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_add_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsAddRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_count_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_count_request_builder.go index 5022304efa6..e8032a65d60 100644 --- a/drives/item_items_item_workbook_tables_item_columns_count_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsCountRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go index 7fcd99e180b..aaf24c5848f 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemAtWithIndexRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go index 5babd6cdff7..a8cd571f118 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_data_body_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemDataBodyRangeRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go index a11caa6e697..9c25f440c5c 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyBottomItemsFilterR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go index 35d2c4114a9..522f84b05a3 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyBottomPercentFilte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go index 93f4aba93c0..715051cc67e 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyCellColorFilterReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_custom_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_custom_filter_request_builder.go index fc44ba2d65f..0e060d2347d 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_custom_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_custom_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyCustomFilterReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go index 213189024f4..66102bf3d63 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyDynamicFilterReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go index 9332e6c77d5..6ab45933bae 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyFontColorFilterReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_icon_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_icon_filter_request_builder.go index 68815a63f0c..2bec98456d9 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_icon_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_icon_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyIconFilterRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go index 731ecb0ab27..33c394e79d7 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go index 70a184c0f15..9fff19e82a6 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyTopItemsFilterRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go index 444a8e4cb15..8c8b72fd227 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyTopPercentFilterRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_values_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_values_filter_request_builder.go index 1e5d4d996fb..b9f1f2d5c82 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_values_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_apply_values_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterApplyValuesFilterReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go index 97def8baadf..ed0e2947b44 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterClearRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_columns_item_filter_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_filter_request_builder.go index 2f6021adac0..1ed184c8a21 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_filter_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_filter_request_builder.go @@ -166,7 +166,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the filter applied to the column. Read-only. @@ -182,7 +182,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property filter in drives @@ -195,7 +195,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemFilterRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go index 5d58165a8ab..51a21136880 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_header_row_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemHeaderRowRangeRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go index 5e9cc9427cc..20d7764639c 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemRangeRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go index c6350f2a940..7742afa5aad 100644 --- a/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_item_total_row_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsItemTotalRowRangeRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_columns_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_request_builder.go index 30f744b33cf..875c1acd2e1 100644 --- a/drives/item_items_item_workbook_tables_item_columns_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_request_builder.go @@ -81,7 +81,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) Count()(*ItemItem // Get retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookTablesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +139,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new TableColumn. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go b/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go index 0b5ed376bc3..f9a0bac6326 100644 --- a/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_columns_workbook_table_column_item_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of tablecolumn object. This API is available in the following national cloud deployments. @@ -172,7 +172,7 @@ func (m *ItemItemsItemWorkbookTablesItemColumnsWorkbookTableColumnItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go b/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go index 7cd15705781..b65a0daaf4c 100644 --- a/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_convert_to_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemConvertToRangeRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go index cc1e1153db7..ddffef64308 100644 --- a/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_data_body_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemDataBodyRangeRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go index 825520ca5c2..db7e92b8880 100644 --- a/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_header_row_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemHeaderRowRangeRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_range_request_builder.go b/drives/item_items_item_workbook_tables_item_range_request_builder.go index efec64e95b4..d5531cad67d 100644 --- a/drives/item_items_item_workbook_tables_item_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemRangeRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go b/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go index 5453584272f..2200db04b20 100644 --- a/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_reapply_filters_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookTablesItemReapplyFiltersRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go index 81dbe09f2d4..3ee52c4d628 100644 --- a/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_add_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsAddRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_rows_count_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_count_request_builder.go index f9efc2bc06d..629954cd1ab 100644 --- a/drives/item_items_item_workbook_tables_item_rows_count_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsCountRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go index 4f8d6b564ab..64087490250 100644 --- a/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsItemAtWithIndexRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go index db580ee0080..49d6ffcf983 100644 --- a/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_item_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsItemRangeRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_rows_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_request_builder.go index d6585e8d211..6cb40b567f8 100644 --- a/drives/item_items_item_workbook_tables_item_rows_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -152,7 +152,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go b/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go index b1514bcf9db..2b1bb5ae4e1 100644 --- a/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_rows_workbook_table_row_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of tablerow object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemItemsItemWorkbookTablesItemRowsWorkbookTableRowItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go index fbf2dd319e4..d8e2a95ef0b 100644 --- a/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_apply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortApplyRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go index 41b29bc2582..c30e2682bb0 100644 --- a/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortClearRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go index a1c0e52ede0..b936aa7b7ac 100644 --- a/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_reapply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortReapplyRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_sort_request_builder.go b/drives/item_items_item_workbook_tables_item_sort_request_builder.go index a69b2a40de9..218baf350da 100644 --- a/drives/item_items_item_workbook_tables_item_sort_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_sort_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sort in drives @@ -162,7 +162,7 @@ func (m *ItemItemsItemWorkbookTablesItemSortRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go index fbb5f630fda..82acd783260 100644 --- a/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_total_row_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookTablesItemTotalRowRangeRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_item_worksheet_request_builder.go b/drives/item_items_item_workbook_tables_item_worksheet_request_builder.go index 5f3789a9d7b..f618c10c951 100644 --- a/drives/item_items_item_workbook_tables_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_tables_item_worksheet_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemWorkbookTablesItemWorksheetRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_tables_request_builder.go b/drives/item_items_item_workbook_tables_request_builder.go index 358b5bfc7bb..d852b37c88a 100644 --- a/drives/item_items_item_workbook_tables_request_builder.go +++ b/drives/item_items_item_workbook_tables_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemItemsItemWorkbookTablesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tables for drives @@ -149,7 +149,7 @@ func (m *ItemItemsItemWorkbookTablesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go b/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go index b9a25cccee8..648cd156f50 100644 --- a/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go +++ b/drives/item_items_item_workbook_tables_workbook_table_item_request_builder.go @@ -163,7 +163,7 @@ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of table object. This API is available in the following national cloud deployments. @@ -179,7 +179,7 @@ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of table object. This API is available in the following national cloud deployments. @@ -192,7 +192,7 @@ func (m *ItemItemsItemWorkbookTablesWorkbookTableItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_add_request_builder.go b/drives/item_items_item_workbook_worksheets_add_request_builder.go index aa66de4a28f..cb4f5d4943e 100644 --- a/drives/item_items_item_workbook_worksheets_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_add_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsAddRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go b/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go index 42fb27865ba..358beba0713 100644 --- a/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_cell_with_row_with_column_request_builder.go @@ -67,7 +67,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemCellWithRowWithColumnRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go index 5366a4c77a3..2f76bc98601 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_add_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsAddRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_count_request_builder.go index becb14ba4e6..860ccd2c5c5 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsCountRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go index 85d09665804..201de39c853 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAtWithIndexRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go index a03f6b5c9db..c32d5ceb193 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_font_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartfont object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatFont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go index 01294079985..23aff31588f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLine requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go index 223a2d2dabf..9a05ebf6233 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_line_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLine requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLine requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartlineformat object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatLine requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_request_builder.go index a133919b0e3..4a83b41174f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_format_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of a chart object, which includes line and font formatting. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisFormatRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go index a2009010680..645cac4dcd3 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_request_builder.go index 38653afd62a..1fba0d803f8 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_line_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents chart line formatting. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property line in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_request_builder.go index 3f62c6d752d..d0df774d03a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_format_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of chart gridlines. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_request_builder.go index 5548908126b..6f61c40b11e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_major_gridlines_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns a gridlines object that represents the major gridlines for the specified axis. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property majorGridlines in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMajorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go index 79bb63a23bd..44f3d15378a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_request_builder.go index 4e592117693..5096135bea0 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_line_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents chart line formatting. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property line in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_request_builder.go index 8f0cbc203ca..eb5885b1c1a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_format_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of chart gridlines. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go index 4cc42bcf20b..4ec82b9236d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_minor_gridlines_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartgridlines object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisMinorGridl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_request_builder.go index bb40b0e094e..ae4c48fbf18 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the category axis in a chart. Read-only. @@ -150,7 +150,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property categoryAxis in drives @@ -163,7 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_font_request_builder.go index 3afd965aac7..a5f81b1b95e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_font_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleForma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleForma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property font in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleForma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_request_builder.go index b7e061878b6..b4bc115d8cb 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_format_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleForma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of chart axis title. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleForma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleForma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go index c193a7d9afc..768682d1092 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_category_axis_title_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of workbookChartAxisTitle object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesCategoryAxisTitleReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_request_builder.go index de00a651cf2..d13db0f111a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents chart axes. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property axes in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go index 0a609ad7deb..da6b805d242 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_font_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartfont object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatFontRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go index 7ed1244c7e5..389c19dd692 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineCl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go index e563f8a54d6..3f23ca641aa 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_line_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartlineformat object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatLineRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_request_builder.go index 07de4b04d2f..606502254f2 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_format_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of a chart object, which includes line and font formatting. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisFormatReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go index 5e5661b1c6b..09e673bc1ea 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_request_builder.go index 14206568e4d..6a9cced9470 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_line_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents chart line formatting. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property line in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_request_builder.go index a06e3c38436..6b076efe7f2 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_format_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of chart gridlines. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_request_builder.go index 1a6cbbc1172..424b9262046 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_major_gridlines_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns a gridlines object that represents the major gridlines for the specified axis. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property majorGridlines in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMajorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go index bf6ae1c79c9..25ab80a06ad 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_request_builder.go index 126afde6b55..c6b392a0b7c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_line_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents chart line formatting. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property line in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_request_builder.go index 29619c1d7ba..ca7a8c83da0 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_format_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of chart gridlines. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go index f89366acda9..5b0ce4fd8e3 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_minor_gridlines_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartgridlines object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisMinorGridlin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_request_builder.go index d457188d1c0..9a8373550d0 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the series axis of a 3-dimensional chart. Read-only. @@ -150,7 +150,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property seriesAxis in drives @@ -163,7 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_font_request_builder.go index 717fd7a8ef3..4ee6bf6a4d4 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_font_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property font in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_request_builder.go index 9f5f40d4038..d322537e543 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_format_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of chart axis title. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleFormatR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go index 4b206962b80..ad37b0b9396 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_series_axis_title_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of workbookChartAxisTitle object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesSeriesAxisTitleRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go index f15d868d89b..319d61df6bb 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_font_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartfont object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatFontReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go index 4ab02332784..77742294f4e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineCle requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go index 9c7edfb70fd..03c92c9ea44 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_line_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartlineformat object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatLineReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_request_builder.go index c968d7783dc..3f5e53f92e9 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_format_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of a chart object, which includes line and font formatting. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisFormatRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go index 920cdb86ef7..25c8d6dd8eb 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_request_builder.go index 0947c89abb9..0af70f84b40 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_line_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents chart line formatting. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property line in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_request_builder.go index 1ca76d46679..ac3736cc70f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_format_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of chart gridlines. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_request_builder.go index 2bc75650e2d..dde0349b4a9 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_major_gridlines_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns a gridlines object that represents the major gridlines for the specified axis. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property majorGridlines in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMajorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go index 5d76587689e..f8d80a92949 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_request_builder.go index 76f74ebeb9b..21867436460 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_line_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents chart line formatting. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property line in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_request_builder.go index 4fc905faf77..dcec87a35e8 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_format_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of chart gridlines. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go index 3412702db49..b09aba3521e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_minor_gridlines_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartgridlines object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisMinorGridline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go index 06e49dad1ce..034552e22c4 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartaxis object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of workbookChartAxis object. This API is available in the following national cloud deployments. @@ -169,7 +169,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_font_request_builder.go index b42a502bbed..87b42c78973 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_font_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatFo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatFo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property font in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatFo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_request_builder.go index 163058f6006..59450344d5a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_format_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of chart axis title. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleFormatRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go index 35931d50c14..72b87570879 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_axes_value_axis_title_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of workbookChartAxisTitle object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemAxesValueAxisTitleRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go index 30f6991c056..ad5a828a8ca 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillClearR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_request_builder.go index 05a5b738434..a63ad8ec7ff 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the fill format of the current chart data label. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fill in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go index 17bed1e7030..2e571df11c0 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_fill_set_solid_color_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFillSetSol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_font_request_builder.go index e0f5841763b..03b9120819a 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_font_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFontReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the font attributes (font name, font size, color, etc.) for a chart data label. Read-only. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFontReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property font in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatFontReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_request_builder.go index e0d0debb584..61642b3f183 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_format_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the format of chart data labels, which includes fill and font formatting. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go index fe3b769315b..ce329864fcc 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_data_labels_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartdatalabels object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartdatalabels object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemDataLabelsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go index b38a401b5ef..cae2875b128 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillClearRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_request_builder.go index 6870d8006f4..842a1082ad1 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the fill format of an object, which includes background formatting information. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fill in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go index 823dd59de3a..9da83637ff1 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_fill_set_solid_color_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFillSetSolidColorReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_font_request_builder.go index 266cfb31c2b..eecc4347c8e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_font_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFontRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFontRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property font in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatFontRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_format_request_builder.go index b0af4046c97..69cf5a0c3e9 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_format_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation encapsulates the format properties for the chart area. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemFormatRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_image_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_image_request_builder.go index b31d0d27262..7d2a3e9f0c2 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_image_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_image_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemImageRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_request_builder.go index 6495c74dd24..2a57787d586 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_request_builder.go @@ -83,7 +83,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_request_builder.go index d018b47f162..5413643d68f 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthWithHeightRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_with_fitting_mode_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_with_fitting_mode_request_builder.go index 294f6b8004c..4d1acdc3ece 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_with_fitting_mode_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_image_with_width_with_height_with_fitting_mode_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemImageWithWidthWithHeightWi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go index a74da10a8ed..eb5c73bfa83 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillClearReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_request_builder.go index ab9e7d0b76f..9fb90b3d1e8 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the fill format of an object, which includes background formating information. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fill in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go index e78f0381474..c8717ad4f15 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_fill_set_solid_color_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFillSetSolidCo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_font_request_builder.go index 31cfed519e6..80d6e6fa303 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_font_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFontRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the font attributes such as font name, font size, color, etc. of a chart legend. Read-only. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFontRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property font in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatFontRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_request_builder.go index c4f553ac29f..e8469858de3 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_format_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of a chart legend, which includes fill and font formatting. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendFormatRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go index 3fc308a1ed0..d76aa588cef 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_legend_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartlegend object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartlegend object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemLegendRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_count_request_builder.go index 1403b73c4bd..9866ad7ad84 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesCountRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go index a3be9cf15d3..8214e8d3c84 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemAtWithIndexReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go index e30e1018437..52e19ceb57e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillClearR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_request_builder.go index fb9b6555fe2..219188a7e96 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the fill format of a chart series, which includes background formatting information. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fill in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go index b74594fbe20..3527b58c69c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_fill_set_solid_color_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatFillSetSol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go index bd68f674db6..72081645f58 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineClearR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_request_builder.go index 8c053f5e840..c3086c809b1 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_line_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents line formatting. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property line in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatLineReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_request_builder.go index 1ea13be34eb..78fbdc475a3 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_format_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of a chart series, which includes fill and line formatting. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_count_request_builder.go index ebc5731099a..6575517581d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsCountReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go index a03b7a59c19..b7ff19189b5 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemAtWith requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go index b6e6a00ff45..1fe9fa5a621 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_request_builder.go index 41e550c7a05..2c6e3ce2a9c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the fill format of a chart, which includes background formatting information. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fill in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go index cb4ad6367e6..196b0ea1ef0 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_fill_set_solid_color_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_request_builder.go index 6a5862c9988..3786b1fe82c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_item_format_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation encapsulates the format properties chart point. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsItemFormat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go index 34e0c9a62e7..6a0a254cfe7 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new ChartPoint. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go index 283a325205e..1bc398c1276 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_item_points_workbook_chart_point_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookCh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartpoint object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookCh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property points in drives @@ -154,7 +154,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesItemPointsWorkbookCh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go index c4edff9d9fc..49fb33cf455 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_request_builder.go @@ -77,7 +77,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) Coun // Get retrieve a list of chartseries objects. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chart-list-series?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookChartSeriesCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -135,7 +135,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new ChartSeries. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go index 2b21bf65a7b..b3b7409a809 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_series_workbook_chart_series_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chartseries object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chartseries object. This API is available in the following national cloud deployments. @@ -161,7 +161,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSeriesWorkbookChartSeriesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go index 38deee0b47b..ac2feee370d 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_set_data_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetDataRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go index 6cf9442e91c..33f243e0d27 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_set_position_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemSetPositionRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go index 033ed02df75..c3f47b4b685 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillClearReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_request_builder.go index 85a1227602d..f63844a365c 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the fill format of an object, which includes background formatting information. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fill in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go index 9a29758ed8f..3b62a1e9846 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_fill_set_solid_color_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFillSetSolidCol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_font_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_font_request_builder.go index fa52596aebf..493e3612d21 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_font_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_font_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFontRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFontRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property font in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatFontRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_request_builder.go index 7e944912fb8..f5c9c474dd0 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_format_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the formatting of a chart title, which includes fill and font formatting. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property format in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleFormatRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go index 9ee54b31b84..31c03122bd5 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_title_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of charttitle object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of charttitle object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemTitleRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_request_builder.go index 9743c253f8b..e7606f17f7e 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_with_name_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWithNameRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_item_worksheet_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_item_worksheet_request_builder.go index 59dacbeb090..599d06cfc22 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_item_worksheet_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsItemWorksheetRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go index caec6ff8ad1..74455cf65de 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new Chart. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go index 824eb7bbe89..671d8a2ddef 100644 --- a/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_charts_workbook_chart_item_request_builder.go @@ -175,7 +175,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chart object. This API is available in the following national cloud deployments. @@ -191,7 +191,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of chart object. This API is available in the following national cloud deployments. @@ -204,7 +204,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemChartsWorkbookChartItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go index 71eb4f3863a..611c921f7ef 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_add_formula_local_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddFormulaLocalRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go index 635c0695285..b4d5f6ec2c1 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_add_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesAddRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go index bbbefc59dd5..bd568240d43 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_item_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemRangeRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_names_item_worksheet_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_item_worksheet_request_builder.go index fc0d22166c8..97759098561 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_item_worksheet_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesItemWorksheetRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_names_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_request_builder.go index 75abd9a9d2a..d93dfe0d53c 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to names for drives @@ -149,7 +149,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_names_workbook_named_item_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_names_workbook_named_item_item_request_builder.go index a8f73cbb2cd..8f3bb957ed7 100644 --- a/drives/item_items_item_workbook_worksheets_item_names_workbook_named_item_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_names_workbook_named_item_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesWorkbookNamedItemItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns collection of names that are associated with the worksheet. Read-only. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesWorkbookNamedItemItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property names in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemNamesWorkbookNamedItemItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_refresh_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_refresh_request_builder.go index f194f146868..b3675b7b536 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_refresh_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesItemRefreshRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_worksheet_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_worksheet_request_builder.go index 8e278e6b17a..b7282df8be4 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_item_worksheet_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesItemWorksheetRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_refresh_all_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_refresh_all_request_builder.go index 6aaa3970e50..6e64b837459 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_refresh_all_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_refresh_all_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesRefreshAllRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_request_builder.go index 268bd659fdb..313b5b0ae4d 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pivotTables for drives @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_pivot_tables_workbook_pivot_table_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_pivot_tables_workbook_pivot_table_item_request_builder.go index 4b4ea457562..cb6d363dbe1 100644 --- a/drives/item_items_item_workbook_worksheets_item_pivot_tables_workbook_pivot_table_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_pivot_tables_workbook_pivot_table_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesWorkbookPivotTableItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of PivotTables that are part of the worksheet. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesWorkbookPivotTableItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pivotTables in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemPivotTablesWorkbookPivotTableItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go b/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go index 1b716043e15..88fb09c9955 100644 --- a/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_protection_protect_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemProtectionProtectRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go b/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go index 45cb27925fd..003c2a6185f 100644 --- a/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_protection_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of workbookWorksheetProtection object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property protection in drives @@ -154,7 +154,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemProtectionRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go b/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go index f564d7e90a7..5e5a0ced568 100644 --- a/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_protection_unprotect_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemProtectionUnprotectRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_range_request_builder.go index fc9b9603ab6..a7bd4f53951 100644 --- a/drives/item_items_item_workbook_worksheets_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_range_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemRangeRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_range_with_address_request_builder.go b/drives/item_items_item_workbook_worksheets_item_range_with_address_request_builder.go index 03c872a75be..c05f0bafe74 100644 --- a/drives/item_items_item_workbook_worksheets_item_range_with_address_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_range_with_address_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemRangeWithAddressRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go index dd852aef3da..ed2804ccfc0 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go @@ -31,10 +31,10 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. This API is available in the following national cloud deployments. +// Post use this API to create a new Table. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -53,7 +53,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. This API is available in the following national cloud deployments. +// ToPostRequestInformation use this API to create a new Table. This API is available in the following national cloud deployments. func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_count_request_builder.go index 6ef3ef16c3e..5d1476243e9 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesCountRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_request_builder.go index 4e5e5b82e0e..7160940d956 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemAtWithIndexRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go index 3f6aea3de65..98365735773 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_clear_filters_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemClearFiltersRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go index 590d2f8db9b..d57e0e56c3e 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_add_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsAddRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_count_request_builder.go index 314454e97c1..7488486f7b3 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsCountRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go index 72eba832290..44622a0aae6 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemAtWithIndexRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go index 2aed473a8c6..919b9f920a1 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_data_body_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemDataBodyRangeRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go index d1c20fdf12d..9667226e4ae 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_items_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyBott requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go index 4582b3d71b7..09f459014ba 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_bottom_percent_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyBott requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go index 80eb596d6f6..15366f9441c 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_cell_color_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyCell requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_custom_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_custom_filter_request_builder.go index 85ea5ac309a..cbf65310722 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_custom_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_custom_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyCust requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go index 3ea39707fc6..76331e37fcd 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_dynamic_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyDyna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go index 7243724db03..f0102b4bee7 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_font_color_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyFont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_icon_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_icon_filter_request_builder.go index bbd77b629a1..eb697635ed6 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_icon_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_icon_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyIcon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go index 502dbab760a..538be18f563 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go index 302a9b866ce..a2d02d3aa67 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_items_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyTopI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go index 66544a16a0c..dd8beb3e3c8 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_top_percent_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyTopP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_values_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_values_filter_request_builder.go index 107357b9829..73b7286d501 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_values_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_apply_values_filter_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterApplyValu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go index 20749701fcb..f28af26d750 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterClearRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_request_builder.go index 77df62f8f25..b900c04a97f 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_filter_request_builder.go @@ -166,7 +166,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the filter applied to the column. Read-only. @@ -182,7 +182,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property filter in drives @@ -195,7 +195,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemFilterRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go index 1a5e951da30..6ec0aaec84a 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_header_row_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemHeaderRowRangeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go index 9660375f5b6..b4e7c55c625 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemRangeRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go index 258078a5ecc..4541a5d1507 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_item_total_row_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsItemTotalRowRangeRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go index a6362ef8ea0..4289f596af3 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_request_builder.go @@ -81,7 +81,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) Cou // Get retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/table-list-columns?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableColumnCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,7 +139,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new TableColumn. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go index 57c9d06eef0..120ea963108 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_columns_workbook_table_column_item_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of tablecolumn object. This API is available in the following national cloud deployments. @@ -172,7 +172,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemColumnsWorkbookTableColumn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go index e2d2e774435..e738b68a8e1 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_convert_to_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemConvertToRangeRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go index 70007c2c915..9bfa360824a 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_data_body_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemDataBodyRangeRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go index 4e52baaf08a..152573c45f4 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_header_row_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemHeaderRowRangeRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go index 46e03251b12..1902d115a1d 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRangeRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go index 462bf1409f4..8cafe747ce1 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_reapply_filters_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemReapplyFiltersRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go index c1b801eafe1..405f04c93fc 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_add_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsAddRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_count_request_builder.go index 1b52c01e9a2..e9cf20ad090 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsCountRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go index 5bdd8486240..fcf6837970c 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemAtWithIndexRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go index 5dedd6fcff4..60e71cfb722 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_item_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsItemRangeRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go index 17619cd3295..5b617e8f65c 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -152,7 +152,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go index 54d024e84a9..e926b401756 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_rows_workbook_table_row_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of tablerow object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemRowsWorkbookTableRowItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go index 2cc22ac1009..a0b4c2fe651 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_apply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortApplyRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go index 6cbe3e5d54f..6460e0895c0 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_clear_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortClearRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go index ba3d72d04ea..d0bb602f4ea 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_reapply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortReapplyRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go index 52e365699a9..0e426da396c 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_sort_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sort in drives @@ -162,7 +162,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemSortRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go index 7aaef9d9e12..b0e3d1ae91b 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_total_row_range_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemTotalRowRangeRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_item_worksheet_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_item_worksheet_request_builder.go index da7bacd218e..1a2829c0916 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_item_worksheet_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_item_worksheet_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesItemWorksheetRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go index 65df8067faa..55a3ebc9cdd 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tables for drives @@ -149,7 +149,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tables_workbook_table_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_workbook_table_item_request_builder.go index b259fe72b35..ff8044836d5 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_workbook_table_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_workbook_table_item_request_builder.go @@ -154,7 +154,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of tables that are part of the worksheet. Read-only. @@ -170,7 +170,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tables in drives @@ -183,7 +183,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesWorkbookTableItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_count_request_builder.go index 3916b07247c..336e6149655 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksCountRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_at_with_index_request_builder.go index b7b9fbe471d..c057aefd571 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemAtWithIndexRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_count_request_builder.go index 2d81138381e..fc7f485df03 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesCountRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_item_at_with_index_request_builder.go index fc10e9de6b8..5a7992e066e 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesItemAtWithIndexReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_request_builder.go index 591358c988e..e273141ec7c 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to changes for drives @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_workbook_document_task_change_item_request_builder.go index d4ae9606126..2fbbd5a4470 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_changes_workbook_document_task_change_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTask requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of task change histories. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTask requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property changes in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemChangesWorkbookDocumentTask requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_count_request_builder.go index 2f3d407ecb0..03491de95bb 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_item_at_with_index_request_builder.go index ec8b60e8484..6257f0aeed9 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_request_builder.go index bfd27df4822..46e4658f095 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to changes for drives @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go index 955be7c2666..b4aa56610d0 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_changes_workbook_document_task_change_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of task change histories. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property changes in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskChang requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_request_builder.go index b8ec57fb184..c0ad539218d 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_item_task_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the task associated with the comment thread. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property task in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesItemTaskReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_request_builder.go index 5664d3a5b4f..1ced8a20351 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to replies for drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_workbook_comment_reply_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_workbook_comment_reply_item_request_builder.go index 5c1ad38e142..c2aa47e62ef 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_workbook_comment_reply_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_replies_workbook_comment_reply_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesWorkbookComme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get replies from drives @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesWorkbookComme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRepliesWorkbookComme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_request_builder.go index 1b41bd41b57..12a29d192ff 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the comment that the task is associated with. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property comment in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_count_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_count_request_builder.go index ea59810d51f..28e2c85bc69 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_count_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_count_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesCountRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_item_at_with_index_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_item_at_with_index_request_builder.go index eee01815176..24710d26267 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_item_at_with_index_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_item_at_with_index_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesItemAtWit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_request_builder.go index 007e7e1d906..a8c67501118 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to changes for drives @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_workbook_document_task_change_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_workbook_document_task_change_item_request_builder.go index e91ce6e47f8..cd445fb73e8 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_workbook_document_task_change_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_changes_workbook_document_task_change_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of task change histories. @@ -134,7 +134,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property changes in drives @@ -147,7 +147,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskChangesWorkbookD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_request_builder.go index 608de370b2b..43596b7c29b 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_item_comment_task_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the task associated with the comment. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property task in drives @@ -151,7 +151,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksItemCommentTaskRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_request_builder.go index 9792a440a85..da2c4347f2a 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for drives @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_tasks_workbook_document_task_item_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tasks_workbook_document_task_item_request_builder.go index 3fc610f0eb3..6b2195c7906 100644 --- a/drives/item_items_item_workbook_worksheets_item_tasks_workbook_document_task_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tasks_workbook_document_task_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of document tasks on this worksheet. Read-only. @@ -142,7 +142,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in drives @@ -155,7 +155,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTasksWorkbookDocumentTaskItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_item_used_range_request_builder.go b/drives/item_items_item_workbook_worksheets_item_used_range_request_builder.go index 3b4947b1ebb..3d5c5a6276f 100644 --- a/drives/item_items_item_workbook_worksheets_item_used_range_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_used_range_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemUsedRangeRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_request_builder.go b/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_request_builder.go index d685e751f50..f999797df2c 100644 --- a/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_used_range_with_values_only_request_builder.go @@ -64,7 +64,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemUsedRangeWithValuesOnlyRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_items_item_workbook_worksheets_request_builder.go b/drives/item_items_item_workbook_worksheets_request_builder.go index 689f28baa30..00a089ff0d0 100644 --- a/drives/item_items_item_workbook_worksheets_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to worksheets for drives @@ -145,7 +145,7 @@ func (m *ItemItemsItemWorkbookWorksheetsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go b/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go index ca752fb1b8d..5aec6a8a708 100644 --- a/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_workbook_worksheet_item_request_builder.go @@ -163,7 +163,7 @@ func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of worksheet object. This API is available in the following national cloud deployments. @@ -179,7 +179,7 @@ func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of worksheet object. This API is available in the following national cloud deployments. @@ -192,7 +192,7 @@ func (m *ItemItemsItemWorkbookWorksheetsWorkbookWorksheetItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_items_request_builder.go b/drives/item_items_request_builder.go index 53a11f69178..246f0e70673 100644 --- a/drives/item_items_request_builder.go +++ b/drives/item_items_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to items for drives @@ -138,7 +138,7 @@ func (m *ItemItemsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_last_modified_by_user_mailbox_settings_request_builder.go b/drives/item_last_modified_by_user_mailbox_settings_request_builder.go index 528228cffb4..a0f0b1d60d1 100644 --- a/drives/item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/drives/item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_last_modified_by_user_request_builder.go b/drives/item_last_modified_by_user_request_builder.go index 9a8f48e0735..344e2712f03 100644 --- a/drives/item_last_modified_by_user_request_builder.go +++ b/drives/item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemLastModifiedByUserRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_last_modified_by_user_service_provisioning_errors_request_builder.go b/drives/item_last_modified_by_user_service_provisioning_errors_request_builder.go index 642af446c37..473db37a7e2 100644 --- a/drives/item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/drives/item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl str func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_activities_request_builder.go b/drives/item_list_activities_request_builder.go index d3c8615fd7e..161797cf8d3 100644 --- a/drives/item_list_activities_request_builder.go +++ b/drives/item_list_activities_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemListActivitiesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for drives @@ -123,7 +123,7 @@ func (m *ItemListActivitiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_columns_column_definition_item_request_builder.go b/drives/item_list_columns_column_definition_item_request_builder.go index 722c7e1ba5e..0f5c7a01e81 100644 --- a/drives/item_list_columns_column_definition_item_request_builder.go +++ b/drives/item_list_columns_column_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemListColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of field definitions for this list. @@ -138,7 +138,7 @@ func (m *ItemListColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columns in drives @@ -151,7 +151,7 @@ func (m *ItemListColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_columns_item_source_column_request_builder.go b/drives/item_list_columns_item_source_column_request_builder.go index 388d71778a5..06d4d3595b9 100644 --- a/drives/item_list_columns_item_source_column_request_builder.go +++ b/drives/item_list_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListColumnsItemSourceColumnRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_columns_request_builder.go b/drives/item_list_columns_request_builder.go index 6fa8f53866f..07f57c677f7 100644 --- a/drives/item_list_columns_request_builder.go +++ b/drives/item_list_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListColumnsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemListColumnsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go b/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go index 043087092eb..5e5ac531023 100644 --- a/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/drives/item_list_content_types_add_copy_from_content_type_hub_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_content_types_add_copy_request_builder.go b/drives/item_list_content_types_add_copy_request_builder.go index 709e9409dcb..cbcc3f33585 100644 --- a/drives/item_list_content_types_add_copy_request_builder.go +++ b/drives/item_list_content_types_add_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemListContentTypesAddCopyRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_content_types_content_type_item_request_builder.go b/drives/item_list_content_types_content_type_item_request_builder.go index 9fa23fae385..e587c836728 100644 --- a/drives/item_list_content_types_content_type_item_request_builder.go +++ b/drives/item_list_content_types_content_type_item_request_builder.go @@ -154,7 +154,7 @@ func (m *ItemListContentTypesContentTypeItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of content types present in this list. @@ -170,7 +170,7 @@ func (m *ItemListContentTypesContentTypeItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentTypes in drives @@ -183,7 +183,7 @@ func (m *ItemListContentTypesContentTypeItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go b/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go index 23e263ae398..d4dcd6723fb 100644 --- a/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go +++ b/drives/item_list_content_types_get_compatible_hub_content_types_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go b/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go index f7dfacf3938..af28aae9340 100644 --- a/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go +++ b/drives/item_list_content_types_item_associate_with_hub_sites_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListContentTypesItemAssociateWithHubSitesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_content_types_item_base_request_builder.go b/drives/item_list_content_types_item_base_request_builder.go index 4762572af4a..770f892ef85 100644 --- a/drives/item_list_content_types_item_base_request_builder.go +++ b/drives/item_list_content_types_item_base_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListContentTypesItemBaseRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_content_types_item_base_types_content_type_item_request_builder.go b/drives/item_list_content_types_item_base_types_content_type_item_request_builder.go index 4c823a2dbf1..470e21faf02 100644 --- a/drives/item_list_content_types_item_base_types_content_type_item_request_builder.go +++ b/drives/item_list_content_types_item_base_types_content_type_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_content_types_item_base_types_request_builder.go b/drives/item_list_content_types_item_base_types_request_builder.go index fff0452f9fd..cd51f2bdf32 100644 --- a/drives/item_list_content_types_item_base_types_request_builder.go +++ b/drives/item_list_content_types_item_base_types_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemListContentTypesItemBaseTypesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_content_types_item_column_links_column_link_item_request_builder.go b/drives/item_list_content_types_item_column_links_column_link_item_request_builder.go index 3fca3d6cce4..867dfef2515 100644 --- a/drives/item_list_content_types_item_column_links_column_link_item_request_builder.go +++ b/drives/item_list_content_types_item_column_links_column_link_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of columns that are required by this content type @@ -134,7 +134,7 @@ func (m *ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columnLinks in drives @@ -147,7 +147,7 @@ func (m *ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_content_types_item_column_links_request_builder.go b/drives/item_list_content_types_item_column_links_request_builder.go index 6de0dec60bd..74b46a1b4fd 100644 --- a/drives/item_list_content_types_item_column_links_request_builder.go +++ b/drives/item_list_content_types_item_column_links_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListContentTypesItemColumnLinksRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to columnLinks for drives @@ -138,7 +138,7 @@ func (m *ItemListContentTypesItemColumnLinksRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_content_types_item_column_positions_column_definition_item_request_builder.go b/drives/item_list_content_types_item_column_positions_column_definition_item_request_builder.go index 299e134a077..2406fc0d2ea 100644 --- a/drives/item_list_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/drives/item_list_content_types_item_column_positions_column_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_content_types_item_column_positions_request_builder.go b/drives/item_list_content_types_item_column_positions_request_builder.go index 05e98213aa0..4e9857022ee 100644 --- a/drives/item_list_content_types_item_column_positions_request_builder.go +++ b/drives/item_list_content_types_item_column_positions_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemListContentTypesItemColumnPositionsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go b/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go index f4696f3d72c..37f5c5f558c 100644 --- a/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go +++ b/drives/item_list_content_types_item_columns_column_definition_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_content_types_item_columns_item_source_column_request_builder.go b/drives/item_list_content_types_item_columns_item_source_column_request_builder.go index c19bdbcd8da..51ea9b1c768 100644 --- a/drives/item_list_content_types_item_columns_item_source_column_request_builder.go +++ b/drives/item_list_content_types_item_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListContentTypesItemColumnsItemSourceColumnRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_content_types_item_columns_request_builder.go b/drives/item_list_content_types_item_columns_request_builder.go index b8db9e73758..c4e2a30f638 100644 --- a/drives/item_list_content_types_item_columns_request_builder.go +++ b/drives/item_list_content_types_item_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go b/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go index 99fafe9384c..553cbb8551f 100644 --- a/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go +++ b/drives/item_list_content_types_item_copy_to_default_content_location_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_content_types_item_is_published_request_builder.go b/drives/item_list_content_types_item_is_published_request_builder.go index 31b9955592e..80da25803ab 100644 --- a/drives/item_list_content_types_item_is_published_request_builder.go +++ b/drives/item_list_content_types_item_is_published_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemListContentTypesItemIsPublishedRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_content_types_item_publish_request_builder.go b/drives/item_list_content_types_item_publish_request_builder.go index bf2ad28fc5b..906d92599b3 100644 --- a/drives/item_list_content_types_item_publish_request_builder.go +++ b/drives/item_list_content_types_item_publish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListContentTypesItemPublishRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_content_types_item_unpublish_request_builder.go b/drives/item_list_content_types_item_unpublish_request_builder.go index 5ab18aac8e0..e19a2188bf1 100644 --- a/drives/item_list_content_types_item_unpublish_request_builder.go +++ b/drives/item_list_content_types_item_unpublish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListContentTypesItemUnpublishRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_content_types_request_builder.go b/drives/item_list_content_types_request_builder.go index c61c4c491a1..2b48cd1badc 100644 --- a/drives/item_list_content_types_request_builder.go +++ b/drives/item_list_content_types_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemListContentTypesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentTypes for drives @@ -153,7 +153,7 @@ func (m *ItemListContentTypesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_created_by_user_mailbox_settings_request_builder.go b/drives/item_list_created_by_user_mailbox_settings_request_builder.go index 367f52a0229..438d984f591 100644 --- a/drives/item_list_created_by_user_mailbox_settings_request_builder.go +++ b/drives/item_list_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_created_by_user_request_builder.go b/drives/item_list_created_by_user_request_builder.go index fd5c52d0645..ecf6a7b1fa4 100644 --- a/drives/item_list_created_by_user_request_builder.go +++ b/drives/item_list_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListCreatedByUserRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_created_by_user_service_provisioning_errors_request_builder.go b/drives/item_list_created_by_user_service_provisioning_errors_request_builder.go index fd8bc4fc062..1007df4f2a4 100644 --- a/drives/item_list_created_by_user_service_provisioning_errors_request_builder.go +++ b/drives/item_list_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl stri func (m *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_drive_request_builder.go b/drives/item_list_drive_request_builder.go index 16f356ead45..4c0482ffff2 100644 --- a/drives/item_list_drive_request_builder.go +++ b/drives/item_list_drive_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListDriveRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_delta_request_builder.go b/drives/item_list_items_delta_request_builder.go index f5d7dbee4a6..475d6f02b3f 100644 --- a/drives/item_list_items_delta_request_builder.go +++ b/drives/item_list_items_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemListItemsDeltaRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_delta_with_token_request_builder.go b/drives/item_list_items_delta_with_token_request_builder.go index c5d3ed3b401..43b64f382a2 100644 --- a/drives/item_list_items_delta_with_token_request_builder.go +++ b/drives/item_list_items_delta_with_token_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemListItemsDeltaWithTokenRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go b/drives/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go index 929afb72cf5..9eb65486508 100644 --- a/drives/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go +++ b/drives/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of recent activities that took place on this item. @@ -142,7 +142,7 @@ func (m *ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in drives @@ -155,7 +155,7 @@ func (m *ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go b/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go index cae5c815bda..c541d8301bf 100644 --- a/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go +++ b/drives/item_list_items_item_activities_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToPutReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_list_items_item_activities_item_drive_item_request_builder.go b/drives/item_list_items_item_activities_item_drive_item_request_builder.go index f59c2d80e0b..c4422972431 100644 --- a/drives/item_list_items_item_activities_item_drive_item_request_builder.go +++ b/drives/item_list_items_item_activities_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_activities_item_list_item_request_builder.go b/drives/item_list_items_item_activities_item_list_item_request_builder.go index 39fbccad50f..c74d6bcaf9f 100644 --- a/drives/item_list_items_item_activities_item_list_item_request_builder.go +++ b/drives/item_list_items_item_activities_item_list_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListItemsItemActivitiesItemListItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_activities_request_builder.go b/drives/item_list_items_item_activities_request_builder.go index f2e0f4a5c6a..2d6c8f77165 100644 --- a/drives/item_list_items_item_activities_request_builder.go +++ b/drives/item_list_items_item_activities_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListItemsItemActivitiesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for drives @@ -138,7 +138,7 @@ func (m *ItemListItemsItemActivitiesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_analytics_request_builder.go b/drives/item_list_items_item_analytics_request_builder.go index 58b06f928ae..daed0696bb4 100644 --- a/drives/item_list_items_item_analytics_request_builder.go +++ b/drives/item_list_items_item_analytics_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListItemsItemAnalyticsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_create_link_request_builder.go b/drives/item_list_items_item_create_link_request_builder.go index c586b59570d..251b267326b 100644 --- a/drives/item_list_items_item_create_link_request_builder.go +++ b/drives/item_list_items_item_create_link_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemListItemsItemCreateLinkRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_created_by_user_mailbox_settings_request_builder.go b/drives/item_list_items_item_created_by_user_mailbox_settings_request_builder.go index b96f0615f0d..ade17e9c0f2 100644 --- a/drives/item_list_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/drives/item_list_items_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_created_by_user_request_builder.go b/drives/item_list_items_item_created_by_user_request_builder.go index a673d2e3822..e4e53e49429 100644 --- a/drives/item_list_items_item_created_by_user_request_builder.go +++ b/drives/item_list_items_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListItemsItemCreatedByUserRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_created_by_user_service_provisioning_errors_request_builder.go b/drives/item_list_items_item_created_by_user_service_provisioning_errors_request_builder.go index e78e757bf38..0795e38aa0a 100644 --- a/drives/item_list_items_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/drives/item_list_items_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder(ra func (m *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go b/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go index 343bbd5803c..bfab905cb0a 100644 --- a/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property documentSetVersions in drives @@ -161,7 +161,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_document_set_versions_item_fields_request_builder.go b/drives/item_list_items_item_document_set_versions_item_fields_request_builder.go index 543acb6516d..a472857402f 100644 --- a/drives/item_list_items_item_document_set_versions_item_fields_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_item_fields_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of the fields and values for this version of the list item. @@ -134,7 +134,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fields in drives @@ -147,7 +147,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go b/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go index 26f7a031a8e..3d7dacbe54a 100644 --- a/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_item_restore_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_document_set_versions_request_builder.go b/drives/item_list_items_item_document_set_versions_request_builder.go index 2e940c8ac13..aef7d015507 100644 --- a/drives/item_list_items_item_document_set_versions_request_builder.go +++ b/drives/item_list_items_item_document_set_versions_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new version of a document set item in a list. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_drive_item_content_request_builder.go b/drives/item_list_items_item_drive_item_content_request_builder.go index 9a748e4cc26..8db540bf841 100644 --- a/drives/item_list_items_item_drive_item_content_request_builder.go +++ b/drives/item_list_items_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToPutRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_list_items_item_drive_item_request_builder.go b/drives/item_list_items_item_drive_item_request_builder.go index 6e35b3a2df5..35b9a89d0ff 100644 --- a/drives/item_list_items_item_drive_item_request_builder.go +++ b/drives/item_list_items_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemListItemsItemDriveItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_fields_request_builder.go b/drives/item_list_items_item_fields_request_builder.go index 0dd3e7c1a80..59c33e6c658 100644 --- a/drives/item_list_items_item_fields_request_builder.go +++ b/drives/item_list_items_item_fields_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemListItemsItemFieldsRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the values of the columns set on this list item. @@ -137,7 +137,7 @@ func (m *ItemListItemsItemFieldsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties on a listItem][]. This API is available in the following [national cloud deployments. @@ -150,7 +150,7 @@ func (m *ItemListItemsItemFieldsRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/drives/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 31952e2b38f..a1896a0ec25 100644 --- a/drives/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/drives/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemListItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTim requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/drives/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go index 6205e538e07..d679caa8bc3 100644 --- a/drives/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/drives/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_last_modified_by_user_request_builder.go b/drives/item_list_items_item_last_modified_by_user_request_builder.go index 5a902c1d862..c1c879e257d 100644 --- a/drives/item_list_items_item_last_modified_by_user_request_builder.go +++ b/drives/item_list_items_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListItemsItemLastModifiedByUserRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/drives/item_list_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go index 5175d5664a8..ffbe3c095a9 100644 --- a/drives/item_list_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/drives/item_list_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuild func (m *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_versions_item_fields_request_builder.go b/drives/item_list_items_item_versions_item_fields_request_builder.go index 83b1e0fce0a..6ed6beefbec 100644 --- a/drives/item_list_items_item_versions_item_fields_request_builder.go +++ b/drives/item_list_items_item_versions_item_fields_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListItemsItemVersionsItemFieldsRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of the fields and values for this version of the list item. @@ -134,7 +134,7 @@ func (m *ItemListItemsItemVersionsItemFieldsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fields in drives @@ -147,7 +147,7 @@ func (m *ItemListItemsItemVersionsItemFieldsRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_versions_item_restore_version_request_builder.go b/drives/item_list_items_item_versions_item_restore_version_request_builder.go index 68692975d11..14b69e98428 100644 --- a/drives/item_list_items_item_versions_item_restore_version_request_builder.go +++ b/drives/item_list_items_item_versions_item_restore_version_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemListItemsItemVersionsItemRestoreVersionRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_items_item_versions_list_item_version_item_request_builder.go b/drives/item_list_items_item_versions_list_item_version_item_request_builder.go index fbfc481275b..b0243699ba7 100644 --- a/drives/item_list_items_item_versions_list_item_version_item_request_builder.go +++ b/drives/item_list_items_item_versions_list_item_version_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemListItemsItemVersionsListItemVersionItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of previous versions of the list item. @@ -142,7 +142,7 @@ func (m *ItemListItemsItemVersionsListItemVersionItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property versions in drives @@ -155,7 +155,7 @@ func (m *ItemListItemsItemVersionsListItemVersionItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_item_versions_request_builder.go b/drives/item_list_items_item_versions_request_builder.go index 949e385574e..2f05a7b10a7 100644 --- a/drives/item_list_items_item_versions_request_builder.go +++ b/drives/item_list_items_item_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListItemsItemVersionsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to versions for drives @@ -138,7 +138,7 @@ func (m *ItemListItemsItemVersionsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_list_item_item_request_builder.go b/drives/item_list_items_list_item_item_request_builder.go index b172bab0cd6..8f367504540 100644 --- a/drives/item_list_items_list_item_item_request_builder.go +++ b/drives/item_list_items_list_item_item_request_builder.go @@ -160,7 +160,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. @@ -176,7 +176,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property items in drives @@ -189,7 +189,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_items_request_builder.go b/drives/item_list_items_request_builder.go index ad8664e9d74..d16beee9605 100644 --- a/drives/item_list_items_request_builder.go +++ b/drives/item_list_items_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemListItemsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. @@ -150,7 +150,7 @@ func (m *ItemListItemsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_last_modified_by_user_mailbox_settings_request_builder.go b/drives/item_list_last_modified_by_user_mailbox_settings_request_builder.go index f7976441daf..580328d67c8 100644 --- a/drives/item_list_last_modified_by_user_mailbox_settings_request_builder.go +++ b/drives/item_list_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_last_modified_by_user_request_builder.go b/drives/item_list_last_modified_by_user_request_builder.go index 80f461e25ba..bf3394dfa5a 100644 --- a/drives/item_list_last_modified_by_user_request_builder.go +++ b/drives/item_list_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListLastModifiedByUserRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_last_modified_by_user_service_provisioning_errors_request_builder.go b/drives/item_list_last_modified_by_user_service_provisioning_errors_request_builder.go index a4ccfb9f3c7..0d04ae97d15 100644 --- a/drives/item_list_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/drives/item_list_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl func (m *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_operations_request_builder.go b/drives/item_list_operations_request_builder.go index e2108840c87..a69de238636 100644 --- a/drives/item_list_operations_request_builder.go +++ b/drives/item_list_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListOperationsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for drives @@ -138,7 +138,7 @@ func (m *ItemListOperationsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_operations_rich_long_running_operation_item_request_builder.go b/drives/item_list_operations_rich_long_running_operation_item_request_builder.go index 837316876b8..8606db54263 100644 --- a/drives/item_list_operations_rich_long_running_operation_item_request_builder.go +++ b/drives/item_list_operations_rich_long_running_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListOperationsRichLongRunningOperationItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of long-running operations on the list. @@ -134,7 +134,7 @@ func (m *ItemListOperationsRichLongRunningOperationItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in drives @@ -147,7 +147,7 @@ func (m *ItemListOperationsRichLongRunningOperationItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_request_builder.go b/drives/item_list_request_builder.go index d4874a051f3..40d5c1334c5 100644 --- a/drives/item_list_request_builder.go +++ b/drives/item_list_request_builder.go @@ -154,7 +154,7 @@ func (m *ItemListRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation for drives in SharePoint, the underlying document library list. Read-only. Nullable. @@ -170,7 +170,7 @@ func (m *ItemListRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property list in drives @@ -183,7 +183,7 @@ func (m *ItemListRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_subscriptions_item_reauthorize_request_builder.go b/drives/item_list_subscriptions_item_reauthorize_request_builder.go index 82d4e469a8a..771620ad111 100644 --- a/drives/item_list_subscriptions_item_reauthorize_request_builder.go +++ b/drives/item_list_subscriptions_item_reauthorize_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListSubscriptionsItemReauthorizeRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_list_subscriptions_request_builder.go b/drives/item_list_subscriptions_request_builder.go index 4abbfff9c43..5dba2c18c6d 100644 --- a/drives/item_list_subscriptions_request_builder.go +++ b/drives/item_list_subscriptions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListSubscriptionsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to subscriptions for drives @@ -138,7 +138,7 @@ func (m *ItemListSubscriptionsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_list_subscriptions_subscription_item_request_builder.go b/drives/item_list_subscriptions_subscription_item_request_builder.go index 5181a5326e6..efc583130cc 100644 --- a/drives/item_list_subscriptions_subscription_item_request_builder.go +++ b/drives/item_list_subscriptions_subscription_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemListSubscriptionsSubscriptionItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the set of subscriptions on the list. @@ -138,7 +138,7 @@ func (m *ItemListSubscriptionsSubscriptionItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subscriptions in drives @@ -151,7 +151,7 @@ func (m *ItemListSubscriptionsSubscriptionItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/drives/item_recent_request_builder.go b/drives/item_recent_request_builder.go index 34d32b795ec..4e757d0e7f0 100644 --- a/drives/item_recent_request_builder.go +++ b/drives/item_recent_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemRecentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_root_content_request_builder.go b/drives/item_root_content_request_builder.go index b53269b864d..b6c2cb4f0ad 100644 --- a/drives/item_root_content_request_builder.go +++ b/drives/item_root_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemRootContentRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *ItemRootContentRequestBuilder) ToPutRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_root_request_builder.go b/drives/item_root_request_builder.go index 413e25909de..71972129071 100644 --- a/drives/item_root_request_builder.go +++ b/drives/item_root_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemRootRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_search_with_q_request_builder.go b/drives/item_search_with_q_request_builder.go index 1c1891bc9bf..b0b9a030bfa 100644 --- a/drives/item_search_with_q_request_builder.go +++ b/drives/item_search_with_q_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemSearchWithQRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_shared_with_me_request_builder.go b/drives/item_shared_with_me_request_builder.go index 59d265358a5..91daa14bcd2 100644 --- a/drives/item_shared_with_me_request_builder.go +++ b/drives/item_shared_with_me_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSharedWithMeRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_special_drive_item_item_request_builder.go b/drives/item_special_drive_item_item_request_builder.go index 055627cf9b0..61f17e9c352 100644 --- a/drives/item_special_drive_item_item_request_builder.go +++ b/drives/item_special_drive_item_item_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemSpecialDriveItemItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/drives/item_special_item_content_request_builder.go b/drives/item_special_item_content_request_builder.go index 29aa9327cd7..e43bbde82af 100644 --- a/drives/item_special_item_content_request_builder.go +++ b/drives/item_special_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemSpecialItemContentRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemSpecialItemContentRequestBuilder) ToPutRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/drives/item_special_request_builder.go b/drives/item_special_request_builder.go index 1a0bcefd965..376379a26d9 100644 --- a/drives/item_special_request_builder.go +++ b/drives/item_special_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemSpecialRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_delta_request_builder.go b/education/classes_delta_request_builder.go index 404d508cf30..e04693b62f2 100644 --- a/education/classes_delta_request_builder.go +++ b/education/classes_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ClassesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_education_class_item_request_builder.go b/education/classes_education_class_item_request_builder.go index b7e91906888..8774bc51b8f 100644 --- a/education/classes_education_class_item_request_builder.go +++ b/education/classes_education_class_item_request_builder.go @@ -163,7 +163,7 @@ func (m *ClassesEducationClassItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -179,7 +179,7 @@ func (m *ClassesEducationClassItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a class. This API is available in the following national cloud deployments. @@ -192,7 +192,7 @@ func (m *ClassesEducationClassItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignment_categories_delta_request_builder.go b/education/classes_item_assignment_categories_delta_request_builder.go index ac3e08a358b..287b7dab458 100644 --- a/education/classes_item_assignment_categories_delta_request_builder.go +++ b/education/classes_item_assignment_categories_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ClassesItemAssignmentCategoriesDeltaRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignment_categories_education_category_item_request_builder.go b/education/classes_item_assignment_categories_education_category_item_request_builder.go index 736a769c03d..f755fcb27b8 100644 --- a/education/classes_item_assignment_categories_education_category_item_request_builder.go +++ b/education/classes_item_assignment_categories_education_category_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignmentCategories in education @@ -153,7 +153,7 @@ func (m *ClassesItemAssignmentCategoriesEducationCategoryItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignment_categories_request_builder.go b/education/classes_item_assignment_categories_request_builder.go index a106794451c..5d5c40d17e8 100644 --- a/education/classes_item_assignment_categories_request_builder.go +++ b/education/classes_item_assignment_categories_request_builder.go @@ -135,7 +135,7 @@ func (m *ClassesItemAssignmentCategoriesRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new educationCategory on an educationClass. Only teachers can perform this operation. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ClassesItemAssignmentCategoriesRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignment_defaults_request_builder.go b/education/classes_item_assignment_defaults_request_builder.go index b17cfd1f8fa..58e980b4199 100644 --- a/education/classes_item_assignment_defaults_request_builder.go +++ b/education/classes_item_assignment_defaults_request_builder.go @@ -124,7 +124,7 @@ func (m *ClassesItemAssignmentDefaultsRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ClassesItemAssignmentDefaultsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ClassesItemAssignmentDefaultsRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go b/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go index 2d08e341180..16d791f7568 100644 --- a/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go +++ b/education/classes_item_assignment_settings_grading_categories_education_grading_category_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get gradingCategories from education @@ -134,7 +134,7 @@ func (m *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property gradingCategories in education @@ -147,7 +147,7 @@ func (m *ClassesItemAssignmentSettingsGradingCategoriesEducationGradingCategoryI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignment_settings_grading_categories_request_builder.go b/education/classes_item_assignment_settings_grading_categories_request_builder.go index 44381fdef22..aa57f422a42 100644 --- a/education/classes_item_assignment_settings_grading_categories_request_builder.go +++ b/education/classes_item_assignment_settings_grading_categories_request_builder.go @@ -128,7 +128,7 @@ func (m *ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to gradingCategories for education @@ -141,7 +141,7 @@ func (m *ClassesItemAssignmentSettingsGradingCategoriesRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignment_settings_request_builder.go b/education/classes_item_assignment_settings_request_builder.go index a6689ba8aff..2badd61ccf9 100644 --- a/education/classes_item_assignment_settings_request_builder.go +++ b/education/classes_item_assignment_settings_request_builder.go @@ -128,7 +128,7 @@ func (m *ClassesItemAssignmentSettingsRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ClassesItemAssignmentSettingsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an educationAssignmentSettings object. Only teachers can update these settings. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ClassesItemAssignmentSettingsRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_delta_request_builder.go b/education/classes_item_assignments_delta_request_builder.go index 4084dace1d4..c34ab264788 100644 --- a/education/classes_item_assignments_delta_request_builder.go +++ b/education/classes_item_assignments_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ClassesItemAssignmentsDeltaRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_education_assignment_item_request_builder.go b/education/classes_item_assignments_education_assignment_item_request_builder.go index bcf5516c840..e5f1b532dd9 100644 --- a/education/classes_item_assignments_education_assignment_item_request_builder.go +++ b/education/classes_item_assignments_education_assignment_item_request_builder.go @@ -167,7 +167,7 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -183,7 +183,7 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -196,7 +196,7 @@ func (m *ClassesItemAssignmentsEducationAssignmentItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_activate_request_builder.go b/education/classes_item_assignments_item_activate_request_builder.go index 53df172f3d2..bef036d2747 100644 --- a/education/classes_item_assignments_item_activate_request_builder.go +++ b/education/classes_item_assignments_item_activate_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemAssignmentsItemActivateRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_categories_delta_request_builder.go b/education/classes_item_assignments_item_categories_delta_request_builder.go index 0024a854992..1946254a5af 100644 --- a/education/classes_item_assignments_item_categories_delta_request_builder.go +++ b/education/classes_item_assignments_item_categories_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ClassesItemAssignmentsItemCategoriesDeltaRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_categories_item_ref_request_builder.go b/education/classes_item_assignments_item_categories_item_ref_request_builder.go index 09df07d62a9..2f5739bc756 100644 --- a/education/classes_item_assignments_item_categories_item_ref_request_builder.go +++ b/education/classes_item_assignments_item_categories_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *ClassesItemAssignmentsItemCategoriesItemRefRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_categories_ref_request_builder.go b/education/classes_item_assignments_item_categories_ref_request_builder.go index 4d99a145dbc..ecbd53079f3 100644 --- a/education/classes_item_assignments_item_categories_ref_request_builder.go +++ b/education/classes_item_assignments_item_categories_ref_request_builder.go @@ -106,7 +106,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to categories for education @@ -119,7 +119,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRefRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_categories_request_builder.go b/education/classes_item_assignments_item_categories_request_builder.go index 9a8b7fab802..42f20dc982e 100644 --- a/education/classes_item_assignments_item_categories_request_builder.go +++ b/education/classes_item_assignments_item_categories_request_builder.go @@ -136,7 +136,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to categories for education @@ -149,7 +149,7 @@ func (m *ClassesItemAssignmentsItemCategoriesRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_deactivate_request_builder.go b/education/classes_item_assignments_item_deactivate_request_builder.go index bc14d894a92..0448b939156 100644 --- a/education/classes_item_assignments_item_deactivate_request_builder.go +++ b/education/classes_item_assignments_item_deactivate_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemAssignmentsItemDeactivateRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_grading_category_request_builder.go b/education/classes_item_assignments_item_grading_category_request_builder.go index 4a139612f37..60e7aa3d40b 100644 --- a/education/classes_item_assignments_item_grading_category_request_builder.go +++ b/education/classes_item_assignments_item_grading_category_request_builder.go @@ -95,7 +95,7 @@ func (m *ClassesItemAssignmentsItemGradingCategoryRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get gradingCategory from education @@ -111,7 +111,7 @@ func (m *ClassesItemAssignmentsItemGradingCategoryRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_publish_request_builder.go b/education/classes_item_assignments_item_publish_request_builder.go index 2060e45f5a3..3ca4d7ff885 100644 --- a/education/classes_item_assignments_item_publish_request_builder.go +++ b/education/classes_item_assignments_item_publish_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemAssignmentsItemPublishRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go b/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go index ed63bd450b5..247a08251a9 100644 --- a/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -128,7 +128,7 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in education @@ -157,7 +157,7 @@ func (m *ClassesItemAssignmentsItemResourcesEducationAssignmentResourceItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go b/education/classes_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go index 9ee9086ae77..5ae119a0f6c 100644 --- a/education/classes_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssig requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dependentResources from education @@ -134,7 +134,7 @@ func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssig requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dependentResources in education @@ -147,7 +147,7 @@ func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesEducationAssig requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go b/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go index 0ac7d274871..23f9384afb5 100644 --- a/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go +++ b/education/classes_item_assignments_item_resources_item_dependent_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dependentResources for education @@ -138,7 +138,7 @@ func (m *ClassesItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_resources_request_builder.go b/education/classes_item_assignments_item_resources_request_builder.go index bb5dd587b4e..731a22e65fa 100644 --- a/education/classes_item_assignments_item_resources_request_builder.go +++ b/education/classes_item_assignments_item_resources_request_builder.go @@ -131,7 +131,7 @@ func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ClassesItemAssignmentsItemResourcesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_rubric_ref_request_builder.go b/education/classes_item_assignments_item_rubric_ref_request_builder.go index 8ffdf4979b2..d9e082b043f 100644 --- a/education/classes_item_assignments_item_rubric_ref_request_builder.go +++ b/education/classes_item_assignments_item_rubric_ref_request_builder.go @@ -115,7 +115,7 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -128,7 +128,7 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ClassesItemAssignmentsItemRubricRefRequestBuilder) ToPutRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_rubric_request_builder.go b/education/classes_item_assignments_item_rubric_request_builder.go index 25117d4cbc5..37d1e95e658 100644 --- a/education/classes_item_assignments_item_rubric_request_builder.go +++ b/education/classes_item_assignments_item_rubric_request_builder.go @@ -131,7 +131,7 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -147,7 +147,7 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *ClassesItemAssignmentsItemRubricRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go b/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go index 7244a1ef8b7..928dfa9641c 100644 --- a/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go +++ b/education/classes_item_assignments_item_set_up_feedback_resources_folder_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go b/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go index 5638caf4dfd..aa2c48a8e52 100644 --- a/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go +++ b/education/classes_item_assignments_item_set_up_resources_folder_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemAssignmentsItemSetUpResourcesFolderRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go b/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go index 6fa1cc5e598..e4dd50432a1 100644 --- a/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_education_submission_item_request_builder.go @@ -149,7 +149,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -165,7 +165,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property submissions in education @@ -178,7 +178,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go index df932b042c1..fba7f52c24b 100644 --- a/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get outcomes from education @@ -140,7 +140,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go b/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go index 18636856157..b7c1d3b55e7 100644 --- a/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_outcomes_request_builder.go @@ -131,7 +131,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go b/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go index 8dbef582f64..c2337a427d1 100644 --- a/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_reassign_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemReassignRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index ae4b029c057..75aa7d1b516 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -128,7 +128,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in education @@ -157,7 +157,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go index 05896213917..8f02601c1d9 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dependentResources from education @@ -134,7 +134,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dependentResources in education @@ -147,7 +147,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go index 8573d629911..4eaba0065c1 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dependentResources for education @@ -138,7 +138,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesItemDependentResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_resources_request_builder.go b/education/classes_item_assignments_item_submissions_item_resources_request_builder.go index 07cdb3ab334..90b7d3b293f 100644 --- a/education/classes_item_assignments_item_submissions_item_resources_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_resources_request_builder.go @@ -131,7 +131,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_return_request_builder.go b/education/classes_item_assignments_item_submissions_item_return_request_builder.go index ed67dd29b72..57f0c5b9071 100644 --- a/education/classes_item_assignments_item_submissions_item_return_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_return_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemReturnRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go b/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go index 2f3e56b52d3..0ed83cedf0b 100644 --- a/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_submissions_item_submit_request_builder.go b/education/classes_item_assignments_item_submissions_item_submit_request_builder.go index 74a17701ae5..2e9ff977768 100644 --- a/education/classes_item_assignments_item_submissions_item_submit_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_submit_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmitRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go index ebe1a323ddd..97b371d3639 100644 --- a/education/classes_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSub requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get submittedResources from education @@ -138,7 +138,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSub requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property submittedResources in education @@ -151,7 +151,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSub requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go index 08288243867..485dcd7ab82 100644 --- a/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dependentResources from education @@ -134,7 +134,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dependentResources in education @@ -147,7 +147,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go b/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go index a74296e942d..897f17e1d9c 100644 --- a/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dependentResources for education @@ -138,7 +138,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_submitted_resources_request_builder.go b/education/classes_item_assignments_item_submissions_item_submitted_resources_request_builder.go index eec9bb46365..443da3c595e 100644 --- a/education/classes_item_assignments_item_submissions_item_submitted_resources_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_submitted_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to submittedResources for education @@ -138,7 +138,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go b/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go index d0c0754e923..2f3053fec01 100644 --- a/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go +++ b/education/classes_item_assignments_item_submissions_item_unsubmit_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_assignments_item_submissions_request_builder.go b/education/classes_item_assignments_item_submissions_request_builder.go index 510e0424f2d..efca1f7047c 100644 --- a/education/classes_item_assignments_item_submissions_request_builder.go +++ b/education/classes_item_assignments_item_submissions_request_builder.go @@ -11,7 +11,7 @@ import ( type ClassesItemAssignmentsItemSubmissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ClassesItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters 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. +// ClassesItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters 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. This API is available in the following national cloud deployments. type ClassesItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewClassesItemAssignmentsItemSubmissionsRequestBuilder(rawUrl string, reque func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) Count()(*ClassesItemAssignmentsItemSubmissionsCountRequestBuilder) { return NewClassesItemAssignmentsItemSubmissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. +// Get 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. This API is available in the following national cloud deployments. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0 @@ -115,7 +115,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation 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. This API is available in the following national cloud deployments. func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ClassesItemAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -128,7 +128,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to submissions for education @@ -141,7 +141,7 @@ func (m *ClassesItemAssignmentsItemSubmissionsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_assignments_request_builder.go b/education/classes_item_assignments_request_builder.go index 2984cd806c2..c11f6b70bf6 100644 --- a/education/classes_item_assignments_request_builder.go +++ b/education/classes_item_assignments_request_builder.go @@ -135,7 +135,7 @@ func (m *ClassesItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ClassesItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_group_request_builder.go b/education/classes_item_group_request_builder.go index 3928dd81c17..b220ba80c9e 100644 --- a/education/classes_item_group_request_builder.go +++ b/education/classes_item_group_request_builder.go @@ -79,7 +79,7 @@ func (m *ClassesItemGroupRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_group_service_provisioning_errors_request_builder.go b/education/classes_item_group_service_provisioning_errors_request_builder.go index 7f70dd20da9..7d1138a8086 100644 --- a/education/classes_item_group_service_provisioning_errors_request_builder.go +++ b/education/classes_item_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *ClassesItemGroupServiceProvisioningErrorsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_members_item_ref_request_builder.go b/education/classes_item_members_item_ref_request_builder.go index e50a2a4484b..f201d21cc84 100644 --- a/education/classes_item_members_item_ref_request_builder.go +++ b/education/classes_item_members_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ClassesItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_members_ref_request_builder.go b/education/classes_item_members_ref_request_builder.go index 3c57700f3ab..8df81e11fb0 100644 --- a/education/classes_item_members_ref_request_builder.go +++ b/education/classes_item_members_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ClassesItemMembersRefRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add an educationUser member to an educationClass. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *ClassesItemMembersRefRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_members_request_builder.go b/education/classes_item_members_request_builder.go index 272d4325f16..cfddb386e35 100644 --- a/education/classes_item_members_request_builder.go +++ b/education/classes_item_members_request_builder.go @@ -106,7 +106,7 @@ func (m *ClassesItemMembersRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_modules_education_module_item_request_builder.go b/education/classes_item_modules_education_module_item_request_builder.go index e3375cf91c5..d56d46cf857 100644 --- a/education/classes_item_modules_education_module_item_request_builder.go +++ b/education/classes_item_modules_education_module_item_request_builder.go @@ -143,7 +143,7 @@ func (m *ClassesItemModulesEducationModuleItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -159,7 +159,7 @@ func (m *ClassesItemModulesEducationModuleItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -172,7 +172,7 @@ func (m *ClassesItemModulesEducationModuleItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_modules_item_pin_request_builder.go b/education/classes_item_modules_item_pin_request_builder.go index 83de2156e1a..4fd06c93e99 100644 --- a/education/classes_item_modules_item_pin_request_builder.go +++ b/education/classes_item_modules_item_pin_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemModulesItemPinRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_modules_item_publish_request_builder.go b/education/classes_item_modules_item_publish_request_builder.go index 3d66d01ab46..4b7b943484f 100644 --- a/education/classes_item_modules_item_publish_request_builder.go +++ b/education/classes_item_modules_item_publish_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemModulesItemPublishRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go b/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go index 643ceecf0fa..a8dbbdee9f5 100644 --- a/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go +++ b/education/classes_item_modules_item_resources_education_module_resource_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *ClassesItemModulesItemResourcesEducationModuleResourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_modules_item_resources_request_builder.go b/education/classes_item_modules_item_resources_request_builder.go index c8addf638e0..d784455edce 100644 --- a/education/classes_item_modules_item_resources_request_builder.go +++ b/education/classes_item_modules_item_resources_request_builder.go @@ -131,7 +131,7 @@ func (m *ClassesItemModulesItemResourcesRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ClassesItemModulesItemResourcesRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_modules_item_set_up_resources_folder_request_builder.go b/education/classes_item_modules_item_set_up_resources_folder_request_builder.go index 984163da2c5..8c39eb8ade9 100644 --- a/education/classes_item_modules_item_set_up_resources_folder_request_builder.go +++ b/education/classes_item_modules_item_set_up_resources_folder_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemModulesItemSetUpResourcesFolderRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_modules_item_unpin_request_builder.go b/education/classes_item_modules_item_unpin_request_builder.go index 3cc5ad2df33..38abf5e9df6 100644 --- a/education/classes_item_modules_item_unpin_request_builder.go +++ b/education/classes_item_modules_item_unpin_request_builder.go @@ -63,7 +63,7 @@ func (m *ClassesItemModulesItemUnpinRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_modules_request_builder.go b/education/classes_item_modules_request_builder.go index 4f85fb93435..8aeced1a890 100644 --- a/education/classes_item_modules_request_builder.go +++ b/education/classes_item_modules_request_builder.go @@ -131,7 +131,7 @@ func (m *ClassesItemModulesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ClassesItemModulesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_schools_education_school_item_request_builder.go b/education/classes_item_schools_education_school_item_request_builder.go index 7ea9780e495..a8a0237e209 100644 --- a/education/classes_item_schools_education_school_item_request_builder.go +++ b/education/classes_item_schools_education_school_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ClassesItemSchoolsEducationSchoolItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_schools_request_builder.go b/education/classes_item_schools_request_builder.go index aec92a4331b..fe8a06b6d8f 100644 --- a/education/classes_item_schools_request_builder.go +++ b/education/classes_item_schools_request_builder.go @@ -102,7 +102,7 @@ func (m *ClassesItemSchoolsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_teachers_item_ref_request_builder.go b/education/classes_item_teachers_item_ref_request_builder.go index d7aea092fe0..d97bc2c7359 100644 --- a/education/classes_item_teachers_item_ref_request_builder.go +++ b/education/classes_item_teachers_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ClassesItemTeachersItemRefRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_item_teachers_ref_request_builder.go b/education/classes_item_teachers_ref_request_builder.go index 3e66a3c5161..425db687a81 100644 --- a/education/classes_item_teachers_ref_request_builder.go +++ b/education/classes_item_teachers_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ClassesItemTeachersRefRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a teacher to a class. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *ClassesItemTeachersRefRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/classes_item_teachers_request_builder.go b/education/classes_item_teachers_request_builder.go index 7d34ae674b4..56f707cc1b5 100644 --- a/education/classes_item_teachers_request_builder.go +++ b/education/classes_item_teachers_request_builder.go @@ -106,7 +106,7 @@ func (m *ClassesItemTeachersRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/classes_request_builder.go b/education/classes_request_builder.go index 2e85da5ae2a..9279e114301 100644 --- a/education/classes_request_builder.go +++ b/education/classes_request_builder.go @@ -135,7 +135,7 @@ func (m *ClassesRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ClassesRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/education_request_builder.go b/education/education_request_builder.go index 9d3efb9f215..1db4b99c947 100644 --- a/education/education_request_builder.go +++ b/education/education_request_builder.go @@ -114,7 +114,7 @@ func (m *EducationRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update education @@ -127,7 +127,7 @@ func (m *EducationRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_delta_request_builder.go b/education/me_assignments_delta_request_builder.go index 1d4a27c04be..4073643c5b6 100644 --- a/education/me_assignments_delta_request_builder.go +++ b/education/me_assignments_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *MeAssignmentsDeltaRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_education_assignment_item_request_builder.go b/education/me_assignments_education_assignment_item_request_builder.go index 32d4cf47e8d..f63989d053e 100644 --- a/education/me_assignments_education_assignment_item_request_builder.go +++ b/education/me_assignments_education_assignment_item_request_builder.go @@ -158,7 +158,7 @@ func (m *MeAssignmentsEducationAssignmentItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of assignments for the user. Nullable. @@ -174,7 +174,7 @@ func (m *MeAssignmentsEducationAssignmentItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in education @@ -187,7 +187,7 @@ func (m *MeAssignmentsEducationAssignmentItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_activate_request_builder.go b/education/me_assignments_item_activate_request_builder.go index d61dd57ac7c..befbcd02173 100644 --- a/education/me_assignments_item_activate_request_builder.go +++ b/education/me_assignments_item_activate_request_builder.go @@ -63,7 +63,7 @@ func (m *MeAssignmentsItemActivateRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_categories_delta_request_builder.go b/education/me_assignments_item_categories_delta_request_builder.go index e3a2cb6edc9..8b753334d36 100644 --- a/education/me_assignments_item_categories_delta_request_builder.go +++ b/education/me_assignments_item_categories_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *MeAssignmentsItemCategoriesDeltaRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_categories_item_ref_request_builder.go b/education/me_assignments_item_categories_item_ref_request_builder.go index f3accb7a78e..8605f74f4e7 100644 --- a/education/me_assignments_item_categories_item_ref_request_builder.go +++ b/education/me_assignments_item_categories_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *MeAssignmentsItemCategoriesItemRefRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_categories_ref_request_builder.go b/education/me_assignments_item_categories_ref_request_builder.go index dae7d5b7b7d..20e74c9acb4 100644 --- a/education/me_assignments_item_categories_ref_request_builder.go +++ b/education/me_assignments_item_categories_ref_request_builder.go @@ -106,7 +106,7 @@ func (m *MeAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to categories for education @@ -119,7 +119,7 @@ func (m *MeAssignmentsItemCategoriesRefRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_categories_request_builder.go b/education/me_assignments_item_categories_request_builder.go index 22e0ca2d3ef..4b0757e5d83 100644 --- a/education/me_assignments_item_categories_request_builder.go +++ b/education/me_assignments_item_categories_request_builder.go @@ -136,7 +136,7 @@ func (m *MeAssignmentsItemCategoriesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to categories for education @@ -149,7 +149,7 @@ func (m *MeAssignmentsItemCategoriesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_deactivate_request_builder.go b/education/me_assignments_item_deactivate_request_builder.go index 662a21e4e9e..86cc2996ab6 100644 --- a/education/me_assignments_item_deactivate_request_builder.go +++ b/education/me_assignments_item_deactivate_request_builder.go @@ -63,7 +63,7 @@ func (m *MeAssignmentsItemDeactivateRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_grading_category_request_builder.go b/education/me_assignments_item_grading_category_request_builder.go index 21d2c99544e..fd2a145480e 100644 --- a/education/me_assignments_item_grading_category_request_builder.go +++ b/education/me_assignments_item_grading_category_request_builder.go @@ -95,7 +95,7 @@ func (m *MeAssignmentsItemGradingCategoryRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get gradingCategory from education @@ -111,7 +111,7 @@ func (m *MeAssignmentsItemGradingCategoryRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_publish_request_builder.go b/education/me_assignments_item_publish_request_builder.go index 6a08dd9e406..2b26e5e46fd 100644 --- a/education/me_assignments_item_publish_request_builder.go +++ b/education/me_assignments_item_publish_request_builder.go @@ -63,7 +63,7 @@ func (m *MeAssignmentsItemPublishRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go b/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go index 9925664d226..b72be9f1c35 100644 --- a/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/education/me_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -128,7 +128,7 @@ func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in education @@ -157,7 +157,7 @@ func (m *MeAssignmentsItemResourcesEducationAssignmentResourceItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go b/education/me_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go index 5f77dd6bd7c..0770d94e626 100644 --- a/education/me_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go +++ b/education/me_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentReso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dependentResources from education @@ -134,7 +134,7 @@ func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentReso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dependentResources in education @@ -147,7 +147,7 @@ func (m *MeAssignmentsItemResourcesItemDependentResourcesEducationAssignmentReso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_resources_item_dependent_resources_request_builder.go b/education/me_assignments_item_resources_item_dependent_resources_request_builder.go index a9e396f5e7d..270254b19b5 100644 --- a/education/me_assignments_item_resources_item_dependent_resources_request_builder.go +++ b/education/me_assignments_item_resources_item_dependent_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dependentResources for education @@ -138,7 +138,7 @@ func (m *MeAssignmentsItemResourcesItemDependentResourcesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_resources_request_builder.go b/education/me_assignments_item_resources_request_builder.go index 8ea3e9e436d..1f56aa7eb9a 100644 --- a/education/me_assignments_item_resources_request_builder.go +++ b/education/me_assignments_item_resources_request_builder.go @@ -131,7 +131,7 @@ func (m *MeAssignmentsItemResourcesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *MeAssignmentsItemResourcesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_rubric_ref_request_builder.go b/education/me_assignments_item_rubric_ref_request_builder.go index ee6d8ac2555..a4e63f110b2 100644 --- a/education/me_assignments_item_rubric_ref_request_builder.go +++ b/education/me_assignments_item_rubric_ref_request_builder.go @@ -115,7 +115,7 @@ func (m *MeAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -128,7 +128,7 @@ func (m *MeAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *MeAssignmentsItemRubricRefRequestBuilder) ToPutRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_rubric_request_builder.go b/education/me_assignments_item_rubric_request_builder.go index b7bf11088b0..08be693d915 100644 --- a/education/me_assignments_item_rubric_request_builder.go +++ b/education/me_assignments_item_rubric_request_builder.go @@ -131,7 +131,7 @@ func (m *MeAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -147,7 +147,7 @@ func (m *MeAssignmentsItemRubricRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *MeAssignmentsItemRubricRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go b/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go index 58ecd3a1331..1e61a1b2285 100644 --- a/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go +++ b/education/me_assignments_item_set_up_feedback_resources_folder_request_builder.go @@ -63,7 +63,7 @@ func (m *MeAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_set_up_resources_folder_request_builder.go b/education/me_assignments_item_set_up_resources_folder_request_builder.go index 621444998fb..1ae06642f3e 100644 --- a/education/me_assignments_item_set_up_resources_folder_request_builder.go +++ b/education/me_assignments_item_set_up_resources_folder_request_builder.go @@ -63,7 +63,7 @@ func (m *MeAssignmentsItemSetUpResourcesFolderRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_submissions_education_submission_item_request_builder.go b/education/me_assignments_item_submissions_education_submission_item_request_builder.go index a0638d3284c..68019ffc67e 100644 --- a/education/me_assignments_item_submissions_education_submission_item_request_builder.go +++ b/education/me_assignments_item_submissions_education_submission_item_request_builder.go @@ -149,7 +149,7 @@ func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -165,7 +165,7 @@ func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property submissions in education @@ -178,7 +178,7 @@ func (m *MeAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go b/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go index 96911822bdf..9856f8f54f0 100644 --- a/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go +++ b/education/me_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go @@ -124,7 +124,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get outcomes from education @@ -140,7 +140,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_outcomes_request_builder.go b/education/me_assignments_item_submissions_item_outcomes_request_builder.go index 58173d319d8..900ff3a216b 100644 --- a/education/me_assignments_item_submissions_item_outcomes_request_builder.go +++ b/education/me_assignments_item_submissions_item_outcomes_request_builder.go @@ -131,7 +131,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *MeAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_reassign_request_builder.go b/education/me_assignments_item_submissions_item_reassign_request_builder.go index f77234325ae..78f47a3df15 100644 --- a/education/me_assignments_item_submissions_item_reassign_request_builder.go +++ b/education/me_assignments_item_submissions_item_reassign_request_builder.go @@ -63,7 +63,7 @@ func (m *MeAssignmentsItemSubmissionsItemReassignRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index a4accc700b5..272c101f071 100644 --- a/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/education/me_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -128,7 +128,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in education @@ -157,7 +157,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesEducationSubmissionResourceIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/me_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go index 5c2b736a5db..9c00dcdbb01 100644 --- a/education/me_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go +++ b/education/me_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dependentResources from education @@ -134,7 +134,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dependentResources in education @@ -147,7 +147,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesEducatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go b/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go index b9c12cd6165..e51c57125bd 100644 --- a/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go +++ b/education/me_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dependentResources for education @@ -138,7 +138,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesItemDependentResourcesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_resources_request_builder.go b/education/me_assignments_item_submissions_item_resources_request_builder.go index b75d6a543af..e350dda8436 100644 --- a/education/me_assignments_item_submissions_item_resources_request_builder.go +++ b/education/me_assignments_item_submissions_item_resources_request_builder.go @@ -131,7 +131,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *MeAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_return_request_builder.go b/education/me_assignments_item_submissions_item_return_request_builder.go index d06839babbf..35b19a68801 100644 --- a/education/me_assignments_item_submissions_item_return_request_builder.go +++ b/education/me_assignments_item_submissions_item_return_request_builder.go @@ -63,7 +63,7 @@ func (m *MeAssignmentsItemSubmissionsItemReturnRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go b/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go index e58352bb4bb..1ff69df36e2 100644 --- a/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go +++ b/education/me_assignments_item_submissions_item_set_up_resources_folder_request_builder.go @@ -63,7 +63,7 @@ func (m *MeAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_submissions_item_submit_request_builder.go b/education/me_assignments_item_submissions_item_submit_request_builder.go index ab68c63b719..5c7ee2a4fe9 100644 --- a/education/me_assignments_item_submissions_item_submit_request_builder.go +++ b/education/me_assignments_item_submissions_item_submit_request_builder.go @@ -63,7 +63,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmitRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go b/education/me_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go index c0fc676cd7b..ac8cdb700d9 100644 --- a/education/me_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go +++ b/education/me_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go @@ -122,7 +122,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get submittedResources from education @@ -138,7 +138,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property submittedResources in education @@ -151,7 +151,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmissionRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go index f0219b82b17..5c0ecbe64f8 100644 --- a/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go +++ b/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dependentResources from education @@ -134,7 +134,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dependentResources in education @@ -147,7 +147,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go b/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go index 6ae31a3ec52..7f42b7888fb 100644 --- a/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go +++ b/education/me_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dependentResources for education @@ -138,7 +138,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_submitted_resources_request_builder.go b/education/me_assignments_item_submissions_item_submitted_resources_request_builder.go index cabdebf5217..c9c6cfa6664 100644 --- a/education/me_assignments_item_submissions_item_submitted_resources_request_builder.go +++ b/education/me_assignments_item_submissions_item_submitted_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to submittedResources for education @@ -138,7 +138,7 @@ func (m *MeAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_item_submissions_item_unsubmit_request_builder.go b/education/me_assignments_item_submissions_item_unsubmit_request_builder.go index 956a0c46cc5..c28eedc02b1 100644 --- a/education/me_assignments_item_submissions_item_unsubmit_request_builder.go +++ b/education/me_assignments_item_submissions_item_unsubmit_request_builder.go @@ -63,7 +63,7 @@ func (m *MeAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_assignments_item_submissions_request_builder.go b/education/me_assignments_item_submissions_request_builder.go index 0e4e828fd38..cad7d9bbfa5 100644 --- a/education/me_assignments_item_submissions_request_builder.go +++ b/education/me_assignments_item_submissions_request_builder.go @@ -11,7 +11,7 @@ import ( type MeAssignmentsItemSubmissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeAssignmentsItemSubmissionsRequestBuilderGetQueryParameters 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. +// MeAssignmentsItemSubmissionsRequestBuilderGetQueryParameters 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. This API is available in the following national cloud deployments. type MeAssignmentsItemSubmissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewMeAssignmentsItemSubmissionsRequestBuilder(rawUrl string, requestAdapter func (m *MeAssignmentsItemSubmissionsRequestBuilder) Count()(*MeAssignmentsItemSubmissionsCountRequestBuilder) { return NewMeAssignmentsItemSubmissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. +// Get 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. This API is available in the following national cloud deployments. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0 @@ -115,7 +115,7 @@ func (m *MeAssignmentsItemSubmissionsRequestBuilder) Post(ctx context.Context, b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation 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. This API is available in the following national cloud deployments. func (m *MeAssignmentsItemSubmissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -128,7 +128,7 @@ func (m *MeAssignmentsItemSubmissionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to submissions for education @@ -141,7 +141,7 @@ func (m *MeAssignmentsItemSubmissionsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_assignments_request_builder.go b/education/me_assignments_request_builder.go index 95fcb6e10d6..cbc52be999e 100644 --- a/education/me_assignments_request_builder.go +++ b/education/me_assignments_request_builder.go @@ -132,7 +132,7 @@ func (m *MeAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for education @@ -145,7 +145,7 @@ func (m *MeAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_classes_education_class_item_request_builder.go b/education/me_classes_education_class_item_request_builder.go index f7ab1ae131f..1a7d3244f24 100644 --- a/education/me_classes_education_class_item_request_builder.go +++ b/education/me_classes_education_class_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MeClassesEducationClassItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_classes_request_builder.go b/education/me_classes_request_builder.go index ca70d75eeac..ef176808ae7 100644 --- a/education/me_classes_request_builder.go +++ b/education/me_classes_request_builder.go @@ -102,7 +102,7 @@ func (m *MeClassesRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_request_builder.go b/education/me_request_builder.go index 76f690e16e4..a4bb42c1d47 100644 --- a/education/me_request_builder.go +++ b/education/me_request_builder.go @@ -138,7 +138,7 @@ func (m *MeRequestBuilder) ToDeleteRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get me from education @@ -154,7 +154,7 @@ func (m *MeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property me in education @@ -167,7 +167,7 @@ func (m *MeRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_rubrics_education_rubric_item_request_builder.go b/education/me_rubrics_education_rubric_item_request_builder.go index 9b387a995d3..24f0f61a07a 100644 --- a/education/me_rubrics_education_rubric_item_request_builder.go +++ b/education/me_rubrics_education_rubric_item_request_builder.go @@ -127,7 +127,7 @@ func (m *MeRubricsEducationRubricItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *MeRubricsEducationRubricItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *MeRubricsEducationRubricItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_rubrics_request_builder.go b/education/me_rubrics_request_builder.go index 51692c33373..f88b616a2d5 100644 --- a/education/me_rubrics_request_builder.go +++ b/education/me_rubrics_request_builder.go @@ -131,7 +131,7 @@ func (m *MeRubricsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new educationRubric object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *MeRubricsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_schools_education_school_item_request_builder.go b/education/me_schools_education_school_item_request_builder.go index 53651aac583..7375c7f65c5 100644 --- a/education/me_schools_education_school_item_request_builder.go +++ b/education/me_schools_education_school_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MeSchoolsEducationSchoolItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_schools_request_builder.go b/education/me_schools_request_builder.go index 38e1f54386b..82d7b751047 100644 --- a/education/me_schools_request_builder.go +++ b/education/me_schools_request_builder.go @@ -102,7 +102,7 @@ func (m *MeSchoolsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_taught_classes_education_class_item_request_builder.go b/education/me_taught_classes_education_class_item_request_builder.go index 6d0a6a67882..e3b451844c6 100644 --- a/education/me_taught_classes_education_class_item_request_builder.go +++ b/education/me_taught_classes_education_class_item_request_builder.go @@ -72,7 +72,7 @@ func (m *MeTaughtClassesEducationClassItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_taught_classes_request_builder.go b/education/me_taught_classes_request_builder.go index 4a470ebc900..5cbaab58119 100644 --- a/education/me_taught_classes_request_builder.go +++ b/education/me_taught_classes_request_builder.go @@ -99,7 +99,7 @@ func (m *MeTaughtClassesRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_user_mailbox_settings_request_builder.go b/education/me_user_mailbox_settings_request_builder.go index fac75f65943..bb44da4ca57 100644 --- a/education/me_user_mailbox_settings_request_builder.go +++ b/education/me_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *MeUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *MeUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/me_user_request_builder.go b/education/me_user_request_builder.go index c38c5d28640..5c34ac862de 100644 --- a/education/me_user_request_builder.go +++ b/education/me_user_request_builder.go @@ -83,7 +83,7 @@ func (m *MeUserRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/me_user_service_provisioning_errors_request_builder.go b/education/me_user_service_provisioning_errors_request_builder.go index 3cd1d3f0d87..93e69b422cc 100644 --- a/education/me_user_service_provisioning_errors_request_builder.go +++ b/education/me_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type MeUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MeUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// MeUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type MeUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewMeUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdap func (m *MeUserServiceProvisioningErrorsRequestBuilder) Count()(*MeUserServiceProvisioningErrorsCountRequestBuilder) { return NewMeUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *MeUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *MeUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *MeUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *MeUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MeUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *MeUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/schools_delta_request_builder.go b/education/schools_delta_request_builder.go index f2a562f943a..d6d9a19ec6a 100644 --- a/education/schools_delta_request_builder.go +++ b/education/schools_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *SchoolsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/schools_education_school_item_request_builder.go b/education/schools_education_school_item_request_builder.go index 749c537c087..4350541c72b 100644 --- a/education/schools_education_school_item_request_builder.go +++ b/education/schools_education_school_item_request_builder.go @@ -135,7 +135,7 @@ func (m *SchoolsEducationSchoolItemRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of the school object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *SchoolsEducationSchoolItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a school object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *SchoolsEducationSchoolItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/schools_item_administrative_unit_request_builder.go b/education/schools_item_administrative_unit_request_builder.go index 3d2ce591c04..7de6855db5f 100644 --- a/education/schools_item_administrative_unit_request_builder.go +++ b/education/schools_item_administrative_unit_request_builder.go @@ -101,7 +101,7 @@ func (m *SchoolsItemAdministrativeUnitRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property administrativeUnit in education @@ -114,7 +114,7 @@ func (m *SchoolsItemAdministrativeUnitRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/schools_item_classes_item_ref_request_builder.go b/education/schools_item_classes_item_ref_request_builder.go index 84c8a687ce0..e20c6af72db 100644 --- a/education/schools_item_classes_item_ref_request_builder.go +++ b/education/schools_item_classes_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *SchoolsItemClassesItemRefRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/schools_item_classes_ref_request_builder.go b/education/schools_item_classes_ref_request_builder.go index 18061eb1794..ac4d5b57601 100644 --- a/education/schools_item_classes_ref_request_builder.go +++ b/education/schools_item_classes_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *SchoolsItemClassesRefRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a class to a school. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *SchoolsItemClassesRefRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/schools_item_classes_request_builder.go b/education/schools_item_classes_request_builder.go index 5877a574b05..b5a16526001 100644 --- a/education/schools_item_classes_request_builder.go +++ b/education/schools_item_classes_request_builder.go @@ -106,7 +106,7 @@ func (m *SchoolsItemClassesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/schools_item_users_item_ref_request_builder.go b/education/schools_item_users_item_ref_request_builder.go index 68409c4f736..c064463b2c1 100644 --- a/education/schools_item_users_item_ref_request_builder.go +++ b/education/schools_item_users_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *SchoolsItemUsersItemRefRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/schools_item_users_ref_request_builder.go b/education/schools_item_users_ref_request_builder.go index 766f4b19959..98644a4f21d 100644 --- a/education/schools_item_users_ref_request_builder.go +++ b/education/schools_item_users_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *SchoolsItemUsersRefRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a user to a school. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *SchoolsItemUsersRefRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/schools_item_users_request_builder.go b/education/schools_item_users_request_builder.go index 9f79a88e824..a972e34773a 100644 --- a/education/schools_item_users_request_builder.go +++ b/education/schools_item_users_request_builder.go @@ -106,7 +106,7 @@ func (m *SchoolsItemUsersRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/schools_request_builder.go b/education/schools_request_builder.go index 37bbe647b7e..7e3120abedc 100644 --- a/education/schools_request_builder.go +++ b/education/schools_request_builder.go @@ -135,7 +135,7 @@ func (m *SchoolsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a school. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *SchoolsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go b/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go index 5c9fb4c08c6..45b7943b7e0 100644 --- a/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go +++ b/education/synchronization_profiles_education_synchronization_profile_item_request_builder.go @@ -148,7 +148,7 @@ func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a school data synchronization profile in the tenant based on the identifier. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property synchronizationProfiles in education @@ -177,7 +177,7 @@ func (m *SynchronizationProfilesEducationSynchronizationProfileItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/synchronization_profiles_item_errors_education_synchronization_error_item_request_builder.go b/education/synchronization_profiles_item_errors_education_synchronization_error_item_request_builder.go index 7721808a229..d27c4448b00 100644 --- a/education/synchronization_profiles_item_errors_education_synchronization_error_item_request_builder.go +++ b/education/synchronization_profiles_item_errors_education_synchronization_error_item_request_builder.go @@ -118,7 +118,7 @@ func (m *SynchronizationProfilesItemErrorsEducationSynchronizationErrorItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation all errors associated with this synchronization profile. @@ -134,7 +134,7 @@ func (m *SynchronizationProfilesItemErrorsEducationSynchronizationErrorItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property errors in education @@ -147,7 +147,7 @@ func (m *SynchronizationProfilesItemErrorsEducationSynchronizationErrorItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/synchronization_profiles_item_errors_request_builder.go b/education/synchronization_profiles_item_errors_request_builder.go index f0ef980d596..e5a64e451f4 100644 --- a/education/synchronization_profiles_item_errors_request_builder.go +++ b/education/synchronization_profiles_item_errors_request_builder.go @@ -128,7 +128,7 @@ func (m *SynchronizationProfilesItemErrorsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to errors for education @@ -141,7 +141,7 @@ func (m *SynchronizationProfilesItemErrorsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/synchronization_profiles_item_pause_request_builder.go b/education/synchronization_profiles_item_pause_request_builder.go index 3904e9f2906..071a824feac 100644 --- a/education/synchronization_profiles_item_pause_request_builder.go +++ b/education/synchronization_profiles_item_pause_request_builder.go @@ -59,7 +59,7 @@ func (m *SynchronizationProfilesItemPauseRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/synchronization_profiles_item_profile_status_request_builder.go b/education/synchronization_profiles_item_profile_status_request_builder.go index 9bcff13cf88..c9eb6716518 100644 --- a/education/synchronization_profiles_item_profile_status_request_builder.go +++ b/education/synchronization_profiles_item_profile_status_request_builder.go @@ -121,7 +121,7 @@ func (m *SynchronizationProfilesItemProfileStatusRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *SynchronizationProfilesItemProfileStatusRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property profileStatus in education @@ -150,7 +150,7 @@ func (m *SynchronizationProfilesItemProfileStatusRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/synchronization_profiles_item_reset_request_builder.go b/education/synchronization_profiles_item_reset_request_builder.go index 844c4f727f4..ff4fbb77eae 100644 --- a/education/synchronization_profiles_item_reset_request_builder.go +++ b/education/synchronization_profiles_item_reset_request_builder.go @@ -59,7 +59,7 @@ func (m *SynchronizationProfilesItemResetRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/synchronization_profiles_item_resume_request_builder.go b/education/synchronization_profiles_item_resume_request_builder.go index 5cc5a2fc326..ca1f9d1fbc5 100644 --- a/education/synchronization_profiles_item_resume_request_builder.go +++ b/education/synchronization_profiles_item_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *SynchronizationProfilesItemResumeRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/synchronization_profiles_item_start_request_builder.go b/education/synchronization_profiles_item_start_request_builder.go index b1b3b843622..f0611a33fe2 100644 --- a/education/synchronization_profiles_item_start_request_builder.go +++ b/education/synchronization_profiles_item_start_request_builder.go @@ -85,7 +85,7 @@ func (m *SynchronizationProfilesItemStartRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/synchronization_profiles_item_upload_url_request_builder.go b/education/synchronization_profiles_item_upload_url_request_builder.go index 3e05a98efbf..f17dacc0be6 100644 --- a/education/synchronization_profiles_item_upload_url_request_builder.go +++ b/education/synchronization_profiles_item_upload_url_request_builder.go @@ -79,7 +79,7 @@ func (m *SynchronizationProfilesItemUploadUrlRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/synchronization_profiles_request_builder.go b/education/synchronization_profiles_request_builder.go index 5188c1de422..0f466c50b54 100644 --- a/education/synchronization_profiles_request_builder.go +++ b/education/synchronization_profiles_request_builder.go @@ -128,7 +128,7 @@ func (m *SynchronizationProfilesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to synchronizationProfiles for education @@ -141,7 +141,7 @@ func (m *SynchronizationProfilesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_delta_request_builder.go b/education/users_delta_request_builder.go index 21d213b2a09..4ebc320c7cf 100644 --- a/education/users_delta_request_builder.go +++ b/education/users_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *UsersDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_education_user_item_request_builder.go b/education/users_education_user_item_request_builder.go index 41d0caf0df3..af6644b348f 100644 --- a/education/users_education_user_item_request_builder.go +++ b/education/users_education_user_item_request_builder.go @@ -103,10 +103,10 @@ func (m *UsersEducationUserItemRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable), nil } -// Patch update the relatedContact collection of an educationUser object. This API is available in the following national cloud deployments. +// Patch update the properties of an educationuser object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/relatedcontact-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-1.0 func (m *UsersEducationUserItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersEducationUserItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -147,7 +147,7 @@ func (m *UsersEducationUserItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a user. This API is available in the following national cloud deployments. @@ -163,10 +163,10 @@ func (m *UsersEducationUserItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the relatedContact collection of an educationUser object. This API is available in the following national cloud deployments. +// ToPatchRequestInformation update the properties of an educationuser object. This API is available in the following national cloud deployments. func (m *UsersEducationUserItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersEducationUserItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -176,7 +176,7 @@ func (m *UsersEducationUserItemRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_delta_request_builder.go b/education/users_item_assignments_delta_request_builder.go index 1be7f81cbcf..5e2e405fe02 100644 --- a/education/users_item_assignments_delta_request_builder.go +++ b/education/users_item_assignments_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *UsersItemAssignmentsDeltaRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_education_assignment_item_request_builder.go b/education/users_item_assignments_education_assignment_item_request_builder.go index f929f676141..d5cc968290b 100644 --- a/education/users_item_assignments_education_assignment_item_request_builder.go +++ b/education/users_item_assignments_education_assignment_item_request_builder.go @@ -158,7 +158,7 @@ func (m *UsersItemAssignmentsEducationAssignmentItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of assignments for the user. Nullable. @@ -174,7 +174,7 @@ func (m *UsersItemAssignmentsEducationAssignmentItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in education @@ -187,7 +187,7 @@ func (m *UsersItemAssignmentsEducationAssignmentItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_activate_request_builder.go b/education/users_item_assignments_item_activate_request_builder.go index 08e13395049..89af6e47ab5 100644 --- a/education/users_item_assignments_item_activate_request_builder.go +++ b/education/users_item_assignments_item_activate_request_builder.go @@ -63,7 +63,7 @@ func (m *UsersItemAssignmentsItemActivateRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_categories_delta_request_builder.go b/education/users_item_assignments_item_categories_delta_request_builder.go index 7c4fe6a79de..aba10fe33a0 100644 --- a/education/users_item_assignments_item_categories_delta_request_builder.go +++ b/education/users_item_assignments_item_categories_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *UsersItemAssignmentsItemCategoriesDeltaRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_categories_item_ref_request_builder.go b/education/users_item_assignments_item_categories_item_ref_request_builder.go index 238b133af94..b1ce796c680 100644 --- a/education/users_item_assignments_item_categories_item_ref_request_builder.go +++ b/education/users_item_assignments_item_categories_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *UsersItemAssignmentsItemCategoriesItemRefRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_categories_ref_request_builder.go b/education/users_item_assignments_item_categories_ref_request_builder.go index 60bb8edd35a..beafb445619 100644 --- a/education/users_item_assignments_item_categories_ref_request_builder.go +++ b/education/users_item_assignments_item_categories_ref_request_builder.go @@ -106,7 +106,7 @@ func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to categories for education @@ -119,7 +119,7 @@ func (m *UsersItemAssignmentsItemCategoriesRefRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_categories_request_builder.go b/education/users_item_assignments_item_categories_request_builder.go index 01b011a4618..310f7f8eda0 100644 --- a/education/users_item_assignments_item_categories_request_builder.go +++ b/education/users_item_assignments_item_categories_request_builder.go @@ -136,7 +136,7 @@ func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to categories for education @@ -149,7 +149,7 @@ func (m *UsersItemAssignmentsItemCategoriesRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_deactivate_request_builder.go b/education/users_item_assignments_item_deactivate_request_builder.go index 10936c8d38e..73c9182f45e 100644 --- a/education/users_item_assignments_item_deactivate_request_builder.go +++ b/education/users_item_assignments_item_deactivate_request_builder.go @@ -63,7 +63,7 @@ func (m *UsersItemAssignmentsItemDeactivateRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_grading_category_request_builder.go b/education/users_item_assignments_item_grading_category_request_builder.go index e7982845d96..f3065626c36 100644 --- a/education/users_item_assignments_item_grading_category_request_builder.go +++ b/education/users_item_assignments_item_grading_category_request_builder.go @@ -95,7 +95,7 @@ func (m *UsersItemAssignmentsItemGradingCategoryRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get gradingCategory from education @@ -111,7 +111,7 @@ func (m *UsersItemAssignmentsItemGradingCategoryRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_publish_request_builder.go b/education/users_item_assignments_item_publish_request_builder.go index 36212e21c07..7f4295ec4ec 100644 --- a/education/users_item_assignments_item_publish_request_builder.go +++ b/education/users_item_assignments_item_publish_request_builder.go @@ -63,7 +63,7 @@ func (m *UsersItemAssignmentsItemPublishRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go b/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go index cce176f91f6..e3a2f71adf5 100644 --- a/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go +++ b/education/users_item_assignments_item_resources_education_assignment_resource_item_request_builder.go @@ -128,7 +128,7 @@ func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in education @@ -157,7 +157,7 @@ func (m *UsersItemAssignmentsItemResourcesEducationAssignmentResourceItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go b/education/users_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go index 9a4454f19b3..899148940c4 100644 --- a/education/users_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go +++ b/education/users_item_assignments_item_resources_item_dependent_resources_education_assignment_resource_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dependentResources from education @@ -134,7 +134,7 @@ func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dependentResources in education @@ -147,7 +147,7 @@ func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesEducationAssignm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go b/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go index 2002ca0e72a..eab5c0f9541 100644 --- a/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go +++ b/education/users_item_assignments_item_resources_item_dependent_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dependentResources for education @@ -138,7 +138,7 @@ func (m *UsersItemAssignmentsItemResourcesItemDependentResourcesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_resources_request_builder.go b/education/users_item_assignments_item_resources_request_builder.go index 9f8ea3de27b..9ca978657f6 100644 --- a/education/users_item_assignments_item_resources_request_builder.go +++ b/education/users_item_assignments_item_resources_request_builder.go @@ -131,7 +131,7 @@ func (m *UsersItemAssignmentsItemResourcesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *UsersItemAssignmentsItemResourcesRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_rubric_ref_request_builder.go b/education/users_item_assignments_item_rubric_ref_request_builder.go index 114696e88e2..16bdde23d95 100644 --- a/education/users_item_assignments_item_rubric_ref_request_builder.go +++ b/education/users_item_assignments_item_rubric_ref_request_builder.go @@ -115,7 +115,7 @@ func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -128,7 +128,7 @@ func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *UsersItemAssignmentsItemRubricRefRequestBuilder) ToPutRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_rubric_request_builder.go b/education/users_item_assignments_item_rubric_request_builder.go index c9feb15f236..a1c17eacc20 100644 --- a/education/users_item_assignments_item_rubric_request_builder.go +++ b/education/users_item_assignments_item_rubric_request_builder.go @@ -131,7 +131,7 @@ func (m *UsersItemAssignmentsItemRubricRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -147,7 +147,7 @@ func (m *UsersItemAssignmentsItemRubricRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *UsersItemAssignmentsItemRubricRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go b/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go index efc3842d4dc..01dd5297109 100644 --- a/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go +++ b/education/users_item_assignments_item_set_up_feedback_resources_folder_request_builder.go @@ -63,7 +63,7 @@ func (m *UsersItemAssignmentsItemSetUpFeedbackResourcesFolderRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_set_up_resources_folder_request_builder.go b/education/users_item_assignments_item_set_up_resources_folder_request_builder.go index 52e1e96912e..539e8ee7478 100644 --- a/education/users_item_assignments_item_set_up_resources_folder_request_builder.go +++ b/education/users_item_assignments_item_set_up_resources_folder_request_builder.go @@ -63,7 +63,7 @@ func (m *UsersItemAssignmentsItemSetUpResourcesFolderRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go b/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go index 9bff0808ba1..48f99e3d7c2 100644 --- a/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_education_submission_item_request_builder.go @@ -149,7 +149,7 @@ func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -165,7 +165,7 @@ func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property submissions in education @@ -178,7 +178,7 @@ func (m *UsersItemAssignmentsItemSubmissionsEducationSubmissionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go b/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go index d18422a80cd..f237a07663f 100644 --- a/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_outcomes_education_outcome_item_request_builder.go @@ -124,7 +124,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get outcomes from education @@ -140,7 +140,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesEducationOutcomeItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go b/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go index 93a33c8b3ba..4ac23403ffc 100644 --- a/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_outcomes_request_builder.go @@ -131,7 +131,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemOutcomesRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_reassign_request_builder.go b/education/users_item_assignments_item_submissions_item_reassign_request_builder.go index 7ace4eb9c3c..64179581ee7 100644 --- a/education/users_item_assignments_item_submissions_item_reassign_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_reassign_request_builder.go @@ -63,7 +63,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemReassignRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go index 3e3d98d8a7c..8a3d8188b01 100644 --- a/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_resources_education_submission_resource_item_request_builder.go @@ -128,7 +128,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionReso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionReso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in education @@ -157,7 +157,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesEducationSubmissionReso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go index a55b14c8479..61eccaa663e 100644 --- a/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dependentResources from education @@ -134,7 +134,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dependentResources in education @@ -147,7 +147,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go index 44a944b7f85..6a109410a50 100644 --- a/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_resources_item_dependent_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dependentResources for education @@ -138,7 +138,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesItemDependentResourcesR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_resources_request_builder.go b/education/users_item_assignments_item_submissions_item_resources_request_builder.go index 082f445ae5c..8a5498a6bbc 100644 --- a/education/users_item_assignments_item_submissions_item_resources_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_resources_request_builder.go @@ -131,7 +131,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemResourcesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_return_request_builder.go b/education/users_item_assignments_item_submissions_item_return_request_builder.go index 6b2c1a5347e..5e1e15149fb 100644 --- a/education/users_item_assignments_item_submissions_item_return_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_return_request_builder.go @@ -63,7 +63,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemReturnRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go b/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go index 5d36b5342cb..ef5d98478bb 100644 --- a/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_set_up_resources_folder_request_builder.go @@ -63,7 +63,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSetUpResourcesFolderRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_submissions_item_submit_request_builder.go b/education/users_item_assignments_item_submissions_item_submit_request_builder.go index 8d241224661..84ec2315fe8 100644 --- a/education/users_item_assignments_item_submissions_item_submit_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_submit_request_builder.go @@ -63,7 +63,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmitRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go b/education/users_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go index 3ed9e959232..4d4fcecf6ee 100644 --- a/education/users_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_submitted_resources_education_submission_resource_item_request_builder.go @@ -122,7 +122,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get submittedResources from education @@ -138,7 +138,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property submittedResources in education @@ -151,7 +151,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesEducationSubmi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go b/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go index 76dc8bc48c9..7ded1416f38 100644 --- a/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_education_submission_resource_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dependentResources from education @@ -134,7 +134,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dependentResources in education @@ -147,7 +147,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go b/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go index 8348f4fb050..2c74dec79ff 100644 --- a/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_submitted_resources_item_dependent_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dependentResources for education @@ -138,7 +138,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesItemDependentR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_submitted_resources_request_builder.go b/education/users_item_assignments_item_submissions_item_submitted_resources_request_builder.go index 9806c58bda4..015eeb957d4 100644 --- a/education/users_item_assignments_item_submissions_item_submitted_resources_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_submitted_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to submittedResources for education @@ -138,7 +138,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemSubmittedResourcesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go b/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go index 1ba15c97471..7f986aad912 100644 --- a/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go +++ b/education/users_item_assignments_item_submissions_item_unsubmit_request_builder.go @@ -63,7 +63,7 @@ func (m *UsersItemAssignmentsItemSubmissionsItemUnsubmitRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_assignments_item_submissions_request_builder.go b/education/users_item_assignments_item_submissions_request_builder.go index d3bc3e6cec9..45a04dfb1dd 100644 --- a/education/users_item_assignments_item_submissions_request_builder.go +++ b/education/users_item_assignments_item_submissions_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemAssignmentsItemSubmissionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters 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. +// UsersItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters 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. This API is available in the following national cloud deployments. type UsersItemAssignmentsItemSubmissionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,7 +74,7 @@ func NewUsersItemAssignmentsItemSubmissionsRequestBuilder(rawUrl string, request func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) Count()(*UsersItemAssignmentsItemSubmissionsCountRequestBuilder) { return NewUsersItemAssignmentsItemSubmissionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. +// Get 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. This API is available in the following national cloud deployments. // [Find more info here] // // [Find more info here]: https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0 @@ -115,7 +115,7 @@ func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) Post(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationSubmissionable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation 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. This API is available in the following national cloud deployments. func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemAssignmentsItemSubmissionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -128,7 +128,7 @@ func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to submissions for education @@ -141,7 +141,7 @@ func (m *UsersItemAssignmentsItemSubmissionsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_assignments_request_builder.go b/education/users_item_assignments_request_builder.go index 14f318d005a..6cf0aca37c3 100644 --- a/education/users_item_assignments_request_builder.go +++ b/education/users_item_assignments_request_builder.go @@ -132,7 +132,7 @@ func (m *UsersItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for education @@ -145,7 +145,7 @@ func (m *UsersItemAssignmentsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_classes_education_class_item_request_builder.go b/education/users_item_classes_education_class_item_request_builder.go index 506d27611e5..6a547dd0604 100644 --- a/education/users_item_classes_education_class_item_request_builder.go +++ b/education/users_item_classes_education_class_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UsersItemClassesEducationClassItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_classes_request_builder.go b/education/users_item_classes_request_builder.go index cf362ca77ba..bdb4a472efa 100644 --- a/education/users_item_classes_request_builder.go +++ b/education/users_item_classes_request_builder.go @@ -102,7 +102,7 @@ func (m *UsersItemClassesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_rubrics_education_rubric_item_request_builder.go b/education/users_item_rubrics_education_rubric_item_request_builder.go index dfb8970281c..23158d2fb00 100644 --- a/education/users_item_rubrics_education_rubric_item_request_builder.go +++ b/education/users_item_rubrics_education_rubric_item_request_builder.go @@ -127,7 +127,7 @@ func (m *UsersItemRubricsEducationRubricItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *UsersItemRubricsEducationRubricItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *UsersItemRubricsEducationRubricItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_rubrics_request_builder.go b/education/users_item_rubrics_request_builder.go index 7211c36697e..fdee174ed5e 100644 --- a/education/users_item_rubrics_request_builder.go +++ b/education/users_item_rubrics_request_builder.go @@ -131,7 +131,7 @@ func (m *UsersItemRubricsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new educationRubric object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *UsersItemRubricsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_schools_education_school_item_request_builder.go b/education/users_item_schools_education_school_item_request_builder.go index 99693c67aed..d2e5855d2e3 100644 --- a/education/users_item_schools_education_school_item_request_builder.go +++ b/education/users_item_schools_education_school_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UsersItemSchoolsEducationSchoolItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_schools_request_builder.go b/education/users_item_schools_request_builder.go index efd692e21d0..b37c10c855c 100644 --- a/education/users_item_schools_request_builder.go +++ b/education/users_item_schools_request_builder.go @@ -102,7 +102,7 @@ func (m *UsersItemSchoolsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_taught_classes_education_class_item_request_builder.go b/education/users_item_taught_classes_education_class_item_request_builder.go index 655c922e440..59bd74118e2 100644 --- a/education/users_item_taught_classes_education_class_item_request_builder.go +++ b/education/users_item_taught_classes_education_class_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UsersItemTaughtClassesEducationClassItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_taught_classes_request_builder.go b/education/users_item_taught_classes_request_builder.go index 8285dc1ac6a..4ba5188184c 100644 --- a/education/users_item_taught_classes_request_builder.go +++ b/education/users_item_taught_classes_request_builder.go @@ -99,7 +99,7 @@ func (m *UsersItemTaughtClassesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_user_mailbox_settings_request_builder.go b/education/users_item_user_mailbox_settings_request_builder.go index 99b7cc900d5..40a18e66245 100644 --- a/education/users_item_user_mailbox_settings_request_builder.go +++ b/education/users_item_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *UsersItemUserMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *UsersItemUserMailboxSettingsRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/education/users_item_user_request_builder.go b/education/users_item_user_request_builder.go index c9f0df227f5..aba29615481 100644 --- a/education/users_item_user_request_builder.go +++ b/education/users_item_user_request_builder.go @@ -83,7 +83,7 @@ func (m *UsersItemUserRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_item_user_service_provisioning_errors_request_builder.go b/education/users_item_user_service_provisioning_errors_request_builder.go index 720dab16363..df6c7e92bc1 100644 --- a/education/users_item_user_service_provisioning_errors_request_builder.go +++ b/education/users_item_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type UsersItemUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// UsersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// UsersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type UsersItemUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewUsersItemUserServiceProvisioningErrorsRequestBuilder(rawUrl string, requ func (m *UsersItemUserServiceProvisioningErrorsRequestBuilder) Count()(*UsersItemUserServiceProvisioningErrorsCountRequestBuilder) { return NewUsersItemUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *UsersItemUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *UsersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *UsersItemUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *UsersItemUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *UsersItemUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *UsersItemUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/education/users_request_builder.go b/education/users_request_builder.go index d6d86a3ed7e..870192839c5 100644 --- a/education/users_request_builder.go +++ b/education/users_request_builder.go @@ -135,7 +135,7 @@ func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new user. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *UsersRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/employeeexperience/employee_experience_request_builder.go b/employeeexperience/employee_experience_request_builder.go index 87b8734177e..d6c8df0af4e 100644 --- a/employeeexperience/employee_experience_request_builder.go +++ b/employeeexperience/employee_experience_request_builder.go @@ -106,7 +106,7 @@ func (m *EmployeeExperienceRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update employeeExperience @@ -119,7 +119,7 @@ func (m *EmployeeExperienceRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go b/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go index 741b42cb75e..80a689ecf4f 100644 --- a/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go +++ b/employeeexperience/learning_course_activities_learning_course_activity_item_request_builder.go @@ -121,7 +121,7 @@ func (m *LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property learningCourseActivities in employeeExperience @@ -150,7 +150,7 @@ func (m *LearningCourseActivitiesLearningCourseActivityItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/employeeexperience/learning_course_activities_request_builder.go b/employeeexperience/learning_course_activities_request_builder.go index 94c92cc981f..e372f05bed6 100644 --- a/employeeexperience/learning_course_activities_request_builder.go +++ b/employeeexperience/learning_course_activities_request_builder.go @@ -125,7 +125,7 @@ func (m *LearningCourseActivitiesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to learningCourseActivities for employeeExperience @@ -138,7 +138,7 @@ func (m *LearningCourseActivitiesRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go b/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go index b6d7b5896ff..585da673e8d 100644 --- a/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_contents_learning_content_item_request_builder.go @@ -127,7 +127,7 @@ func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *LearningProvidersItemLearningContentsLearningContentItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/employeeexperience/learning_providers_item_learning_contents_request_builder.go b/employeeexperience/learning_providers_item_learning_contents_request_builder.go index d4ade677dea..c9447321fd0 100644 --- a/employeeexperience/learning_providers_item_learning_contents_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *LearningProvidersItemLearningContentsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to learningContents for employeeExperience @@ -141,7 +141,7 @@ func (m *LearningProvidersItemLearningContentsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go b/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go index ab6ae4c7aa8..68f404b35f4 100644 --- a/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_course_activities_learning_course_activity_item_request_builder.go @@ -124,7 +124,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get learningCourseActivities from employeeExperience @@ -140,7 +140,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a learningCourseActivity object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesLearningCourseActivityItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go b/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go index f5f9408b41e..6556a9e290b 100644 --- a/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go +++ b/employeeexperience/learning_providers_item_learning_course_activities_request_builder.go @@ -128,7 +128,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -141,7 +141,7 @@ func (m *LearningProvidersItemLearningCourseActivitiesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/employeeexperience/learning_providers_learning_provider_item_request_builder.go b/employeeexperience/learning_providers_learning_provider_item_request_builder.go index 2c14c3ff7c8..91ca62cdcda 100644 --- a/employeeexperience/learning_providers_learning_provider_item_request_builder.go +++ b/employeeexperience/learning_providers_learning_provider_item_request_builder.go @@ -135,7 +135,7 @@ func (m *LearningProvidersLearningProviderItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a learningProvider object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *LearningProvidersLearningProviderItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a learningProvider object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *LearningProvidersLearningProviderItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/employeeexperience/learning_providers_request_builder.go b/employeeexperience/learning_providers_request_builder.go index 26de8af38a9..2ce3b287a11 100644 --- a/employeeexperience/learning_providers_request_builder.go +++ b/employeeexperience/learning_providers_request_builder.go @@ -131,7 +131,7 @@ func (m *LearningProvidersRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *LearningProvidersRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/authorization_systems_authorization_system_item_request_builder.go b/external/authorization_systems_authorization_system_item_request_builder.go index b200af58573..27bdd032897 100644 --- a/external/authorization_systems_authorization_system_item_request_builder.go +++ b/external/authorization_systems_authorization_system_item_request_builder.go @@ -122,7 +122,7 @@ func (m *AuthorizationSystemsAuthorizationSystemItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get authorizationSystems from external @@ -138,7 +138,7 @@ func (m *AuthorizationSystemsAuthorizationSystemItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authorizationSystems in external @@ -151,7 +151,7 @@ func (m *AuthorizationSystemsAuthorizationSystemItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/authorization_systems_item_data_collection_info_request_builder.go b/external/authorization_systems_item_data_collection_info_request_builder.go index f53a2b32b27..953d0fefcfd 100644 --- a/external/authorization_systems_item_data_collection_info_request_builder.go +++ b/external/authorization_systems_item_data_collection_info_request_builder.go @@ -118,7 +118,7 @@ func (m *AuthorizationSystemsItemDataCollectionInfoRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dataCollectionInfo from external @@ -134,7 +134,7 @@ func (m *AuthorizationSystemsItemDataCollectionInfoRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dataCollectionInfo in external @@ -147,7 +147,7 @@ func (m *AuthorizationSystemsItemDataCollectionInfoRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/authorization_systems_request_builder.go b/external/authorization_systems_request_builder.go index 8cd72bf184f..5734c6184c9 100644 --- a/external/authorization_systems_request_builder.go +++ b/external/authorization_systems_request_builder.go @@ -125,7 +125,7 @@ func (m *AuthorizationSystemsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to authorizationSystems for external @@ -138,7 +138,7 @@ func (m *AuthorizationSystemsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_external_connection_item_request_builder.go b/external/connections_external_connection_item_request_builder.go index 36b66d774bb..34916d3f252 100644 --- a/external/connections_external_connection_item_request_builder.go +++ b/external/connections_external_connection_item_request_builder.go @@ -147,7 +147,7 @@ func (m *ConnectionsExternalConnectionItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an externalConnection. This API is available in the following national cloud deployments. @@ -163,7 +163,7 @@ func (m *ConnectionsExternalConnectionItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an externalConnection. This API is available in the following national cloud deployments. @@ -176,7 +176,7 @@ func (m *ConnectionsExternalConnectionItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_groups_external_group_item_request_builder.go b/external/connections_item_groups_external_group_item_request_builder.go index cb209841e2c..6af5a7df04b 100644 --- a/external/connections_item_groups_external_group_item_request_builder.go +++ b/external/connections_item_groups_external_group_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ConnectionsItemGroupsExternalGroupItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get groups from external @@ -141,7 +141,7 @@ func (m *ConnectionsItemGroupsExternalGroupItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groups in external @@ -154,7 +154,7 @@ func (m *ConnectionsItemGroupsExternalGroupItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_groups_item_members_identity_item_request_builder.go b/external/connections_item_groups_item_members_identity_item_request_builder.go index c5e4c74e062..b232829872a 100644 --- a/external/connections_item_groups_item_members_identity_item_request_builder.go +++ b/external/connections_item_groups_item_members_identity_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or other externalGroups as members. @@ -137,7 +137,7 @@ func (m *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in external @@ -150,7 +150,7 @@ func (m *ConnectionsItemGroupsItemMembersIdentityItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_groups_item_members_request_builder.go b/external/connections_item_groups_item_members_request_builder.go index f5038658611..302176df607 100644 --- a/external/connections_item_groups_item_members_request_builder.go +++ b/external/connections_item_groups_item_members_request_builder.go @@ -128,7 +128,7 @@ func (m *ConnectionsItemGroupsItemMembersRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new externalGroupMember object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ConnectionsItemGroupsItemMembersRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_groups_request_builder.go b/external/connections_item_groups_request_builder.go index 53d0ab9c567..e69bca4457c 100644 --- a/external/connections_item_groups_request_builder.go +++ b/external/connections_item_groups_request_builder.go @@ -128,7 +128,7 @@ func (m *ConnectionsItemGroupsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new externalGroup object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ConnectionsItemGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_items_external_item_item_request_builder.go b/external/connections_item_items_external_item_item_request_builder.go index 7e7d1028bd8..a4749a719a3 100644 --- a/external/connections_item_items_external_item_item_request_builder.go +++ b/external/connections_item_items_external_item_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property items in external @@ -161,7 +161,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToPutRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_items_item_activities_external_activity_item_request_builder.go b/external/connections_item_items_item_activities_external_activity_item_request_builder.go index a10133c004d..b948ea72e3a 100644 --- a/external/connections_item_items_item_activities_external_activity_item_request_builder.go +++ b/external/connections_item_items_item_activities_external_activity_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ConnectionsItemItemsItemActivitiesExternalActivityItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns a list of activities performed on the item. Write-only. @@ -138,7 +138,7 @@ func (m *ConnectionsItemItemsItemActivitiesExternalActivityItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in external @@ -151,7 +151,7 @@ func (m *ConnectionsItemItemsItemActivitiesExternalActivityItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_items_item_activities_item_performed_by_request_builder.go b/external/connections_item_items_item_activities_item_performed_by_request_builder.go index be40942f015..acf0a53b38d 100644 --- a/external/connections_item_items_item_activities_item_performed_by_request_builder.go +++ b/external/connections_item_items_item_activities_item_performed_by_request_builder.go @@ -72,7 +72,7 @@ func (m *ConnectionsItemItemsItemActivitiesItemPerformedByRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/connections_item_items_item_activities_request_builder.go b/external/connections_item_items_item_activities_request_builder.go index 0624571bf57..0850a96ab7a 100644 --- a/external/connections_item_items_item_activities_request_builder.go +++ b/external/connections_item_items_item_activities_request_builder.go @@ -125,7 +125,7 @@ func (m *ConnectionsItemItemsItemActivitiesRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for external @@ -138,7 +138,7 @@ func (m *ConnectionsItemItemsItemActivitiesRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go b/external/connections_item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go index a1a75fb7424..a1252cbf467 100644 --- a/external/connections_item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go +++ b/external/connections_item_items_item_microsoft_graph_external_connectors_add_activities_request_builder.go @@ -79,7 +79,7 @@ func (m *ConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_items_request_builder.go b/external/connections_item_items_request_builder.go index 546d5675bf1..b1ee188dabc 100644 --- a/external/connections_item_items_request_builder.go +++ b/external/connections_item_items_request_builder.go @@ -125,7 +125,7 @@ func (m *ConnectionsItemItemsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to items for external @@ -138,7 +138,7 @@ func (m *ConnectionsItemItemsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_operations_connection_operation_item_request_builder.go b/external/connections_item_operations_connection_operation_item_request_builder.go index 03248c1e72d..04b03329c3f 100644 --- a/external/connections_item_operations_connection_operation_item_request_builder.go +++ b/external/connections_item_operations_connection_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ConnectionsItemOperationsConnectionOperationItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get operations from external @@ -134,7 +134,7 @@ func (m *ConnectionsItemOperationsConnectionOperationItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in external @@ -147,7 +147,7 @@ func (m *ConnectionsItemOperationsConnectionOperationItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_operations_request_builder.go b/external/connections_item_operations_request_builder.go index 86cb4568281..0060f7fa2d7 100644 --- a/external/connections_item_operations_request_builder.go +++ b/external/connections_item_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ConnectionsItemOperationsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for external @@ -138,7 +138,7 @@ func (m *ConnectionsItemOperationsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_quota_request_builder.go b/external/connections_item_quota_request_builder.go index a62f3f9d4ce..1e9afba7f7c 100644 --- a/external/connections_item_quota_request_builder.go +++ b/external/connections_item_quota_request_builder.go @@ -121,7 +121,7 @@ func (m *ConnectionsItemQuotaRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a connectionQuota object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ConnectionsItemQuotaRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property quota in external @@ -150,7 +150,7 @@ func (m *ConnectionsItemQuotaRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_item_schema_request_builder.go b/external/connections_item_schema_request_builder.go index 697db0da9fb..d5ed868c110 100644 --- a/external/connections_item_schema_request_builder.go +++ b/external/connections_item_schema_request_builder.go @@ -104,7 +104,7 @@ func (m *ConnectionsItemSchemaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation create the schema for a Microsoft Search connection. This API is available in the following national cloud deployments. @@ -117,7 +117,7 @@ func (m *ConnectionsItemSchemaRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/connections_request_builder.go b/external/connections_request_builder.go index 783d5d4626b..26687f3735c 100644 --- a/external/connections_request_builder.go +++ b/external/connections_request_builder.go @@ -131,7 +131,7 @@ func (m *ConnectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new externalConnection. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ConnectionsRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/external_request_builder.go b/external/external_request_builder.go index fc5f85e3a4d..c198cf30f99 100644 --- a/external/external_request_builder.go +++ b/external/external_request_builder.go @@ -110,7 +110,7 @@ func (m *ExternalRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update external @@ -123,7 +123,7 @@ func (m *ExternalRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go b/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go index 5d6e379abd4..a7a99d8f550 100644 --- a/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go +++ b/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go @@ -18,7 +18,7 @@ type IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderDeleteRequ // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters read the properties and relationships of an azureDataLakeConnector object. This API is available in the following national cloud deployments. +// IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters read the properties and relationships of an industryDataConnector object. This API is available in the following national cloud deployments. type IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,10 +54,10 @@ func NewIndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder(rawUrl urlParams["request-raw-url"] = rawUrl return NewIndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an azureDataLakeConnector object. This API is available in the following national cloud deployments. +// Delete delete an industryDataConnector object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-delete?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,10 +73,10 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Dele } return nil } -// Get read the properties and relationships of an azureDataLakeConnector object. This API is available in the following national cloud deployments. +// Get read the properties and relationships of an industryDataConnector object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-get?view=graph-rest-1.0 func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,10 +99,10 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Get( func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) MicrosoftGraphIndustryDataValidate()(*IndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilder) { return NewIndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an azureDataLakeConnector object. This API is available in the following national cloud deployments. +// Patch update the properties of an industryDataConnector object. This API is available in the following national cloud deployments. // [Find more info here] // -// [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 func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Patch(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderPatchRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -125,7 +125,7 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Patc func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) SourceSystem()(*IndustryDataDataConnectorsItemSourceSystemRequestBuilder) { return NewIndustryDataDataConnectorsItemSourceSystemRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an azureDataLakeConnector object. This API is available in the following national cloud deployments. +// ToDeleteRequestInformation delete an industryDataConnector object. This API is available in the following national cloud deployments. func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -135,10 +135,10 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an azureDataLakeConnector object. This API is available in the following national cloud deployments. +// ToGetRequestInformation read the properties and relationships of an industryDataConnector object. This API is available in the following national cloud deployments. func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -151,10 +151,10 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an azureDataLakeConnector object. This API is available in the following national cloud deployments. +// ToPatchRequestInformation update the properties of an industryDataConnector object. This API is available in the following national cloud deployments. func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -164,7 +164,7 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go b/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go index d323fc85a6c..7419db16b7e 100644 --- a/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go +++ b/external/industry_data_data_connectors_item_microsoft_graph_industry_data_validate_request_builder.go @@ -59,7 +59,7 @@ func (m *IndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_data_connectors_item_source_system_request_builder.go b/external/industry_data_data_connectors_item_source_system_request_builder.go index 6e94468c296..d229bb4f7a1 100644 --- a/external/industry_data_data_connectors_item_source_system_request_builder.go +++ b/external/industry_data_data_connectors_item_source_system_request_builder.go @@ -72,7 +72,7 @@ func (m *IndustryDataDataConnectorsItemSourceSystemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_data_connectors_request_builder.go b/external/industry_data_data_connectors_request_builder.go index 0124bbeb94d..a0f43a3f6d0 100644 --- a/external/industry_data_data_connectors_request_builder.go +++ b/external/industry_data_data_connectors_request_builder.go @@ -131,7 +131,7 @@ func (m *IndustryDataDataConnectorsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new industryDataConnector object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *IndustryDataDataConnectorsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go b/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go index ff3ac22601a..386265e02d5 100644 --- a/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go +++ b/external/industry_data_inbound_flows_inbound_flow_item_request_builder.go @@ -58,10 +58,10 @@ func NewIndustryDataInboundFlowsInboundFlowItemRequestBuilder(rawUrl string, req func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) DataConnector()(*IndustryDataInboundFlowsItemDataConnectorRequestBuilder) { return NewIndustryDataInboundFlowsItemDataConnectorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an inboundFlow object. This API is available in the following national cloud deployments. +// Delete delete an inboundFileFlow object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundflow-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-delete?view=graph-rest-1.0 func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,7 +121,7 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) Patch(ctx contex } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// ToDeleteRequestInformation delete an inboundFlow object. This API is available in the following national cloud deployments. +// ToDeleteRequestInformation delete an inboundFileFlow object. This API is available in the following national cloud deployments. func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsInboundFlowItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -131,7 +131,7 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an inboundFileFlow object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an inboundFileFlow object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *IndustryDataInboundFlowsInboundFlowItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_inbound_flows_item_data_connector_request_builder.go b/external/industry_data_inbound_flows_item_data_connector_request_builder.go index b776e919845..0eb61bde0a5 100644 --- a/external/industry_data_inbound_flows_item_data_connector_request_builder.go +++ b/external/industry_data_inbound_flows_item_data_connector_request_builder.go @@ -72,7 +72,7 @@ func (m *IndustryDataInboundFlowsItemDataConnectorRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_inbound_flows_item_year_request_builder.go b/external/industry_data_inbound_flows_item_year_request_builder.go index b0445d7ade6..79b3ad3a166 100644 --- a/external/industry_data_inbound_flows_item_year_request_builder.go +++ b/external/industry_data_inbound_flows_item_year_request_builder.go @@ -72,7 +72,7 @@ func (m *IndustryDataInboundFlowsItemYearRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_inbound_flows_request_builder.go b/external/industry_data_inbound_flows_request_builder.go index e1ebb66fd38..724aa4799b3 100644 --- a/external/industry_data_inbound_flows_request_builder.go +++ b/external/industry_data_inbound_flows_request_builder.go @@ -11,7 +11,7 @@ import ( type IndustryDataInboundFlowsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// IndustryDataInboundFlowsRequestBuilderGetQueryParameters get a list of the inboundFlow objects and their properties. This API is available in the following national cloud deployments. +// IndustryDataInboundFlowsRequestBuilderGetQueryParameters get a list of the inboundFileFlow objects and their properties. This API is available in the following national cloud deployments. type IndustryDataInboundFlowsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,10 +74,10 @@ func NewIndustryDataInboundFlowsRequestBuilder(rawUrl string, requestAdapter i2a func (m *IndustryDataInboundFlowsRequestBuilder) Count()(*IndustryDataInboundFlowsCountRequestBuilder) { return NewIndustryDataInboundFlowsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of the inboundFlow objects and their properties. This API is available in the following national cloud deployments. +// Get get a list of the inboundFileFlow objects and their properties. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundflow-list?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-list?view=graph-rest-1.0 func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsRequestBuilderGetRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,10 +96,10 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, reques } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable), nil } -// Post 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. +// Post create a new inboundFileFlow object. The following prerequisite resources are required when you create an inboundFileFlow: This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundflow-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-post?view=graph-rest-1.0 func (m *IndustryDataInboundFlowsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +118,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Post(ctx context.Context, body } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable), nil } -// ToGetRequestInformation get a list of the inboundFlow objects and their properties. This API is available in the following national cloud deployments. +// ToGetRequestInformation get a list of the inboundFileFlow objects and their properties. This API is available in the following national cloud deployments. func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IndustryDataInboundFlowsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -131,10 +131,10 @@ func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation 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. +// ToPostRequestInformation create a new inboundFileFlow object. The following prerequisite resources are required when you create an inboundFileFlow: This API is available in the following national cloud deployments. func (m *IndustryDataInboundFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -144,7 +144,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_operations_long_running_operation_item_request_builder.go b/external/industry_data_operations_long_running_operation_item_request_builder.go index 2a48b195f5c..383d5535d3d 100644 --- a/external/industry_data_operations_long_running_operation_item_request_builder.go +++ b/external/industry_data_operations_long_running_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *IndustryDataOperationsLongRunningOperationItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a fileValidateOperation object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *IndustryDataOperationsLongRunningOperationItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in external @@ -150,7 +150,7 @@ func (m *IndustryDataOperationsLongRunningOperationItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_operations_request_builder.go b/external/industry_data_operations_request_builder.go index e9b73a9b685..c41ca15b659 100644 --- a/external/industry_data_operations_request_builder.go +++ b/external/industry_data_operations_request_builder.go @@ -128,7 +128,7 @@ func (m *IndustryDataOperationsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for external @@ -141,7 +141,7 @@ func (m *IndustryDataOperationsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_reference_definitions_reference_definition_item_request_builder.go b/external/industry_data_reference_definitions_reference_definition_item_request_builder.go index 984b668ff74..517739cc4cf 100644 --- a/external/industry_data_reference_definitions_reference_definition_item_request_builder.go +++ b/external/industry_data_reference_definitions_reference_definition_item_request_builder.go @@ -121,7 +121,7 @@ func (m *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a referenceDefinition object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property referenceDefinitions in external @@ -150,7 +150,7 @@ func (m *IndustryDataReferenceDefinitionsReferenceDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_reference_definitions_request_builder.go b/external/industry_data_reference_definitions_request_builder.go index 8c53af0491b..2b80d1e30de 100644 --- a/external/industry_data_reference_definitions_request_builder.go +++ b/external/industry_data_reference_definitions_request_builder.go @@ -128,7 +128,7 @@ func (m *IndustryDataReferenceDefinitionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to referenceDefinitions for external @@ -141,7 +141,7 @@ func (m *IndustryDataReferenceDefinitionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_request_builder.go b/external/industry_data_request_builder.go index e7b54e2b80a..a9c47cf6474 100644 --- a/external/industry_data_request_builder.go +++ b/external/industry_data_request_builder.go @@ -100,7 +100,7 @@ func (m *IndustryDataRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_role_groups_request_builder.go b/external/industry_data_role_groups_request_builder.go index 5c6728ac86d..1c00483e964 100644 --- a/external/industry_data_role_groups_request_builder.go +++ b/external/industry_data_role_groups_request_builder.go @@ -128,7 +128,7 @@ func (m *IndustryDataRoleGroupsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleGroups for external @@ -141,7 +141,7 @@ func (m *IndustryDataRoleGroupsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_role_groups_role_group_item_request_builder.go b/external/industry_data_role_groups_role_group_item_request_builder.go index ad9e92e9e15..76b5809c783 100644 --- a/external/industry_data_role_groups_role_group_item_request_builder.go +++ b/external/industry_data_role_groups_role_group_item_request_builder.go @@ -121,7 +121,7 @@ func (m *IndustryDataRoleGroupsRoleGroupItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a roleGroup object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *IndustryDataRoleGroupsRoleGroupItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleGroups in external @@ -150,7 +150,7 @@ func (m *IndustryDataRoleGroupsRoleGroupItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_runs_industry_data_run_item_request_builder.go b/external/industry_data_runs_industry_data_run_item_request_builder.go index fe5f901c4df..f063494c6b1 100644 --- a/external/industry_data_runs_industry_data_run_item_request_builder.go +++ b/external/industry_data_runs_industry_data_run_item_request_builder.go @@ -83,7 +83,7 @@ func (m *IndustryDataRunsIndustryDataRunItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_runs_item_activities_industry_data_run_activity_item_request_builder.go b/external/industry_data_runs_item_activities_industry_data_run_activity_item_request_builder.go index d8263b16fcf..a8abcfaaacd 100644 --- a/external/industry_data_runs_item_activities_industry_data_run_activity_item_request_builder.go +++ b/external/industry_data_runs_item_activities_industry_data_run_activity_item_request_builder.go @@ -76,7 +76,7 @@ func (m *IndustryDataRunsItemActivitiesIndustryDataRunActivityItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_runs_item_activities_item_activity_request_builder.go b/external/industry_data_runs_item_activities_item_activity_request_builder.go index c66e06a2e5a..cb9cbba9744 100644 --- a/external/industry_data_runs_item_activities_item_activity_request_builder.go +++ b/external/industry_data_runs_item_activities_item_activity_request_builder.go @@ -72,7 +72,7 @@ func (m *IndustryDataRunsItemActivitiesItemActivityRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_runs_item_activities_request_builder.go b/external/industry_data_runs_item_activities_request_builder.go index f949bd19cda..44ead9912d6 100644 --- a/external/industry_data_runs_item_activities_request_builder.go +++ b/external/industry_data_runs_item_activities_request_builder.go @@ -99,7 +99,7 @@ func (m *IndustryDataRunsItemActivitiesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go b/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go index 289bae4cd12..deca048704c 100644 --- a/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go +++ b/external/industry_data_runs_item_microsoft_graph_industry_data_get_statistics_request_builder.go @@ -60,7 +60,7 @@ func (m *IndustryDataRunsItemMicrosoftGraphIndustryDataGetStatisticsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_runs_microsoft_graph_industry_data_get_statistics_request_builder.go b/external/industry_data_runs_microsoft_graph_industry_data_get_statistics_request_builder.go index 7a1f4d1f5fc..ba4c72ba7aa 100644 --- a/external/industry_data_runs_microsoft_graph_industry_data_get_statistics_request_builder.go +++ b/external/industry_data_runs_microsoft_graph_industry_data_get_statistics_request_builder.go @@ -60,7 +60,7 @@ func (m *IndustryDataRunsMicrosoftGraphIndustryDataGetStatisticsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_runs_request_builder.go b/external/industry_data_runs_request_builder.go index caaa38d0bc9..0eff43b97b3 100644 --- a/external/industry_data_runs_request_builder.go +++ b/external/industry_data_runs_request_builder.go @@ -106,7 +106,7 @@ func (m *IndustryDataRunsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/external/industry_data_source_systems_request_builder.go b/external/industry_data_source_systems_request_builder.go index 8ca365224c8..17d4d51c481 100644 --- a/external/industry_data_source_systems_request_builder.go +++ b/external/industry_data_source_systems_request_builder.go @@ -131,7 +131,7 @@ func (m *IndustryDataSourceSystemsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new sourceSystemDefinition object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *IndustryDataSourceSystemsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_source_systems_source_system_definition_item_request_builder.go b/external/industry_data_source_systems_source_system_definition_item_request_builder.go index d89822db14a..925430f52b9 100644 --- a/external/industry_data_source_systems_source_system_definition_item_request_builder.go +++ b/external/industry_data_source_systems_source_system_definition_item_request_builder.go @@ -127,7 +127,7 @@ func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a sourceSystemDefinition object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a sourceSystemDefinition object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *IndustryDataSourceSystemsSourceSystemDefinitionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_years_request_builder.go b/external/industry_data_years_request_builder.go index b73b0a079e4..d479c217e02 100644 --- a/external/industry_data_years_request_builder.go +++ b/external/industry_data_years_request_builder.go @@ -131,7 +131,7 @@ func (m *IndustryDataYearsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new yearTimePeriodDefinition object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *IndustryDataYearsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/external/industry_data_years_year_time_period_definition_item_request_builder.go b/external/industry_data_years_year_time_period_definition_item_request_builder.go index 6e489d3ccad..9564b930dc5 100644 --- a/external/industry_data_years_year_time_period_definition_item_request_builder.go +++ b/external/industry_data_years_year_time_period_definition_item_request_builder.go @@ -127,7 +127,7 @@ func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a yearTimePeriodDefinition object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a yearTimePeriodDefinition object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *IndustryDataYearsYearTimePeriodDefinitionItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/filteroperators/filter_operator_schema_item_request_builder.go b/filteroperators/filter_operator_schema_item_request_builder.go index be5151b298d..70a5290870a 100644 --- a/filteroperators/filter_operator_schema_item_request_builder.go +++ b/filteroperators/filter_operator_schema_item_request_builder.go @@ -118,7 +118,7 @@ func (m *FilterOperatorSchemaItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from filterOperators by key @@ -134,7 +134,7 @@ func (m *FilterOperatorSchemaItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in filterOperators @@ -147,7 +147,7 @@ func (m *FilterOperatorSchemaItemRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/filteroperators/filter_operators_request_builder.go b/filteroperators/filter_operators_request_builder.go index 9d68133a954..232f23653e9 100644 --- a/filteroperators/filter_operators_request_builder.go +++ b/filteroperators/filter_operators_request_builder.go @@ -125,7 +125,7 @@ func (m *FilterOperatorsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to filterOperators @@ -138,7 +138,7 @@ func (m *FilterOperatorsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_company_item_request_builder.go b/financials/companies_company_item_request_builder.go index b5c01e4418b..cebee43b2fb 100644 --- a/financials/companies_company_item_request_builder.go +++ b/financials/companies_company_item_request_builder.go @@ -204,7 +204,7 @@ func (m *CompaniesCompanyItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // UnitsOfMeasure provides operations to manage the unitsOfMeasure property of the microsoft.graph.company entity. diff --git a/financials/companies_item_accounts_account_item_request_builder.go b/financials/companies_item_accounts_account_item_request_builder.go index 1691c64cd33..811659a5dab 100644 --- a/financials/companies_item_accounts_account_item_request_builder.go +++ b/financials/companies_item_accounts_account_item_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemAccountsAccountItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_accounts_request_builder.go b/financials/companies_item_accounts_request_builder.go index d8cbad1f00f..c142ffb3d90 100644 --- a/financials/companies_item_accounts_request_builder.go +++ b/financials/companies_item_accounts_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemAccountsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_aged_accounts_payable_aged_accounts_payable_item_request_builder.go b/financials/companies_item_aged_accounts_payable_aged_accounts_payable_item_request_builder.go index 25d44c9c984..87474221049 100644 --- a/financials/companies_item_aged_accounts_payable_aged_accounts_payable_item_request_builder.go +++ b/financials/companies_item_aged_accounts_payable_aged_accounts_payable_item_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemAgedAccountsPayableAgedAccountsPayableItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_aged_accounts_payable_request_builder.go b/financials/companies_item_aged_accounts_payable_request_builder.go index ab4756e1a96..9dc0f9f181a 100644 --- a/financials/companies_item_aged_accounts_payable_request_builder.go +++ b/financials/companies_item_aged_accounts_payable_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemAgedAccountsPayableRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_aged_accounts_receivable_aged_accounts_receivable_item_request_builder.go b/financials/companies_item_aged_accounts_receivable_aged_accounts_receivable_item_request_builder.go index c9b0e646015..deee3dce155 100644 --- a/financials/companies_item_aged_accounts_receivable_aged_accounts_receivable_item_request_builder.go +++ b/financials/companies_item_aged_accounts_receivable_aged_accounts_receivable_item_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemAgedAccountsReceivableAgedAccountsReceivableItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_aged_accounts_receivable_request_builder.go b/financials/companies_item_aged_accounts_receivable_request_builder.go index 696f64eb85f..e80f0b3b9d6 100644 --- a/financials/companies_item_aged_accounts_receivable_request_builder.go +++ b/financials/companies_item_aged_accounts_receivable_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemAgedAccountsReceivableRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_company_information_company_information_item_request_builder.go b/financials/companies_item_company_information_company_information_item_request_builder.go index 7c0e99ca578..b8c179f31d6 100644 --- a/financials/companies_item_company_information_company_information_item_request_builder.go +++ b/financials/companies_item_company_information_company_information_item_request_builder.go @@ -102,7 +102,7 @@ func (m *CompaniesItemCompanyInformationCompanyInformationItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property companyInformation in financials @@ -115,7 +115,7 @@ func (m *CompaniesItemCompanyInformationCompanyInformationItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_company_information_item_picture_request_builder.go b/financials/companies_item_company_information_item_picture_request_builder.go index 7affa49381e..b351ecc9877 100644 --- a/financials/companies_item_company_information_item_picture_request_builder.go +++ b/financials/companies_item_company_information_item_picture_request_builder.go @@ -85,7 +85,7 @@ func (m *CompaniesItemCompanyInformationItemPictureRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update picture for the navigation property companyInformation in financials @@ -98,7 +98,7 @@ func (m *CompaniesItemCompanyInformationItemPictureRequestBuilder) ToPutRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_company_information_request_builder.go b/financials/companies_item_company_information_request_builder.go index a9c711d23a0..dbc9f36a11f 100644 --- a/financials/companies_item_company_information_request_builder.go +++ b/financials/companies_item_company_information_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemCompanyInformationRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_countries_regions_country_region_item_request_builder.go b/financials/companies_item_countries_regions_country_region_item_request_builder.go index 60f9622c005..4346018fe29 100644 --- a/financials/companies_item_countries_regions_country_region_item_request_builder.go +++ b/financials/companies_item_countries_regions_country_region_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCountriesRegionsCountryRegionItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get countriesRegions from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCountriesRegionsCountryRegionItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property countriesRegions in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCountriesRegionsCountryRegionItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_countries_regions_request_builder.go b/financials/companies_item_countries_regions_request_builder.go index fe0f92e9a29..2e57913ce29 100644 --- a/financials/companies_item_countries_regions_request_builder.go +++ b/financials/companies_item_countries_regions_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemCountriesRegionsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to countriesRegions for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemCountriesRegionsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_currencies_currency_item_request_builder.go b/financials/companies_item_currencies_currency_item_request_builder.go index d830cfc516e..555a61b7b33 100644 --- a/financials/companies_item_currencies_currency_item_request_builder.go +++ b/financials/companies_item_currencies_currency_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCurrenciesCurrencyItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currencies from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCurrenciesCurrencyItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currencies in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCurrenciesCurrencyItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_currencies_request_builder.go b/financials/companies_item_currencies_request_builder.go index 0265fb0ab64..8ccfc8f138f 100644 --- a/financials/companies_item_currencies_request_builder.go +++ b/financials/companies_item_currencies_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemCurrenciesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to currencies for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemCurrenciesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_customer_payment_journal_item_request_builder.go b/financials/companies_item_customer_payment_journals_customer_payment_journal_item_request_builder.go index 6841d1ea072..9893e24af7b 100644 --- a/financials/companies_item_customer_payment_journals_customer_payment_journal_item_request_builder.go +++ b/financials/companies_item_customer_payment_journals_customer_payment_journal_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemCustomerPaymentJournalsCustomerPaymentJournalItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customerPaymentJournals from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemCustomerPaymentJournalsCustomerPaymentJournalItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customerPaymentJournals in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemCustomerPaymentJournalsCustomerPaymentJournalItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_item_account_request_builder.go b/financials/companies_item_customer_payment_journals_item_account_request_builder.go index 5e15d6aa4bf..c6dcf579d36 100644 --- a/financials/companies_item_customer_payment_journals_item_account_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemAccountRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_customer_payment_item_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_customer_payment_item_request_builder.go index 0dc7b7749fd..efbac3d47f5 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_customer_payment_item_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_customer_payment_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCustomerPayment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customerPayments from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCustomerPayment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customerPayments in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsCustomerPayment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_currency_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_currency_request_builder.go index 25e8d4d65bd..893abc1cb78 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_currency_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerCur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerCur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerCur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_method_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_method_request_builder.go index 84c40a01fb3..341e61e65de 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPay requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPay requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPay requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_term_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_term_request_builder.go index c3d939dcd34..c61160bd1a1 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPay requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPay requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPay requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_item_content_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_item_content_request_builder.go index dfb81e8c53d..f0b77b2d909 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_picture_item_request_builder.go index 73790000f90..458d0f41efc 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_request_builder.go index 66e293537a3..0d040e0e1f8 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerPic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_request_builder.go index 96b9ecba7e1..6a6e4663739 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_request_builder.go @@ -138,7 +138,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customer from financials @@ -154,7 +154,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customer in financials @@ -167,7 +167,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_shipment_method_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_shipment_method_request_builder.go index 21be9e7d636..4608627b2df 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_item_customer_shipment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerShi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get shipmentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerShi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shipmentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsItemCustomerShi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_item_customer_payments_request_builder.go b/financials/companies_item_customer_payment_journals_item_customer_payments_request_builder.go index 8a0c837b86e..a8225d423e9 100644 --- a/financials/companies_item_customer_payment_journals_item_customer_payments_request_builder.go +++ b/financials/companies_item_customer_payment_journals_item_customer_payments_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customerPayments for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemCustomerPaymentJournalsItemCustomerPaymentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payment_journals_request_builder.go b/financials/companies_item_customer_payment_journals_request_builder.go index 777b2207875..ea5a31d0530 100644 --- a/financials/companies_item_customer_payment_journals_request_builder.go +++ b/financials/companies_item_customer_payment_journals_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemCustomerPaymentJournalsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customerPaymentJournals for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemCustomerPaymentJournalsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payments_customer_payment_item_request_builder.go b/financials/companies_item_customer_payments_customer_payment_item_request_builder.go index 257edc553d8..399dee8b579 100644 --- a/financials/companies_item_customer_payments_customer_payment_item_request_builder.go +++ b/financials/companies_item_customer_payments_customer_payment_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemCustomerPaymentsCustomerPaymentItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customerPayments from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemCustomerPaymentsCustomerPaymentItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customerPayments in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemCustomerPaymentsCustomerPaymentItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payments_item_customer_currency_request_builder.go b/financials/companies_item_customer_payments_item_customer_currency_request_builder.go index 52e8cfe918f..83d683dae88 100644 --- a/financials/companies_item_customer_payments_item_customer_currency_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerCurrencyRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerCurrencyRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerCurrencyRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payments_item_customer_payment_method_request_builder.go b/financials/companies_item_customer_payments_item_customer_payment_method_request_builder.go index 8048a4b63d5..feeea884e4b 100644 --- a/financials/companies_item_customer_payments_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_payment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPaymentMethodRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPaymentMethodRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPaymentMethodRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payments_item_customer_payment_term_request_builder.go b/financials/companies_item_customer_payments_item_customer_payment_term_request_builder.go index a50b3fca280..c6af7d32044 100644 --- a/financials/companies_item_customer_payments_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPaymentTermRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPaymentTermRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPaymentTermRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payments_item_customer_picture_item_content_request_builder.go b/financials/companies_item_customer_payments_item_customer_picture_item_content_request_builder.go index 691b130bb19..7c1c0a24768 100644 --- a/financials/companies_item_customer_payments_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPictureItemContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPictureItemContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_customer_payments_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_customer_payments_item_customer_picture_picture_item_request_builder.go index 2f99e6ef077..fe1286c5f8e 100644 --- a/financials/companies_item_customer_payments_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payments_item_customer_picture_request_builder.go b/financials/companies_item_customer_payments_item_customer_picture_request_builder.go index 9d5127fcdfb..62f3d612f9c 100644 --- a/financials/companies_item_customer_payments_item_customer_picture_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPictureRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerPictureRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payments_item_customer_request_builder.go b/financials/companies_item_customer_payments_item_customer_request_builder.go index 05e22a70cf5..e1a01583338 100644 --- a/financials/companies_item_customer_payments_item_customer_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_request_builder.go @@ -138,7 +138,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customer from financials @@ -154,7 +154,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customer in financials @@ -167,7 +167,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payments_item_customer_shipment_method_request_builder.go b/financials/companies_item_customer_payments_item_customer_shipment_method_request_builder.go index c71eb73c4e4..6c253b8f356 100644 --- a/financials/companies_item_customer_payments_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_customer_payments_item_customer_shipment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerShipmentMethodRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get shipmentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerShipmentMethodRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shipmentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomerPaymentsItemCustomerShipmentMethodRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customer_payments_request_builder.go b/financials/companies_item_customer_payments_request_builder.go index c570fc28fb3..b55737172c1 100644 --- a/financials/companies_item_customer_payments_request_builder.go +++ b/financials/companies_item_customer_payments_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemCustomerPaymentsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customerPayments for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemCustomerPaymentsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customers_customer_item_request_builder.go b/financials/companies_item_customers_customer_item_request_builder.go index 7b0e0d16255..ede463b4567 100644 --- a/financials/companies_item_customers_customer_item_request_builder.go +++ b/financials/companies_item_customers_customer_item_request_builder.go @@ -138,7 +138,7 @@ func (m *CompaniesItemCustomersCustomerItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customers from financials @@ -154,7 +154,7 @@ func (m *CompaniesItemCustomersCustomerItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customers in financials @@ -167,7 +167,7 @@ func (m *CompaniesItemCustomersCustomerItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customers_item_currency_request_builder.go b/financials/companies_item_customers_item_currency_request_builder.go index 51ea06de572..801f0ca33e0 100644 --- a/financials/companies_item_customers_item_currency_request_builder.go +++ b/financials/companies_item_customers_item_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomersItemCurrencyRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomersItemCurrencyRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomersItemCurrencyRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customers_item_payment_method_request_builder.go b/financials/companies_item_customers_item_payment_method_request_builder.go index 8ff7c1becf7..269bc0d4484 100644 --- a/financials/companies_item_customers_item_payment_method_request_builder.go +++ b/financials/companies_item_customers_item_payment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomersItemPaymentMethodRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomersItemPaymentMethodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomersItemPaymentMethodRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customers_item_payment_term_request_builder.go b/financials/companies_item_customers_item_payment_term_request_builder.go index 0ac8664cbe7..739ccb483e7 100644 --- a/financials/companies_item_customers_item_payment_term_request_builder.go +++ b/financials/companies_item_customers_item_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomersItemPaymentTermRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomersItemPaymentTermRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomersItemPaymentTermRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customers_item_picture_item_content_request_builder.go b/financials/companies_item_customers_item_picture_item_content_request_builder.go index d1f92b160c7..4078d4e24f8 100644 --- a/financials/companies_item_customers_item_picture_item_content_request_builder.go +++ b/financials/companies_item_customers_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemCustomersItemPictureItemContentRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemCustomersItemPictureItemContentRequestBuilder) ToPutReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_customers_item_picture_picture_item_request_builder.go b/financials/companies_item_customers_item_picture_picture_item_request_builder.go index 6e7f2836f8e..1731eca449c 100644 --- a/financials/companies_item_customers_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_customers_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemCustomersItemPicturePictureItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemCustomersItemPicturePictureItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemCustomersItemPicturePictureItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customers_item_picture_request_builder.go b/financials/companies_item_customers_item_picture_request_builder.go index d2ba1c11f5a..4439ef9ee0e 100644 --- a/financials/companies_item_customers_item_picture_request_builder.go +++ b/financials/companies_item_customers_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemCustomersItemPictureRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemCustomersItemPictureRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customers_item_shipment_method_request_builder.go b/financials/companies_item_customers_item_shipment_method_request_builder.go index a998412a072..28fb8109d01 100644 --- a/financials/companies_item_customers_item_shipment_method_request_builder.go +++ b/financials/companies_item_customers_item_shipment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemCustomersItemShipmentMethodRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get shipmentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemCustomersItemShipmentMethodRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shipmentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemCustomersItemShipmentMethodRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_customers_request_builder.go b/financials/companies_item_customers_request_builder.go index d63a56715bc..664fd49a6ba 100644 --- a/financials/companies_item_customers_request_builder.go +++ b/financials/companies_item_customers_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemCustomersRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customers for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemCustomersRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_dimension_values_dimension_value_item_request_builder.go b/financials/companies_item_dimension_values_dimension_value_item_request_builder.go index 24ebe18a153..d7a8af316d9 100644 --- a/financials/companies_item_dimension_values_dimension_value_item_request_builder.go +++ b/financials/companies_item_dimension_values_dimension_value_item_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemDimensionValuesDimensionValueItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_dimension_values_request_builder.go b/financials/companies_item_dimension_values_request_builder.go index 09bf4b5aef1..9c8c138502f 100644 --- a/financials/companies_item_dimension_values_request_builder.go +++ b/financials/companies_item_dimension_values_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemDimensionValuesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_dimensions_dimension_item_request_builder.go b/financials/companies_item_dimensions_dimension_item_request_builder.go index a29c1b646c5..79018a2e263 100644 --- a/financials/companies_item_dimensions_dimension_item_request_builder.go +++ b/financials/companies_item_dimensions_dimension_item_request_builder.go @@ -76,7 +76,7 @@ func (m *CompaniesItemDimensionsDimensionItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_dimensions_item_dimension_values_dimension_value_item_request_builder.go b/financials/companies_item_dimensions_item_dimension_values_dimension_value_item_request_builder.go index f468646119a..01664f9ec45 100644 --- a/financials/companies_item_dimensions_item_dimension_values_dimension_value_item_request_builder.go +++ b/financials/companies_item_dimensions_item_dimension_values_dimension_value_item_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemDimensionsItemDimensionValuesDimensionValueItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_dimensions_item_dimension_values_request_builder.go b/financials/companies_item_dimensions_item_dimension_values_request_builder.go index df66704d81b..8c591e30766 100644 --- a/financials/companies_item_dimensions_item_dimension_values_request_builder.go +++ b/financials/companies_item_dimensions_item_dimension_values_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemDimensionsItemDimensionValuesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_dimensions_request_builder.go b/financials/companies_item_dimensions_request_builder.go index a9c2761cda6..80516407f53 100644 --- a/financials/companies_item_dimensions_request_builder.go +++ b/financials/companies_item_dimensions_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemDimensionsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_employees_employee_item_request_builder.go b/financials/companies_item_employees_employee_item_request_builder.go index 288d5ac9f86..de699fee362 100644 --- a/financials/companies_item_employees_employee_item_request_builder.go +++ b/financials/companies_item_employees_employee_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemEmployeesEmployeeItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get employees from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemEmployeesEmployeeItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property employees in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemEmployeesEmployeeItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_employees_item_picture_item_content_request_builder.go b/financials/companies_item_employees_item_picture_item_content_request_builder.go index 347b73a4c02..f40afe0df24 100644 --- a/financials/companies_item_employees_item_picture_item_content_request_builder.go +++ b/financials/companies_item_employees_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemEmployeesItemPictureItemContentRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemEmployeesItemPictureItemContentRequestBuilder) ToPutReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_employees_item_picture_picture_item_request_builder.go b/financials/companies_item_employees_item_picture_picture_item_request_builder.go index 2ad23272285..d3b7952a1ec 100644 --- a/financials/companies_item_employees_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_employees_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemEmployeesItemPicturePictureItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemEmployeesItemPicturePictureItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemEmployeesItemPicturePictureItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_employees_item_picture_request_builder.go b/financials/companies_item_employees_item_picture_request_builder.go index da5b1955f11..4b24cd20dc0 100644 --- a/financials/companies_item_employees_item_picture_request_builder.go +++ b/financials/companies_item_employees_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemEmployeesItemPictureRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemEmployeesItemPictureRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_employees_request_builder.go b/financials/companies_item_employees_request_builder.go index 92648b216ea..a52d6bd2ea3 100644 --- a/financials/companies_item_employees_request_builder.go +++ b/financials/companies_item_employees_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemEmployeesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to employees for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemEmployeesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_general_ledger_entries_general_ledger_entry_item_request_builder.go b/financials/companies_item_general_ledger_entries_general_ledger_entry_item_request_builder.go index 75b7587f003..7fcf09c3a2d 100644 --- a/financials/companies_item_general_ledger_entries_general_ledger_entry_item_request_builder.go +++ b/financials/companies_item_general_ledger_entries_general_ledger_entry_item_request_builder.go @@ -76,7 +76,7 @@ func (m *CompaniesItemGeneralLedgerEntriesGeneralLedgerEntryItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_general_ledger_entries_item_account_request_builder.go b/financials/companies_item_general_ledger_entries_item_account_request_builder.go index 1702112773d..8b1ab956767 100644 --- a/financials/companies_item_general_ledger_entries_item_account_request_builder.go +++ b/financials/companies_item_general_ledger_entries_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemGeneralLedgerEntriesItemAccountRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_general_ledger_entries_request_builder.go b/financials/companies_item_general_ledger_entries_request_builder.go index c5efcd84718..dad15e90f5c 100644 --- a/financials/companies_item_general_ledger_entries_request_builder.go +++ b/financials/companies_item_general_ledger_entries_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemGeneralLedgerEntriesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_item_categories_item_category_item_request_builder.go b/financials/companies_item_item_categories_item_category_item_request_builder.go index 6ef7b3b4603..ca49d56217b 100644 --- a/financials/companies_item_item_categories_item_category_item_request_builder.go +++ b/financials/companies_item_item_categories_item_category_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemItemCategoriesItemCategoryItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategories from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemItemCategoriesItemCategoryItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategories in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemItemCategoriesItemCategoryItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_item_categories_request_builder.go b/financials/companies_item_item_categories_request_builder.go index e3f0a1ec06a..986bfdae4b0 100644 --- a/financials/companies_item_item_categories_request_builder.go +++ b/financials/companies_item_item_categories_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemItemCategoriesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to itemCategories for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemItemCategoriesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_items_item_item_category_request_builder.go b/financials/companies_item_items_item_item_category_request_builder.go index 8b01581bedf..2d58f1945b1 100644 --- a/financials/companies_item_items_item_item_category_request_builder.go +++ b/financials/companies_item_items_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemItemsItemItemCategoryRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemItemsItemItemCategoryRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemItemsItemItemCategoryRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_items_item_item_request_builder.go b/financials/companies_item_items_item_item_request_builder.go index b969d304adb..b69534023ac 100644 --- a/financials/companies_item_items_item_item_request_builder.go +++ b/financials/companies_item_items_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemItemsItemItemRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get items from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemItemsItemItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property items in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemItemsItemItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_items_item_picture_item_content_request_builder.go b/financials/companies_item_items_item_picture_item_content_request_builder.go index 0c7282ba982..0da020e07db 100644 --- a/financials/companies_item_items_item_picture_item_content_request_builder.go +++ b/financials/companies_item_items_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemItemsItemPictureItemContentRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemItemsItemPictureItemContentRequestBuilder) ToPutRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_items_item_picture_picture_item_request_builder.go b/financials/companies_item_items_item_picture_picture_item_request_builder.go index 2c4c8f483df..88cd0a3119c 100644 --- a/financials/companies_item_items_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_items_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemItemsItemPicturePictureItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemItemsItemPicturePictureItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemItemsItemPicturePictureItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_items_item_picture_request_builder.go b/financials/companies_item_items_item_picture_request_builder.go index 609777217d9..c711a08f6a0 100644 --- a/financials/companies_item_items_item_picture_request_builder.go +++ b/financials/companies_item_items_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemItemsItemPictureRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemItemsItemPictureRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_items_request_builder.go b/financials/companies_item_items_request_builder.go index de8c995c060..b4111891767 100644 --- a/financials/companies_item_items_request_builder.go +++ b/financials/companies_item_items_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemItemsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to items for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemItemsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_journal_lines_item_account_request_builder.go b/financials/companies_item_journal_lines_item_account_request_builder.go index 355545cf722..86475b6bf37 100644 --- a/financials/companies_item_journal_lines_item_account_request_builder.go +++ b/financials/companies_item_journal_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemJournalLinesItemAccountRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_journal_lines_journal_line_item_request_builder.go b/financials/companies_item_journal_lines_journal_line_item_request_builder.go index 009eb1812d2..9c106b59bbf 100644 --- a/financials/companies_item_journal_lines_journal_line_item_request_builder.go +++ b/financials/companies_item_journal_lines_journal_line_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemJournalLinesJournalLineItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get journalLines from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemJournalLinesJournalLineItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property journalLines in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemJournalLinesJournalLineItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_journal_lines_request_builder.go b/financials/companies_item_journal_lines_request_builder.go index 293be3f8100..17379b8b3f8 100644 --- a/financials/companies_item_journal_lines_request_builder.go +++ b/financials/companies_item_journal_lines_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemJournalLinesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to journalLines for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemJournalLinesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_journals_item_account_request_builder.go b/financials/companies_item_journals_item_account_request_builder.go index 3134bd67367..7238770b55e 100644 --- a/financials/companies_item_journals_item_account_request_builder.go +++ b/financials/companies_item_journals_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemJournalsItemAccountRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_journals_item_journal_lines_item_account_request_builder.go b/financials/companies_item_journals_item_journal_lines_item_account_request_builder.go index 86ce4a7a665..d548833a1e4 100644 --- a/financials/companies_item_journals_item_journal_lines_item_account_request_builder.go +++ b/financials/companies_item_journals_item_journal_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemJournalsItemJournalLinesItemAccountRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_journals_item_journal_lines_journal_line_item_request_builder.go b/financials/companies_item_journals_item_journal_lines_journal_line_item_request_builder.go index 00588b6db2c..d819d8e41da 100644 --- a/financials/companies_item_journals_item_journal_lines_journal_line_item_request_builder.go +++ b/financials/companies_item_journals_item_journal_lines_journal_line_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemJournalsItemJournalLinesJournalLineItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get journalLines from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemJournalsItemJournalLinesJournalLineItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property journalLines in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemJournalsItemJournalLinesJournalLineItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_journals_item_journal_lines_request_builder.go b/financials/companies_item_journals_item_journal_lines_request_builder.go index 4b4ca3356cc..c49234bb64c 100644 --- a/financials/companies_item_journals_item_journal_lines_request_builder.go +++ b/financials/companies_item_journals_item_journal_lines_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemJournalsItemJournalLinesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to journalLines for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemJournalsItemJournalLinesRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_journals_item_post_request_builder.go b/financials/companies_item_journals_item_post_request_builder.go index 72d1720b4b0..b61e5e1a543 100644 --- a/financials/companies_item_journals_item_post_request_builder.go +++ b/financials/companies_item_journals_item_post_request_builder.go @@ -56,7 +56,7 @@ func (m *CompaniesItemJournalsItemPostRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_journals_journal_item_request_builder.go b/financials/companies_item_journals_journal_item_request_builder.go index 4a0c5c45bf6..2159f4165bc 100644 --- a/financials/companies_item_journals_journal_item_request_builder.go +++ b/financials/companies_item_journals_journal_item_request_builder.go @@ -130,7 +130,7 @@ func (m *CompaniesItemJournalsJournalItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get journals from financials @@ -146,7 +146,7 @@ func (m *CompaniesItemJournalsJournalItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property journals in financials @@ -159,7 +159,7 @@ func (m *CompaniesItemJournalsJournalItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_journals_request_builder.go b/financials/companies_item_journals_request_builder.go index dccb7a030e8..9647d811b10 100644 --- a/financials/companies_item_journals_request_builder.go +++ b/financials/companies_item_journals_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemJournalsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to journals for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemJournalsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_payment_methods_payment_method_item_request_builder.go b/financials/companies_item_payment_methods_payment_method_item_request_builder.go index b8091824f8e..ab13e9a081c 100644 --- a/financials/companies_item_payment_methods_payment_method_item_request_builder.go +++ b/financials/companies_item_payment_methods_payment_method_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemPaymentMethodsPaymentMethodItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentMethods from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemPaymentMethodsPaymentMethodItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentMethods in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemPaymentMethodsPaymentMethodItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_payment_methods_request_builder.go b/financials/companies_item_payment_methods_request_builder.go index 61b843fceb6..3e2b2ff20d1 100644 --- a/financials/companies_item_payment_methods_request_builder.go +++ b/financials/companies_item_payment_methods_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemPaymentMethodsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to paymentMethods for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemPaymentMethodsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_payment_terms_payment_term_item_request_builder.go b/financials/companies_item_payment_terms_payment_term_item_request_builder.go index e7d7c62a8e2..47726d28575 100644 --- a/financials/companies_item_payment_terms_payment_term_item_request_builder.go +++ b/financials/companies_item_payment_terms_payment_term_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemPaymentTermsPaymentTermItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerms from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemPaymentTermsPaymentTermItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerms in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemPaymentTermsPaymentTermItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_payment_terms_request_builder.go b/financials/companies_item_payment_terms_request_builder.go index 7fdc232eca2..d59b3451895 100644 --- a/financials/companies_item_payment_terms_request_builder.go +++ b/financials/companies_item_payment_terms_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemPaymentTermsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to paymentTerms for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemPaymentTermsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_picture_item_content_request_builder.go b/financials/companies_item_picture_item_content_request_builder.go index 49d71501b61..99cbad42912 100644 --- a/financials/companies_item_picture_item_content_request_builder.go +++ b/financials/companies_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemPictureItemContentRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemPictureItemContentRequestBuilder) ToPutRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_picture_picture_item_request_builder.go b/financials/companies_item_picture_picture_item_request_builder.go index eea74c79242..7732c3bbb62 100644 --- a/financials/companies_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemPicturePictureItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemPicturePictureItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemPicturePictureItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_picture_request_builder.go b/financials/companies_item_picture_request_builder.go index 68ed495bdff..d11702c5e9e 100644 --- a/financials/companies_item_picture_request_builder.go +++ b/financials/companies_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemPictureRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemPictureRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoice_lines_item_account_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_account_request_builder.go index 822465c48f7..79fd028c491 100644 --- a/financials/companies_item_purchase_invoice_lines_item_account_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemAccountRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_purchase_invoice_lines_item_item_item_category_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_item_category_request_builder.go index b92fce99210..6e75c23b81a 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemItemCategoryRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemItemCategoryRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemItemCategoryRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go index 1c8d2dde341..7997ab9aaca 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPictureItemContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPictureItemContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go index 5895ced53ae..ebe217f9f3b 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoice_lines_item_item_picture_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_picture_request_builder.go index fc1be24a802..1c427336a4a 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPictureRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemPictureRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoice_lines_item_item_request_builder.go b/financials/companies_item_purchase_invoice_lines_item_item_request_builder.go index 6b270670912..23d6b2bead2 100644 --- a/financials/companies_item_purchase_invoice_lines_item_item_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get item from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property item in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesItemItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go b/financials/companies_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go index ea010afd6a0..18de40bd652 100644 --- a/financials/companies_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go @@ -106,7 +106,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property purchaseInvoiceLines in financials @@ -119,7 +119,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesPurchaseInvoiceLineItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoice_lines_request_builder.go b/financials/companies_item_purchase_invoice_lines_request_builder.go index 2114c842436..6e40fb44e79 100644 --- a/financials/companies_item_purchase_invoice_lines_request_builder.go +++ b/financials/companies_item_purchase_invoice_lines_request_builder.go @@ -99,7 +99,7 @@ func (m *CompaniesItemPurchaseInvoiceLinesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_purchase_invoices_item_currency_request_builder.go b/financials/companies_item_purchase_invoices_item_currency_request_builder.go index 65cb6b95619..2cd2914fb24 100644 --- a/financials/companies_item_purchase_invoices_item_currency_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemPurchaseInvoicesItemCurrencyRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemPurchaseInvoicesItemCurrencyRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemPurchaseInvoicesItemCurrencyRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_post_request_builder.go b/financials/companies_item_purchase_invoices_item_post_request_builder.go index 4521f6d45ec..70ac4219927 100644 --- a/financials/companies_item_purchase_invoices_item_post_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_post_request_builder.go @@ -56,7 +56,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPostRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_account_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_account_request_builder.go index d1c881334be..b37b6b4fc4a 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_account_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemAccountRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_item_category_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_item_category_request_builder.go index 83e9df76ed6..265a744d76a 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemItemCatego requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemItemCatego requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemItemCatego requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go index af7929f3fcc..62d9be94025 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go index 1e625517de5..7336fc924fe 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPicturePic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPicturePic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPicturePic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_request_builder.go index c2b95f1ab0f..3a049a36d44 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemPictureReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_request_builder.go index bf561664a45..d289e55c080 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get item from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property item in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesItemItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go index f6443e25381..44db7745e2a 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_purchase_invoice_line_item_request_builder.go @@ -106,7 +106,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesPurchaseInvoiceLin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property purchaseInvoiceLines in financials @@ -119,7 +119,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesPurchaseInvoiceLin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_request_builder.go b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_request_builder.go index 19ed643d96a..8816d4fc213 100644 --- a/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_purchase_invoice_lines_request_builder.go @@ -99,7 +99,7 @@ func (m *CompaniesItemPurchaseInvoicesItemPurchaseInvoiceLinesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_purchase_invoices_item_vendor_currency_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_currency_request_builder.go index c0ec438a660..73d85fb5bea 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_currency_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorCurrencyRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorCurrencyRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorCurrencyRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_vendor_payment_method_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_payment_method_request_builder.go index cb18642b8c1..4aa19f65892 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_payment_method_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_payment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPaymentMethodRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPaymentMethodRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPaymentMethodRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_vendor_payment_term_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_payment_term_request_builder.go index 64660d04f91..f6b84471870 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_payment_term_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPaymentTermRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPaymentTermRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPaymentTermRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_vendor_picture_item_content_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_picture_item_content_request_builder.go index 0f7c8ef23d2..126f3a0d9e9 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_picture_item_content_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPictureItemContentRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPictureItemContentRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_purchase_invoices_item_vendor_picture_picture_item_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_picture_picture_item_request_builder.go index 41ae094bf40..10da50e1d3b 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_picture_picture_item_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPicturePictureItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPicturePictureItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPicturePictureItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_vendor_picture_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_picture_request_builder.go index 426744083f7..d2ff0a5078b 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_picture_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPictureRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorPictureRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_item_vendor_request_builder.go b/financials/companies_item_purchase_invoices_item_vendor_request_builder.go index f03bed078b9..b41924ba057 100644 --- a/financials/companies_item_purchase_invoices_item_vendor_request_builder.go +++ b/financials/companies_item_purchase_invoices_item_vendor_request_builder.go @@ -134,7 +134,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get vendor from financials @@ -150,7 +150,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property vendor in financials @@ -163,7 +163,7 @@ func (m *CompaniesItemPurchaseInvoicesItemVendorRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_purchase_invoice_item_request_builder.go b/financials/companies_item_purchase_invoices_purchase_invoice_item_request_builder.go index ad8b3b95a6a..4c2743e1b80 100644 --- a/financials/companies_item_purchase_invoices_purchase_invoice_item_request_builder.go +++ b/financials/companies_item_purchase_invoices_purchase_invoice_item_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemPurchaseInvoicesPurchaseInvoiceItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property purchaseInvoices in financials @@ -123,7 +123,7 @@ func (m *CompaniesItemPurchaseInvoicesPurchaseInvoiceItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_purchase_invoices_request_builder.go b/financials/companies_item_purchase_invoices_request_builder.go index 9f1043ab1b5..59be3e5101f 100644 --- a/financials/companies_item_purchase_invoices_request_builder.go +++ b/financials/companies_item_purchase_invoices_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemPurchaseInvoicesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_credit_memo_lines_item_account_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_account_request_builder.go index e0424a3a7af..f0b9eb591f9 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemAccountRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_item_category_request_builder.go index fca27da18bb..75d443957d1 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemItemCategoryRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemItemCategoryRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemItemCategoryRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go index f414fad9d5e..8444c817d67 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPictureItemContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPictureItemContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go index bf30dfb66ba..a3e0d65cc04 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_picture_request_builder.go index db936dfe485..4b18efc4c12 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPictureRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemPictureRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memo_lines_item_item_request_builder.go b/financials/companies_item_sales_credit_memo_lines_item_item_request_builder.go index f7d53ca7cb0..f0432815097 100644 --- a/financials/companies_item_sales_credit_memo_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get item from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property item in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemSalesCreditMemoLinesItemItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memo_lines_request_builder.go b/financials/companies_item_sales_credit_memo_lines_request_builder.go index c7732964edc..b6233b5499a 100644 --- a/financials/companies_item_sales_credit_memo_lines_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_request_builder.go @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesCreditMemoLinesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go b/financials/companies_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go index 42c26974662..24c95a1784e 100644 --- a/financials/companies_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go +++ b/financials/companies_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go @@ -106,7 +106,7 @@ func (m *CompaniesItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesCreditMemoLines in financials @@ -119,7 +119,7 @@ func (m *CompaniesItemSalesCreditMemoLinesSalesCreditMemoLineItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_currency_request_builder.go b/financials/companies_item_sales_credit_memos_item_currency_request_builder.go index 3725c53f95c..0ddb2abdae2 100644 --- a/financials/companies_item_sales_credit_memos_item_currency_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesCreditMemosItemCurrencyRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesCreditMemosItemCurrencyRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesCreditMemosItemCurrencyRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_customer_currency_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_currency_request_builder.go index 6a9d3299d92..ff493f25cfd 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_currency_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerCurrencyRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerCurrencyRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerCurrencyRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_customer_payment_method_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_payment_method_request_builder.go index 8e7d7929fdc..0e6a7464da0 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_payment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPaymentMethodRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPaymentMethodRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPaymentMethodRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_customer_payment_term_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_payment_term_request_builder.go index 5726bf283af..39437c497ee 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPaymentTermRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPaymentTermRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPaymentTermRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_customer_picture_item_content_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_picture_item_content_request_builder.go index b381bbaf6f8..2ec12d095f5 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPictureItemContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPictureItemContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_credit_memos_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_picture_picture_item_request_builder.go index 818ede9cc77..aade9fa6692 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPicturePictureItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_customer_picture_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_picture_request_builder.go index 0c41c88673f..c9029df0e02 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_picture_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPictureRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerPictureRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_customer_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_request_builder.go index fa2e8a8558f..d2f8e670d50 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_request_builder.go @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customer from financials @@ -154,7 +154,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customer in financials @@ -167,7 +167,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_customer_shipment_method_request_builder.go b/financials/companies_item_sales_credit_memos_item_customer_shipment_method_request_builder.go index 4422662cb83..9422c8c3703 100644 --- a/financials/companies_item_sales_credit_memos_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_customer_shipment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerShipmentMethodRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get shipmentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerShipmentMethodRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shipmentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesCreditMemosItemCustomerShipmentMethodRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_payment_term_request_builder.go b/financials/companies_item_sales_credit_memos_item_payment_term_request_builder.go index ded261099e3..d236d3b45fd 100644 --- a/financials/companies_item_sales_credit_memos_item_payment_term_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesCreditMemosItemPaymentTermRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesCreditMemosItemPaymentTermRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesCreditMemosItemPaymentTermRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_account_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_account_request_builder.go index 6e836e2ec2a..9fe4da13c41 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemAccountRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_item_category_request_builder.go index 3bba521564c..89167ac7b31 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemItemCatego requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemItemCatego requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemItemCatego requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go index 10d95ed4cb2..3cde56c23ad 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go index 4bd46b1442c..61e2757e170 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPicturePic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPicturePic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPicturePic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_request_builder.go index 00acb1368ff..7a2062cadbb 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemPictureReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_request_builder.go index b1b1aaf24d0..5b4c3811b6c 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get item from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property item in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesItemItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_request_builder.go index 44c9a341adc..2fa44cd1e81 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_request_builder.go @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go index 9651c4020f4..2bff55038ba 100644 --- a/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go +++ b/financials/companies_item_sales_credit_memos_item_sales_credit_memo_lines_sales_credit_memo_line_item_request_builder.go @@ -106,7 +106,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesSalesCreditMemoLin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesCreditMemoLines in financials @@ -119,7 +119,7 @@ func (m *CompaniesItemSalesCreditMemosItemSalesCreditMemoLinesSalesCreditMemoLin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_credit_memos_request_builder.go b/financials/companies_item_sales_credit_memos_request_builder.go index acfb4374f0b..7edac31a616 100644 --- a/financials/companies_item_sales_credit_memos_request_builder.go +++ b/financials/companies_item_sales_credit_memos_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemSalesCreditMemosRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_credit_memos_sales_credit_memo_item_request_builder.go b/financials/companies_item_sales_credit_memos_sales_credit_memo_item_request_builder.go index 1da111cb23e..a2025962c31 100644 --- a/financials/companies_item_sales_credit_memos_sales_credit_memo_item_request_builder.go +++ b/financials/companies_item_sales_credit_memos_sales_credit_memo_item_request_builder.go @@ -114,7 +114,7 @@ func (m *CompaniesItemSalesCreditMemosSalesCreditMemoItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesCreditMemos in financials @@ -127,7 +127,7 @@ func (m *CompaniesItemSalesCreditMemosSalesCreditMemoItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoice_lines_item_account_request_builder.go b/financials/companies_item_sales_invoice_lines_item_account_request_builder.go index 3939f653b14..9f3023adcfe 100644 --- a/financials/companies_item_sales_invoice_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemAccountRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_invoice_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_item_category_request_builder.go index 4883c603183..e9dd43ac152 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemItemCategoryRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemItemCategoryRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemItemCategoryRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go index 098621cd115..70906a5a153 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPictureItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPictureItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go index 101b8dc4748..61d834e78d1 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPicturePictureItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPicturePictureItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPicturePictureItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoice_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_picture_request_builder.go index 03a0a0c18eb..8d9a33f6ef1 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPictureRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemPictureRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoice_lines_item_item_request_builder.go b/financials/companies_item_sales_invoice_lines_item_item_request_builder.go index be4d1af3b18..62218825b79 100644 --- a/financials/companies_item_sales_invoice_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get item from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property item in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemSalesInvoiceLinesItemItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoice_lines_request_builder.go b/financials/companies_item_sales_invoice_lines_request_builder.go index 65e6c352bb2..7eb73247d7a 100644 --- a/financials/companies_item_sales_invoice_lines_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_request_builder.go @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesInvoiceLinesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go b/financials/companies_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go index 30b6ca980b7..7b599068dda 100644 --- a/financials/companies_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go +++ b/financials/companies_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go @@ -106,7 +106,7 @@ func (m *CompaniesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesInvoiceLines in financials @@ -119,7 +119,7 @@ func (m *CompaniesItemSalesInvoiceLinesSalesInvoiceLineItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_cancel_and_send_request_builder.go b/financials/companies_item_sales_invoices_item_cancel_and_send_request_builder.go index 62240549b7f..74653e8a328 100644 --- a/financials/companies_item_sales_invoices_item_cancel_and_send_request_builder.go +++ b/financials/companies_item_sales_invoices_item_cancel_and_send_request_builder.go @@ -56,7 +56,7 @@ func (m *CompaniesItemSalesInvoicesItemCancelAndSendRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_invoices_item_cancel_request_builder.go b/financials/companies_item_sales_invoices_item_cancel_request_builder.go index d785341213e..637458bfcc7 100644 --- a/financials/companies_item_sales_invoices_item_cancel_request_builder.go +++ b/financials/companies_item_sales_invoices_item_cancel_request_builder.go @@ -56,7 +56,7 @@ func (m *CompaniesItemSalesInvoicesItemCancelRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_invoices_item_currency_request_builder.go b/financials/companies_item_sales_invoices_item_currency_request_builder.go index 93dae96b8fa..5c38324a5f1 100644 --- a/financials/companies_item_sales_invoices_item_currency_request_builder.go +++ b/financials/companies_item_sales_invoices_item_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesInvoicesItemCurrencyRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesInvoicesItemCurrencyRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesInvoicesItemCurrencyRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_customer_currency_request_builder.go b/financials/companies_item_sales_invoices_item_customer_currency_request_builder.go index f3de9d7a48d..7acb50394a1 100644 --- a/financials/companies_item_sales_invoices_item_customer_currency_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerCurrencyRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerCurrencyRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerCurrencyRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_customer_payment_method_request_builder.go b/financials/companies_item_sales_invoices_item_customer_payment_method_request_builder.go index 8838ec725f5..699bfcbda96 100644 --- a/financials/companies_item_sales_invoices_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_payment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPaymentMethodRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPaymentMethodRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPaymentMethodRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_customer_payment_term_request_builder.go b/financials/companies_item_sales_invoices_item_customer_payment_term_request_builder.go index 103571a821d..ba9f051386c 100644 --- a/financials/companies_item_sales_invoices_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPaymentTermRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPaymentTermRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPaymentTermRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_customer_picture_item_content_request_builder.go b/financials/companies_item_sales_invoices_item_customer_picture_item_content_request_builder.go index 03555705c5c..b5201c24e54 100644 --- a/financials/companies_item_sales_invoices_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPictureItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPictureItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_invoices_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_sales_invoices_item_customer_picture_picture_item_request_builder.go index 57ad10d580d..bdc2253cfc5 100644 --- a/financials/companies_item_sales_invoices_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPicturePictureItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPicturePictureItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPicturePictureItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_customer_picture_request_builder.go b/financials/companies_item_sales_invoices_item_customer_picture_request_builder.go index 67b0fad7a9b..2ed9ec7dabf 100644 --- a/financials/companies_item_sales_invoices_item_customer_picture_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPictureRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerPictureRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_customer_request_builder.go b/financials/companies_item_sales_invoices_item_customer_request_builder.go index 7d23a721c2f..5a85bfd946d 100644 --- a/financials/companies_item_sales_invoices_item_customer_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_request_builder.go @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customer from financials @@ -154,7 +154,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customer in financials @@ -167,7 +167,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_customer_shipment_method_request_builder.go b/financials/companies_item_sales_invoices_item_customer_shipment_method_request_builder.go index 3f498af9d2e..3e0c00f324c 100644 --- a/financials/companies_item_sales_invoices_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_sales_invoices_item_customer_shipment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerShipmentMethodRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get shipmentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerShipmentMethodRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shipmentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesInvoicesItemCustomerShipmentMethodRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_payment_term_request_builder.go b/financials/companies_item_sales_invoices_item_payment_term_request_builder.go index 4a826ebe152..3850c1bb830 100644 --- a/financials/companies_item_sales_invoices_item_payment_term_request_builder.go +++ b/financials/companies_item_sales_invoices_item_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesInvoicesItemPaymentTermRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesInvoicesItemPaymentTermRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesInvoicesItemPaymentTermRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_post_and_send_request_builder.go b/financials/companies_item_sales_invoices_item_post_and_send_request_builder.go index e1dbd437b71..ebfe8fca9af 100644 --- a/financials/companies_item_sales_invoices_item_post_and_send_request_builder.go +++ b/financials/companies_item_sales_invoices_item_post_and_send_request_builder.go @@ -56,7 +56,7 @@ func (m *CompaniesItemSalesInvoicesItemPostAndSendRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_invoices_item_post_request_builder.go b/financials/companies_item_sales_invoices_item_post_request_builder.go index 82d04154769..54c974e99d3 100644 --- a/financials/companies_item_sales_invoices_item_post_request_builder.go +++ b/financials/companies_item_sales_invoices_item_post_request_builder.go @@ -56,7 +56,7 @@ func (m *CompaniesItemSalesInvoicesItemPostRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_account_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_account_request_builder.go index 434cd2eb66f..547987d6b7d 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemAccountRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_item_category_request_builder.go index 74a062265c4..69a9a3d947d 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemItemCategoryRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemItemCategoryRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemItemCategoryRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go index 65e6765befa..182fdb4d152 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureItemConte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureItemConte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go index 1113d631183..6b76cf76a90 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPicturePictureIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPicturePictureIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPicturePictureIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_request_builder.go index 970e72fcd23..48994fc2395 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemPictureRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_request_builder.go index 3b693a2b6e5..99f8dd78c1e 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get item from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property item in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesItemItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_request_builder.go index fa706e2ceac..7bc135e115e 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_request_builder.go @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_invoices_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go b/financials/companies_item_sales_invoices_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go index 35313d49c50..076823e44ba 100644 --- a/financials/companies_item_sales_invoices_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go +++ b/financials/companies_item_sales_invoices_item_sales_invoice_lines_sales_invoice_line_item_request_builder.go @@ -106,7 +106,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesSalesInvoiceLineItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesInvoiceLines in financials @@ -119,7 +119,7 @@ func (m *CompaniesItemSalesInvoicesItemSalesInvoiceLinesSalesInvoiceLineItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_item_send_request_builder.go b/financials/companies_item_sales_invoices_item_send_request_builder.go index 713bde64d8d..9d58fc92bdd 100644 --- a/financials/companies_item_sales_invoices_item_send_request_builder.go +++ b/financials/companies_item_sales_invoices_item_send_request_builder.go @@ -56,7 +56,7 @@ func (m *CompaniesItemSalesInvoicesItemSendRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_invoices_item_shipment_method_request_builder.go b/financials/companies_item_sales_invoices_item_shipment_method_request_builder.go index 438822aec84..56359be9b99 100644 --- a/financials/companies_item_sales_invoices_item_shipment_method_request_builder.go +++ b/financials/companies_item_sales_invoices_item_shipment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesInvoicesItemShipmentMethodRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get shipmentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesInvoicesItemShipmentMethodRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shipmentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesInvoicesItemShipmentMethodRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_invoices_request_builder.go b/financials/companies_item_sales_invoices_request_builder.go index 9b33399891c..255b4e405c7 100644 --- a/financials/companies_item_sales_invoices_request_builder.go +++ b/financials/companies_item_sales_invoices_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemSalesInvoicesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_invoices_sales_invoice_item_request_builder.go b/financials/companies_item_sales_invoices_sales_invoice_item_request_builder.go index a527335bb8f..116d910fb12 100644 --- a/financials/companies_item_sales_invoices_sales_invoice_item_request_builder.go +++ b/financials/companies_item_sales_invoices_sales_invoice_item_request_builder.go @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesInvoicesSalesInvoiceItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesInvoices in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesInvoicesSalesInvoiceItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_order_lines_item_account_request_builder.go b/financials/companies_item_sales_order_lines_item_account_request_builder.go index 6f6797a6ad5..a936ec19344 100644 --- a/financials/companies_item_sales_order_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemSalesOrderLinesItemAccountRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_order_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_order_lines_item_item_item_category_request_builder.go index 89f099e56f2..7bda238113b 100644 --- a/financials/companies_item_sales_order_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemItemCategoryRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemItemCategoryRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemItemCategoryRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_order_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_order_lines_item_item_picture_item_content_request_builder.go index 345f8e89faa..918feb62cfa 100644 --- a/financials/companies_item_sales_order_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPictureItemContentRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPictureItemContentRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_order_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_order_lines_item_item_picture_picture_item_request_builder.go index 6810d89bc04..a3edb8d92d2 100644 --- a/financials/companies_item_sales_order_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_order_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_order_lines_item_item_picture_request_builder.go index 8920e282f64..fbe968ddfbe 100644 --- a/financials/companies_item_sales_order_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPictureRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemPictureRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_order_lines_item_item_request_builder.go b/financials/companies_item_sales_order_lines_item_item_request_builder.go index 2119c939580..5c0d9d4964d 100644 --- a/financials/companies_item_sales_order_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_order_lines_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get item from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property item in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemSalesOrderLinesItemItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_order_lines_request_builder.go b/financials/companies_item_sales_order_lines_request_builder.go index ab90e41ba75..e985aaf8e3a 100644 --- a/financials/companies_item_sales_order_lines_request_builder.go +++ b/financials/companies_item_sales_order_lines_request_builder.go @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesOrderLinesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_order_lines_sales_order_line_item_request_builder.go b/financials/companies_item_sales_order_lines_sales_order_line_item_request_builder.go index 7821c22bbb3..a6f5f932aaf 100644 --- a/financials/companies_item_sales_order_lines_sales_order_line_item_request_builder.go +++ b/financials/companies_item_sales_order_lines_sales_order_line_item_request_builder.go @@ -106,7 +106,7 @@ func (m *CompaniesItemSalesOrderLinesSalesOrderLineItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesOrderLines in financials @@ -119,7 +119,7 @@ func (m *CompaniesItemSalesOrderLinesSalesOrderLineItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_currency_request_builder.go b/financials/companies_item_sales_orders_item_currency_request_builder.go index 0ed92e78042..6620a730b54 100644 --- a/financials/companies_item_sales_orders_item_currency_request_builder.go +++ b/financials/companies_item_sales_orders_item_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesOrdersItemCurrencyRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesOrdersItemCurrencyRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesOrdersItemCurrencyRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_customer_currency_request_builder.go b/financials/companies_item_sales_orders_item_customer_currency_request_builder.go index 16d73f224db..6097f86e5fd 100644 --- a/financials/companies_item_sales_orders_item_customer_currency_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerCurrencyRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerCurrencyRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerCurrencyRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_customer_payment_method_request_builder.go b/financials/companies_item_sales_orders_item_customer_payment_method_request_builder.go index 9f0edf5e2dc..85aaf9f6291 100644 --- a/financials/companies_item_sales_orders_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_payment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPaymentMethodRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPaymentMethodRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPaymentMethodRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_customer_payment_term_request_builder.go b/financials/companies_item_sales_orders_item_customer_payment_term_request_builder.go index cd73524c707..50480e7909f 100644 --- a/financials/companies_item_sales_orders_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPaymentTermRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPaymentTermRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPaymentTermRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_customer_picture_item_content_request_builder.go b/financials/companies_item_sales_orders_item_customer_picture_item_content_request_builder.go index 7078d8cf01f..8a33fa1fc02 100644 --- a/financials/companies_item_sales_orders_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPictureItemContentRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPictureItemContentRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_orders_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_sales_orders_item_customer_picture_picture_item_request_builder.go index 4b0d856e1b3..1c2fc3601c2 100644 --- a/financials/companies_item_sales_orders_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_customer_picture_request_builder.go b/financials/companies_item_sales_orders_item_customer_picture_request_builder.go index 2f2c0765ce0..98ebe89e32b 100644 --- a/financials/companies_item_sales_orders_item_customer_picture_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPictureRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerPictureRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_customer_request_builder.go b/financials/companies_item_sales_orders_item_customer_request_builder.go index 886dce25979..93f45abc3dc 100644 --- a/financials/companies_item_sales_orders_item_customer_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_request_builder.go @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customer from financials @@ -154,7 +154,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customer in financials @@ -167,7 +167,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_customer_shipment_method_request_builder.go b/financials/companies_item_sales_orders_item_customer_shipment_method_request_builder.go index 5b74192cd5e..2c61097f2f8 100644 --- a/financials/companies_item_sales_orders_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_sales_orders_item_customer_shipment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerShipmentMethodRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get shipmentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerShipmentMethodRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shipmentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesOrdersItemCustomerShipmentMethodRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_payment_term_request_builder.go b/financials/companies_item_sales_orders_item_payment_term_request_builder.go index 6966f2c56b3..192180e7322 100644 --- a/financials/companies_item_sales_orders_item_payment_term_request_builder.go +++ b/financials/companies_item_sales_orders_item_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesOrdersItemPaymentTermRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesOrdersItemPaymentTermRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesOrdersItemPaymentTermRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_account_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_account_request_builder.go index 17201b967fd..518b98e8488 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemAccountRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_item_category_request_builder.go index 85dd9f493e8..022e2522a56 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemItemCategoryRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemItemCategoryRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemItemCategoryRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_item_content_request_builder.go index df108bcbe4c..7e6f23d13df 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureItemContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureItemContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_picture_item_request_builder.go index 26c88d45329..1a09ec694dc 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPicturePictureItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPicturePictureItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPicturePictureItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_request_builder.go index 6a3e55d6853..572d763f206 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemPictureRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_request_builder.go index b4a6a959c5d..a84540bad4a 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get item from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property item in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesItemItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_request_builder.go index 2f9a08cca24..faf89a8f47f 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_request_builder.go @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_orders_item_sales_order_lines_sales_order_line_item_request_builder.go b/financials/companies_item_sales_orders_item_sales_order_lines_sales_order_line_item_request_builder.go index 582a46690f9..2a46b45b2d7 100644 --- a/financials/companies_item_sales_orders_item_sales_order_lines_sales_order_line_item_request_builder.go +++ b/financials/companies_item_sales_orders_item_sales_order_lines_sales_order_line_item_request_builder.go @@ -106,7 +106,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesSalesOrderLineItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesOrderLines in financials @@ -119,7 +119,7 @@ func (m *CompaniesItemSalesOrdersItemSalesOrderLinesSalesOrderLineItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_orders_request_builder.go b/financials/companies_item_sales_orders_request_builder.go index d5e074b1c3c..f89a5974a39 100644 --- a/financials/companies_item_sales_orders_request_builder.go +++ b/financials/companies_item_sales_orders_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemSalesOrdersRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_orders_sales_order_item_request_builder.go b/financials/companies_item_sales_orders_sales_order_item_request_builder.go index b0a849d8d50..a7af950ed52 100644 --- a/financials/companies_item_sales_orders_sales_order_item_request_builder.go +++ b/financials/companies_item_sales_orders_sales_order_item_request_builder.go @@ -114,7 +114,7 @@ func (m *CompaniesItemSalesOrdersSalesOrderItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesOrders in financials @@ -127,7 +127,7 @@ func (m *CompaniesItemSalesOrdersSalesOrderItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quote_lines_item_account_request_builder.go b/financials/companies_item_sales_quote_lines_item_account_request_builder.go index d585ce7b558..b43ee5c4b9a 100644 --- a/financials/companies_item_sales_quote_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemSalesQuoteLinesItemAccountRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_quote_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_item_category_request_builder.go index 94111910f25..073146223c0 100644 --- a/financials/companies_item_sales_quote_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemItemCategoryRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemItemCategoryRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemItemCategoryRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quote_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_picture_item_content_request_builder.go index 465fb7d3c53..be5585b20e0 100644 --- a/financials/companies_item_sales_quote_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPictureItemContentRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPictureItemContentRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go index 0ba980221be..826d079ac95 100644 --- a/financials/companies_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quote_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_picture_request_builder.go index 1fdc93f8382..b3dd789258d 100644 --- a/financials/companies_item_sales_quote_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPictureRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemPictureRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quote_lines_item_item_request_builder.go b/financials/companies_item_sales_quote_lines_item_item_request_builder.go index 9fb45170724..2182fe7104d 100644 --- a/financials/companies_item_sales_quote_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_quote_lines_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get item from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property item in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemSalesQuoteLinesItemItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quote_lines_request_builder.go b/financials/companies_item_sales_quote_lines_request_builder.go index 5a9e353519b..4d1a64a812d 100644 --- a/financials/companies_item_sales_quote_lines_request_builder.go +++ b/financials/companies_item_sales_quote_lines_request_builder.go @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesQuoteLinesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_quote_lines_sales_quote_line_item_request_builder.go b/financials/companies_item_sales_quote_lines_sales_quote_line_item_request_builder.go index b7a4f55f191..92faf4b1ad4 100644 --- a/financials/companies_item_sales_quote_lines_sales_quote_line_item_request_builder.go +++ b/financials/companies_item_sales_quote_lines_sales_quote_line_item_request_builder.go @@ -106,7 +106,7 @@ func (m *CompaniesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesQuoteLines in financials @@ -119,7 +119,7 @@ func (m *CompaniesItemSalesQuoteLinesSalesQuoteLineItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_currency_request_builder.go b/financials/companies_item_sales_quotes_item_currency_request_builder.go index 528dd1fe062..6e88670e3ba 100644 --- a/financials/companies_item_sales_quotes_item_currency_request_builder.go +++ b/financials/companies_item_sales_quotes_item_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesQuotesItemCurrencyRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesQuotesItemCurrencyRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesQuotesItemCurrencyRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_customer_currency_request_builder.go b/financials/companies_item_sales_quotes_item_customer_currency_request_builder.go index 9bdc34de7c2..915546cb97d 100644 --- a/financials/companies_item_sales_quotes_item_customer_currency_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerCurrencyRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerCurrencyRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerCurrencyRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_customer_payment_method_request_builder.go b/financials/companies_item_sales_quotes_item_customer_payment_method_request_builder.go index 766e34647c3..7eb314f7985 100644 --- a/financials/companies_item_sales_quotes_item_customer_payment_method_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_payment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPaymentMethodRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPaymentMethodRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPaymentMethodRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_customer_payment_term_request_builder.go b/financials/companies_item_sales_quotes_item_customer_payment_term_request_builder.go index 5d9ff8080ec..5f6ea67f118 100644 --- a/financials/companies_item_sales_quotes_item_customer_payment_term_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPaymentTermRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPaymentTermRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPaymentTermRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_customer_picture_item_content_request_builder.go b/financials/companies_item_sales_quotes_item_customer_picture_item_content_request_builder.go index 8f892b8a021..744175c2b78 100644 --- a/financials/companies_item_sales_quotes_item_customer_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPictureItemContentRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPictureItemContentRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_quotes_item_customer_picture_picture_item_request_builder.go b/financials/companies_item_sales_quotes_item_customer_picture_picture_item_request_builder.go index 59f80577e1a..213f4edd2be 100644 --- a/financials/companies_item_sales_quotes_item_customer_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPicturePictureItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_customer_picture_request_builder.go b/financials/companies_item_sales_quotes_item_customer_picture_request_builder.go index 7250565ab47..9067ec6054c 100644 --- a/financials/companies_item_sales_quotes_item_customer_picture_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPictureRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerPictureRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_customer_request_builder.go b/financials/companies_item_sales_quotes_item_customer_request_builder.go index eea51617331..ed613607f5e 100644 --- a/financials/companies_item_sales_quotes_item_customer_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_request_builder.go @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get customer from financials @@ -154,7 +154,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customer in financials @@ -167,7 +167,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_customer_shipment_method_request_builder.go b/financials/companies_item_sales_quotes_item_customer_shipment_method_request_builder.go index b608187d357..7322ecba8c7 100644 --- a/financials/companies_item_sales_quotes_item_customer_shipment_method_request_builder.go +++ b/financials/companies_item_sales_quotes_item_customer_shipment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerShipmentMethodRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get shipmentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerShipmentMethodRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shipmentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesQuotesItemCustomerShipmentMethodRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_make_invoice_request_builder.go b/financials/companies_item_sales_quotes_item_make_invoice_request_builder.go index 226c0cf1de5..9cbdd28b001 100644 --- a/financials/companies_item_sales_quotes_item_make_invoice_request_builder.go +++ b/financials/companies_item_sales_quotes_item_make_invoice_request_builder.go @@ -56,7 +56,7 @@ func (m *CompaniesItemSalesQuotesItemMakeInvoiceRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_quotes_item_payment_term_request_builder.go b/financials/companies_item_sales_quotes_item_payment_term_request_builder.go index f669c50447b..a2c21cfda4a 100644 --- a/financials/companies_item_sales_quotes_item_payment_term_request_builder.go +++ b/financials/companies_item_sales_quotes_item_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesQuotesItemPaymentTermRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesQuotesItemPaymentTermRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesQuotesItemPaymentTermRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_account_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_account_request_builder.go index f1cdac1a621..5100f689859 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_account_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_account_request_builder.go @@ -72,7 +72,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemAccountRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_item_category_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_item_category_request_builder.go index 58589d32aab..b27f96d352f 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_item_category_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_item_category_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemItemCategoryRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemCategory from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemItemCategoryRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemCategory in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemItemCategoryRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_item_content_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_item_content_request_builder.go index 5fb0b454139..4157c5adf47 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_item_content_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureItemContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureItemContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go index 6fe2b18a92e..226004e9a76 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPicturePictureItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPicturePictureItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPicturePictureItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_request_builder.go index 2d836d90c22..b4d8db05f8b 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemPictureRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_request_builder.go index 40eaf7c29c9..2b136cb797a 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get item from financials @@ -142,7 +142,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property item in financials @@ -155,7 +155,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesItemItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_request_builder.go index 24e87cada65..c158c02b380 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_request_builder.go @@ -99,7 +99,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_quotes_item_sales_quote_lines_sales_quote_line_item_request_builder.go b/financials/companies_item_sales_quotes_item_sales_quote_lines_sales_quote_line_item_request_builder.go index 39bbab277c2..679906f265a 100644 --- a/financials/companies_item_sales_quotes_item_sales_quote_lines_sales_quote_line_item_request_builder.go +++ b/financials/companies_item_sales_quotes_item_sales_quote_lines_sales_quote_line_item_request_builder.go @@ -106,7 +106,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesSalesQuoteLineItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesQuoteLines in financials @@ -119,7 +119,7 @@ func (m *CompaniesItemSalesQuotesItemSalesQuoteLinesSalesQuoteLineItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_item_send_request_builder.go b/financials/companies_item_sales_quotes_item_send_request_builder.go index 86f7f042cdb..41626e7d165 100644 --- a/financials/companies_item_sales_quotes_item_send_request_builder.go +++ b/financials/companies_item_sales_quotes_item_send_request_builder.go @@ -56,7 +56,7 @@ func (m *CompaniesItemSalesQuotesItemSendRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_quotes_item_shipment_method_request_builder.go b/financials/companies_item_sales_quotes_item_shipment_method_request_builder.go index 9803342ec74..52ab69aa898 100644 --- a/financials/companies_item_sales_quotes_item_shipment_method_request_builder.go +++ b/financials/companies_item_sales_quotes_item_shipment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemSalesQuotesItemShipmentMethodRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get shipmentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemSalesQuotesItemShipmentMethodRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shipmentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemSalesQuotesItemShipmentMethodRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_sales_quotes_request_builder.go b/financials/companies_item_sales_quotes_request_builder.go index 3782cf2478f..3fccf5957a9 100644 --- a/financials/companies_item_sales_quotes_request_builder.go +++ b/financials/companies_item_sales_quotes_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesItemSalesQuotesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/companies_item_sales_quotes_sales_quote_item_request_builder.go b/financials/companies_item_sales_quotes_sales_quote_item_request_builder.go index 7add9221144..c4a6488af68 100644 --- a/financials/companies_item_sales_quotes_sales_quote_item_request_builder.go +++ b/financials/companies_item_sales_quotes_sales_quote_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CompaniesItemSalesQuotesSalesQuoteItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property salesQuotes in financials @@ -139,7 +139,7 @@ func (m *CompaniesItemSalesQuotesSalesQuoteItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_shipment_methods_request_builder.go b/financials/companies_item_shipment_methods_request_builder.go index dd1c109c02e..117ee7c016e 100644 --- a/financials/companies_item_shipment_methods_request_builder.go +++ b/financials/companies_item_shipment_methods_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemShipmentMethodsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to shipmentMethods for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemShipmentMethodsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_shipment_methods_shipment_method_item_request_builder.go b/financials/companies_item_shipment_methods_shipment_method_item_request_builder.go index 64dfbaeabb7..3d3df7312ed 100644 --- a/financials/companies_item_shipment_methods_shipment_method_item_request_builder.go +++ b/financials/companies_item_shipment_methods_shipment_method_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemShipmentMethodsShipmentMethodItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get shipmentMethods from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemShipmentMethodsShipmentMethodItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shipmentMethods in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemShipmentMethodsShipmentMethodItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_tax_areas_request_builder.go b/financials/companies_item_tax_areas_request_builder.go index f5e99c54c45..37441496142 100644 --- a/financials/companies_item_tax_areas_request_builder.go +++ b/financials/companies_item_tax_areas_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemTaxAreasRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to taxAreas for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemTaxAreasRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_tax_areas_tax_area_item_request_builder.go b/financials/companies_item_tax_areas_tax_area_item_request_builder.go index 28bec5549c5..8dc6e7fb667 100644 --- a/financials/companies_item_tax_areas_tax_area_item_request_builder.go +++ b/financials/companies_item_tax_areas_tax_area_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemTaxAreasTaxAreaItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get taxAreas from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemTaxAreasTaxAreaItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property taxAreas in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemTaxAreasTaxAreaItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_tax_groups_request_builder.go b/financials/companies_item_tax_groups_request_builder.go index c48e3c2c86b..27ca136e24c 100644 --- a/financials/companies_item_tax_groups_request_builder.go +++ b/financials/companies_item_tax_groups_request_builder.go @@ -125,7 +125,7 @@ func (m *CompaniesItemTaxGroupsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to taxGroups for financials @@ -138,7 +138,7 @@ func (m *CompaniesItemTaxGroupsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_tax_groups_tax_group_item_request_builder.go b/financials/companies_item_tax_groups_tax_group_item_request_builder.go index f78d30426c1..a5ff9a98c1b 100644 --- a/financials/companies_item_tax_groups_tax_group_item_request_builder.go +++ b/financials/companies_item_tax_groups_tax_group_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemTaxGroupsTaxGroupItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get taxGroups from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemTaxGroupsTaxGroupItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property taxGroups in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemTaxGroupsTaxGroupItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_units_of_measure_request_builder.go b/financials/companies_item_units_of_measure_request_builder.go index 5b9f985527d..775ed777f58 100644 --- a/financials/companies_item_units_of_measure_request_builder.go +++ b/financials/companies_item_units_of_measure_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemUnitsOfMeasureRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to unitsOfMeasure for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemUnitsOfMeasureRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_units_of_measure_unit_of_measure_item_request_builder.go b/financials/companies_item_units_of_measure_unit_of_measure_item_request_builder.go index ce0cc88a1c6..84089ad7cc2 100644 --- a/financials/companies_item_units_of_measure_unit_of_measure_item_request_builder.go +++ b/financials/companies_item_units_of_measure_unit_of_measure_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemUnitsOfMeasureUnitOfMeasureItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get unitsOfMeasure from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemUnitsOfMeasureUnitOfMeasureItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property unitsOfMeasure in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemUnitsOfMeasureUnitOfMeasureItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_vendors_item_currency_request_builder.go b/financials/companies_item_vendors_item_currency_request_builder.go index 9925bb865ec..bf4106f69ac 100644 --- a/financials/companies_item_vendors_item_currency_request_builder.go +++ b/financials/companies_item_vendors_item_currency_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemVendorsItemCurrencyRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get currency from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemVendorsItemCurrencyRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property currency in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemVendorsItemCurrencyRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_vendors_item_payment_method_request_builder.go b/financials/companies_item_vendors_item_payment_method_request_builder.go index 2f9df50f7c7..ef3210d3370 100644 --- a/financials/companies_item_vendors_item_payment_method_request_builder.go +++ b/financials/companies_item_vendors_item_payment_method_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemVendorsItemPaymentMethodRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentMethod from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemVendorsItemPaymentMethodRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentMethod in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemVendorsItemPaymentMethodRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_vendors_item_payment_term_request_builder.go b/financials/companies_item_vendors_item_payment_term_request_builder.go index a8a49ca27f7..2d05681a269 100644 --- a/financials/companies_item_vendors_item_payment_term_request_builder.go +++ b/financials/companies_item_vendors_item_payment_term_request_builder.go @@ -118,7 +118,7 @@ func (m *CompaniesItemVendorsItemPaymentTermRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get paymentTerm from financials @@ -134,7 +134,7 @@ func (m *CompaniesItemVendorsItemPaymentTermRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property paymentTerm in financials @@ -147,7 +147,7 @@ func (m *CompaniesItemVendorsItemPaymentTermRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_vendors_item_picture_item_content_request_builder.go b/financials/companies_item_vendors_item_picture_item_content_request_builder.go index 8970ea5e964..6e3bb21f053 100644 --- a/financials/companies_item_vendors_item_picture_item_content_request_builder.go +++ b/financials/companies_item_vendors_item_picture_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *CompaniesItemVendorsItemPictureItemContentRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property picture in financials @@ -99,7 +99,7 @@ func (m *CompaniesItemVendorsItemPictureItemContentRequestBuilder) ToPutRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/financials/companies_item_vendors_item_picture_picture_item_request_builder.go b/financials/companies_item_vendors_item_picture_picture_item_request_builder.go index 94cd917649d..3f19b096dab 100644 --- a/financials/companies_item_vendors_item_picture_picture_item_request_builder.go +++ b/financials/companies_item_vendors_item_picture_picture_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CompaniesItemVendorsItemPicturePictureItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get picture from financials @@ -138,7 +138,7 @@ func (m *CompaniesItemVendorsItemPicturePictureItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property picture in financials @@ -151,7 +151,7 @@ func (m *CompaniesItemVendorsItemPicturePictureItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_vendors_item_picture_request_builder.go b/financials/companies_item_vendors_item_picture_request_builder.go index 6bd755c1b80..1095b51b37c 100644 --- a/financials/companies_item_vendors_item_picture_request_builder.go +++ b/financials/companies_item_vendors_item_picture_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemVendorsItemPictureRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to picture for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemVendorsItemPictureRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_vendors_request_builder.go b/financials/companies_item_vendors_request_builder.go index 4d4a3f16bbc..34ce6562a3a 100644 --- a/financials/companies_item_vendors_request_builder.go +++ b/financials/companies_item_vendors_request_builder.go @@ -136,7 +136,7 @@ func (m *CompaniesItemVendorsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to vendors for financials @@ -149,7 +149,7 @@ func (m *CompaniesItemVendorsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_item_vendors_vendor_item_request_builder.go b/financials/companies_item_vendors_vendor_item_request_builder.go index 3b98d879edc..ec6657716c6 100644 --- a/financials/companies_item_vendors_vendor_item_request_builder.go +++ b/financials/companies_item_vendors_vendor_item_request_builder.go @@ -134,7 +134,7 @@ func (m *CompaniesItemVendorsVendorItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get vendors from financials @@ -150,7 +150,7 @@ func (m *CompaniesItemVendorsVendorItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property vendors in financials @@ -163,7 +163,7 @@ func (m *CompaniesItemVendorsVendorItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/financials/companies_request_builder.go b/financials/companies_request_builder.go index adc400f8d9f..4dc5e1c3c81 100644 --- a/financials/companies_request_builder.go +++ b/financials/companies_request_builder.go @@ -110,7 +110,7 @@ func (m *CompaniesRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/financials/financials_request_builder.go b/financials/financials_request_builder.go index 5f68e9e4969..0361bf3b791 100644 --- a/financials/financials_request_builder.go +++ b/financials/financials_request_builder.go @@ -102,7 +102,7 @@ func (m *FinancialsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update financials @@ -115,7 +115,7 @@ func (m *FinancialsRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/functions/attribute_mapping_function_schema_item_request_builder.go b/functions/attribute_mapping_function_schema_item_request_builder.go index e067c0f7caa..10a4524aa43 100644 --- a/functions/attribute_mapping_function_schema_item_request_builder.go +++ b/functions/attribute_mapping_function_schema_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AttributeMappingFunctionSchemaItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from functions by key @@ -134,7 +134,7 @@ func (m *AttributeMappingFunctionSchemaItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in functions @@ -147,7 +147,7 @@ func (m *AttributeMappingFunctionSchemaItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/functions/functions_request_builder.go b/functions/functions_request_builder.go index 4b7e9117d95..e2005e84a50 100644 --- a/functions/functions_request_builder.go +++ b/functions/functions_request_builder.go @@ -125,7 +125,7 @@ func (m *FunctionsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to functions @@ -138,7 +138,7 @@ func (m *FunctionsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/governance_resource_item_request_builder.go b/governanceresources/governance_resource_item_request_builder.go index a1bcfa140de..fde6d558bba 100644 --- a/governanceresources/governance_resource_item_request_builder.go +++ b/governanceresources/governance_resource_item_request_builder.go @@ -138,7 +138,7 @@ func (m *GovernanceResourceItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from governanceResources by key @@ -154,7 +154,7 @@ func (m *GovernanceResourceItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in governanceResources @@ -167,7 +167,7 @@ func (m *GovernanceResourceItemRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/governance_resources_request_builder.go b/governanceresources/governance_resources_request_builder.go index 2d61acb22ee..2a914e9f6f0 100644 --- a/governanceresources/governance_resources_request_builder.go +++ b/governanceresources/governance_resources_request_builder.go @@ -129,7 +129,7 @@ func (m *GovernanceResourcesRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to governanceResources @@ -142,7 +142,7 @@ func (m *GovernanceResourcesRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_parent_request_builder.go b/governanceresources/item_parent_request_builder.go index 439e9c5ac96..4ce7495a170 100644 --- a/governanceresources/item_parent_request_builder.go +++ b/governanceresources/item_parent_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemParentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go b/governanceresources/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go index 888680a20a4..7af742611dd 100644 --- a/governanceresources/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go +++ b/governanceresources/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of role assignment requests for the resource. @@ -150,7 +150,7 @@ func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentRequests in governanceResources @@ -163,7 +163,7 @@ func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_assignment_requests_item_cancel_request_builder.go b/governanceresources/item_role_assignment_requests_item_cancel_request_builder.go index 082b3e5f337..88f62f694e0 100644 --- a/governanceresources/item_role_assignment_requests_item_cancel_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_cancel_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemRoleAssignmentRequestsItemCancelRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_assignment_requests_item_resource_request_builder.go b/governanceresources/item_role_assignment_requests_item_resource_request_builder.go index 29c76e79971..8835bf382d4 100644 --- a/governanceresources/item_role_assignment_requests_item_resource_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentRequestsItemResourceRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_assignment_requests_item_role_definition_request_builder.go b/governanceresources/item_role_assignment_requests_item_role_definition_request_builder.go index 712349b1aa2..a4381c442f9 100644 --- a/governanceresources/item_role_assignment_requests_item_role_definition_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition that the request aims to. @@ -142,7 +142,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in governanceResources @@ -155,7 +155,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_assignment_requests_item_role_definition_resource_request_builder.go b/governanceresources/item_role_assignment_requests_item_role_definition_resource_request_builder.go index a1f6880dfc2..2a5ab0d1327 100644 --- a/governanceresources/item_role_assignment_requests_item_role_definition_resource_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go b/governanceresources/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go index 7bd608be78e..b65ee8114dc 100644 --- a/governanceresources/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_assignment_requests_item_subject_request_builder.go b/governanceresources/item_role_assignment_requests_item_subject_request_builder.go index 5e521689490..d95616a0f29 100644 --- a/governanceresources/item_role_assignment_requests_item_subject_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_subject_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRoleAssignmentRequestsItemSubjectRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The user/group principal. @@ -134,7 +134,7 @@ func (m *ItemRoleAssignmentRequestsItemSubjectRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subject in governanceResources @@ -147,7 +147,7 @@ func (m *ItemRoleAssignmentRequestsItemSubjectRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_assignment_requests_item_update_request_request_builder.go b/governanceresources/item_role_assignment_requests_item_update_request_request_builder.go index a687db18934..781a52be1c9 100644 --- a/governanceresources/item_role_assignment_requests_item_update_request_request_builder.go +++ b/governanceresources/item_role_assignment_requests_item_update_request_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_assignment_requests_request_builder.go b/governanceresources/item_role_assignment_requests_request_builder.go index 7c74c55ba53..2e51edd1840 100644 --- a/governanceresources/item_role_assignment_requests_request_builder.go +++ b/governanceresources/item_role_assignment_requests_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemRoleAssignmentRequestsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentRequests for governanceResources @@ -138,7 +138,7 @@ func (m *ItemRoleAssignmentRequestsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_assignments_export_request_builder.go b/governanceresources/item_role_assignments_export_request_builder.go index 5a95c50c4d3..5331835965c 100644 --- a/governanceresources/item_role_assignments_export_request_builder.go +++ b/governanceresources/item_role_assignments_export_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemRoleAssignmentsExportRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_assignments_governance_role_assignment_item_request_builder.go b/governanceresources/item_role_assignments_governance_role_assignment_item_request_builder.go index e0e0be72ddb..e4fd5f9b654 100644 --- a/governanceresources/item_role_assignments_governance_role_assignment_item_request_builder.go +++ b/governanceresources/item_role_assignments_governance_role_assignment_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of role assignments for the resource. @@ -150,7 +150,7 @@ func (m *ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignments in governanceResources @@ -163,7 +163,7 @@ func (m *ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go b/governanceresources/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go index aef5b04e43f..adb53d4640f 100644 --- a/governanceresources/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go +++ b/governanceresources/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_assignments_item_resource_request_builder.go b/governanceresources/item_role_assignments_item_resource_request_builder.go index bed697e23f1..c7c5170215b 100644 --- a/governanceresources/item_role_assignments_item_resource_request_builder.go +++ b/governanceresources/item_role_assignments_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentsItemResourceRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_assignments_item_role_definition_request_builder.go b/governanceresources/item_role_assignments_item_role_definition_request_builder.go index 33179544efb..f46d02b9ade 100644 --- a/governanceresources/item_role_assignments_item_role_definition_request_builder.go +++ b/governanceresources/item_role_assignments_item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition associated with the role assignment. @@ -142,7 +142,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in governanceResources @@ -155,7 +155,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_assignments_item_role_definition_resource_request_builder.go b/governanceresources/item_role_assignments_item_role_definition_resource_request_builder.go index 183e09a540a..964d72292ef 100644 --- a/governanceresources/item_role_assignments_item_role_definition_resource_request_builder.go +++ b/governanceresources/item_role_assignments_item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_assignments_item_role_definition_role_setting_request_builder.go b/governanceresources/item_role_assignments_item_role_definition_role_setting_request_builder.go index 66a22795171..81bad0be101 100644 --- a/governanceresources/item_role_assignments_item_role_definition_role_setting_request_builder.go +++ b/governanceresources/item_role_assignments_item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_assignments_item_subject_request_builder.go b/governanceresources/item_role_assignments_item_subject_request_builder.go index af170fe455f..a9af2ac3fe7 100644 --- a/governanceresources/item_role_assignments_item_subject_request_builder.go +++ b/governanceresources/item_role_assignments_item_subject_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRoleAssignmentsItemSubjectRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The subject associated with the role assignment. @@ -134,7 +134,7 @@ func (m *ItemRoleAssignmentsItemSubjectRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subject in governanceResources @@ -147,7 +147,7 @@ func (m *ItemRoleAssignmentsItemSubjectRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_assignments_request_builder.go b/governanceresources/item_role_assignments_request_builder.go index e37f083d648..02908886798 100644 --- a/governanceresources/item_role_assignments_request_builder.go +++ b/governanceresources/item_role_assignments_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignments for governanceResources @@ -142,7 +142,7 @@ func (m *ItemRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_definitions_governance_role_definition_item_request_builder.go b/governanceresources/item_role_definitions_governance_role_definition_item_request_builder.go index 70db456c7e4..5167164ae5c 100644 --- a/governanceresources/item_role_definitions_governance_role_definition_item_request_builder.go +++ b/governanceresources/item_role_definitions_governance_role_definition_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of role definitions for the resource. @@ -142,7 +142,7 @@ func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinitions in governanceResources @@ -155,7 +155,7 @@ func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_definitions_item_resource_request_builder.go b/governanceresources/item_role_definitions_item_resource_request_builder.go index f37aed40704..50873f7926b 100644 --- a/governanceresources/item_role_definitions_item_resource_request_builder.go +++ b/governanceresources/item_role_definitions_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleDefinitionsItemResourceRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_definitions_item_role_setting_request_builder.go b/governanceresources/item_role_definitions_item_role_setting_request_builder.go index d85406f1d0a..f3616e30e0a 100644 --- a/governanceresources/item_role_definitions_item_role_setting_request_builder.go +++ b/governanceresources/item_role_definitions_item_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleDefinitionsItemRoleSettingRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_definitions_request_builder.go b/governanceresources/item_role_definitions_request_builder.go index 1b4a87faecd..57f4e2a35c4 100644 --- a/governanceresources/item_role_definitions_request_builder.go +++ b/governanceresources/item_role_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleDefinitions for governanceResources @@ -138,7 +138,7 @@ func (m *ItemRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_settings_governance_role_setting_item_request_builder.go b/governanceresources/item_role_settings_governance_role_setting_item_request_builder.go index a210d9d6522..f07491a217a 100644 --- a/governanceresources/item_role_settings_governance_role_setting_item_request_builder.go +++ b/governanceresources/item_role_settings_governance_role_setting_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of role settings for the resource. @@ -142,7 +142,7 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleSettings in governanceResources @@ -155,7 +155,7 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_settings_item_resource_request_builder.go b/governanceresources/item_role_settings_item_resource_request_builder.go index 5ca7bffc633..a64ac1f7c4b 100644 --- a/governanceresources/item_role_settings_item_resource_request_builder.go +++ b/governanceresources/item_role_settings_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleSettingsItemResourceRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_settings_item_role_definition_request_builder.go b/governanceresources/item_role_settings_item_role_definition_request_builder.go index b13e7efc8a3..973e251e50b 100644 --- a/governanceresources/item_role_settings_item_role_definition_request_builder.go +++ b/governanceresources/item_role_settings_item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition that is enforced with this role setting. @@ -142,7 +142,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in governanceResources @@ -155,7 +155,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/item_role_settings_item_role_definition_resource_request_builder.go b/governanceresources/item_role_settings_item_role_definition_resource_request_builder.go index 74a4e1a6de4..8a5d5cdc46d 100644 --- a/governanceresources/item_role_settings_item_role_definition_resource_request_builder.go +++ b/governanceresources/item_role_settings_item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_settings_item_role_definition_role_setting_request_builder.go b/governanceresources/item_role_settings_item_role_definition_role_setting_request_builder.go index 531c3fa0a84..007adaa982b 100644 --- a/governanceresources/item_role_settings_item_role_definition_role_setting_request_builder.go +++ b/governanceresources/item_role_settings_item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceresources/item_role_settings_request_builder.go b/governanceresources/item_role_settings_request_builder.go index baf7cceff4c..a5f4ab8203f 100644 --- a/governanceresources/item_role_settings_request_builder.go +++ b/governanceresources/item_role_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemRoleSettingsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleSettings for governanceResources @@ -138,7 +138,7 @@ func (m *ItemRoleSettingsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceresources/register_request_builder.go b/governanceresources/register_request_builder.go index 943ddfa1432..a4cefd45179 100644 --- a/governanceresources/register_request_builder.go +++ b/governanceresources/register_request_builder.go @@ -56,7 +56,7 @@ func (m *RegisterRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroleassignmentrequests/governance_role_assignment_request_item_request_builder.go b/governanceroleassignmentrequests/governance_role_assignment_request_item_request_builder.go index bd0573a9682..691dc5630f3 100644 --- a/governanceroleassignmentrequests/governance_role_assignment_request_item_request_builder.go +++ b/governanceroleassignmentrequests/governance_role_assignment_request_item_request_builder.go @@ -134,7 +134,7 @@ func (m *GovernanceRoleAssignmentRequestItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from governanceRoleAssignmentRequests by key @@ -150,7 +150,7 @@ func (m *GovernanceRoleAssignmentRequestItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in governanceRoleAssignmentRequests @@ -163,7 +163,7 @@ func (m *GovernanceRoleAssignmentRequestItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroleassignmentrequests/governance_role_assignment_requests_request_builder.go b/governanceroleassignmentrequests/governance_role_assignment_requests_request_builder.go index 87c6f1dd925..955c656c366 100644 --- a/governanceroleassignmentrequests/governance_role_assignment_requests_request_builder.go +++ b/governanceroleassignmentrequests/governance_role_assignment_requests_request_builder.go @@ -125,7 +125,7 @@ func (m *GovernanceRoleAssignmentRequestsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to governanceRoleAssignmentRequests @@ -138,7 +138,7 @@ func (m *GovernanceRoleAssignmentRequestsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroleassignmentrequests/item_cancel_request_builder.go b/governanceroleassignmentrequests/item_cancel_request_builder.go index 9ae918b7dc1..c2b0481bc97 100644 --- a/governanceroleassignmentrequests/item_cancel_request_builder.go +++ b/governanceroleassignmentrequests/item_cancel_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemCancelRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceroleassignmentrequests/item_resource_request_builder.go b/governanceroleassignmentrequests/item_resource_request_builder.go index 253a965329f..bf699f2f5d1 100644 --- a/governanceroleassignmentrequests/item_resource_request_builder.go +++ b/governanceroleassignmentrequests/item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourceRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceroleassignmentrequests/item_role_definition_request_builder.go b/governanceroleassignmentrequests/item_role_definition_request_builder.go index 4aa0200856d..e0a220ab9de 100644 --- a/governanceroleassignmentrequests/item_role_definition_request_builder.go +++ b/governanceroleassignmentrequests/item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition that the request aims to. @@ -142,7 +142,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in governanceRoleAssignmentRequests @@ -155,7 +155,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroleassignmentrequests/item_role_definition_resource_request_builder.go b/governanceroleassignmentrequests/item_role_definition_resource_request_builder.go index 9a42ee30ffc..46821e4a893 100644 --- a/governanceroleassignmentrequests/item_role_definition_resource_request_builder.go +++ b/governanceroleassignmentrequests/item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleDefinitionResourceRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceroleassignmentrequests/item_role_definition_role_setting_request_builder.go b/governanceroleassignmentrequests/item_role_definition_role_setting_request_builder.go index fa9592ac85b..5e874081e12 100644 --- a/governanceroleassignmentrequests/item_role_definition_role_setting_request_builder.go +++ b/governanceroleassignmentrequests/item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleDefinitionRoleSettingRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceroleassignmentrequests/item_subject_request_builder.go b/governanceroleassignmentrequests/item_subject_request_builder.go index d1f7520dbcd..fb835593839 100644 --- a/governanceroleassignmentrequests/item_subject_request_builder.go +++ b/governanceroleassignmentrequests/item_subject_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSubjectRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The user/group principal. @@ -134,7 +134,7 @@ func (m *ItemSubjectRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subject in governanceRoleAssignmentRequests @@ -147,7 +147,7 @@ func (m *ItemSubjectRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroleassignmentrequests/item_update_request_request_builder.go b/governanceroleassignmentrequests/item_update_request_request_builder.go index 91b54e33a30..1c1d2799fd0 100644 --- a/governanceroleassignmentrequests/item_update_request_request_builder.go +++ b/governanceroleassignmentrequests/item_update_request_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemUpdateRequestRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroleassignments/export_request_builder.go b/governanceroleassignments/export_request_builder.go index f4a9a633fd3..23330da76a4 100644 --- a/governanceroleassignments/export_request_builder.go +++ b/governanceroleassignments/export_request_builder.go @@ -97,7 +97,7 @@ func (m *ExportRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceroleassignments/governance_role_assignment_item_request_builder.go b/governanceroleassignments/governance_role_assignment_item_request_builder.go index c60d8b7bff9..56f0705bd7c 100644 --- a/governanceroleassignments/governance_role_assignment_item_request_builder.go +++ b/governanceroleassignments/governance_role_assignment_item_request_builder.go @@ -134,7 +134,7 @@ func (m *GovernanceRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from governanceRoleAssignments by key @@ -150,7 +150,7 @@ func (m *GovernanceRoleAssignmentItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in governanceRoleAssignments @@ -163,7 +163,7 @@ func (m *GovernanceRoleAssignmentItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroleassignments/governance_role_assignments_request_builder.go b/governanceroleassignments/governance_role_assignments_request_builder.go index fee8bd58aae..cda69222e63 100644 --- a/governanceroleassignments/governance_role_assignments_request_builder.go +++ b/governanceroleassignments/governance_role_assignments_request_builder.go @@ -129,7 +129,7 @@ func (m *GovernanceRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to governanceRoleAssignments @@ -142,7 +142,7 @@ func (m *GovernanceRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroleassignments/item_linked_eligible_role_assignment_request_builder.go b/governanceroleassignments/item_linked_eligible_role_assignment_request_builder.go index de45827ff1b..91de70edf24 100644 --- a/governanceroleassignments/item_linked_eligible_role_assignment_request_builder.go +++ b/governanceroleassignments/item_linked_eligible_role_assignment_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemLinkedEligibleRoleAssignmentRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceroleassignments/item_resource_request_builder.go b/governanceroleassignments/item_resource_request_builder.go index 01d6a70667e..5d58fa17a5c 100644 --- a/governanceroleassignments/item_resource_request_builder.go +++ b/governanceroleassignments/item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourceRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceroleassignments/item_role_definition_request_builder.go b/governanceroleassignments/item_role_definition_request_builder.go index 7017354316f..d752ff8c7a3 100644 --- a/governanceroleassignments/item_role_definition_request_builder.go +++ b/governanceroleassignments/item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition associated with the role assignment. @@ -142,7 +142,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in governanceRoleAssignments @@ -155,7 +155,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroleassignments/item_role_definition_resource_request_builder.go b/governanceroleassignments/item_role_definition_resource_request_builder.go index afe3358346c..231a8080434 100644 --- a/governanceroleassignments/item_role_definition_resource_request_builder.go +++ b/governanceroleassignments/item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleDefinitionResourceRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceroleassignments/item_role_definition_role_setting_request_builder.go b/governanceroleassignments/item_role_definition_role_setting_request_builder.go index d20c5c0c123..906c56fadc7 100644 --- a/governanceroleassignments/item_role_definition_role_setting_request_builder.go +++ b/governanceroleassignments/item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleDefinitionRoleSettingRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceroleassignments/item_subject_request_builder.go b/governanceroleassignments/item_subject_request_builder.go index 5f8db8a3acb..1eb38a3599e 100644 --- a/governanceroleassignments/item_subject_request_builder.go +++ b/governanceroleassignments/item_subject_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSubjectRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The subject associated with the role assignment. @@ -134,7 +134,7 @@ func (m *ItemSubjectRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subject in governanceRoleAssignments @@ -147,7 +147,7 @@ func (m *ItemSubjectRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroledefinitions/governance_role_definition_item_request_builder.go b/governanceroledefinitions/governance_role_definition_item_request_builder.go index 2f1ea6f2b8d..6a014aeb181 100644 --- a/governanceroledefinitions/governance_role_definition_item_request_builder.go +++ b/governanceroledefinitions/governance_role_definition_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GovernanceRoleDefinitionItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from governanceRoleDefinitions by key @@ -142,7 +142,7 @@ func (m *GovernanceRoleDefinitionItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in governanceRoleDefinitions @@ -155,7 +155,7 @@ func (m *GovernanceRoleDefinitionItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroledefinitions/governance_role_definitions_request_builder.go b/governanceroledefinitions/governance_role_definitions_request_builder.go index 8bf5c40bdc1..98fd83f7edb 100644 --- a/governanceroledefinitions/governance_role_definitions_request_builder.go +++ b/governanceroledefinitions/governance_role_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *GovernanceRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to governanceRoleDefinitions @@ -138,7 +138,7 @@ func (m *GovernanceRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governanceroledefinitions/item_resource_request_builder.go b/governanceroledefinitions/item_resource_request_builder.go index aa615bdf992..6336875ca0c 100644 --- a/governanceroledefinitions/item_resource_request_builder.go +++ b/governanceroledefinitions/item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourceRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governanceroledefinitions/item_role_setting_request_builder.go b/governanceroledefinitions/item_role_setting_request_builder.go index dae4d79136d..359003a98ee 100644 --- a/governanceroledefinitions/item_role_setting_request_builder.go +++ b/governanceroledefinitions/item_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleSettingRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governancerolesettings/governance_role_setting_item_request_builder.go b/governancerolesettings/governance_role_setting_item_request_builder.go index b76c2158554..400b99ae19d 100644 --- a/governancerolesettings/governance_role_setting_item_request_builder.go +++ b/governancerolesettings/governance_role_setting_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GovernanceRoleSettingItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from governanceRoleSettings by key @@ -142,7 +142,7 @@ func (m *GovernanceRoleSettingItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in governanceRoleSettings @@ -155,7 +155,7 @@ func (m *GovernanceRoleSettingItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governancerolesettings/governance_role_settings_request_builder.go b/governancerolesettings/governance_role_settings_request_builder.go index e2617f885d7..0ffa6e34821 100644 --- a/governancerolesettings/governance_role_settings_request_builder.go +++ b/governancerolesettings/governance_role_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *GovernanceRoleSettingsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to governanceRoleSettings @@ -138,7 +138,7 @@ func (m *GovernanceRoleSettingsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governancerolesettings/item_resource_request_builder.go b/governancerolesettings/item_resource_request_builder.go index df8da8c0bea..b13e77c8d49 100644 --- a/governancerolesettings/item_resource_request_builder.go +++ b/governancerolesettings/item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourceRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governancerolesettings/item_role_definition_request_builder.go b/governancerolesettings/item_role_definition_request_builder.go index 34187aa35de..4f38283ec53 100644 --- a/governancerolesettings/item_role_definition_request_builder.go +++ b/governancerolesettings/item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition that is enforced with this role setting. @@ -142,7 +142,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in governanceRoleSettings @@ -155,7 +155,7 @@ func (m *ItemRoleDefinitionRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governancerolesettings/item_role_definition_resource_request_builder.go b/governancerolesettings/item_role_definition_resource_request_builder.go index 95238a7ae19..ca33ddbb2fe 100644 --- a/governancerolesettings/item_role_definition_resource_request_builder.go +++ b/governancerolesettings/item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleDefinitionResourceRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governancerolesettings/item_role_definition_role_setting_request_builder.go b/governancerolesettings/item_role_definition_role_setting_request_builder.go index 5ee97b49eab..feefc1c82b4 100644 --- a/governancerolesettings/item_role_definition_role_setting_request_builder.go +++ b/governancerolesettings/item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleDefinitionRoleSettingRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/governancesubjects/governance_subject_item_request_builder.go b/governancesubjects/governance_subject_item_request_builder.go index 1947b60d986..7cbd7652a31 100644 --- a/governancesubjects/governance_subject_item_request_builder.go +++ b/governancesubjects/governance_subject_item_request_builder.go @@ -118,7 +118,7 @@ func (m *GovernanceSubjectItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from governanceSubjects by key @@ -134,7 +134,7 @@ func (m *GovernanceSubjectItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in governanceSubjects @@ -147,7 +147,7 @@ func (m *GovernanceSubjectItemRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/governancesubjects/governance_subjects_request_builder.go b/governancesubjects/governance_subjects_request_builder.go index 953c97afadb..310e3a766d3 100644 --- a/governancesubjects/governance_subjects_request_builder.go +++ b/governancesubjects/governance_subjects_request_builder.go @@ -125,7 +125,7 @@ func (m *GovernanceSubjectsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to governanceSubjects @@ -138,7 +138,7 @@ func (m *GovernanceSubjectsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/graph_request_adapter.go b/graph_request_adapter.go index b90303f4429..66c9d09ef79 100644 --- a/graph_request_adapter.go +++ b/graph_request_adapter.go @@ -10,7 +10,7 @@ import ( var clientOptions = core.GraphClientOptions{ GraphServiceVersion: "beta", - GraphServiceLibraryVersion: "0.86.0", + GraphServiceLibraryVersion: "0.87.0", } // GetDefaultClientOptions returns the default client options used by the GraphRequestAdapterBase and the middleware. @@ -74,3 +74,4 @@ func NewGraphRequestAdapterWithParseNodeFactoryAndSerializationWriterFactoryAndH } + diff --git a/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go b/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go index 39382f79621..d2ff62390fa 100644 --- a/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go +++ b/grouplifecyclepolicies/group_lifecycle_policies_request_builder.go @@ -135,7 +135,7 @@ func (m *GroupLifecyclePoliciesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation creates a new groupLifecyclePolicy. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *GroupLifecyclePoliciesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go b/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go index 152bf22a0b5..9cb215901ce 100644 --- a/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go +++ b/grouplifecyclepolicies/group_lifecycle_policy_item_request_builder.go @@ -135,7 +135,7 @@ func (m *GroupLifecyclePolicyItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a groupLifecyclePolicies object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *GroupLifecyclePolicyItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *GroupLifecyclePolicyItemRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/grouplifecyclepolicies/item_add_group_request_builder.go b/grouplifecyclepolicies/item_add_group_request_builder.go index fe8e8a9842e..75941736f48 100644 --- a/grouplifecyclepolicies/item_add_group_request_builder.go +++ b/grouplifecyclepolicies/item_add_group_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemAddGroupRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/grouplifecyclepolicies/item_remove_group_request_builder.go b/grouplifecyclepolicies/item_remove_group_request_builder.go index f4bfa79b80a..4810fde98b0 100644 --- a/grouplifecyclepolicies/item_remove_group_request_builder.go +++ b/grouplifecyclepolicies/item_remove_group_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemRemoveGroupRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/grouplifecyclepolicies/renew_group_request_builder.go b/grouplifecyclepolicies/renew_group_request_builder.go index 10b137d7944..c98b5321a12 100644 --- a/grouplifecyclepolicies/renew_group_request_builder.go +++ b/grouplifecyclepolicies/renew_group_request_builder.go @@ -85,7 +85,7 @@ func (m *RenewGroupRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/delta_request_builder.go b/groups/delta_request_builder.go index 5ba2d3f1d4c..74ceab9b09d 100644 --- a/groups/delta_request_builder.go +++ b/groups/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/evaluate_dynamic_membership_request_builder.go b/groups/evaluate_dynamic_membership_request_builder.go index 22f13d0756b..9f22ddfccf1 100644 --- a/groups/evaluate_dynamic_membership_request_builder.go +++ b/groups/evaluate_dynamic_membership_request_builder.go @@ -63,7 +63,7 @@ func (m *EvaluateDynamicMembershipRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/get_by_ids_request_builder.go b/groups/get_by_ids_request_builder.go index ae58caefa99..d4ded385116 100644 --- a/groups/get_by_ids_request_builder.go +++ b/groups/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/get_user_owned_objects_request_builder.go b/groups/get_user_owned_objects_request_builder.go index fc8ef15099b..347bee0eacc 100644 --- a/groups/get_user_owned_objects_request_builder.go +++ b/groups/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/group_item_request_builder.go b/groups/group_item_request_builder.go index 726028a82d0..180f5bf447f 100644 --- a/groups/group_item_request_builder.go +++ b/groups/group_item_request_builder.go @@ -291,7 +291,7 @@ func (m *GroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -307,7 +307,7 @@ func (m *GroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a group object. This API is available in the following national cloud deployments. @@ -320,7 +320,7 @@ func (m *GroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/groups_request_builder.go b/groups/groups_request_builder.go index 95a9a95f304..dac9955642c 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -147,7 +147,7 @@ func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -160,7 +160,7 @@ func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_accepted_senders_item_ref_request_builder.go b/groups/item_accepted_senders_item_ref_request_builder.go index c1b024832e3..cbd2e760b1b 100644 --- a/groups/item_accepted_senders_item_ref_request_builder.go +++ b/groups/item_accepted_senders_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemAcceptedSendersItemRefRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_accepted_senders_ref_request_builder.go b/groups/item_accepted_senders_ref_request_builder.go index 276079e0ee8..e0970fe03ff 100644 --- a/groups/item_accepted_senders_ref_request_builder.go +++ b/groups/item_accepted_senders_ref_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemAcceptedSendersRefRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -120,7 +120,7 @@ func (m *ItemAcceptedSendersRefRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_accepted_senders_request_builder.go b/groups/item_accepted_senders_request_builder.go index 449a3601f78..b0264059fab 100644 --- a/groups/item_accepted_senders_request_builder.go +++ b/groups/item_accepted_senders_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAcceptedSendersRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_add_favorite_request_builder.go b/groups/item_add_favorite_request_builder.go index 3b4e5122d83..d0756cd852b 100644 --- a/groups/item_add_favorite_request_builder.go +++ b/groups/item_add_favorite_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemAddFavoriteRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go b/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go index 56b5eab5ab4..d2b4d39f43c 100644 --- a/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go +++ b/groups/item_app_role_assignments_app_role_assignment_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the app roles a group has been granted for an application. Supports $expand. @@ -137,7 +137,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appRoleAssignments in groups @@ -150,7 +150,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_app_role_assignments_request_builder.go b/groups/item_app_role_assignments_request_builder.go index 0ea1114ea31..1e3b1863ebc 100644 --- a/groups/item_app_role_assignments_request_builder.go +++ b/groups/item_app_role_assignments_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_assign_license_request_builder.go b/groups/item_assign_license_request_builder.go index 97a52b1a0df..b107660253c 100644 --- a/groups/item_assign_license_request_builder.go +++ b/groups/item_assign_license_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemAssignLicenseRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go b/groups/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go index 4153bd9a4ff..a72cd87c24e 100644 --- a/groups/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go +++ b/groups/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemCalendarAllowedCalendarSharingRolesWithUserRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go b/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go index 1a7966877e9..7e6dee60051 100644 --- a/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go +++ b/groups/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -154,7 +154,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_permissions_request_builder.go b/groups/item_calendar_calendar_permissions_request_builder.go index fc4675a035e..75c176e2774 100644 --- a/groups/item_calendar_calendar_permissions_request_builder.go +++ b/groups/item_calendar_calendar_permissions_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_delta_request_builder.go b/groups/item_calendar_calendar_view_delta_request_builder.go index fc57ff19556..d747ad24ac9 100644 --- a/groups/item_calendar_calendar_view_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_event_item_request_builder.go b/groups/item_calendar_calendar_view_event_item_request_builder.go index a3f6f908366..f2478f5d01d 100644 --- a/groups/item_calendar_calendar_view_event_item_request_builder.go +++ b/groups/item_calendar_calendar_view_event_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemCalendarCalendarViewEventItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_accept_request_builder.go index 4a5ac07cda8..88f70fdf479 100644 --- a/groups/item_calendar_calendar_view_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemAcceptRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go index 21857473ca8..271f97cbb88 100644 --- a/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go index 3ad7a8b9ac0..38715d2030d 100644 --- a/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_attachments_request_builder.go index 8df02d4c298..b2baa217c59 100644 --- a/groups/item_calendar_calendar_view_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_calendar_request_builder.go b/groups/item_calendar_calendar_view_item_calendar_request_builder.go index 1c74426edb4..5be3c64b9b2 100644 --- a/groups/item_calendar_calendar_view_item_calendar_request_builder.go +++ b/groups/item_calendar_calendar_view_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarCalendarViewItemCalendarRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_cancel_request_builder.go index ebf70c72228..a6e964703e3 100644 --- a/groups/item_calendar_calendar_view_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemCancelRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_decline_request_builder.go index 2019d5b5ba5..27af0ec22ae 100644 --- a/groups/item_calendar_calendar_view_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemDeclineRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go index 352f8349f83..1db657ac1b1 100644 --- a/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemDismissReminderRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go index ca2c5459bb2..8431b3038e5 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go index 9a6ec566abd..4db02f49dee 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go index 2e484d9893c..a5138c18291 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 400a3e4d253..a8c23f684ab 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index d167d370b24..46900ab827e 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 77d5d3da0d5..782bed2a1e0 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index 70340670da1..fe656735051 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemCalendarRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 81e21c68cc1..4ca1b0be031 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go index 269b90ea649..a36ab8cd2f3 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 7c06f478db8..4c5b65a62ca 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 0b37264738d..6ec59eac37f 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 0eaa8f8d5dc..c12e58a118a 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go index 34999d904b4..e841e13698a 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 03bfd65011c..85d0ee59e04 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 9eba3b6ad9e..1747ba125d5 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 2ca52f2b93f..8135e3633dc 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAccept requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 5e44e853ea6..8daf58b7347 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 3e4ad7c2b69..373728bb895 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 7434142d4ab..63320dd785e 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 838e6899947..138ac25188c 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCalend requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 379091a06d3..45722dac61e 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index e47120a6489..12b0a8e703a 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index b64d2cf3807..d97f21cd39c 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismis requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 16f036feb0a..c167726ce77 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 763a7936d1d..07d76162587 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 0487845d206..329266e73cb 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwar requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index aa55f1828ba..baaa572b612 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnooze requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 25b24de0d9d..c8ca6d93c46 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go index cee627894a9..aae8795bae7 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index 868a38d2933..3e87b63d02a 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 50ab8308531..fbffaafa017 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_exception_occurrences_request_builder.go b/groups/item_calendar_calendar_view_item_exception_occurrences_request_builder.go index 11b11a55c98..069f7f78b26 100644 --- a/groups/item_calendar_calendar_view_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_calendar_view_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go index bba9f2c90b3..13ea46337f1 100644 --- a/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_extensions_request_builder.go index 986f8ad5ea2..7fba4344dab 100644 --- a/groups/item_calendar_calendar_view_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_forward_request_builder.go index 5c5b1d1d490..343619b3647 100644 --- a/groups/item_calendar_calendar_view_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemForwardRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go b/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go index e1b3aa02262..8a9aff36dac 100644 --- a/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_event_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_event_item_request_builder.go index 13bc0afc8b1..a7583acf699 100644 --- a/groups/item_calendar_calendar_view_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go index 8e3e5c2e96c..243762e8898 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index b37ebcf2437..adb517e59ea 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 1eb2345d962..d2b1731dc58 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSession requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go index 075e5001b5b..b5393096249 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go index 21b4d6153d9..65b3ab06a79 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemCalendarRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go index 7f923b23658..1dc00c36e1b 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go index 06b67dd0ecd..b693b70930f 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 6e711295b94..8b61a1b64a2 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index 2f13e8a8591..0c7b68ecaec 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index cd3387bf3cc..d0401cb471f 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index c1a444e5ddf..8800f3e961f 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAccept requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 5a82f09790a..ff074970c00 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 89b6ca303f8..28a79fbbba0 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 6d4fc4bd462..5a1e7adeceb 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 86f0336db01..d39ee226279 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCalend requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 7af97d6fc55..22abb07ca2f 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index f346a146cc1..e324ebb9ae1 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 36474e6b22c..5ab46202d09 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismis requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 4267df06d76..57038becd5d 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 1f54b0b95d5..77edc2a6d0b 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index f8c8c7c1bb0..62d3398f833 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwar requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 696d39276df..51386b5420f 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnooze requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index ad3e31fe2fb..bfe30a439ed 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go index 6fb430d9f91..f3b225740db 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 07e3bc768cf..9a5fa476fa7 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go index faf1b9320c9..15d7d8817a8 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go index 4fc4e43cae5..c966c23c545 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go index dc85cb73365..dd05f113104 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go index b12b7ecc6af..66ec4b4f966 100644 --- a/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_instances_request_builder.go b/groups/item_calendar_calendar_view_item_instances_request_builder.go index ac42b54146a..d00e9cc8944 100644 --- a/groups/item_calendar_calendar_view_item_instances_request_builder.go +++ b/groups/item_calendar_calendar_view_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go b/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go index b067a044d4c..02dfccfc422 100644 --- a/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_calendar_view_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemSnoozeReminderRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go b/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go index 89187533204..75d01d6bea8 100644 --- a/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_calendar_view_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_calendar_view_request_builder.go b/groups/item_calendar_calendar_view_request_builder.go index 3a35045f1db..4b1b1145c04 100644 --- a/groups/item_calendar_calendar_view_request_builder.go +++ b/groups/item_calendar_calendar_view_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarCalendarViewRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_delta_request_builder.go b/groups/item_calendar_events_delta_request_builder.go index 970bc05d5bb..e113b46f664 100644 --- a/groups/item_calendar_events_delta_request_builder.go +++ b/groups/item_calendar_events_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarEventsDeltaRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_event_item_request_builder.go b/groups/item_calendar_events_event_item_request_builder.go index db0b162da91..d859124484f 100644 --- a/groups/item_calendar_events_event_item_request_builder.go +++ b/groups/item_calendar_events_event_item_request_builder.go @@ -166,7 +166,7 @@ func (m *ItemCalendarEventsEventItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the events in the calendar. Navigation property. Read-only. @@ -182,7 +182,7 @@ func (m *ItemCalendarEventsEventItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property events in groups @@ -195,7 +195,7 @@ func (m *ItemCalendarEventsEventItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_accept_request_builder.go b/groups/item_calendar_events_item_accept_request_builder.go index ae87dcdfed6..71a926d4c07 100644 --- a/groups/item_calendar_events_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemAcceptRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go index aeb228cb7f7..b3aacf19cba 100644 --- a/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go index d0dae5edf39..86b62e1b24f 100644 --- a/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_attachments_request_builder.go b/groups/item_calendar_events_item_attachments_request_builder.go index 44d4c884a7c..3d646451e66 100644 --- a/groups/item_calendar_events_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_calendar_request_builder.go b/groups/item_calendar_events_item_calendar_request_builder.go index bb23a1c9108..0bd4278bd40 100644 --- a/groups/item_calendar_events_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarEventsItemCalendarRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_cancel_request_builder.go b/groups/item_calendar_events_item_cancel_request_builder.go index c2d54682572..c7b86eedc33 100644 --- a/groups/item_calendar_events_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemCancelRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_decline_request_builder.go b/groups/item_calendar_events_item_decline_request_builder.go index 0062c68414c..d82a18b224c 100644 --- a/groups/item_calendar_events_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemDeclineRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_dismiss_reminder_request_builder.go index c7d4f63a4b0..e525209aed6 100644 --- a/groups/item_calendar_events_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemDismissReminderRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go index 996f313fa90..7736bad7cb1 100644 --- a/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_event_item_request_builder.go index c2896c5814b..ca228395011 100644 --- a/groups/item_calendar_events_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go index 856fcbe390c..4d5b4362bc2 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index dcc795828ce..f40f9293ebe 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 04b139191b5..07fe7dc0399 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go index 2f84fccd7b0..d17b86de281 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go index 4aaf2e26adf..5bf3fdcf394 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemCalendarRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go index 94563bcb034..74d57e011e0 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go index 8fca314cc20..04dc0e90f27 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 573c8eea06d..daaf180c854 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 60b8ed14731..00870f10cb4 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go index 84d5b0a2c52..e2deed3137a 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go index 9057b5cb34f..8238d8df671 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go index bc9cd32c9ed..bb1e36af393 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go index f57b027b44d..832e233fb79 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 7c9e04cecfe..b51270611b5 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 26acd6b124a..029b80a710a 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 07e9e724101..ffcb3fa3573 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index b60573dabdc..bc73ce5f070 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index e0a358aef34..8c514b6bc29 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCalendarRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 4708de041af..c0b8b20acab 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index 49a170ec99c..e14609a5d1a 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 8c3fcd2ee5c..eff09a8e4ac 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissRemin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 14aa2600e54..6c853cab534 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index d69da476ff6..8c23be698e4 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 32aba44f21d..ee3187930db 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index a81c5fb3b6e..fac2a687383 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeRemind requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 6c9e53ad68f..f0abf5dafe5 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go index 68ef969ce36..4930bf2da2c 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 077042d677c..0e6f9fb7d7f 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index abe991e26fb..628727c8ae9 100644 --- a/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_exception_occurrences_request_builder.go b/groups/item_calendar_events_item_exception_occurrences_request_builder.go index d109fdf85c3..c84031190a7 100644 --- a/groups/item_calendar_events_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_events_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_extensions_extension_item_request_builder.go index 1544b892b0e..0a9094612b9 100644 --- a/groups/item_calendar_events_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_extensions_request_builder.go b/groups/item_calendar_events_item_extensions_request_builder.go index 3c8798ff57d..f73bfe81c39 100644 --- a/groups/item_calendar_events_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_forward_request_builder.go b/groups/item_calendar_events_item_forward_request_builder.go index 87359361495..df970d52812 100644 --- a/groups/item_calendar_events_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemForwardRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_delta_request_builder.go b/groups/item_calendar_events_item_instances_delta_request_builder.go index d53560b15b8..c4f2cb6eca9 100644 --- a/groups/item_calendar_events_item_instances_delta_request_builder.go +++ b/groups/item_calendar_events_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_event_item_request_builder.go b/groups/item_calendar_events_item_instances_event_item_request_builder.go index 44648c7901c..64eab9c4334 100644 --- a/groups/item_calendar_events_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarEventsItemInstancesEventItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_item_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_accept_request_builder.go index 7c3ead2a995..c79cbf0143e 100644 --- a/groups/item_calendar_events_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemAcceptRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go index fd3c26114d0..94c4f543ab5 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go index b508328b8cf..8b8c172f12c 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_attachments_request_builder.go b/groups/item_calendar_events_item_instances_item_attachments_request_builder.go index 80fede415fb..72ad3386d5a 100644 --- a/groups/item_calendar_events_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_calendar_request_builder.go b/groups/item_calendar_events_item_instances_item_calendar_request_builder.go index 2c6623da1ec..fb9eb705372 100644 --- a/groups/item_calendar_events_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarEventsItemInstancesItemCalendarRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_item_cancel_request_builder.go b/groups/item_calendar_events_item_instances_item_cancel_request_builder.go index 3b06417533f..b4f23e8c410 100644 --- a/groups/item_calendar_events_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemCancelRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_decline_request_builder.go b/groups/item_calendar_events_item_instances_item_decline_request_builder.go index b74aac98e26..2cef417fecc 100644 --- a/groups/item_calendar_events_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemDeclineRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go index 58ed1312138..b6c83d15552 100644 --- a/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go index 7557832e096..6c6a19f01ca 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go index d81c5342e16..67a309d42d9 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index 210e5ffc115..c296317a206 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 8b04dde2c3c..2b5c18b1d39 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 07ec41dc498..5e3785a8b91 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 1c72e1137b7..3f66c3601fc 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index a6566d60b4d..da5cdbfd916 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCalendarRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index de4fdec4a6b..fb18b0a5c8b 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index c0be8f818d2..a9244bb5d41 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index a3b3056af20..6c22b490304 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissRemin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 50a7341989a..25f05c42b54 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 84fdb194e95..64cfd736a1e 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index 279c9ba99be..c1baeddc24c 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 583fdf6a2cb..64cba50bb52 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeRemind requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 9f845aa58f3..b5648d624e3 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go b/groups/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go index 4d1015b8d1c..816864ff50a 100644 --- a/groups/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go index 90f3607385d..bfd12f570d4 100644 --- a/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_extensions_request_builder.go b/groups/item_calendar_events_item_instances_item_extensions_request_builder.go index c0032ffe7fc..9c6be4f9448 100644 --- a/groups/item_calendar_events_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_forward_request_builder.go b/groups/item_calendar_events_item_instances_item_forward_request_builder.go index ab653c8f615..5b3f30a3ae0 100644 --- a/groups/item_calendar_events_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemForwardRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go index 3185a48bf42..bbc539280d9 100644 --- a/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go index ec48ccb170d..99ffb2f3c88 100644 --- a/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_instances_request_builder.go b/groups/item_calendar_events_item_instances_request_builder.go index 558c9dbd21d..ef6be685da5 100644 --- a/groups/item_calendar_events_item_instances_request_builder.go +++ b/groups/item_calendar_events_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarEventsItemInstancesRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_events_item_snooze_reminder_request_builder.go b/groups/item_calendar_events_item_snooze_reminder_request_builder.go index c6199c537a4..930dc58dd75 100644 --- a/groups/item_calendar_events_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_events_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemSnoozeReminderRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_item_tentatively_accept_request_builder.go b/groups/item_calendar_events_item_tentatively_accept_request_builder.go index a5423f87769..7a7e7e3aa0c 100644 --- a/groups/item_calendar_events_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_events_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemTentativelyAcceptRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_events_request_builder.go b/groups/item_calendar_events_request_builder.go index c83c5404d01..e2cbf3c9a61 100644 --- a/groups/item_calendar_events_request_builder.go +++ b/groups/item_calendar_events_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_get_schedule_request_builder.go b/groups/item_calendar_get_schedule_request_builder.go index 9fa10e9a696..14b2bca48dc 100644 --- a/groups/item_calendar_get_schedule_request_builder.go +++ b/groups/item_calendar_get_schedule_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCalendarGetScheduleRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_request_builder.go b/groups/item_calendar_request_builder.go index 69151139ac1..d5a94496db3 100644 --- a/groups/item_calendar_request_builder.go +++ b/groups/item_calendar_request_builder.go @@ -90,7 +90,7 @@ func (m *ItemCalendarRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_delta_request_builder.go b/groups/item_calendar_view_delta_request_builder.go index 0fa7f7e87d9..52a1fa937c9 100644 --- a/groups/item_calendar_view_delta_request_builder.go +++ b/groups/item_calendar_view_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_event_item_request_builder.go b/groups/item_calendar_view_event_item_request_builder.go index a0280d8f97c..2d97a6638ca 100644 --- a/groups/item_calendar_view_event_item_request_builder.go +++ b/groups/item_calendar_view_event_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemCalendarViewEventItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_accept_request_builder.go b/groups/item_calendar_view_item_accept_request_builder.go index 0e8fc4a3273..f6fd9c55b2d 100644 --- a/groups/item_calendar_view_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemAcceptRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go index 52b2864dc10..b918bbc79f1 100644 --- a/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go index 3793e80f5bd..4156c56a360 100644 --- a/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_attachments_request_builder.go b/groups/item_calendar_view_item_attachments_request_builder.go index 0403aa9747e..55773097d05 100644 --- a/groups/item_calendar_view_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_calendar_request_builder.go b/groups/item_calendar_view_item_calendar_request_builder.go index e7e95cfe69d..75f44945e90 100644 --- a/groups/item_calendar_view_item_calendar_request_builder.go +++ b/groups/item_calendar_view_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarViewItemCalendarRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_cancel_request_builder.go b/groups/item_calendar_view_item_cancel_request_builder.go index 958add0768e..6fed8694e56 100644 --- a/groups/item_calendar_view_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemCancelRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_decline_request_builder.go b/groups/item_calendar_view_item_decline_request_builder.go index 033312c8354..792b4baa8b5 100644 --- a/groups/item_calendar_view_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemDeclineRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_dismiss_reminder_request_builder.go index cde46c6535a..208bdb1784f 100644 --- a/groups/item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemDismissReminderRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go index 5c966dc2ba2..93512225476 100644 --- a/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_event_item_request_builder.go index 0a6bf23fc5c..25f62af3063 100644 --- a/groups/item_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index b3ca77dec3d..382e079af14 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 3e30b213c38..a03790ba487 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 5d465fd93af..76d28d11863 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSess requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 553ba850eb0..8941398a6b1 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index 2dccef2f58e..bab0426eac2 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 607fb8d5c17..0cdccdfdcd2 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index 0c22d4d151d..d7146fc0184 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 1601e2faa93..836b4931b3d 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 6a00d3c9433..ad6123e3094 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 76bb361153d..a423e7d0519 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index af8e5ff9296..73242de224f 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 2c10d2e4d8e..afe441ad653 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index ea570173076..b63118a5b87 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index f64264f1314..7e3151fc943 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 3513c2a9e9f..7252aec2bb8 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 7fd5d88b3fd..d0d7f6cfd03 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index c3caa9f6fa8..6b74350ef1d 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index dd1612af233..e23b5fde8fb 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 55634b5965d..f95a2cca57c 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 12cfe153bad..78ab6b4e8a7 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 05150df8269..0dc2710edab 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 75d6b6365c0..37f7ab4b3ab 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index fe89144e914..8f85c548a75 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 6e440b93ecb..0b199bcfcc4 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index f6f3eb3c5c8..1d13d034e4b 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 5ab7c0b08d6..5466d47ea03 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index 622d99964e4..a699474ca26 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index 3783414bf31..8757ea656bb 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 2d2b8293057..47a1a43f3bd 100644 --- a/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_exception_occurrences_request_builder.go b/groups/item_calendar_view_item_exception_occurrences_request_builder.go index 66998688cc4..13d95efcdee 100644 --- a/groups/item_calendar_view_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_view_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_extensions_extension_item_request_builder.go index 88287e7b96e..473239e642a 100644 --- a/groups/item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_extensions_request_builder.go b/groups/item_calendar_view_item_extensions_request_builder.go index 5eb2297c231..a90b7c4c153 100644 --- a/groups/item_calendar_view_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_forward_request_builder.go b/groups/item_calendar_view_item_forward_request_builder.go index cc4e6a88ce6..2197e717d17 100644 --- a/groups/item_calendar_view_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemForwardRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_delta_request_builder.go b/groups/item_calendar_view_item_instances_delta_request_builder.go index 2df728a5615..80034a3cc2d 100644 --- a/groups/item_calendar_view_item_instances_delta_request_builder.go +++ b/groups/item_calendar_view_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_event_item_request_builder.go b/groups/item_calendar_view_item_instances_event_item_request_builder.go index 1d98e7a268d..2a4eaa74b98 100644 --- a/groups/item_calendar_view_item_instances_event_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarViewItemInstancesEventItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_item_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_accept_request_builder.go index f19d42d998a..ac8bb296bc5 100644 --- a/groups/item_calendar_view_item_instances_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemAcceptRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index e29a6627fdf..f9a89d3e3be 100644 --- a/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index a357134a328..a114078bca6 100644 --- a/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_attachments_request_builder.go b/groups/item_calendar_view_item_instances_item_attachments_request_builder.go index a2074a6cf5c..bb42df48159 100644 --- a/groups/item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_calendar_request_builder.go b/groups/item_calendar_view_item_instances_item_calendar_request_builder.go index 456feb378e0..e00b7f93c17 100644 --- a/groups/item_calendar_view_item_instances_item_calendar_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarViewItemInstancesItemCalendarRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_item_cancel_request_builder.go b/groups/item_calendar_view_item_instances_item_cancel_request_builder.go index 83229d56249..867ab3ee758 100644 --- a/groups/item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemCancelRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_decline_request_builder.go b/groups/item_calendar_view_item_instances_item_decline_request_builder.go index 4a893390122..24af5f08d79 100644 --- a/groups/item_calendar_view_item_instances_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemDeclineRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 5282cf0c8b7..13f018ef0eb 100644 --- a/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index 0b7dc63e127..113d3e523a3 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index 2b4ca841524..3b759b6b3d2 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index 58878534833..0cf71443322 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 56a8d0ed2df..a8b9ffd65f2 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 3a1f11c6b45..3d3e35797f3 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index d65eb54d403..89dbcf0477d 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index f33f7d793ba..5d1867ceca2 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 34311a9f181..ed694e9e158 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index b7949954694..0a89f1880ac 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index a0ede7bb5c7..e7ba192df5d 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 1133b09395a..597669190af 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 3164ea59ee6..408e04793a3 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 81ef4ccad1a..101a46c9ff4 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 27fe7a59a85..5f6c1ddcec6 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index fbc9986339b..56c2744515f 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/groups/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go index 16ed2a1c5f9..e4260d6eb15 100644 --- a/groups/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 73e34245a40..141936388e1 100644 --- a/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_extensions_request_builder.go b/groups/item_calendar_view_item_instances_item_extensions_request_builder.go index edc1844bad1..adc04495130 100644 --- a/groups/item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_forward_request_builder.go b/groups/item_calendar_view_item_instances_item_forward_request_builder.go index 210994be2df..0e44756d8b5 100644 --- a/groups/item_calendar_view_item_instances_item_forward_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemForwardRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 8d01ccba358..050bccfd71c 100644 --- a/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 64cf7d5f1e0..ef2dd9669fa 100644 --- a/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_instances_request_builder.go b/groups/item_calendar_view_item_instances_request_builder.go index 2a374913a39..6b6bd4a0c45 100644 --- a/groups/item_calendar_view_item_instances_request_builder.go +++ b/groups/item_calendar_view_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarViewItemInstancesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_calendar_view_item_snooze_reminder_request_builder.go b/groups/item_calendar_view_item_snooze_reminder_request_builder.go index 63eaba48a80..3dac7a64c85 100644 --- a/groups/item_calendar_view_item_snooze_reminder_request_builder.go +++ b/groups/item_calendar_view_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemSnoozeReminderRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_item_tentatively_accept_request_builder.go b/groups/item_calendar_view_item_tentatively_accept_request_builder.go index 960968940de..1369343d90c 100644 --- a/groups/item_calendar_view_item_tentatively_accept_request_builder.go +++ b/groups/item_calendar_view_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemTentativelyAcceptRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_calendar_view_request_builder.go b/groups/item_calendar_view_request_builder.go index 613433cb3b5..b8b54953a8c 100644 --- a/groups/item_calendar_view_request_builder.go +++ b/groups/item_calendar_view_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarViewRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_check_granted_permissions_for_app_request_builder.go b/groups/item_check_granted_permissions_for_app_request_builder.go index 4fd72108c66..81bdc8779ad 100644 --- a/groups/item_check_granted_permissions_for_app_request_builder.go +++ b/groups/item_check_granted_permissions_for_app_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckGrantedPermissionsForAppRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_check_member_groups_request_builder.go b/groups/item_check_member_groups_request_builder.go index ce88dbfa340..9c9a0df3101 100644 --- a/groups/item_check_member_groups_request_builder.go +++ b/groups/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_check_member_objects_request_builder.go b/groups/item_check_member_objects_request_builder.go index 150574a08fd..c16683e6817 100644 --- a/groups/item_check_member_objects_request_builder.go +++ b/groups/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index a435b458e67..a7b1a9ddc7e 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConversationsConversationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. +// ItemConversationsConversationItemRequestBuilderGetQueryParameters get a conversation object. This API is available in the following national cloud deployments. type ItemConversationsConversationItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -45,10 +45,10 @@ func NewItemConversationsConversationItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemConversationsConversationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete conversation. This API is available in the following national cloud deployments. +// Delete delete a conversation object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -64,10 +64,10 @@ func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. +// Get get a conversation object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 func (m *ItemConversationsConversationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -90,7 +90,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) Get(ctx context.Contex func (m *ItemConversationsConversationItemRequestBuilder) Threads()(*ItemConversationsItemThreadsRequestBuilder) { return NewItemConversationsItemThreadsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete conversation. This API is available in the following national cloud deployments. +// ToDeleteRequestInformation delete a conversation object. This API is available in the following national cloud deployments. func (m *ItemConversationsConversationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -100,10 +100,10 @@ func (m *ItemConversationsConversationItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of conversation object. This API is available in the following national cloud deployments. +// ToGetRequestInformation get a conversation object. This API is available in the following national cloud deployments. func (m *ItemConversationsConversationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -116,7 +116,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_conversations_item_threads_conversation_thread_item_request_builder.go b/groups/item_conversations_item_threads_conversation_thread_item_request_builder.go index 1a75123b88c..fba39239cb6 100644 --- a/groups/item_conversations_item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_conversations_item_threads_conversation_thread_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemConversationsItemThreadsConversationThreadItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. @@ -142,7 +142,7 @@ func (m *ItemConversationsItemThreadsConversationThreadItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property threads in groups @@ -155,7 +155,7 @@ func (m *ItemConversationsItemThreadsConversationThreadItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_attachment_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_attachment_item_request_builder.go index a98be463c2b..28f7ab72adf 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_attachment_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_attachment_item_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsAttachmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. @@ -108,7 +108,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsAttachmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go index 9e99a41d3b4..56b7c0225c3 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsCreateUploadSession requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go index 8d0c128a29c..d305f56d8ad 100644 --- a/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_attachments_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attachments for groups @@ -143,7 +143,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemAttachmentsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go index 12bce0d2548..b1e40214fd7 100644 --- a/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_extensions_extension_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsExtensionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go index 081c2c5e089..9b3482f3b96 100644 --- a/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_extensions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for groups @@ -136,7 +136,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemExtensionsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go index 88640f2dd8b..cc990bcb5f7 100644 --- a/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemForwardRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go index 81ea63db5d1..2e4a0cc6545 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsAttachment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. @@ -108,7 +108,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsAttachment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go index cb96f0105b3..7fdcdb13fde 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsCreateUplo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go index dc94e4e5420..8c4f6c27f26 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_attachments_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attachments for groups @@ -143,7 +143,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToAttachmentsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go index eb31dc2997d..3924d119681 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsExtensionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go index ac9ac5aa855..869117fdaf8 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_extensions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for groups @@ -136,7 +136,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToExtensionsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go index c0d022a9153..aee9172dd1d 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToForwardRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go index bffa8055d02..f4a7c5f6dc1 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsMentionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get mentions from groups @@ -108,7 +108,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsMentionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_request_builder.go index ea0e0cc465f..b7d8c54364b 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_mentions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mentions for groups @@ -136,7 +136,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToMentionsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_reply_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_reply_request_builder.go index 95c10093412..165907b1975 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_reply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToReplyRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_request_builder.go index 49a5b48c05e..7ca1cb2f1d6 100644 --- a/groups/item_conversations_item_threads_item_posts_item_in_reply_to_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_in_reply_to_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemInReplyToRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_conversations_item_threads_item_posts_item_mentions_mention_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_mentions_mention_item_request_builder.go index 07cec98cbb9..707bbed9090 100644 --- a/groups/item_conversations_item_threads_item_posts_item_mentions_mention_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_mentions_mention_item_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemMentionsMentionItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get mentions from groups @@ -108,7 +108,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemMentionsMentionItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go index 1c2ee873425..bb50199c3d3 100644 --- a/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_mentions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mentions for groups @@ -136,7 +136,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemMentionsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_item_reply_request_builder.go b/groups/item_conversations_item_threads_item_posts_item_reply_request_builder.go index 16a54e6339a..64111f7f18a 100644 --- a/groups/item_conversations_item_threads_item_posts_item_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_item_reply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemConversationsItemThreadsItemPostsItemReplyRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go b/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go index b3e70ac3043..7ce7d4e0e2e 100644 --- a/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_post_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property posts in groups @@ -138,7 +138,7 @@ func (m *ItemConversationsItemThreadsItemPostsPostItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_item_posts_request_builder.go b/groups/item_conversations_item_threads_item_posts_request_builder.go index f1840c2ca5e..236935dfca1 100644 --- a/groups/item_conversations_item_threads_item_posts_request_builder.go +++ b/groups/item_conversations_item_threads_item_posts_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemConversationsItemThreadsItemPostsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_conversations_item_threads_item_reply_request_builder.go b/groups/item_conversations_item_threads_item_reply_request_builder.go index 1a5aaea8739..08a0bc54606 100644 --- a/groups/item_conversations_item_threads_item_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_reply_request_builder.go @@ -30,10 +30,10 @@ func NewItemConversationsItemThreadsItemReplyRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post 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. +// Post add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. // [Find more info here] // -// [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-post-attachments?view=graph-rest-1.0 func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.C } return nil } -// ToPostRequestInformation 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. +// ToPostRequestInformation add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -59,7 +59,7 @@ func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_item_threads_request_builder.go b/groups/item_conversations_item_threads_request_builder.go index 5c78b71b566..6934f551176 100644 --- a/groups/item_conversations_item_threads_request_builder.go +++ b/groups/item_conversations_item_threads_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemConversationsItemThreadsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -142,7 +142,7 @@ func (m *ItemConversationsItemThreadsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_conversations_request_builder.go b/groups/item_conversations_request_builder.go index 19326f74568..bba69b65134 100644 --- a/groups/item_conversations_request_builder.go +++ b/groups/item_conversations_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemConversationsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -142,7 +142,7 @@ func (m *ItemConversationsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_created_on_behalf_of_request_builder.go b/groups/item_created_on_behalf_of_request_builder.go index cd70609f48a..b86ef48c803 100644 --- a/groups/item_created_on_behalf_of_request_builder.go +++ b/groups/item_created_on_behalf_of_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemCreatedOnBehalfOfRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_drive_request_builder.go b/groups/item_drive_request_builder.go index a34d0dd1f7a..300480fa6b6 100644 --- a/groups/item_drive_request_builder.go +++ b/groups/item_drive_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDriveRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_drives_drive_item_request_builder.go b/groups/item_drives_drive_item_request_builder.go index 0e2d9f47fd3..060c7e1b451 100644 --- a/groups/item_drives_drive_item_request_builder.go +++ b/groups/item_drives_drive_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDrivesDriveItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_drives_request_builder.go b/groups/item_drives_request_builder.go index 0011ff9bf0e..10428d80962 100644 --- a/groups/item_drives_request_builder.go +++ b/groups/item_drives_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemDrivesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_endpoints_endpoint_item_request_builder.go b/groups/item_endpoints_endpoint_item_request_builder.go index ae55d3335a6..0f49a20cdba 100644 --- a/groups/item_endpoints_endpoint_item_request_builder.go +++ b/groups/item_endpoints_endpoint_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEndpointsEndpointItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a specific endpoint object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEndpointsEndpointItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property endpoints in groups @@ -150,7 +150,7 @@ func (m *ItemEndpointsEndpointItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_endpoints_request_builder.go b/groups/item_endpoints_request_builder.go index 0b3d07775f6..a3e7531bc51 100644 --- a/groups/item_endpoints_request_builder.go +++ b/groups/item_endpoints_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemEndpointsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to endpoints for groups @@ -141,7 +141,7 @@ func (m *ItemEndpointsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_evaluate_dynamic_membership_request_builder.go b/groups/item_evaluate_dynamic_membership_request_builder.go index 4fa4540d951..cc602dc2780 100644 --- a/groups/item_evaluate_dynamic_membership_request_builder.go +++ b/groups/item_evaluate_dynamic_membership_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEvaluateDynamicMembershipRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_delta_request_builder.go b/groups/item_events_delta_request_builder.go index 6c9b8173fd6..6e67f9d5dcd 100644 --- a/groups/item_events_delta_request_builder.go +++ b/groups/item_events_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemEventsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_event_item_request_builder.go b/groups/item_events_event_item_request_builder.go index 232378fa2a6..4671102c195 100644 --- a/groups/item_events_event_item_request_builder.go +++ b/groups/item_events_event_item_request_builder.go @@ -173,7 +173,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an event object. This API is available in the following national cloud deployments. @@ -189,7 +189,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update an event object. This API is available in the following national cloud deployments. @@ -202,7 +202,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_accept_request_builder.go b/groups/item_events_item_accept_request_builder.go index 68322eda828..a2e4ce06a4e 100644 --- a/groups/item_events_item_accept_request_builder.go +++ b/groups/item_events_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemAcceptRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_attachments_attachment_item_request_builder.go index 98792b6e17a..2f6385c2a4a 100644 --- a/groups/item_events_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_attachments_create_upload_session_request_builder.go index c184c8c55d6..cab17bffb4c 100644 --- a/groups/item_events_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_attachments_request_builder.go b/groups/item_events_item_attachments_request_builder.go index d0ea950c2c0..1ecfd2ab906 100644 --- a/groups/item_events_item_attachments_request_builder.go +++ b/groups/item_events_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_calendar_request_builder.go b/groups/item_events_item_calendar_request_builder.go index d9f047f006d..4f1901cb345 100644 --- a/groups/item_events_item_calendar_request_builder.go +++ b/groups/item_events_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemEventsItemCalendarRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_cancel_request_builder.go b/groups/item_events_item_cancel_request_builder.go index 55dde53bebf..965f9bb0986 100644 --- a/groups/item_events_item_cancel_request_builder.go +++ b/groups/item_events_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemCancelRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_decline_request_builder.go b/groups/item_events_item_decline_request_builder.go index c20f14a4223..54ca8053727 100644 --- a/groups/item_events_item_decline_request_builder.go +++ b/groups/item_events_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemDeclineRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_dismiss_reminder_request_builder.go b/groups/item_events_item_dismiss_reminder_request_builder.go index cca933daecc..3c9575165ba 100644 --- a/groups/item_events_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemDismissReminderRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_delta_request_builder.go b/groups/item_events_item_exception_occurrences_delta_request_builder.go index 51993328b4e..b05b33d4a59 100644 --- a/groups/item_events_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_events_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_event_item_request_builder.go b/groups/item_events_item_exception_occurrences_event_item_request_builder.go index 08c8ad9b512..40488af6100 100644 --- a/groups/item_events_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_item_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_accept_request_builder.go index c69694beb84..26f205e5615 100644 --- a/groups/item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 8835e7849de..66c947e2ec8 100644 --- a/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index ffad794724b..b0232003650 100644 --- a/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go index 8e0b8a21431..ffdcb032af6 100644 --- a/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_events_item_exception_occurrences_item_calendar_request_builder.go index 56ba2790716..c7c786b8572 100644 --- a/groups/item_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go index cd797de9bbf..58170cf961b 100644 --- a/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_decline_request_builder.go b/groups/item_events_item_exception_occurrences_item_decline_request_builder.go index 63539ba545d..8a30325c0cc 100644 --- a/groups/item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 881110e5345..af9326e0220 100644 --- a/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index b45c3ddcba4..36c67c05dbc 100644 --- a/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go index 976888597ce..ac9aecc84bd 100644 --- a/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_forward_request_builder.go b/groups/item_events_item_exception_occurrences_item_forward_request_builder.go index 77e1efd5b64..b534a0e7f25 100644 --- a/groups/item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go index 1b712355ce9..3f890c13533 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go index 8c04978d156..0dc43eb9434 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 24965edc34b..1f757c42afe 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index d0d3b9ce9d5..7267585bde5 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 063bb42d2dd..bb09ee26496 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUpl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 318bbaa4d2a..8707bfc4b33 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 727df6bc564..79e50c43a43 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 25b721f2b2a..726f25c81ac 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index de46b55fbea..e09ddd76f3d 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 81d32243162..e4d2acbb29a 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index d11d5cdffd3..15e4f336b63 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index b47b63a01c4..d31c9df18d0 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 49b2eef401c..d25e442729b 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index fe8ba4c8712..208c94f6f76 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 72678420f52..43fd3bd855a 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_instances_request_builder.go b/groups/item_events_item_exception_occurrences_item_instances_request_builder.go index 8b65fabbf54..12022c587a8 100644 --- a/groups/item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 60a8153b16f..5f3cfa278f4 100644 --- a/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 3e978adcf42..0bb7f0ed88b 100644 --- a/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_exception_occurrences_request_builder.go b/groups/item_events_item_exception_occurrences_request_builder.go index 63fc3a623cb..49b74bade11 100644 --- a/groups/item_events_item_exception_occurrences_request_builder.go +++ b/groups/item_events_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemEventsItemExceptionOccurrencesRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_extensions_extension_item_request_builder.go b/groups/item_events_item_extensions_extension_item_request_builder.go index f67768d2124..9e51333f401 100644 --- a/groups/item_events_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_extensions_request_builder.go b/groups/item_events_item_extensions_request_builder.go index 325276513e1..18e939cf612 100644 --- a/groups/item_events_item_extensions_request_builder.go +++ b/groups/item_events_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemEventsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemEventsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_forward_request_builder.go b/groups/item_events_item_forward_request_builder.go index b28626e77de..40fb5470746 100644 --- a/groups/item_events_item_forward_request_builder.go +++ b/groups/item_events_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemForwardRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_delta_request_builder.go b/groups/item_events_item_instances_delta_request_builder.go index 6f52c65193b..a577df36526 100644 --- a/groups/item_events_item_instances_delta_request_builder.go +++ b/groups/item_events_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemEventsItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_event_item_request_builder.go b/groups/item_events_item_instances_event_item_request_builder.go index 4c1821989c7..44c4d929858 100644 --- a/groups/item_events_item_instances_event_item_request_builder.go +++ b/groups/item_events_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemEventsItemInstancesEventItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_item_accept_request_builder.go b/groups/item_events_item_instances_item_accept_request_builder.go index 205fb25139c..8104579adae 100644 --- a/groups/item_events_item_instances_item_accept_request_builder.go +++ b/groups/item_events_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemAcceptRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go index 5a2c50bc99f..803a2ce995f 100644 --- a/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go index 22ebd52c2c6..52cb8fcddb6 100644 --- a/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_attachments_request_builder.go b/groups/item_events_item_instances_item_attachments_request_builder.go index 142e0227cb4..c59ae514419 100644 --- a/groups/item_events_item_instances_item_attachments_request_builder.go +++ b/groups/item_events_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_calendar_request_builder.go b/groups/item_events_item_instances_item_calendar_request_builder.go index 761afc3a16b..d1ed804aaea 100644 --- a/groups/item_events_item_instances_item_calendar_request_builder.go +++ b/groups/item_events_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemEventsItemInstancesItemCalendarRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_item_cancel_request_builder.go b/groups/item_events_item_instances_item_cancel_request_builder.go index e7c63f37e73..5b3bafd0c65 100644 --- a/groups/item_events_item_instances_item_cancel_request_builder.go +++ b/groups/item_events_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemCancelRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_decline_request_builder.go b/groups/item_events_item_instances_item_decline_request_builder.go index 1578d50c5ed..dccf5d97a89 100644 --- a/groups/item_events_item_instances_item_decline_request_builder.go +++ b/groups/item_events_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemDeclineRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go b/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go index 08d3e88308f..28e967bb9d2 100644 --- a/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemDismissReminderRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go index 25e825d9dc9..b12d06da6cd 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go index 8203dfdccc1..e587f51d7f6 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index 3387a0548c7..024af3f51c8 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 24771d51914..be7dc039f1c 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index d4d3b9f2848..e38df06208e 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUpl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 9c2a31d263d..2ceb6945e29 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 35395a5883b..d8a87ddb12c 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 5c9e144be4e..0edd4b7d3b0 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index 7fb81f10cee..a6059027f37 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index b59e47b93f2..5a6fb70f618 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 42021df5e72..c27cef75d1f 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 207a4568a60..8aa1a46b59e 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index 672ad4a4018..302c6d63989 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 22423677d1a..2f2dcdf6b61 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 42e13855393..296b97dbaa5 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_exception_occurrences_request_builder.go b/groups/item_events_item_instances_item_exception_occurrences_request_builder.go index ee2aa159efa..6e75967f243 100644 --- a/groups/item_events_item_instances_item_exception_occurrences_request_builder.go +++ b/groups/item_events_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go b/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go index d7bdbef78af..42457e35ca3 100644 --- a/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/groups/item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -150,7 +150,7 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_extensions_request_builder.go b/groups/item_events_item_instances_item_extensions_request_builder.go index 4b008cce79d..03f789702ba 100644 --- a/groups/item_events_item_instances_item_extensions_request_builder.go +++ b/groups/item_events_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_forward_request_builder.go b/groups/item_events_item_instances_item_forward_request_builder.go index 61a47504143..2b4627d51cb 100644 --- a/groups/item_events_item_instances_item_forward_request_builder.go +++ b/groups/item_events_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemForwardRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_snooze_reminder_request_builder.go b/groups/item_events_item_instances_item_snooze_reminder_request_builder.go index 3c618cd95de..e0fbd445fc3 100644 --- a/groups/item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemSnoozeReminderRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_item_tentatively_accept_request_builder.go b/groups/item_events_item_instances_item_tentatively_accept_request_builder.go index 9d99a03750d..cd04eaad6e0 100644 --- a/groups/item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_instances_request_builder.go b/groups/item_events_item_instances_request_builder.go index 4306e2e5b82..06fe9af3983 100644 --- a/groups/item_events_item_instances_request_builder.go +++ b/groups/item_events_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemEventsItemInstancesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_events_item_snooze_reminder_request_builder.go b/groups/item_events_item_snooze_reminder_request_builder.go index 68011d3de53..3977e246bbd 100644 --- a/groups/item_events_item_snooze_reminder_request_builder.go +++ b/groups/item_events_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemSnoozeReminderRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_item_tentatively_accept_request_builder.go b/groups/item_events_item_tentatively_accept_request_builder.go index 4326c93b148..2dd7e630616 100644 --- a/groups/item_events_item_tentatively_accept_request_builder.go +++ b/groups/item_events_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemTentativelyAcceptRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_events_request_builder.go b/groups/item_events_request_builder.go index 8717b95f771..ab488f18c02 100644 --- a/groups/item_events_request_builder.go +++ b/groups/item_events_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new event. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_extensions_extension_item_request_builder.go b/groups/item_extensions_extension_item_request_builder.go index 80970f6a858..b97f6ac01ce 100644 --- a/groups/item_extensions_extension_item_request_builder.go +++ b/groups/item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for the group. Read-only. Nullable. @@ -134,7 +134,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in groups @@ -147,7 +147,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_extensions_request_builder.go b/groups/item_extensions_request_builder.go index 1c0af8324c6..5b0f57bd52c 100644 --- a/groups/item_extensions_request_builder.go +++ b/groups/item_extensions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for groups @@ -138,7 +138,7 @@ func (m *ItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_get_member_groups_request_builder.go b/groups/item_get_member_groups_request_builder.go index 77692c8cdf7..c72e17ef9ad 100644 --- a/groups/item_get_member_groups_request_builder.go +++ b/groups/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_get_member_objects_request_builder.go b/groups/item_get_member_objects_request_builder.go index 763411279e0..31b2d55dfcb 100644 --- a/groups/item_get_member_objects_request_builder.go +++ b/groups/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_group_lifecycle_policies_group_lifecycle_policy_item_request_builder.go b/groups/item_group_lifecycle_policies_group_lifecycle_policy_item_request_builder.go index 11c34b2a4a8..d4f6d1122e9 100644 --- a/groups/item_group_lifecycle_policies_group_lifecycle_policy_item_request_builder.go +++ b/groups/item_group_lifecycle_policies_group_lifecycle_policy_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemGroupLifecyclePoliciesGroupLifecyclePolicyItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of lifecycle policies for this group. Read-only. Nullable. @@ -142,7 +142,7 @@ func (m *ItemGroupLifecyclePoliciesGroupLifecyclePolicyItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groupLifecyclePolicies in groups @@ -155,7 +155,7 @@ func (m *ItemGroupLifecyclePoliciesGroupLifecyclePolicyItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_group_lifecycle_policies_item_add_group_request_builder.go b/groups/item_group_lifecycle_policies_item_add_group_request_builder.go index ffd5b60a25e..e20a5a6e7bf 100644 --- a/groups/item_group_lifecycle_policies_item_add_group_request_builder.go +++ b/groups/item_group_lifecycle_policies_item_add_group_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGroupLifecyclePoliciesItemAddGroupRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_group_lifecycle_policies_item_remove_group_request_builder.go b/groups/item_group_lifecycle_policies_item_remove_group_request_builder.go index 4ec427eeb85..141462b665b 100644 --- a/groups/item_group_lifecycle_policies_item_remove_group_request_builder.go +++ b/groups/item_group_lifecycle_policies_item_remove_group_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGroupLifecyclePoliciesItemRemoveGroupRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_group_lifecycle_policies_renew_group_request_builder.go b/groups/item_group_lifecycle_policies_renew_group_request_builder.go index aa8ae02cddb..b4606076898 100644 --- a/groups/item_group_lifecycle_policies_renew_group_request_builder.go +++ b/groups/item_group_lifecycle_policies_renew_group_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGroupLifecyclePoliciesRenewGroupRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_group_lifecycle_policies_request_builder.go b/groups/item_group_lifecycle_policies_request_builder.go index 5b1480705a3..620341384e7 100644 --- a/groups/item_group_lifecycle_policies_request_builder.go +++ b/groups/item_group_lifecycle_policies_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemGroupLifecyclePoliciesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to groupLifecyclePolicies for groups @@ -145,7 +145,7 @@ func (m *ItemGroupLifecyclePoliciesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_member_of_directory_object_item_request_builder.go b/groups/item_member_of_directory_object_item_request_builder.go index 3807a22c706..e9ddad2bd22 100644 --- a/groups/item_member_of_directory_object_item_request_builder.go +++ b/groups/item_member_of_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_member_of_graph_administrative_unit_request_builder.go b/groups/item_member_of_graph_administrative_unit_request_builder.go index f06490a5fb3..7d83df53651 100644 --- a/groups/item_member_of_graph_administrative_unit_request_builder.go +++ b/groups/item_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_member_of_graph_group_request_builder.go b/groups/item_member_of_graph_group_request_builder.go index 5b8378a5dd3..897e4d64632 100644 --- a/groups/item_member_of_graph_group_request_builder.go +++ b/groups/item_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_member_of_item_graph_administrative_unit_request_builder.go b/groups/item_member_of_item_graph_administrative_unit_request_builder.go index aa1fa718db9..0199907201c 100644 --- a/groups/item_member_of_item_graph_administrative_unit_request_builder.go +++ b/groups/item_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_member_of_item_graph_group_request_builder.go b/groups/item_member_of_item_graph_group_request_builder.go index b12a29a560f..3402e03753e 100644 --- a/groups/item_member_of_item_graph_group_request_builder.go +++ b/groups/item_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_member_of_request_builder.go b/groups/item_member_of_request_builder.go index 62c4447c079..57c576903ac 100644 --- a/groups/item_member_of_request_builder.go +++ b/groups/item_member_of_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_graph_application_request_builder.go b/groups/item_members_graph_application_request_builder.go index b501934c6d2..f6440325f0f 100644 --- a/groups/item_members_graph_application_request_builder.go +++ b/groups/item_members_graph_application_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphApplicationRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_graph_device_request_builder.go b/groups/item_members_graph_device_request_builder.go index f59ec612679..edc78c49a5f 100644 --- a/groups/item_members_graph_device_request_builder.go +++ b/groups/item_members_graph_device_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphDeviceRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_graph_group_request_builder.go b/groups/item_members_graph_group_request_builder.go index 93104a5103b..60b3c25f75b 100644 --- a/groups/item_members_graph_group_request_builder.go +++ b/groups/item_members_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphGroupRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_graph_org_contact_request_builder.go b/groups/item_members_graph_org_contact_request_builder.go index 54553a08cbb..bc0fd37f98a 100644 --- a/groups/item_members_graph_org_contact_request_builder.go +++ b/groups/item_members_graph_org_contact_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphOrgContactRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_graph_service_principal_request_builder.go b/groups/item_members_graph_service_principal_request_builder.go index e906ac075cb..c1c972c90f5 100644 --- a/groups/item_members_graph_service_principal_request_builder.go +++ b/groups/item_members_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphServicePrincipalRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_graph_user_request_builder.go b/groups/item_members_graph_user_request_builder.go index 212d0f8b45c..9ed3e15d725 100644 --- a/groups/item_members_graph_user_request_builder.go +++ b/groups/item_members_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersGraphUserRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_item_graph_application_request_builder.go b/groups/item_members_item_graph_application_request_builder.go index c248e06863a..9052857733b 100644 --- a/groups/item_members_item_graph_application_request_builder.go +++ b/groups/item_members_item_graph_application_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphApplicationRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_item_graph_device_request_builder.go b/groups/item_members_item_graph_device_request_builder.go index 94cb0fa1b18..34be610d410 100644 --- a/groups/item_members_item_graph_device_request_builder.go +++ b/groups/item_members_item_graph_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphDeviceRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_item_graph_group_request_builder.go b/groups/item_members_item_graph_group_request_builder.go index 400f50dffa1..b2bf25e3078 100644 --- a/groups/item_members_item_graph_group_request_builder.go +++ b/groups/item_members_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_item_graph_org_contact_request_builder.go b/groups/item_members_item_graph_org_contact_request_builder.go index 45f0b239d00..fd1ebc0d122 100644 --- a/groups/item_members_item_graph_org_contact_request_builder.go +++ b/groups/item_members_item_graph_org_contact_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphOrgContactRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_item_graph_service_principal_request_builder.go b/groups/item_members_item_graph_service_principal_request_builder.go index da50c4d3eac..8825fb8d4cf 100644 --- a/groups/item_members_item_graph_service_principal_request_builder.go +++ b/groups/item_members_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphServicePrincipalRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_item_graph_user_request_builder.go b/groups/item_members_item_graph_user_request_builder.go index b076083affc..be2c29c35a3 100644 --- a/groups/item_members_item_graph_user_request_builder.go +++ b/groups/item_members_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_item_ref_request_builder.go b/groups/item_members_item_ref_request_builder.go index 5fc472eb461..0b661292fcd 100644 --- a/groups/item_members_item_ref_request_builder.go +++ b/groups/item_members_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemMembersItemRefRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_ref_request_builder.go b/groups/item_members_ref_request_builder.go index e4ffc327d2e..78cd23915cf 100644 --- a/groups/item_members_ref_request_builder.go +++ b/groups/item_members_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemMembersRefRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *ItemMembersRefRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_members_request_builder.go b/groups/item_members_request_builder.go index e000bddf759..b04172383fa 100644 --- a/groups/item_members_request_builder.go +++ b/groups/item_members_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_directory_object_item_request_builder.go b/groups/item_members_with_license_errors_directory_object_item_request_builder.go index da43c5d2cdd..080869c3980 100644 --- a/groups/item_members_with_license_errors_directory_object_item_request_builder.go +++ b/groups/item_members_with_license_errors_directory_object_item_request_builder.go @@ -96,7 +96,7 @@ func (m *ItemMembersWithLicenseErrorsDirectoryObjectItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_graph_application_request_builder.go b/groups/item_members_with_license_errors_graph_application_request_builder.go index 6bd848e9771..5e9f794171d 100644 --- a/groups/item_members_with_license_errors_graph_application_request_builder.go +++ b/groups/item_members_with_license_errors_graph_application_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersWithLicenseErrorsGraphApplicationRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_graph_device_request_builder.go b/groups/item_members_with_license_errors_graph_device_request_builder.go index e35e348d1b6..da15d703baa 100644 --- a/groups/item_members_with_license_errors_graph_device_request_builder.go +++ b/groups/item_members_with_license_errors_graph_device_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersWithLicenseErrorsGraphDeviceRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_graph_group_request_builder.go b/groups/item_members_with_license_errors_graph_group_request_builder.go index 066559cc248..38079a283b8 100644 --- a/groups/item_members_with_license_errors_graph_group_request_builder.go +++ b/groups/item_members_with_license_errors_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersWithLicenseErrorsGraphGroupRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_graph_org_contact_request_builder.go b/groups/item_members_with_license_errors_graph_org_contact_request_builder.go index d2b1391abc7..2a1c8dc05a9 100644 --- a/groups/item_members_with_license_errors_graph_org_contact_request_builder.go +++ b/groups/item_members_with_license_errors_graph_org_contact_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersWithLicenseErrorsGraphOrgContactRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_graph_service_principal_request_builder.go b/groups/item_members_with_license_errors_graph_service_principal_request_builder.go index 97f6382b912..9fce65511a8 100644 --- a/groups/item_members_with_license_errors_graph_service_principal_request_builder.go +++ b/groups/item_members_with_license_errors_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersWithLicenseErrorsGraphServicePrincipalRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_graph_user_request_builder.go b/groups/item_members_with_license_errors_graph_user_request_builder.go index d449a09a51d..7c860ac04b7 100644 --- a/groups/item_members_with_license_errors_graph_user_request_builder.go +++ b/groups/item_members_with_license_errors_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMembersWithLicenseErrorsGraphUserRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_item_graph_application_request_builder.go b/groups/item_members_with_license_errors_item_graph_application_request_builder.go index 1cebc76e8c5..64430a4523d 100644 --- a/groups/item_members_with_license_errors_item_graph_application_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_application_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphApplicationRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_item_graph_device_request_builder.go b/groups/item_members_with_license_errors_item_graph_device_request_builder.go index 0c1d0ed5106..a1c836784cc 100644 --- a/groups/item_members_with_license_errors_item_graph_device_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphDeviceRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_item_graph_group_request_builder.go b/groups/item_members_with_license_errors_item_graph_group_request_builder.go index 2053ccf776c..377dbd1b5b5 100644 --- a/groups/item_members_with_license_errors_item_graph_group_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphGroupRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_item_graph_org_contact_request_builder.go b/groups/item_members_with_license_errors_item_graph_org_contact_request_builder.go index eb3fe0d69fe..56feed79af0 100644 --- a/groups/item_members_with_license_errors_item_graph_org_contact_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_org_contact_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphOrgContactRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_item_graph_service_principal_request_builder.go b/groups/item_members_with_license_errors_item_graph_service_principal_request_builder.go index 3600753709f..d785c485380 100644 --- a/groups/item_members_with_license_errors_item_graph_service_principal_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphServicePrincipalRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_item_graph_user_request_builder.go b/groups/item_members_with_license_errors_item_graph_user_request_builder.go index 73e0e3c9e52..c7b2fa0933e 100644 --- a/groups/item_members_with_license_errors_item_graph_user_request_builder.go +++ b/groups/item_members_with_license_errors_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMembersWithLicenseErrorsItemGraphUserRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_members_with_license_errors_request_builder.go b/groups/item_members_with_license_errors_request_builder.go index 96a8b6d6b21..645cba1cbcc 100644 --- a/groups/item_members_with_license_errors_request_builder.go +++ b/groups/item_members_with_license_errors_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemMembersWithLicenseErrorsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index 3e8ec207815..9d5bc9b2213 100644 --- a/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/groups/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index c8294c48163..d8b1fc002ed 100644 --- a/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/groups/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go b/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go index 6335e63df6c..191a76685ed 100644 --- a/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go index f6b3fbf62a5..60c5c3caff0 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go index c254a390a37..e425d523fda 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index f1b0825b6a5..2b354d348c5 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go index 97365b9820a..1ea968f8c3d 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index d2b634105bd..f8969c1c681 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index d00b5be48cd..c723ba0c157 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroup requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go index 1357b95e213..c5f453fb884 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 1df0a385b01..a8f265bf020 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 2db350bc0c9..22d6f848e2d 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index ef033658801..3b05da61270 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNot requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 728583f8325..efdaba632f7 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go index 036988a8bc7..a2cf5b441d5 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 7f88ef696b7..660709045f0 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -171,7 +171,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go index bab64d483bb..1a6964255d7 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for groups @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go index 7cd4d2b0d6c..0366bc4aca7 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go index f5a1274c818..ddae0d48c12 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroup requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go index e2639b689e7..6a7eb93b324 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the section group. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in groups @@ -167,7 +167,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index d886ca0d3d2..6489ca30209 100644 --- a/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified section group. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_section_groups_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_request_builder.go index 6b95b340c2f..4e37b6c7976 100644 --- a/groups/item_onenote_notebooks_item_section_groups_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section group in the specified notebook. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go b/groups/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go index a4064d62a1c..519771cae2f 100644 --- a/groups/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the section groups in the notebook. Read-only. Nullable. @@ -150,7 +150,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sectionGroups in groups @@ -163,7 +163,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index 4f846967fb2..584c8b7d81f 100644 --- a/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 82f8ef76ecd..dfea00e1484 100644 --- a/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go index a547d3ffcc3..11d8cdb3b3d 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index ae70b137d67..8ad7b64a119 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 1f16e5615a5..19244fb3bb6 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go index eb2ce2aaacd..5b993036ed5 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go index 709f3a1db7b..35beed056d3 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go index b120bc90524..219f4b50dbe 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go index d2f3d1d6b85..44de6f56bcc 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -171,7 +171,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_sections_item_pages_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_pages_request_builder.go index f60591340d5..04591af9197 100644 --- a/groups/item_onenote_notebooks_item_sections_item_pages_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for groups @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go index 96ca2910ab6..7ef9a48bbdd 100644 --- a/groups/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go b/groups/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go index 735de63f848..47f013a56de 100644 --- a/groups/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go b/groups/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go index 64719db9aff..0d6c298e326 100644 --- a/groups/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the notebook. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in groups @@ -167,7 +167,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_item_sections_request_builder.go b/groups/item_onenote_notebooks_item_sections_request_builder.go index 3833b8e1cf8..e07911fdad8 100644 --- a/groups/item_onenote_notebooks_item_sections_request_builder.go +++ b/groups/item_onenote_notebooks_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified notebook. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_notebook_item_request_builder.go b/groups/item_onenote_notebooks_notebook_item_request_builder.go index 82cefdb5b03..374f86674e6 100644 --- a/groups/item_onenote_notebooks_notebook_item_request_builder.go +++ b/groups/item_onenote_notebooks_notebook_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property notebooks in groups @@ -162,7 +162,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_notebooks_request_builder.go b/groups/item_onenote_notebooks_request_builder.go index b59c2d999e4..3b999578a51 100644 --- a/groups/item_onenote_notebooks_request_builder.go +++ b/groups/item_onenote_notebooks_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new OneNote notebook. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_operations_onenote_operation_item_request_builder.go b/groups/item_onenote_operations_onenote_operation_item_request_builder.go index 2b04f7f3b3f..250c50a6d07 100644 --- a/groups/item_onenote_operations_onenote_operation_item_request_builder.go +++ b/groups/item_onenote_operations_onenote_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in groups @@ -150,7 +150,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_operations_request_builder.go b/groups/item_onenote_operations_request_builder.go index 166f72eec9b..66532d942aa 100644 --- a/groups/item_onenote_operations_request_builder.go +++ b/groups/item_onenote_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for groups @@ -138,7 +138,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_pages_item_content_request_builder.go b/groups/item_onenote_pages_item_content_request_builder.go index 728ae27748f..99182d41c8f 100644 --- a/groups/item_onenote_pages_item_content_request_builder.go +++ b/groups/item_onenote_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenotePagesItemContentRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenotePagesItemContentRequestBuilder) ToPutRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_onenote_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_pages_item_copy_to_section_request_builder.go index 3d5a25926dc..d3a6091819a 100644 --- a/groups/item_onenote_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenotePagesItemCopyToSectionRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_pages_item_onenote_patch_content_request_builder.go b/groups/item_onenote_pages_item_onenote_patch_content_request_builder.go index d388eded80b..7535f11d0db 100644 --- a/groups/item_onenote_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_onenote_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenotePagesItemOnenotePatchContentRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_pages_item_parent_notebook_request_builder.go b/groups/item_onenote_pages_item_parent_notebook_request_builder.go index b114eca9ed2..116eb1fc285 100644 --- a/groups/item_onenote_pages_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenotePagesItemParentNotebookRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_pages_item_parent_section_request_builder.go b/groups/item_onenote_pages_item_parent_section_request_builder.go index 72533962f9c..252b8f586a3 100644 --- a/groups/item_onenote_pages_item_parent_section_request_builder.go +++ b/groups/item_onenote_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenotePagesItemParentSectionRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_pages_item_preview_request_builder.go b/groups/item_onenote_pages_item_preview_request_builder.go index ecf36b19b95..e3e7f48c0be 100644 --- a/groups/item_onenote_pages_item_preview_request_builder.go +++ b/groups/item_onenote_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenotePagesItemPreviewRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_pages_onenote_page_item_request_builder.go b/groups/item_onenote_pages_onenote_page_item_request_builder.go index c8a4f603ac2..b90b622631e 100644 --- a/groups/item_onenote_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_pages_onenote_page_item_request_builder.go @@ -145,7 +145,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. @@ -161,7 +161,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -174,7 +174,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_pages_request_builder.go b/groups/item_onenote_pages_request_builder.go index 55b07e775d8..42563ad5a99 100644 --- a/groups/item_onenote_pages_request_builder.go +++ b/groups/item_onenote_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenotePagesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for groups @@ -138,7 +138,7 @@ func (m *ItemOnenotePagesRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_request_builder.go b/groups/item_onenote_request_builder.go index e042c7fde80..441fb4454c9 100644 --- a/groups/item_onenote_request_builder.go +++ b/groups/item_onenote_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get onenote from groups @@ -158,7 +158,7 @@ func (m *ItemOnenoteRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property onenote in groups @@ -171,7 +171,7 @@ func (m *ItemOnenoteRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_resources_item_content_request_builder.go b/groups/item_onenote_resources_item_content_request_builder.go index 25f3c5b83b1..363d0e284d2 100644 --- a/groups/item_onenote_resources_item_content_request_builder.go +++ b/groups/item_onenote_resources_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property resources in groups @@ -99,7 +99,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_onenote_resources_onenote_resource_item_request_builder.go b/groups/item_onenote_resources_onenote_resource_item_request_builder.go index b17284db738..6b7e20c5a9d 100644 --- a/groups/item_onenote_resources_onenote_resource_item_request_builder.go +++ b/groups/item_onenote_resources_onenote_resource_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in groups @@ -151,7 +151,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_resources_request_builder.go b/groups/item_onenote_resources_request_builder.go index c4890d31616..314752b65c4 100644 --- a/groups/item_onenote_resources_request_builder.go +++ b/groups/item_onenote_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteResourcesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resources for groups @@ -138,7 +138,7 @@ func (m *ItemOnenoteResourcesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_section_groups_item_parent_notebook_request_builder.go b/groups/item_onenote_section_groups_item_parent_notebook_request_builder.go index a311018e0f8..e48eb71f1d5 100644 --- a/groups/item_onenote_section_groups_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_section_groups_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_section_groups_item_parent_section_group_request_builder.go b/groups/item_onenote_section_groups_item_parent_section_group_request_builder.go index e917e8eeb89..3b597beb81a 100644 --- a/groups/item_onenote_section_groups_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_section_groups_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_section_groups_item_section_groups_request_builder.go b/groups/item_onenote_section_groups_item_section_groups_request_builder.go index 216c0bbf1bd..6249abdc677 100644 --- a/groups/item_onenote_section_groups_item_section_groups_request_builder.go +++ b/groups/item_onenote_section_groups_item_section_groups_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go b/groups/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go index 3e783986a94..9ab15f86a30 100644 --- a/groups/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 8772eaed133..84732c2e898 100644 --- a/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 260136ee586..84f8fa9fdb4 100644 --- a/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go index 13af4578b05..ad9a0f1c14e 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 499598fd101..7c6b92383b0 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 3379186dd64..2075c2ad82a 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index aae98cf1c25..66383118b8a 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 26958ac8e60..846acfc1044 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go index 28613a93407..4d1bf13fe7e 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 0681246b89d..14dd973fe00 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -171,7 +171,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_section_groups_item_sections_item_pages_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_pages_request_builder.go index cad9c1627d5..8f6e6dbb15f 100644 --- a/groups/item_onenote_section_groups_item_sections_item_pages_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for groups @@ -138,7 +138,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go index 383b5c7f9fd..91ddb372119 100644 --- a/groups/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go b/groups/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go index d157d54eb95..d0e8447690c 100644 --- a/groups/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go b/groups/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go index 6f3cfb465cd..5db3018071a 100644 --- a/groups/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the section group. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in groups @@ -167,7 +167,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_section_groups_item_sections_request_builder.go b/groups/item_onenote_section_groups_item_sections_request_builder.go index 7beb5823b68..c222b03e4b6 100644 --- a/groups/item_onenote_section_groups_item_sections_request_builder.go +++ b/groups/item_onenote_section_groups_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified section group. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_section_groups_request_builder.go b/groups/item_onenote_section_groups_request_builder.go index 5a9a4e2c2d2..e9447310150 100644 --- a/groups/item_onenote_section_groups_request_builder.go +++ b/groups/item_onenote_section_groups_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sectionGroups for groups @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_section_groups_section_group_item_request_builder.go b/groups/item_onenote_section_groups_section_group_item_request_builder.go index 8c62525a736..94ff3e8ade0 100644 --- a/groups/item_onenote_section_groups_section_group_item_request_builder.go +++ b/groups/item_onenote_section_groups_section_group_item_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sectionGroups in groups @@ -166,7 +166,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go b/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go index 043d6bdc16a..aa4cc9c33e7 100644 --- a/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go b/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go index 3be4f43a666..f24ebc0c786 100644 --- a/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_sections_item_pages_item_content_request_builder.go b/groups/item_onenote_sections_item_pages_item_content_request_builder.go index ba68b544b5f..72a0fb96463 100644 --- a/groups/item_onenote_sections_item_pages_item_content_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToPutRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index 546f947ccc5..6f2e6d0a896 100644 --- a/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go index 29cf661976b..7a19ca85a2c 100644 --- a/groups/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go index 4e2992e198b..553bb2f12b8 100644 --- a/groups/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_sections_item_pages_item_parent_section_request_builder.go b/groups/item_onenote_sections_item_pages_item_parent_section_request_builder.go index 1b5b666c517..b7c179fc646 100644 --- a/groups/item_onenote_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_sections_item_pages_item_preview_request_builder.go b/groups/item_onenote_sections_item_pages_item_preview_request_builder.go index 9917963be48..186d1b7ef6b 100644 --- a/groups/item_onenote_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_onenote_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_onenote_sections_item_pages_onenote_page_item_request_builder.go index 51cc3b32d62..c416ef7e71b 100644 --- a/groups/item_onenote_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_onenote_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -171,7 +171,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_sections_item_pages_request_builder.go b/groups/item_onenote_sections_item_pages_request_builder.go index e655f29e812..f7173a89299 100644 --- a/groups/item_onenote_sections_item_pages_request_builder.go +++ b/groups/item_onenote_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for groups @@ -138,7 +138,7 @@ func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_sections_item_parent_notebook_request_builder.go b/groups/item_onenote_sections_item_parent_notebook_request_builder.go index 8d3c98220df..a15bc2bff30 100644 --- a/groups/item_onenote_sections_item_parent_notebook_request_builder.go +++ b/groups/item_onenote_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemParentNotebookRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_sections_item_parent_section_group_request_builder.go b/groups/item_onenote_sections_item_parent_section_group_request_builder.go index 5e7e155f54a..19d0eb275fb 100644 --- a/groups/item_onenote_sections_item_parent_section_group_request_builder.go +++ b/groups/item_onenote_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_onenote_sections_onenote_section_item_request_builder.go b/groups/item_onenote_sections_onenote_section_item_request_builder.go index f8a14cc849b..3c447f15b49 100644 --- a/groups/item_onenote_sections_onenote_section_item_request_builder.go +++ b/groups/item_onenote_sections_onenote_section_item_request_builder.go @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in groups @@ -170,7 +170,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_onenote_sections_request_builder.go b/groups/item_onenote_sections_request_builder.go index fc4b93d341b..56d9d014626 100644 --- a/groups/item_onenote_sections_request_builder.go +++ b/groups/item_onenote_sections_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sections for groups @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_owners_graph_application_request_builder.go b/groups/item_owners_graph_application_request_builder.go index 932a1b1a7ec..bfe8d662ec0 100644 --- a/groups/item_owners_graph_application_request_builder.go +++ b/groups/item_owners_graph_application_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphApplicationRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_graph_device_request_builder.go b/groups/item_owners_graph_device_request_builder.go index 3e469e42ea6..9e1c4e7e183 100644 --- a/groups/item_owners_graph_device_request_builder.go +++ b/groups/item_owners_graph_device_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphDeviceRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_graph_group_request_builder.go b/groups/item_owners_graph_group_request_builder.go index fe2aa5856b7..151517146a4 100644 --- a/groups/item_owners_graph_group_request_builder.go +++ b/groups/item_owners_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphGroupRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_graph_org_contact_request_builder.go b/groups/item_owners_graph_org_contact_request_builder.go index dd4acbb78b5..adabe05f099 100644 --- a/groups/item_owners_graph_org_contact_request_builder.go +++ b/groups/item_owners_graph_org_contact_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphOrgContactRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_graph_service_principal_request_builder.go b/groups/item_owners_graph_service_principal_request_builder.go index 3b6872ac06b..a9309c96f1b 100644 --- a/groups/item_owners_graph_service_principal_request_builder.go +++ b/groups/item_owners_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphServicePrincipalRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_graph_user_request_builder.go b/groups/item_owners_graph_user_request_builder.go index ccddfdfc014..b39b62abfd5 100644 --- a/groups/item_owners_graph_user_request_builder.go +++ b/groups/item_owners_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphUserRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_item_graph_application_request_builder.go b/groups/item_owners_item_graph_application_request_builder.go index 2bb20549767..b9153ed5f06 100644 --- a/groups/item_owners_item_graph_application_request_builder.go +++ b/groups/item_owners_item_graph_application_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphApplicationRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_item_graph_device_request_builder.go b/groups/item_owners_item_graph_device_request_builder.go index 45190bc9232..f965f7b77bd 100644 --- a/groups/item_owners_item_graph_device_request_builder.go +++ b/groups/item_owners_item_graph_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphDeviceRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_item_graph_group_request_builder.go b/groups/item_owners_item_graph_group_request_builder.go index dffc9296831..4dea06adbc5 100644 --- a/groups/item_owners_item_graph_group_request_builder.go +++ b/groups/item_owners_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_item_graph_org_contact_request_builder.go b/groups/item_owners_item_graph_org_contact_request_builder.go index fd1b7b2bd32..c21fd9e3283 100644 --- a/groups/item_owners_item_graph_org_contact_request_builder.go +++ b/groups/item_owners_item_graph_org_contact_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphOrgContactRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_item_graph_service_principal_request_builder.go b/groups/item_owners_item_graph_service_principal_request_builder.go index 221de051743..a923a2a4109 100644 --- a/groups/item_owners_item_graph_service_principal_request_builder.go +++ b/groups/item_owners_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphServicePrincipalRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_item_graph_user_request_builder.go b/groups/item_owners_item_graph_user_request_builder.go index 845c0bc7291..55e7a88c17d 100644 --- a/groups/item_owners_item_graph_user_request_builder.go +++ b/groups/item_owners_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_item_ref_request_builder.go b/groups/item_owners_item_ref_request_builder.go index c16c01861dc..760517396c9 100644 --- a/groups/item_owners_item_ref_request_builder.go +++ b/groups/item_owners_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemOwnersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_owners_ref_request_builder.go b/groups/item_owners_ref_request_builder.go index 0bb323a63eb..290b12a005f 100644 --- a/groups/item_owners_ref_request_builder.go +++ b/groups/item_owners_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *ItemOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_owners_request_builder.go b/groups/item_owners_request_builder.go index b36e1c483db..0aeca3cded9 100644 --- a/groups/item_owners_request_builder.go +++ b/groups/item_owners_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_permission_grants_request_builder.go b/groups/item_permission_grants_request_builder.go index f29376fff18..f384b5b5692 100644 --- a/groups/item_permission_grants_request_builder.go +++ b/groups/item_permission_grants_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionGrants for groups @@ -141,7 +141,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_permission_grants_resource_specific_permission_grant_item_request_builder.go b/groups/item_permission_grants_resource_specific_permission_grant_item_request_builder.go index 05cd2825693..6a331cb64a0 100644 --- a/groups/item_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/groups/item_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the permissions granted for a group to a specific application. Supports $expand. @@ -134,7 +134,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionGrants in groups @@ -147,7 +147,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_photo_request_builder.go b/groups/item_photo_request_builder.go index 06d778ea681..36628f18e2a 100644 --- a/groups/item_photo_request_builder.go +++ b/groups/item_photo_request_builder.go @@ -120,7 +120,7 @@ func (m *ItemPhotoRequestBuilder) ToDeleteRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the group's profile photo. @@ -136,7 +136,7 @@ func (m *ItemPhotoRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property photo in groups @@ -149,7 +149,7 @@ func (m *ItemPhotoRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_photo_value_content_request_builder.go b/groups/item_photo_value_content_request_builder.go index 798449a8b08..9d86598fbf2 100644 --- a/groups/item_photo_value_content_request_builder.go +++ b/groups/item_photo_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemPhotoValueContentRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photo in groups @@ -98,7 +98,7 @@ func (m *ItemPhotoValueContentRequestBuilder) ToPutRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_photos_item_value_content_request_builder.go b/groups/item_photos_item_value_content_request_builder.go index 0883a5b5550..0392515e91b 100644 --- a/groups/item_photos_item_value_content_request_builder.go +++ b/groups/item_photos_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemPhotosItemValueContentRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photos in groups @@ -101,7 +101,7 @@ func (m *ItemPhotosItemValueContentRequestBuilder) ToPutRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_photos_profile_photo_item_request_builder.go b/groups/item_photos_profile_photo_item_request_builder.go index 576a39b9b15..df0b3620590 100644 --- a/groups/item_photos_profile_photo_item_request_builder.go +++ b/groups/item_photos_profile_photo_item_request_builder.go @@ -74,7 +74,7 @@ func (m *ItemPhotosProfilePhotoItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_photos_request_builder.go b/groups/item_photos_request_builder.go index aed579b4c00..2e910c28dce 100644 --- a/groups/item_photos_request_builder.go +++ b/groups/item_photos_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemPhotosRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_planner_plans_delta_request_builder.go b/groups/item_planner_plans_delta_request_builder.go index b476ee72c54..9c15fe0e6f7 100644 --- a/groups/item_planner_plans_delta_request_builder.go +++ b/groups/item_planner_plans_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPlannerPlansDeltaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_planner_plans_item_buckets_delta_request_builder.go b/groups/item_planner_plans_item_buckets_delta_request_builder.go index fa0e5d742df..28b5e487c54 100644 --- a/groups/item_planner_plans_item_buckets_delta_request_builder.go +++ b/groups/item_planner_plans_item_buckets_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go index bde6c936dc9..6fc7af18ab5 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index 7af89bca2c4..9c57366d36b 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedToTaskBoardFormat in groups @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go index fc9dd640446..2486156adde 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bucketTaskBoardFormat in groups @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go index 670257d4025..397cad116a9 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in groups @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go index 41af5ca16d2..1402c74960d 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property progressTaskBoardFormat in groups @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go index 4e096822368..f6a20eb39fb 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. The collection of tasks in the bucket. @@ -150,7 +150,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in groups @@ -163,7 +163,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go b/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go index 8399e70ab41..23e7073aef2 100644 --- a/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go +++ b/groups/item_planner_plans_item_buckets_item_tasks_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for groups @@ -145,7 +145,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go b/groups/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go index 27c957cb5c7..aace7ae34e3 100644 --- a/groups/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go +++ b/groups/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of buckets in the plan. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property buckets in groups @@ -151,7 +151,7 @@ func (m *ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_buckets_request_builder.go b/groups/item_planner_plans_item_buckets_request_builder.go index 89a589ff8df..7123e12a7a0 100644 --- a/groups/item_planner_plans_item_buckets_request_builder.go +++ b/groups/item_planner_plans_item_buckets_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPlannerPlansItemBucketsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to buckets for groups @@ -145,7 +145,7 @@ func (m *ItemPlannerPlansItemBucketsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_details_request_builder.go b/groups/item_planner_plans_item_details_request_builder.go index b9c936730d1..e8e560a26b0 100644 --- a/groups/item_planner_plans_item_details_request_builder.go +++ b/groups/item_planner_plans_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in groups @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_move_to_container_request_builder.go b/groups/item_planner_plans_item_move_to_container_request_builder.go index aa669f1dbb0..fa85831ff5c 100644 --- a/groups/item_planner_plans_item_move_to_container_request_builder.go +++ b/groups/item_planner_plans_item_move_to_container_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemPlannerPlansItemMoveToContainerRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_tasks_delta_request_builder.go b/groups/item_planner_plans_item_tasks_delta_request_builder.go index ad92ca6813f..3f088e6e0e4 100644 --- a/groups/item_planner_plans_item_tasks_delta_request_builder.go +++ b/groups/item_planner_plans_item_tasks_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go b/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go index 8ffb42bd0f9..08e70a6b428 100644 --- a/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedToTaskBoardFormat in groups @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go b/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go index 98c31ef8baa..c0f5a14bdff 100644 --- a/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bucketTaskBoardFormat in groups @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_tasks_item_details_request_builder.go b/groups/item_planner_plans_item_tasks_item_details_request_builder.go index cf36958bc44..15b80cb20dc 100644 --- a/groups/item_planner_plans_item_tasks_item_details_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in groups @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go b/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go index 290eeeb9d90..5d80824375b 100644 --- a/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go +++ b/groups/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property progressTaskBoardFormat in groups @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_tasks_planner_task_item_request_builder.go b/groups/item_planner_plans_item_tasks_planner_task_item_request_builder.go index 8ffe40ccbd6..af4de09138f 100644 --- a/groups/item_planner_plans_item_tasks_planner_task_item_request_builder.go +++ b/groups/item_planner_plans_item_tasks_planner_task_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of tasks in the plan. Read-only. Nullable. @@ -150,7 +150,7 @@ func (m *ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in groups @@ -163,7 +163,7 @@ func (m *ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_item_tasks_request_builder.go b/groups/item_planner_plans_item_tasks_request_builder.go index d5ffd3a9ade..2d8c56d52cd 100644 --- a/groups/item_planner_plans_item_tasks_request_builder.go +++ b/groups/item_planner_plans_item_tasks_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPlannerPlansItemTasksRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for groups @@ -145,7 +145,7 @@ func (m *ItemPlannerPlansItemTasksRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_planner_plan_item_request_builder.go b/groups/item_planner_plans_planner_plan_item_request_builder.go index 203ecb85517..76deb1b3583 100644 --- a/groups/item_planner_plans_planner_plan_item_request_builder.go +++ b/groups/item_planner_plans_planner_plan_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemPlannerPlansPlannerPlanItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Returns the plannerPlans owned by the group. @@ -150,7 +150,7 @@ func (m *ItemPlannerPlansPlannerPlanItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property plans in groups @@ -163,7 +163,7 @@ func (m *ItemPlannerPlansPlannerPlanItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_plans_request_builder.go b/groups/item_planner_plans_request_builder.go index 4041f77d7a3..d9c8923a28b 100644 --- a/groups/item_planner_plans_request_builder.go +++ b/groups/item_planner_plans_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPlannerPlansRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to plans for groups @@ -145,7 +145,7 @@ func (m *ItemPlannerPlansRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_planner_request_builder.go b/groups/item_planner_request_builder.go index 956f611a4d2..d1e6b9ef97b 100644 --- a/groups/item_planner_request_builder.go +++ b/groups/item_planner_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemPlannerRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation selective Planner services available to the group. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemPlannerRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property planner in groups @@ -151,7 +151,7 @@ func (m *ItemPlannerRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_rejected_senders_item_ref_request_builder.go b/groups/item_rejected_senders_item_ref_request_builder.go index 163f69aeb50..c4c4daa8a83 100644 --- a/groups/item_rejected_senders_item_ref_request_builder.go +++ b/groups/item_rejected_senders_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemRejectedSendersItemRefRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_rejected_senders_ref_request_builder.go b/groups/item_rejected_senders_ref_request_builder.go index 13bee54fafc..1eae03da38c 100644 --- a/groups/item_rejected_senders_ref_request_builder.go +++ b/groups/item_rejected_senders_ref_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemRejectedSendersRefRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -120,7 +120,7 @@ func (m *ItemRejectedSendersRefRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_rejected_senders_request_builder.go b/groups/item_rejected_senders_request_builder.go index fc287d28ec2..5df1edef0b9 100644 --- a/groups/item_rejected_senders_request_builder.go +++ b/groups/item_rejected_senders_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemRejectedSendersRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_remove_favorite_request_builder.go b/groups/item_remove_favorite_request_builder.go index e4157704949..55e529218dd 100644 --- a/groups/item_remove_favorite_request_builder.go +++ b/groups/item_remove_favorite_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemRemoveFavoriteRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_renew_request_builder.go b/groups/item_renew_request_builder.go index 2ca28faad79..d39651499e4 100644 --- a/groups/item_renew_request_builder.go +++ b/groups/item_renew_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemRenewRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_reset_unseen_count_request_builder.go b/groups/item_reset_unseen_count_request_builder.go index b1fd9278b1d..17e8ba9bde7 100644 --- a/groups/item_reset_unseen_count_request_builder.go +++ b/groups/item_reset_unseen_count_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemResetUnseenCountRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_restore_request_builder.go b/groups/item_restore_request_builder.go index 2960c46645b..79ed7bc3502 100644 --- a/groups/item_restore_request_builder.go +++ b/groups/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_retry_service_provisioning_request_builder.go b/groups/item_retry_service_provisioning_request_builder.go index cb6ab26fc8d..e78c59216a2 100644 --- a/groups/item_retry_service_provisioning_request_builder.go +++ b/groups/item_retry_service_provisioning_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemRetryServiceProvisioningRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_service_provisioning_errors_request_builder.go b/groups/item_service_provisioning_errors_request_builder.go index eef585fbd53..4f450442306 100644 --- a/groups/item_service_provisioning_errors_request_builder.go +++ b/groups/item_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_settings_directory_setting_item_request_builder.go b/groups/item_settings_directory_setting_item_request_builder.go index bcd33462f42..25a36167d80 100644 --- a/groups/item_settings_directory_setting_item_request_builder.go +++ b/groups/item_settings_directory_setting_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSettingsDirectorySettingItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation settings that can govern this group's behavior, like whether members can invite guest users to the group. Nullable. @@ -134,7 +134,7 @@ func (m *ItemSettingsDirectorySettingItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in groups @@ -147,7 +147,7 @@ func (m *ItemSettingsDirectorySettingItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_settings_request_builder.go b/groups/item_settings_request_builder.go index 7d2b1f4a01c..037132d7c8b 100644 --- a/groups/item_settings_request_builder.go +++ b/groups/item_settings_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemSettingsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_add_request_builder.go b/groups/item_sites_add_request_builder.go index 5a414df7c36..2fc6d6eda7b 100644 --- a/groups/item_sites_add_request_builder.go +++ b/groups/item_sites_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemSitesAddRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_delta_request_builder.go b/groups/item_sites_delta_request_builder.go index 71f5448bd9a..86d7e15c72f 100644 --- a/groups/item_sites_delta_request_builder.go +++ b/groups/item_sites_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSitesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_get_all_sites_request_builder.go b/groups/item_sites_get_all_sites_request_builder.go index 020bd0bb536..b8c401d987a 100644 --- a/groups/item_sites_get_all_sites_request_builder.go +++ b/groups/item_sites_get_all_sites_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSitesGetAllSitesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_analytics_all_time_request_builder.go b/groups/item_sites_item_analytics_all_time_request_builder.go index 9156d65ac96..20e46d1b7b0 100644 --- a/groups/item_sites_item_analytics_all_time_request_builder.go +++ b/groups/item_sites_item_analytics_all_time_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemAnalyticsAllTimeRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go index 26cb190728f..25a8dece94e 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation exposes the itemActivities represented in this itemActivityStat resource. @@ -138,7 +138,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in groups @@ -151,7 +151,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go index ff028a0ae71..f6d9c5229da 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemConte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go index 92893c475c1..a5cba92182a 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activities_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activities_request_builder.go index d789eaaff2c..252ff49d87a 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activities_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activities_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go index 36846e02a83..2332deb8d39 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemActivityStats from groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemActivityStats in groups @@ -151,7 +151,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_analytics_item_activity_stats_request_builder.go b/groups/item_sites_item_analytics_item_activity_stats_request_builder.go index 512a3d5adcf..d0883cd6477 100644 --- a/groups/item_sites_item_analytics_item_activity_stats_request_builder.go +++ b/groups/item_sites_item_analytics_item_activity_stats_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to itemActivityStats for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemAnalyticsItemActivityStatsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_analytics_last_seven_days_request_builder.go b/groups/item_sites_item_analytics_last_seven_days_request_builder.go index b2ed9b68eda..5eaeb7c30fd 100644 --- a/groups/item_sites_item_analytics_last_seven_days_request_builder.go +++ b/groups/item_sites_item_analytics_last_seven_days_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemAnalyticsLastSevenDaysRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_analytics_request_builder.go b/groups/item_sites_item_analytics_request_builder.go index af2ae1c653e..636bbb14795 100644 --- a/groups/item_sites_item_analytics_request_builder.go +++ b/groups/item_sites_item_analytics_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemSitesItemAnalyticsRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation analytics about the view activities that took place in this site. @@ -146,7 +146,7 @@ func (m *ItemSitesItemAnalyticsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property analytics in groups @@ -159,7 +159,7 @@ func (m *ItemSitesItemAnalyticsRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_columns_column_definition_item_request_builder.go b/groups/item_sites_item_columns_column_definition_item_request_builder.go index 70d6e54d514..5269583288a 100644 --- a/groups/item_sites_item_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_columns_column_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSitesItemColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of column definitions reusable across lists under this site. @@ -138,7 +138,7 @@ func (m *ItemSitesItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columns in groups @@ -151,7 +151,7 @@ func (m *ItemSitesItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_columns_item_source_column_request_builder.go b/groups/item_sites_item_columns_item_source_column_request_builder.go index 892ab0d92ca..4193adf184e 100644 --- a/groups/item_sites_item_columns_item_source_column_request_builder.go +++ b/groups/item_sites_item_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemColumnsItemSourceColumnRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_columns_request_builder.go b/groups/item_sites_item_columns_request_builder.go index cf37b26dcdd..9b490ce6ed7 100644 --- a/groups/item_sites_item_columns_request_builder.go +++ b/groups/item_sites_item_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemColumnsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a column for a site][site] by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemColumnsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go b/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go index c674f07186b..5b5c06e8f26 100644 --- a/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/groups/item_sites_item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_content_types_add_copy_request_builder.go b/groups/item_sites_item_content_types_add_copy_request_builder.go index ff8ca2c55f1..ff067ede0c6 100644 --- a/groups/item_sites_item_content_types_add_copy_request_builder.go +++ b/groups/item_sites_item_content_types_add_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemContentTypesAddCopyRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_content_types_content_type_item_request_builder.go b/groups/item_sites_item_content_types_content_type_item_request_builder.go index d34dcc88d63..198488c7a6b 100644 --- a/groups/item_sites_item_content_types_content_type_item_request_builder.go +++ b/groups/item_sites_item_content_types_content_type_item_request_builder.go @@ -163,7 +163,7 @@ func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. @@ -179,7 +179,7 @@ func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a content type][contentType]. This API is available in the following [national cloud deployments. @@ -192,7 +192,7 @@ func (m *ItemSitesItemContentTypesContentTypeItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go b/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go index 12177386a2b..f9e5aa176ee 100644 --- a/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/groups/item_sites_item_content_types_get_compatible_hub_content_types_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go b/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go index 76641cd477e..427c1c178c8 100644 --- a/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/groups/item_sites_item_content_types_item_associate_with_hub_sites_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_content_types_item_base_request_builder.go b/groups/item_sites_item_content_types_item_base_request_builder.go index 21d7b704987..9d7d927e89c 100644 --- a/groups/item_sites_item_content_types_item_base_request_builder.go +++ b/groups/item_sites_item_content_types_item_base_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemContentTypesItemBaseRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_content_types_item_base_types_content_type_item_request_builder.go b/groups/item_sites_item_content_types_item_base_types_content_type_item_request_builder.go index 463d326afdd..9576ce52881 100644 --- a/groups/item_sites_item_content_types_item_base_types_content_type_item_request_builder.go +++ b/groups/item_sites_item_content_types_item_base_types_content_type_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_content_types_item_base_types_request_builder.go b/groups/item_sites_item_content_types_item_base_types_request_builder.go index 14de7faa73f..b6844ec5e44 100644 --- a/groups/item_sites_item_content_types_item_base_types_request_builder.go +++ b/groups/item_sites_item_content_types_item_base_types_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemSitesItemContentTypesItemBaseTypesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_content_types_item_column_links_column_link_item_request_builder.go b/groups/item_sites_item_content_types_item_column_links_column_link_item_request_builder.go index 9d958933eb2..dbb930c88ea 100644 --- a/groups/item_sites_item_content_types_item_column_links_column_link_item_request_builder.go +++ b/groups/item_sites_item_content_types_item_column_links_column_link_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSitesItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of columns that are required by this content type @@ -134,7 +134,7 @@ func (m *ItemSitesItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columnLinks in groups @@ -147,7 +147,7 @@ func (m *ItemSitesItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_content_types_item_column_links_request_builder.go b/groups/item_sites_item_content_types_item_column_links_request_builder.go index 9bd162f4d82..1eb860bb2d8 100644 --- a/groups/item_sites_item_content_types_item_column_links_request_builder.go +++ b/groups/item_sites_item_content_types_item_column_links_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemContentTypesItemColumnLinksRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to columnLinks for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemContentTypesItemColumnLinksRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_content_types_item_column_positions_column_definition_item_request_builder.go b/groups/item_sites_item_content_types_item_column_positions_column_definition_item_request_builder.go index 0543209128a..ee012105350 100644 --- a/groups/item_sites_item_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/groups/item_sites_item_content_types_item_column_positions_column_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemContentTypesItemColumnPositionsColumnDefinitionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_content_types_item_column_positions_request_builder.go b/groups/item_sites_item_content_types_item_column_positions_request_builder.go index 413b9c89d67..49603abfc02 100644 --- a/groups/item_sites_item_content_types_item_column_positions_request_builder.go +++ b/groups/item_sites_item_content_types_item_column_positions_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemSitesItemContentTypesItemColumnPositionsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go b/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go index e04356ffd83..3ae89585854 100644 --- a/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_content_types_item_columns_column_definition_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemSitesItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_content_types_item_columns_item_source_column_request_builder.go b/groups/item_sites_item_content_types_item_columns_item_source_column_request_builder.go index ff55c70a1fb..77711c01a29 100644 --- a/groups/item_sites_item_content_types_item_columns_item_source_column_request_builder.go +++ b/groups/item_sites_item_content_types_item_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemContentTypesItemColumnsItemSourceColumnRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_content_types_item_columns_request_builder.go b/groups/item_sites_item_content_types_item_columns_request_builder.go index 2b1ac821e27..aa5e79ade1f 100644 --- a/groups/item_sites_item_content_types_item_columns_request_builder.go +++ b/groups/item_sites_item_content_types_item_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemSitesItemContentTypesItemColumnsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go b/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go index b04219ce12a..09ea5fa837c 100644 --- a/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/groups/item_sites_item_content_types_item_copy_to_default_content_location_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_content_types_item_is_published_request_builder.go b/groups/item_sites_item_content_types_item_is_published_request_builder.go index ec1702bb35c..7284aff42cf 100644 --- a/groups/item_sites_item_content_types_item_is_published_request_builder.go +++ b/groups/item_sites_item_content_types_item_is_published_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemSitesItemContentTypesItemIsPublishedRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_content_types_item_publish_request_builder.go b/groups/item_sites_item_content_types_item_publish_request_builder.go index ce8d57db923..d320eb32268 100644 --- a/groups/item_sites_item_content_types_item_publish_request_builder.go +++ b/groups/item_sites_item_content_types_item_publish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSitesItemContentTypesItemPublishRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_content_types_item_unpublish_request_builder.go b/groups/item_sites_item_content_types_item_unpublish_request_builder.go index a1ca4d87cf0..79c8460b2bc 100644 --- a/groups/item_sites_item_content_types_item_unpublish_request_builder.go +++ b/groups/item_sites_item_content_types_item_unpublish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSitesItemContentTypesItemUnpublishRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_content_types_request_builder.go b/groups/item_sites_item_content_types_request_builder.go index 480a83de556..1341561e9e5 100644 --- a/groups/item_sites_item_content_types_request_builder.go +++ b/groups/item_sites_item_content_types_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemSitesItemContentTypesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new contentType][] for a [site][]. This API is available in the following [national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemSitesItemContentTypesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_created_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_created_by_user_mailbox_settings_request_builder.go index 78cc2f6d3f3..245886f59f1 100644 --- a/groups/item_sites_item_created_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_created_by_user_request_builder.go b/groups/item_sites_item_created_by_user_request_builder.go index 80046d16692..998fcca1d7b 100644 --- a/groups/item_sites_item_created_by_user_request_builder.go +++ b/groups/item_sites_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_created_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_created_by_user_service_provisioning_errors_request_builder.go index 4ffa802562b..c48b76ad545 100644 --- a/groups/item_sites_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl func (m *ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_drive_request_builder.go b/groups/item_sites_item_drive_request_builder.go index e8f7a760877..31dcf7efd21 100644 --- a/groups/item_sites_item_drive_request_builder.go +++ b/groups/item_sites_item_drive_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemDriveRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_drives_drive_item_request_builder.go b/groups/item_sites_item_drives_drive_item_request_builder.go index 7b345878437..3e475269c00 100644 --- a/groups/item_sites_item_drives_drive_item_request_builder.go +++ b/groups/item_sites_item_drives_drive_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemDrivesDriveItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_drives_request_builder.go b/groups/item_sites_item_drives_request_builder.go index 5bc03e47a8e..62912c18ba8 100644 --- a/groups/item_sites_item_drives_request_builder.go +++ b/groups/item_sites_item_drives_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemSitesItemDrivesRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_external_columns_column_definition_item_request_builder.go b/groups/item_sites_item_external_columns_column_definition_item_request_builder.go index 8f49276d0f6..628db5e62c4 100644 --- a/groups/item_sites_item_external_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_external_columns_column_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemExternalColumnsColumnDefinitionItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_external_columns_request_builder.go b/groups/item_sites_item_external_columns_request_builder.go index 79d28e5704b..1fb0cb4b003 100644 --- a/groups/item_sites_item_external_columns_request_builder.go +++ b/groups/item_sites_item_external_columns_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemSitesItemExternalColumnsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/groups/item_sites_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 35532b07ee2..5a7f62ebf69 100644 --- a/groups/item_sites_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/groups/item_sites_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go b/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go index 2e69b1ed09a..2855c596554 100644 --- a/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go +++ b/groups/item_sites_item_get_applicable_content_types_for_list_with_list_id_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_get_by_path_with_path_request_builder.go b/groups/item_sites_item_get_by_path_with_path_request_builder.go index dc13cb71692..2ac26b99da6 100644 --- a/groups/item_sites_item_get_by_path_with_path_request_builder.go +++ b/groups/item_sites_item_get_by_path_with_path_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemGetByPathWithPathRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index d45ae77423b..e27640d743c 100644 --- a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -75,7 +75,7 @@ func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysBitlockerRecover requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go index a50e114e59d..d58bf9d15ec 100644 --- a/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go +++ b/groups/item_sites_item_information_protection_bitlocker_recovery_keys_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemSitesItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_information_protection_bitlocker_request_builder.go b/groups/item_sites_item_information_protection_bitlocker_request_builder.go index 922fcce964c..0d646ea79ca 100644 --- a/groups/item_sites_item_information_protection_bitlocker_request_builder.go +++ b/groups/item_sites_item_information_protection_bitlocker_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemSitesItemInformationProtectionBitlockerRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go b/groups/item_sites_item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go index c8ce168bb6f..70efbd0052c 100644 --- a/groups/item_sites_item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go +++ b/groups/item_sites_item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesDataLossPre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dataLossPreventionPolicies from groups @@ -134,7 +134,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesDataLossPre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dataLossPreventionPolicies in groups @@ -147,7 +147,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesDataLossPre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go b/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go index ccd8460b2dd..59d2f95e70c 100644 --- a/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go +++ b/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluateReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_data_loss_prevention_policies_request_builder.go b/groups/item_sites_item_information_protection_data_loss_prevention_policies_request_builder.go index 96fd28a02e7..1bf513ecba4 100644 --- a/groups/item_sites_item_information_protection_data_loss_prevention_policies_request_builder.go +++ b/groups/item_sites_item_information_protection_data_loss_prevention_policies_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dataLossPreventionPolicies for groups @@ -142,7 +142,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_decrypt_buffer_request_builder.go b/groups/item_sites_item_information_protection_decrypt_buffer_request_builder.go index 12d59b9a3dd..f1a6bea6a94 100644 --- a/groups/item_sites_item_information_protection_decrypt_buffer_request_builder.go +++ b/groups/item_sites_item_information_protection_decrypt_buffer_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemSitesItemInformationProtectionDecryptBufferRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_encrypt_buffer_request_builder.go b/groups/item_sites_item_information_protection_encrypt_buffer_request_builder.go index af884259f1c..4b938a69264 100644 --- a/groups/item_sites_item_information_protection_encrypt_buffer_request_builder.go +++ b/groups/item_sites_item_information_protection_encrypt_buffer_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemSitesItemInformationProtectionEncryptBufferRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go index c66780558cb..c11e107aa53 100644 --- a/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_evaluate_application_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go index 80303aec0f2..4c58d279741 100644 --- a/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_evaluate_classification_results_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go index 8d629be9752..9b80dba498b 100644 --- a/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_evaluate_removal_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go index b2718ac75f4..5d50c25b48b 100644 --- a/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_extract_label_request_builder.go @@ -65,7 +65,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go index fb945dffd1b..1d7b7ddc151 100644 --- a/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_information_protection_label_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property labels in groups @@ -156,7 +156,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsInformationProtectionLabe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_policy_labels_request_builder.go b/groups/item_sites_item_information_protection_policy_labels_request_builder.go index bea861d8006..ea5f4a6dfd5 100644 --- a/groups/item_sites_item_information_protection_policy_labels_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_labels_request_builder.go @@ -148,7 +148,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to labels for groups @@ -162,7 +162,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_policy_request_builder.go b/groups/item_sites_item_information_protection_policy_request_builder.go index 3b35f37859b..8bf9abf8fc6 100644 --- a/groups/item_sites_item_information_protection_policy_request_builder.go +++ b/groups/item_sites_item_information_protection_policy_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemInformationProtectionPolicyRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get policy from groups @@ -143,7 +143,7 @@ func (m *ItemSitesItemInformationProtectionPolicyRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policy in groups @@ -157,7 +157,7 @@ func (m *ItemSitesItemInformationProtectionPolicyRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_request_builder.go b/groups/item_sites_item_information_protection_request_builder.go index 0b98793c91e..550ffa3167e 100644 --- a/groups/item_sites_item_information_protection_request_builder.go +++ b/groups/item_sites_item_information_protection_request_builder.go @@ -154,7 +154,7 @@ func (m *ItemSitesItemInformationProtectionRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get informationProtection from groups @@ -170,7 +170,7 @@ func (m *ItemSitesItemInformationProtectionRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property informationProtection in groups @@ -183,7 +183,7 @@ func (m *ItemSitesItemInformationProtectionRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_evaluate_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_evaluate_request_builder.go index f02fb8b4d8f..b6633ed63bf 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_evaluate_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluateRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go index 6e1f8187f1b..1da190bbbae 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_request_builder.go index e54164ae2eb..a26d9ca808c 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sublabels for groups @@ -142,7 +142,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go index 00aeed224b9..99f37240692 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsSensiti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sublabels from groups @@ -134,7 +134,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsSensiti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sublabels in groups @@ -147,7 +147,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsSensiti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_request_builder.go index 4d2f48e8ccf..2cbeb33e14c 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sensitivityLabels for groups @@ -142,7 +142,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go index 9ffe220e146..2cbe226e7d4 100644 --- a/groups/item_sites_item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsSensitivityLabelItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sensitivityLabels from groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsSensitivityLabelItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityLabels in groups @@ -151,7 +151,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsSensitivityLabelItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_sensitivity_policy_settings_request_builder.go b/groups/item_sites_item_information_protection_sensitivity_policy_settings_request_builder.go index f95e98bed5c..471d03fad97 100644 --- a/groups/item_sites_item_information_protection_sensitivity_policy_settings_request_builder.go +++ b/groups/item_sites_item_information_protection_sensitivity_policy_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityPolicySettingsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sensitivityPolicySettings from groups @@ -134,7 +134,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityPolicySettingsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityPolicySettings in groups @@ -147,7 +147,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityPolicySettingsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_sign_digest_request_builder.go b/groups/item_sites_item_information_protection_sign_digest_request_builder.go index e7e5ce5cc30..579d87c6b1f 100644 --- a/groups/item_sites_item_information_protection_sign_digest_request_builder.go +++ b/groups/item_sites_item_information_protection_sign_digest_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemSitesItemInformationProtectionSignDigestRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_request_builder.go index 622cb530f55..cacf1b999c8 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to results for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go index a91d870d6bc..a6ef25c5f9f 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsTh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it. @@ -134,7 +134,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsTh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property results in groups @@ -147,7 +147,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsItemResultsTh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go index cd783223fb2..1d84f977734 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go b/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go index 91d40a1ee47..7d35d1f1e6d 100644 --- a/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/groups/item_sites_item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property threatAssessmentRequests in groups @@ -154,7 +154,7 @@ func (m *ItemSitesItemInformationProtectionThreatAssessmentRequestsThreatAssessm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_information_protection_verify_signature_request_builder.go b/groups/item_sites_item_information_protection_verify_signature_request_builder.go index 7f157978f7e..13998c5ed4a 100644 --- a/groups/item_sites_item_information_protection_verify_signature_request_builder.go +++ b/groups/item_sites_item_information_protection_verify_signature_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemSitesItemInformationProtectionVerifySignatureRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_items_base_item_item_request_builder.go b/groups/item_sites_item_items_base_item_item_request_builder.go index 49c27702e86..33f689d2cff 100644 --- a/groups/item_sites_item_items_base_item_item_request_builder.go +++ b/groups/item_sites_item_items_base_item_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemItemsBaseItemItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_items_request_builder.go b/groups/item_sites_item_items_request_builder.go index 728a93ef54f..d58dad18b91 100644 --- a/groups/item_sites_item_items_request_builder.go +++ b/groups/item_sites_item_items_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemSitesItemItemsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_last_modified_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_last_modified_by_user_mailbox_settings_request_builder.go index d5d88b49521..39c3a5b5cbe 100644 --- a/groups/item_sites_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_last_modified_by_user_request_builder.go b/groups/item_sites_item_last_modified_by_user_request_builder.go index 15a91cbab9e..75d306ad7f3 100644 --- a/groups/item_sites_item_last_modified_by_user_request_builder.go +++ b/groups/item_sites_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemLastModifiedByUserRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_last_modified_by_user_service_provisioning_errors_request_builder.go index 909c018ab37..35fbc4c4ed5 100644 --- a/groups/item_sites_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(r func (m *ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_activities_request_builder.go b/groups/item_sites_item_lists_item_activities_request_builder.go index f2199d989a1..00706cdb426 100644 --- a/groups/item_sites_item_lists_item_activities_request_builder.go +++ b/groups/item_sites_item_lists_item_activities_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemSitesItemListsItemActivitiesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for groups @@ -123,7 +123,7 @@ func (m *ItemSitesItemListsItemActivitiesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_columns_column_definition_item_request_builder.go b/groups/item_sites_item_lists_item_columns_column_definition_item_request_builder.go index a189da738b4..71861595020 100644 --- a/groups/item_sites_item_lists_item_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_lists_item_columns_column_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSitesItemListsItemColumnsColumnDefinitionItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of field definitions for this list. @@ -138,7 +138,7 @@ func (m *ItemSitesItemListsItemColumnsColumnDefinitionItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columns in groups @@ -151,7 +151,7 @@ func (m *ItemSitesItemListsItemColumnsColumnDefinitionItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_columns_item_source_column_request_builder.go b/groups/item_sites_item_lists_item_columns_item_source_column_request_builder.go index 01edf9741d2..01550ea25fa 100644 --- a/groups/item_sites_item_lists_item_columns_item_source_column_request_builder.go +++ b/groups/item_sites_item_lists_item_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemListsItemColumnsItemSourceColumnRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_columns_request_builder.go b/groups/item_sites_item_lists_item_columns_request_builder.go index 728e3b1abb9..2872944e501 100644 --- a/groups/item_sites_item_lists_item_columns_request_builder.go +++ b/groups/item_sites_item_lists_item_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemListsItemColumnsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemSitesItemListsItemColumnsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go b/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go index 09f2341c22a..ff340d2d4a9 100644 --- a/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go b/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go index 3064d988a2c..5fb4b7e6f45 100644 --- a/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_add_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemListsItemContentTypesAddCopyRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_content_types_content_type_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_content_type_item_request_builder.go index e45b76b3d6d..25ff5178640 100644 --- a/groups/item_sites_item_lists_item_content_types_content_type_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_content_type_item_request_builder.go @@ -154,7 +154,7 @@ func (m *ItemSitesItemListsItemContentTypesContentTypeItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of content types present in this list. @@ -170,7 +170,7 @@ func (m *ItemSitesItemListsItemContentTypesContentTypeItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentTypes in groups @@ -183,7 +183,7 @@ func (m *ItemSitesItemListsItemContentTypesContentTypeItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go b/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go index 80652cb132f..be9fad80420 100644 --- a/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go index de4abd128bd..4ea874eda45 100644 --- a/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_content_types_item_base_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_base_request_builder.go index 58a18e4a148..3a49519ef3d 100644 --- a/groups/item_sites_item_lists_item_content_types_item_base_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_base_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemListsItemContentTypesItemBaseRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_content_types_item_base_types_content_type_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_base_types_content_type_item_request_builder.go index 6bc37fe240e..84f532ba06b 100644 --- a/groups/item_sites_item_lists_item_content_types_item_base_types_content_type_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_base_types_content_type_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_content_types_item_base_types_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_base_types_request_builder.go index f4596fb0bd6..416abb75856 100644 --- a/groups/item_sites_item_lists_item_content_types_item_base_types_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_base_types_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemSitesItemListsItemContentTypesItemBaseTypesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_content_types_item_column_links_column_link_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_column_links_column_link_item_request_builder.go index 75f79bc3a03..044c8841f02 100644 --- a/groups/item_sites_item_lists_item_content_types_item_column_links_column_link_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_column_links_column_link_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of columns that are required by this content type @@ -134,7 +134,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columnLinks in groups @@ -147,7 +147,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_content_types_item_column_links_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_column_links_request_builder.go index 1f9dacbf384..d6260c00b38 100644 --- a/groups/item_sites_item_lists_item_content_types_item_column_links_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_column_links_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnLinksRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to columnLinks for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnLinksRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go index 9f719bf1136..50d40ab54f1 100644 --- a/groups/item_sites_item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnPositionsColumnDefinitionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_content_types_item_column_positions_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_column_positions_request_builder.go index 20ec4d98ba8..3034afa03f6 100644 --- a/groups/item_sites_item_lists_item_content_types_item_column_positions_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_column_positions_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnPositionsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go index ad63c4efa6e..293afe5fd3d 100644 --- a/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_columns_column_definition_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsColumnDefinitionItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_content_types_item_columns_item_source_column_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_columns_item_source_column_request_builder.go index f49ff0205ca..9751c1ae07d 100644 --- a/groups/item_sites_item_lists_item_content_types_item_columns_item_source_column_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsItemSourceColumnRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go index 716aeebaaf0..ef26e9d1d65 100644 --- a/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemSitesItemListsItemContentTypesItemColumnsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go index 7bf93eb4492..1ab5a6c07db 100644 --- a/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go index 37fc4440ff7..a8bb533d7f5 100644 --- a/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_is_published_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemSitesItemListsItemContentTypesItemIsPublishedRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go index 7b15a73e74e..75351271814 100644 --- a/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_publish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSitesItemListsItemContentTypesItemPublishRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go b/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go index c161c6d25bc..0d61e180a6f 100644 --- a/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_item_unpublish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSitesItemListsItemContentTypesItemUnpublishRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_content_types_request_builder.go b/groups/item_sites_item_lists_item_content_types_request_builder.go index 3fdb6d78743..d8e2f15ce27 100644 --- a/groups/item_sites_item_lists_item_content_types_request_builder.go +++ b/groups/item_sites_item_lists_item_content_types_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemSitesItemListsItemContentTypesRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentTypes for groups @@ -153,7 +153,7 @@ func (m *ItemSitesItemListsItemContentTypesRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_created_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_lists_item_created_by_user_mailbox_settings_request_builder.go index dbea4a09800..90d382acb03 100644 --- a/groups/item_sites_item_lists_item_created_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_lists_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemListsItemCreatedByUserMailboxSettingsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemListsItemCreatedByUserMailboxSettingsRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_created_by_user_request_builder.go b/groups/item_sites_item_lists_item_created_by_user_request_builder.go index 5d1e9f4c253..8af57a91655 100644 --- a/groups/item_sites_item_lists_item_created_by_user_request_builder.go +++ b/groups/item_sites_item_lists_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemListsItemCreatedByUserRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_created_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_lists_item_created_by_user_service_provisioning_errors_request_builder.go index 4f5bf1d2446..f8cc6035a95 100644 --- a/groups/item_sites_item_lists_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_lists_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuild func (m *ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_drive_request_builder.go b/groups/item_sites_item_lists_item_drive_request_builder.go index bee4792090f..57ee41beb5f 100644 --- a/groups/item_sites_item_lists_item_drive_request_builder.go +++ b/groups/item_sites_item_lists_item_drive_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemListsItemDriveRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_delta_request_builder.go b/groups/item_sites_item_lists_item_items_delta_request_builder.go index 5a4d5d91922..62b18c3cac1 100644 --- a/groups/item_sites_item_lists_item_items_delta_request_builder.go +++ b/groups/item_sites_item_lists_item_items_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSitesItemListsItemItemsDeltaRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_delta_with_token_request_builder.go b/groups/item_sites_item_lists_item_items_delta_with_token_request_builder.go index fa887bfbdb0..b967fe981b1 100644 --- a/groups/item_sites_item_lists_item_items_delta_with_token_request_builder.go +++ b/groups/item_sites_item_lists_item_items_delta_with_token_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemSitesItemListsItemItemsDeltaWithTokenRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go index ebf3d4195c0..05380606152 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of recent activities that took place on this item. @@ -142,7 +142,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go index 650c764b1b7..ab021860f6a 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemContentRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_request_builder.go index 05e3b21d746..987967450d9 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemDriveItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_activities_item_list_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_item_list_item_request_builder.go index adf4c74f373..3054992e00d 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_item_list_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_item_list_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesItemListItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_activities_request_builder.go b/groups/item_sites_item_lists_item_items_item_activities_request_builder.go index 47c9d56231b..4e5753f2ab2 100644 --- a/groups/item_sites_item_lists_item_items_item_activities_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_activities_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemListsItemItemsItemActivitiesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_analytics_request_builder.go b/groups/item_sites_item_lists_item_items_item_analytics_request_builder.go index d09aae8099e..0fbf13e4a3a 100644 --- a/groups/item_sites_item_lists_item_items_item_analytics_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_analytics_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemListsItemItemsItemAnalyticsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go b/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go index 9b0f5d43a77..f84b34a98dd 100644 --- a/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_create_link_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemListsItemItemsItemCreateLinkRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go index 878537e0c0b..533e27bd2c3 100644 --- a/groups/item_sites_item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_created_by_user_request_builder.go b/groups/item_sites_item_lists_item_items_item_created_by_user_request_builder.go index 5f7933576a2..c2536b26410 100644 --- a/groups/item_sites_item_lists_item_items_item_created_by_user_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemListsItemItemsItemCreatedByUserRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_created_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_lists_item_items_item_created_by_user_service_provisioning_errors_request_builder.go index eafb3b946b7..b72aa972468 100644 --- a/groups/item_sites_item_lists_item_items_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsReq func (m *ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go index 55f9983fa09..a7a8f192102 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property documentSetVersions in groups @@ -161,7 +161,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_item_fields_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_item_fields_request_builder.go index 02d6c5f48d4..b88e6e56e7c 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_item_fields_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_item_fields_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of the fields and values for this version of the list item. @@ -134,7 +134,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fields in groups @@ -147,7 +147,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go index 0bab7085e54..aea7f7148e6 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_item_restore_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go b/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go index 35bf7c89f9d..ec7b56caf78 100644 --- a/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_document_set_versions_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new version of a document set item in a list. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go b/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go index 093f5a8cba0..bda3ff9e01e 100644 --- a/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemContentRequestBuilder) ToPutReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go index ba420098cfc..64c60757de3 100644 --- a/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemSitesItemListsItemItemsItemDriveItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_fields_request_builder.go b/groups/item_sites_item_lists_item_items_item_fields_request_builder.go index b97b78929a2..2c4bfa8ff99 100644 --- a/groups/item_sites_item_lists_item_items_item_fields_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_fields_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemSitesItemListsItemItemsItemFieldsRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the values of the columns set on this list item. @@ -137,7 +137,7 @@ func (m *ItemSitesItemListsItemItemsItemFieldsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties on a listItem][]. This API is available in the following [national cloud deployments. @@ -150,7 +150,7 @@ func (m *ItemSitesItemListsItemItemsItemFieldsRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/groups/item_sites_item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 8c1ff428c1a..c6df024c4c7 100644 --- a/groups/item_sites_item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTime requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go index d94956f0293..4545b6f12f3 100644 --- a/groups/item_sites_item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_last_modified_by_user_request_builder.go b/groups/item_sites_item_lists_item_items_item_last_modified_by_user_request_builder.go index f736520c3aa..2d69c541bb7 100644 --- a/groups/item_sites_item_lists_item_items_item_last_modified_by_user_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemListsItemItemsItemLastModifiedByUserRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_lists_item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go index d2d24c039cb..02c9e962df2 100644 --- a/groups/item_sites_item_lists_item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErro func (m *ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErr } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemListsItemItemsItemLastModifiedByUserServiceProvisioningErr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_versions_item_fields_request_builder.go b/groups/item_sites_item_lists_item_items_item_versions_item_fields_request_builder.go index aea9fd19bb6..3c240c59246 100644 --- a/groups/item_sites_item_lists_item_items_item_versions_item_fields_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_versions_item_fields_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsItemFieldsRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of the fields and values for this version of the list item. @@ -134,7 +134,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsItemFieldsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fields in groups @@ -147,7 +147,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsItemFieldsRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_versions_item_restore_version_request_builder.go b/groups/item_sites_item_lists_item_items_item_versions_item_restore_version_request_builder.go index b963deb9a20..ebc39332065 100644 --- a/groups/item_sites_item_lists_item_items_item_versions_item_restore_version_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_versions_item_restore_version_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsItemRestoreVersionRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_items_item_versions_list_item_version_item_request_builder.go b/groups/item_sites_item_lists_item_items_item_versions_list_item_version_item_request_builder.go index 475b24590bc..9ca50278e75 100644 --- a/groups/item_sites_item_lists_item_items_item_versions_list_item_version_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_versions_list_item_version_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsListItemVersionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of previous versions of the list item. @@ -142,7 +142,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsListItemVersionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property versions in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsListItemVersionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_item_versions_request_builder.go b/groups/item_sites_item_lists_item_items_item_versions_request_builder.go index 8a71cf2b245..defad7d0922 100644 --- a/groups/item_sites_item_lists_item_items_item_versions_request_builder.go +++ b/groups/item_sites_item_lists_item_items_item_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to versions for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemListsItemItemsItemVersionsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go b/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go index 7a67327b274..f2068aa9986 100644 --- a/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go +++ b/groups/item_sites_item_lists_item_items_list_item_item_request_builder.go @@ -160,7 +160,7 @@ func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. @@ -176,7 +176,7 @@ func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property items in groups @@ -189,7 +189,7 @@ func (m *ItemSitesItemListsItemItemsListItemItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_items_request_builder.go b/groups/item_sites_item_lists_item_items_request_builder.go index 055e32694ec..8c8ad9e2f3d 100644 --- a/groups/item_sites_item_lists_item_items_request_builder.go +++ b/groups/item_sites_item_lists_item_items_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemSitesItemListsItemItemsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. @@ -146,7 +146,7 @@ func (m *ItemSitesItemListsItemItemsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go index ca1b3a501e2..582eb0168df 100644 --- a/groups/item_sites_item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_last_modified_by_user_request_builder.go b/groups/item_sites_item_lists_item_last_modified_by_user_request_builder.go index 2c0dd331d38..e8b8cc0883d 100644 --- a/groups/item_sites_item_lists_item_last_modified_by_user_request_builder.go +++ b/groups/item_sites_item_lists_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemListsItemLastModifiedByUserRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_lists_item_last_modified_by_user_service_provisioning_errors_request_builder.go index 59eb67fe5fe..eb78e219883 100644 --- a/groups/item_sites_item_lists_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_lists_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsRequest func (m *ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemListsItemLastModifiedByUserServiceProvisioningErrorsReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_operations_request_builder.go b/groups/item_sites_item_lists_item_operations_request_builder.go index 9e6f31d0fde..1f50a019d32 100644 --- a/groups/item_sites_item_lists_item_operations_request_builder.go +++ b/groups/item_sites_item_lists_item_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemListsItemOperationsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemListsItemOperationsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_operations_rich_long_running_operation_item_request_builder.go b/groups/item_sites_item_lists_item_operations_rich_long_running_operation_item_request_builder.go index 2ddf9a368d4..02545833cf3 100644 --- a/groups/item_sites_item_lists_item_operations_rich_long_running_operation_item_request_builder.go +++ b/groups/item_sites_item_lists_item_operations_rich_long_running_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSitesItemListsItemOperationsRichLongRunningOperationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of long-running operations on the list. @@ -134,7 +134,7 @@ func (m *ItemSitesItemListsItemOperationsRichLongRunningOperationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in groups @@ -147,7 +147,7 @@ func (m *ItemSitesItemListsItemOperationsRichLongRunningOperationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go b/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go index 8e74124e576..bc54fbadfed 100644 --- a/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go +++ b/groups/item_sites_item_lists_item_subscriptions_item_reauthorize_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSitesItemListsItemSubscriptionsItemReauthorizeRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_lists_item_subscriptions_request_builder.go b/groups/item_sites_item_lists_item_subscriptions_request_builder.go index 08c8b484176..82c6b1531bf 100644 --- a/groups/item_sites_item_lists_item_subscriptions_request_builder.go +++ b/groups/item_sites_item_lists_item_subscriptions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemListsItemSubscriptionsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to subscriptions for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemListsItemSubscriptionsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_item_subscriptions_subscription_item_request_builder.go b/groups/item_sites_item_lists_item_subscriptions_subscription_item_request_builder.go index 218ad0c387b..0feebdefa44 100644 --- a/groups/item_sites_item_lists_item_subscriptions_subscription_item_request_builder.go +++ b/groups/item_sites_item_lists_item_subscriptions_subscription_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSitesItemListsItemSubscriptionsSubscriptionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the set of subscriptions on the list. @@ -138,7 +138,7 @@ func (m *ItemSitesItemListsItemSubscriptionsSubscriptionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subscriptions in groups @@ -151,7 +151,7 @@ func (m *ItemSitesItemListsItemSubscriptionsSubscriptionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_list_item_request_builder.go b/groups/item_sites_item_lists_list_item_request_builder.go index eedd63c9603..13626be9749 100644 --- a/groups/item_sites_item_lists_list_item_request_builder.go +++ b/groups/item_sites_item_lists_list_item_request_builder.go @@ -157,7 +157,7 @@ func (m *ItemSitesItemListsListItemRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation return the metadata for a list][]. This API is available in the following [national cloud deployments. @@ -173,7 +173,7 @@ func (m *ItemSitesItemListsListItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property lists in groups @@ -186,7 +186,7 @@ func (m *ItemSitesItemListsListItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_lists_request_builder.go b/groups/item_sites_item_lists_request_builder.go index 34e14d7642e..45afb7911ac 100644 --- a/groups/item_sites_item_lists_request_builder.go +++ b/groups/item_sites_item_lists_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemListsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new list][] in a [site][]. This API is available in the following [national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemListsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index 9d9d8f939ee..ce39e0d2f69 100644 --- a/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index 286341e0e7a..d34f68482eb 100644 --- a/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNoteb requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go index 52f0d9b4241..b7a987ce7af 100644 --- a/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go index e8430f6367e..ff4e5eb935f 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go index c0cda3c3daf..72dc95718dd 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index 2c44e8b5cb8..7229382707c 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go index 87efd458b75..a52b81811c9 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 8a2b0b0dd7f..4b9c560c6cf 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNot requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 31ef08c45df..1257816ca3a 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go index 5142251f82e..be85e1a7fc5 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index ce5aa48b0f4..3d89746f99f 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index fe8e1f07f74..33b8ea617b8 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index 3691b1df2bd..9dc50ac1905 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index f9635903332..268b21b88d5 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go index 4a7012d57d8..109c7a9c03e 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 6dba5edda86..21187466db4 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -171,7 +171,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go index af937243535..69672800431 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go index 352e7b7ca58..d1e9813624e 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNot requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go index 9424efb97fa..4a0674ce340 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go index 88f0797247f..74b201596b2 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the section group. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in groups @@ -167,7 +167,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index 54d17da77b2..9373c6027e2 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified section group. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go index 4d4fd095672..2a36e00b014 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section group in the specified notebook. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go index 2f27e1d1b61..9fafae01c32 100644 --- a/groups/item_sites_item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the section groups in the notebook. Read-only. Nullable. @@ -150,7 +150,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sectionGroups in groups @@ -163,7 +163,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index d82079083b5..4712660623e 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 19e184b9ef2..7dafd532493 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go index dd61af1a25f..e08b3366a63 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index 83341360bbd..ec5065ad26c 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 419fae6b54f..10efb4875b7 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchConte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go index a8750012219..42749ea310a 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go index 741049a9bfa..d94b6f044c4 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go index 70838b12586..e26c03dfed6 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go index dd0eaaf7034..911f6445389 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -171,7 +171,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_request_builder.go index 5accb65ce95..3e1ef95027d 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go index 9332c4f1b88..1a9727905f0 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go index dc517d9bf90..0b27f1fd633 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go index e5810c30035..cadcb0d7b62 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the notebook. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in groups @@ -167,7 +167,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go b/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go index a93ddb855ab..bc0cf3c83e2 100644 --- a/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified notebook. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go b/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go index 09988e48153..e0c0b09f5cc 100644 --- a/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_notebook_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property notebooks in groups @@ -162,7 +162,7 @@ func (m *ItemSitesItemOnenoteNotebooksNotebookItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_notebooks_request_builder.go b/groups/item_sites_item_onenote_notebooks_request_builder.go index b41df903b0e..f41f53ae465 100644 --- a/groups/item_sites_item_onenote_notebooks_request_builder.go +++ b/groups/item_sites_item_onenote_notebooks_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new OneNote notebook. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *ItemSitesItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go b/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go index acda5cbf367..cdc284beeb6 100644 --- a/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go +++ b/groups/item_sites_item_onenote_operations_onenote_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in groups @@ -150,7 +150,7 @@ func (m *ItemSitesItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_operations_request_builder.go b/groups/item_sites_item_onenote_operations_request_builder.go index 9b0bbb69b39..a7c7fc35440 100644 --- a/groups/item_sites_item_onenote_operations_request_builder.go +++ b/groups/item_sites_item_onenote_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenoteOperationsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_pages_item_content_request_builder.go b/groups/item_sites_item_onenote_pages_item_content_request_builder.go index 74ee2923885..6ba7195a6d9 100644 --- a/groups/item_sites_item_onenote_pages_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemSitesItemOnenotePagesItemContentRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemSitesItemOnenotePagesItemContentRequestBuilder) ToPutRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go index 7a689b22714..5d80301d2ca 100644 --- a/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenotePagesItemCopyToSectionRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_pages_item_onenote_patch_content_request_builder.go b/groups/item_sites_item_onenote_pages_item_onenote_patch_content_request_builder.go index c4a6ca1a4c4..d59c12a3a41 100644 --- a/groups/item_sites_item_onenote_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_pages_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_pages_item_parent_notebook_request_builder.go index 9e49b6db00e..986345ee087 100644 --- a/groups/item_sites_item_onenote_pages_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenotePagesItemParentNotebookRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_pages_item_parent_section_request_builder.go b/groups/item_sites_item_onenote_pages_item_parent_section_request_builder.go index 29357a4a259..31e7bc49878 100644 --- a/groups/item_sites_item_onenote_pages_item_parent_section_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenotePagesItemParentSectionRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_pages_item_preview_request_builder.go b/groups/item_sites_item_onenote_pages_item_preview_request_builder.go index e933375bcf0..719d8668e51 100644 --- a/groups/item_sites_item_onenote_pages_item_preview_request_builder.go +++ b/groups/item_sites_item_onenote_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemSitesItemOnenotePagesItemPreviewRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go index 6bfd1383713..90202fb7886 100644 --- a/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_pages_onenote_page_item_request_builder.go @@ -145,7 +145,7 @@ func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. @@ -161,7 +161,7 @@ func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -174,7 +174,7 @@ func (m *ItemSitesItemOnenotePagesOnenotePageItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_pages_request_builder.go b/groups/item_sites_item_onenote_pages_request_builder.go index 6e81526469a..3e9ba89acba 100644 --- a/groups/item_sites_item_onenote_pages_request_builder.go +++ b/groups/item_sites_item_onenote_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemOnenotePagesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenotePagesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_request_builder.go b/groups/item_sites_item_onenote_request_builder.go index 07e79c26505..3dff84e0f88 100644 --- a/groups/item_sites_item_onenote_request_builder.go +++ b/groups/item_sites_item_onenote_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemSitesItemOnenoteRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get onenote from groups @@ -158,7 +158,7 @@ func (m *ItemSitesItemOnenoteRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property onenote in groups @@ -171,7 +171,7 @@ func (m *ItemSitesItemOnenoteRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_resources_item_content_request_builder.go b/groups/item_sites_item_onenote_resources_item_content_request_builder.go index 2e1202af18b..afb05c5267d 100644 --- a/groups/item_sites_item_onenote_resources_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_resources_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property resources in groups @@ -99,7 +99,7 @@ func (m *ItemSitesItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_sites_item_onenote_resources_onenote_resource_item_request_builder.go b/groups/item_sites_item_onenote_resources_onenote_resource_item_request_builder.go index f1cdecc0062..6dc10671e24 100644 --- a/groups/item_sites_item_onenote_resources_onenote_resource_item_request_builder.go +++ b/groups/item_sites_item_onenote_resources_onenote_resource_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSitesItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in groups @@ -151,7 +151,7 @@ func (m *ItemSitesItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_resources_request_builder.go b/groups/item_sites_item_onenote_resources_request_builder.go index a6085e4fed4..80890e632be 100644 --- a/groups/item_sites_item_onenote_resources_request_builder.go +++ b/groups/item_sites_item_onenote_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemOnenoteResourcesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resources for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenoteResourcesRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_section_groups_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_parent_notebook_request_builder.go index 76d03f23615..15b92245936 100644 --- a/groups/item_sites_item_onenote_section_groups_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_section_groups_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_parent_section_group_request_builder.go index da659c52033..b3068491bbf 100644 --- a/groups/item_sites_item_onenote_section_groups_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go index b502baa6713..f1473aeddd1 100644 --- a/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_section_groups_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go index 345a5fbeae8..59b03e174f2 100644 --- a/groups/item_sites_item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index d6d56baf62f..05f5e29571a 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 3da84c153fc..71b159fb206 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go index 38ebbf1bda5..526328bd48f 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemContentReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemContentReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index f8a608a0c11..58eeaa93193 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSection requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index b4e0101f090..03a90cd6aef 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index c211dc5a4d5..90421c6a3e1 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNoteboo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 2d4a0c9ce8a..45feeed6e89 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSection requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go index 90d206827ca..eb908e13535 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 931e5826161..2e0131e868d 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -171,7 +171,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_request_builder.go index 3de45599cba..e36a551a45a 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go index 4779a8f3775..65c2617e166 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go index 8862d4ce10f..b8078687554 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go index 3f0255c642d..db7c562f77c 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the section group. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in groups @@ -167,7 +167,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go b/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go index c4b731de85b..26419ba6d7b 100644 --- a/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified section group. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_section_groups_request_builder.go b/groups/item_sites_item_onenote_section_groups_request_builder.go index 1cf7c8eed08..8a624fa454c 100644 --- a/groups/item_sites_item_onenote_section_groups_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sectionGroups for groups @@ -141,7 +141,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go b/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go index 836a46a045a..50f5cec8ec9 100644 --- a/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go +++ b/groups/item_sites_item_onenote_section_groups_section_group_item_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sectionGroups in groups @@ -166,7 +166,7 @@ func (m *ItemSitesItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go b/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go index 132f70a2a03..855a0947ff0 100644 --- a/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go b/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go index 611557474e0..30c291cf88e 100644 --- a/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_content_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_content_request_builder.go index 7b46268542a..2a81f256ccc 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_content_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToPutRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index 39839d883f6..b7a435b123b 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go index 8eeaf3bb42e..8810824fe60 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_parent_notebook_request_builder.go index 975b55d81cc..c1477860ad2 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_parent_section_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_parent_section_request_builder.go index 354fbddf9f5..0bd96d199c1 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_parent_section_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_sections_item_pages_item_preview_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_item_preview_request_builder.go index 0c931d6bd4d..076480674c3 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_item_preview_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_sections_item_pages_onenote_page_item_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_onenote_page_item_request_builder.go index bf9f45c4108..85293f89974 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_onenote_page_item_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -171,7 +171,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_sections_item_pages_request_builder.go b/groups/item_sites_item_onenote_sections_item_pages_request_builder.go index d0aae3f2861..eb7d456109f 100644 --- a/groups/item_sites_item_onenote_sections_item_pages_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_sections_item_parent_notebook_request_builder.go b/groups/item_sites_item_onenote_sections_item_parent_notebook_request_builder.go index aeee9bfa554..e111f4892ea 100644 --- a/groups/item_sites_item_onenote_sections_item_parent_notebook_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionsItemParentNotebookRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_sections_item_parent_section_group_request_builder.go b/groups/item_sites_item_onenote_sections_item_parent_section_group_request_builder.go index d5a4398d569..e7bcc4fda47 100644 --- a/groups/item_sites_item_onenote_sections_item_parent_section_group_request_builder.go +++ b/groups/item_sites_item_onenote_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemOnenoteSectionsItemParentSectionGroupRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go b/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go index 2c514164a31..5509b6faf24 100644 --- a/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go +++ b/groups/item_sites_item_onenote_sections_onenote_section_item_request_builder.go @@ -141,7 +141,7 @@ func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in groups @@ -170,7 +170,7 @@ func (m *ItemSitesItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_onenote_sections_request_builder.go b/groups/item_sites_item_onenote_sections_request_builder.go index c80e0fbc3c6..9d366e604f1 100644 --- a/groups/item_sites_item_onenote_sections_request_builder.go +++ b/groups/item_sites_item_onenote_sections_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSitesItemOnenoteSectionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sections for groups @@ -141,7 +141,7 @@ func (m *ItemSitesItemOnenoteSectionsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_operations_request_builder.go b/groups/item_sites_item_operations_request_builder.go index 1620c86510d..97fa3ca819e 100644 --- a/groups/item_sites_item_operations_request_builder.go +++ b/groups/item_sites_item_operations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSitesItemOperationsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for groups @@ -141,7 +141,7 @@ func (m *ItemSitesItemOperationsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go b/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go index 4ec6f5fc4ee..7cb881d95e3 100644 --- a/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go +++ b/groups/item_sites_item_operations_rich_long_running_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of a richLongRunningOperation object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in groups @@ -150,7 +150,7 @@ func (m *ItemSitesItemOperationsRichLongRunningOperationItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_pages_base_site_page_item_request_builder.go b/groups/item_sites_item_pages_base_site_page_item_request_builder.go index 5e39d7baabc..d9c5d50d8d3 100644 --- a/groups/item_sites_item_pages_base_site_page_item_request_builder.go +++ b/groups/item_sites_item_pages_base_site_page_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemSitesItemPagesBaseSitePageItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the metadata for a baseSitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. @@ -145,7 +145,7 @@ func (m *ItemSitesItemPagesBaseSitePageItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in groups @@ -158,7 +158,7 @@ func (m *ItemSitesItemPagesBaseSitePageItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_pages_item_created_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_pages_item_created_by_user_mailbox_settings_request_builder.go index 7693e430e21..98cc70f1999 100644 --- a/groups/item_sites_item_pages_item_created_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_pages_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemPagesItemCreatedByUserMailboxSettingsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemPagesItemCreatedByUserMailboxSettingsRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_pages_item_created_by_user_request_builder.go b/groups/item_sites_item_pages_item_created_by_user_request_builder.go index eea878898b3..fff32f97457 100644 --- a/groups/item_sites_item_pages_item_created_by_user_request_builder.go +++ b/groups/item_sites_item_pages_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemPagesItemCreatedByUserRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_pages_item_created_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_pages_item_created_by_user_service_provisioning_errors_request_builder.go index 38dea19a406..9c49638bdf3 100644 --- a/groups/item_sites_item_pages_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_pages_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuild func (m *ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go index 77e4bf3464f..ffa53f68a48 100644 --- a/groups/item_sites_item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_pages_item_last_modified_by_user_request_builder.go b/groups/item_sites_item_pages_item_last_modified_by_user_request_builder.go index ff7fc83425a..10ef6040d80 100644 --- a/groups/item_sites_item_pages_item_last_modified_by_user_request_builder.go +++ b/groups/item_sites_item_pages_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemPagesItemLastModifiedByUserRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_pages_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_pages_item_last_modified_by_user_service_provisioning_errors_request_builder.go index 5a05c61741a..0d39d2aa112 100644 --- a/groups/item_sites_item_pages_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_pages_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequest func (m *ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemPagesItemLastModifiedByUserServiceProvisioningErrorsReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_pages_request_builder.go b/groups/item_sites_item_pages_request_builder.go index 8a9e6a4adc5..9a9c2150e98 100644 --- a/groups/item_sites_item_pages_request_builder.go +++ b/groups/item_sites_item_pages_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemPagesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new sitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemPagesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_permissions_item_grant_request_builder.go b/groups/item_sites_item_permissions_item_grant_request_builder.go index fa5ebacd6f2..8e27838a90d 100644 --- a/groups/item_sites_item_permissions_item_grant_request_builder.go +++ b/groups/item_sites_item_permissions_item_grant_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemSitesItemPermissionsItemGrantRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go b/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go index 2c507997fc3..0d4fd788aa3 100644 --- a/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go +++ b/groups/item_sites_item_permissions_item_revoke_grants_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSitesItemPermissionsItemRevokeGrantsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_permissions_permission_item_request_builder.go b/groups/item_sites_item_permissions_permission_item_request_builder.go index 99a5961fb03..01f7563b173 100644 --- a/groups/item_sites_item_permissions_permission_item_request_builder.go +++ b/groups/item_sites_item_permissions_permission_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the permission object on a site. This API is available in the following national cloud deployments. @@ -161,7 +161,7 @@ func (m *ItemSitesItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_permissions_request_builder.go b/groups/item_sites_item_permissions_request_builder.go index fb7b555e28d..2a100345676 100644 --- a/groups/item_sites_item_permissions_request_builder.go +++ b/groups/item_sites_item_permissions_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemPermissionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new permission object on a site. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemPermissionsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go index b41877da2cb..dbe72ea7389 100644 --- a/groups/item_sites_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_recycle_bin_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_recycle_bin_created_by_user_request_builder.go b/groups/item_sites_item_recycle_bin_created_by_user_request_builder.go index 18663e923df..e48ee74d02b 100644 --- a/groups/item_sites_item_recycle_bin_created_by_user_request_builder.go +++ b/groups/item_sites_item_recycle_bin_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemRecycleBinCreatedByUserRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go index 2a3a0def967..48dc07b9c78 100644 --- a/groups/item_sites_item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuil func (m *ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go index 77beb378163..39659f61e30 100644 --- a/groups/item_sites_item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_recycle_bin_items_item_created_by_user_request_builder.go b/groups/item_sites_item_recycle_bin_items_item_created_by_user_request_builder.go index 24bbf86d2fd..5445c5f8765 100644 --- a/groups/item_sites_item_recycle_bin_items_item_created_by_user_request_builder.go +++ b/groups/item_sites_item_recycle_bin_items_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemRecycleBinItemsItemCreatedByUserRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_recycle_bin_items_item_created_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_recycle_bin_items_item_created_by_user_service_provisioning_errors_request_builder.go index 8e94b94e04c..910086c00ca 100644 --- a/groups/item_sites_item_recycle_bin_items_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_recycle_bin_items_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRe func (m *ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_mailbox_settings_request_builder.go index 1b008bd54f8..b771c1846ff 100644 --- a/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_request_builder.go b/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_request_builder.go index 61507a43b81..f438e4d818b 100644 --- a/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_request_builder.go +++ b/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go index 537674c78bc..ed2899f89a7 100644 --- a/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_recycle_bin_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErr func (m *ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningEr } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningEr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_recycle_bin_items_recycle_bin_item_item_request_builder.go b/groups/item_sites_item_recycle_bin_items_recycle_bin_item_item_request_builder.go index 0e687e7cd85..10ca2a10787 100644 --- a/groups/item_sites_item_recycle_bin_items_recycle_bin_item_item_request_builder.go +++ b/groups/item_sites_item_recycle_bin_items_recycle_bin_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of the recycleBinItems deleted by a user. @@ -142,7 +142,7 @@ func (m *ItemSitesItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property items in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_recycle_bin_items_request_builder.go b/groups/item_sites_item_recycle_bin_items_request_builder.go index 3d4764018c4..baf3212d573 100644 --- a/groups/item_sites_item_recycle_bin_items_request_builder.go +++ b/groups/item_sites_item_recycle_bin_items_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSitesItemRecycleBinItemsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to items for groups @@ -141,7 +141,7 @@ func (m *ItemSitesItemRecycleBinItemsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go b/groups/item_sites_item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go index 87e3127a1a4..cfde375812c 100644 --- a/groups/item_sites_item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go +++ b/groups/item_sites_item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemSitesItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemSitesItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_recycle_bin_last_modified_by_user_request_builder.go b/groups/item_sites_item_recycle_bin_last_modified_by_user_request_builder.go index f34c1e10a09..63e81bc05ee 100644 --- a/groups/item_sites_item_recycle_bin_last_modified_by_user_request_builder.go +++ b/groups/item_sites_item_recycle_bin_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemSitesItemRecycleBinLastModifiedByUserRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_recycle_bin_last_modified_by_user_service_provisioning_errors_request_builder.go b/groups/item_sites_item_recycle_bin_last_modified_by_user_service_provisioning_errors_request_builder.go index 4ea329318c6..a6c4b7cfd32 100644 --- a/groups/item_sites_item_recycle_bin_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/groups/item_sites_item_recycle_bin_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsReques func (m *ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemSitesItemRecycleBinLastModifiedByUserServiceProvisioningErrorsReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_recycle_bin_request_builder.go b/groups/item_sites_item_recycle_bin_request_builder.go index f3b43ceb4e5..a4df1127072 100644 --- a/groups/item_sites_item_recycle_bin_request_builder.go +++ b/groups/item_sites_item_recycle_bin_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemSitesItemRecycleBinRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a container for a collection of recycleBinItem resources in this site. @@ -146,7 +146,7 @@ func (m *ItemSitesItemRecycleBinRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property recycleBin in groups @@ -159,7 +159,7 @@ func (m *ItemSitesItemRecycleBinRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_sites_request_builder.go b/groups/item_sites_item_sites_request_builder.go index 25679161928..223c7123303 100644 --- a/groups/item_sites_item_sites_request_builder.go +++ b/groups/item_sites_item_sites_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemSitesItemSitesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_sites_site_item_request_builder.go b/groups/item_sites_item_sites_site_item_request_builder.go index d6ab565bcf2..58b0be4a48d 100644 --- a/groups/item_sites_item_sites_site_item_request_builder.go +++ b/groups/item_sites_item_sites_site_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemSitesSiteItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_group_item_request_builder.go b/groups/item_sites_item_term_store_groups_group_item_request_builder.go index 327ed551b9b..e6a63836ded 100644 --- a/groups/item_sites_item_term_store_groups_group_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_group_item_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groups in groups @@ -157,7 +157,7 @@ func (m *ItemSitesItemTermStoreGroupsGroupItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index aaef6e45823..dc325859691 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go index fc41f3520bb..a6d3b865982 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 63a2b7b819e..98aa34d656c 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go index 1790bdf63c5..495abad7c93 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go index d3ef3d45c33..bffcb3413a2 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go index 56e3f19146d..1401c41ed03 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemSetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_request_builder.go index a9fa20ef382..3f5efbd6e66 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go index ff57ce7605d..1470c28b50b 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go index 041427150eb..ee112a9b8f9 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemFromTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go index a2279479575..3bf3e5f3610 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemSetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go index 6eec4c590a0..398d3e926e9 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTerm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go index dc78d9084c2..dbc79f3ba2f 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_request_builder.go index 4413ff0592c..f4e6cb1a83a 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_set_request_builder.go index 8b13f0be45d..addd2737d5e 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenItemSetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go index 5c57d961de4..4c7311ea1b3 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new term object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_children_term_item_request_builder.go index d282aab4e44..169f97bb12f 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_children_term_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children terms of set in term [store]. @@ -146,7 +146,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in groups @@ -159,7 +159,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_parent_group_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_parent_group_request_builder.go index 5e5ffd5d4a7..82c4ec73caf 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_parent_group_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_parent_group_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the parent [group] that contains the set. @@ -134,7 +134,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property parentGroup in groups @@ -147,7 +147,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go index a1302de26dd..1ba6d4d72ff 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemFromTermRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_set_request_builder.go index 68b06256bbf..9a40831f812 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemSetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go index 76ff54477e7..3d1818c2db6 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go index e884f4e327b..be3b0900a24 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go index 8d2eb05d7a6..958c397a967 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_relations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -141,7 +141,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 4f5d349031e..6f749e0bea0 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 550a561e79f..7e04928a242 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 3e1af9f99e8..117055f30dc 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index c8124a2d75f..de8f9373a9f 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go index 3ef61cd66e0..45e5358bc90 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go index 1b6baebdd5a..7b4c5352f74 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenItemSetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_request_builder.go index fe3244e3234..a5fe0827a63 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go index cbab6fb5c60..ffb70469396 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go index a7325837140..9b01a061024 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemFromTermR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go index 89dd89a078a..2e376a606bd 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemSetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go index bf14208bf8b..8ef2892a70e 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go index 9f01a90fd12..71757a5d5d2 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go index 7cba9fbd51f..67098b100e8 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_set_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_set_request_builder.go index 12a2158d89a..85d82b05cc3 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go index 072e7153ae3..4e409170b85 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to terms for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go index eab000f60aa..5d69a6d4126 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_item_terms_term_item_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a term object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_request_builder.go index 5023d9b7b0a..90e9b66f80a 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sets for groups @@ -141,7 +141,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_item_sets_set_item_request_builder.go b/groups/item_sites_item_term_store_groups_item_sets_set_item_request_builder.go index 7e10b8939bf..6350274fd3b 100644 --- a/groups/item_sites_item_term_store_groups_item_sets_set_item_request_builder.go +++ b/groups/item_sites_item_term_store_groups_item_sets_set_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsSetItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation all sets under the group in a term [store]. @@ -150,7 +150,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsSetItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sets in groups @@ -163,7 +163,7 @@ func (m *ItemSitesItemTermStoreGroupsItemSetsSetItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_groups_request_builder.go b/groups/item_sites_item_term_store_groups_request_builder.go index caa8fc49a52..e8b9cdf20dd 100644 --- a/groups/item_sites_item_term_store_groups_request_builder.go +++ b/groups/item_sites_item_term_store_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemTermStoreGroupsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new group object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemTermStoreGroupsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_request_builder.go b/groups/item_sites_item_term_store_request_builder.go index 12d1152280a..1b3e3e3a02f 100644 --- a/groups/item_sites_item_term_store_request_builder.go +++ b/groups/item_sites_item_term_store_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemSitesItemTermStoreRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a store object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ItemSitesItemTermStoreRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property termStore in groups @@ -158,7 +158,7 @@ func (m *ItemSitesItemTermStoreRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index e7ba229c252..27c28658160 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemFrom requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go index bc0d4c1a6c5..d1012b4c580 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemSetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index a36d0968831..7b50d188695 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go index d7b4fa26c99..cd9961d8ca6 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_request_builder.go index 7f9caf1fd0b..c45f05f258f 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_item_set_request_builder.go index 5590181a927..42671817478 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenItemSetRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_request_builder.go index ac29d987715..b086c62095d 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_children_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_children_term_item_request_builder.go index 0d29528caa0..c13f35b425d 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go index bb02ae9058d..346d37da650 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemFromTermRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_set_request_builder.go index 47af8fe5d41..1dc0d247d62 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemSetRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go index f42e50b613c..05f05f96130 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_relation_item_request_builder.go index 47d9d9c041f..659522ba2c7 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_relations_request_builder.go index 9097e160246..144bd3ac77a 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_item_set_request_builder.go index 79a1bf1a65a..cbde11e9756 100644 --- a/groups/item_sites_item_term_store_sets_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenItemSetRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_request_builder.go index 091f3b23e8f..d67c6f2527f 100644 --- a/groups/item_sites_item_term_store_sets_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new term object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_children_term_item_request_builder.go index bb36988293e..3e5b6eb7874 100644 --- a/groups/item_sites_item_term_store_sets_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_children_term_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenTermItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children terms of set in term [store]. @@ -146,7 +146,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenTermItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in groups @@ -159,7 +159,7 @@ func (m *ItemSitesItemTermStoreSetsItemChildrenTermItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_request_builder.go index 7be03e86943..e39d22ca5fb 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the parent [group] that contains the set. @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property parentGroup in groups @@ -151,7 +151,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index d746e87c247..da820d09faa 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go index 04438dc3892..cec4879bb7c 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 4c301a993d0..fab0ebb851d 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go index cc80b1b3191..4a5819030c6 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go index 171a391f46f..8fd219906ae 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go index 8d91969db62..1f861fae1c3 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go index bb0b03b6dea..ea85db3e37f 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go index 1492d10a59e..349f90f1684 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go index f81b3794599..9d520434e08 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go index c37c4360583..a061c875d83 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go index 207d43851e1..f6b36cfa27e 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go index e082aed5d90..d3d73343da6 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go index 54e74cc7338..f79a1cac181 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go index dafbbacaddb..b066e1e9a54 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenItemSetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go index a6de54fa8bb..8e754ff4589 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new term object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go index b6eb418691d..4003b9aca02 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children terms of set in term [store]. @@ -146,7 +146,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in groups @@ -159,7 +159,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go index 8642b016316..f31391a5ecf 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemFromTermR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go index 8667d6170ff..43f5d997ebf 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemSetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go index 66556b6a215..b9070b99186 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go index 66d6738563b..bb1acbd49e5 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go index 86e94d3177b..d0cec862373 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -141,7 +141,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 85ce7046050..d4af61f65c8 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go index a260e0fda41..0ce20a97364 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index c0495620e0e..c28576795c5 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 5b8bc7591b1..0246ef4ccd9 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go index f56f367364b..99afaafe702 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go index dbc6dd5fc07..fa6364e8a36 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go index d631b51e480..91df9bdb0cf 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go index ec4c8b8bfb5..ea7dda178e6 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go index e0c30afa7d7..a92738c04eb 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go index 57bb22e2882..9c6d42ff482 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go index 9d065f16867..2cd4d207062 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go index 4f59537119b..9300c107d83 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRela requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRela requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRela requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go index 15efa92e1cf..e0250e9021c 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go index d1ce4124363..af5208e91ae 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go index a5895e0a381..891112b875e 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to terms for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go index 71c87c18c3c..689c0001cff 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a term object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go index 806e1342288..d6ebcdbff66 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sets for groups @@ -141,7 +141,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_parent_group_sets_set_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_parent_group_sets_set_item_request_builder.go index e0cb0087df8..c6948d4dc45 100644 --- a/groups/item_sites_item_term_store_sets_item_parent_group_sets_set_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_parent_group_sets_set_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation all sets under the group in a term [store]. @@ -146,7 +146,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sets in groups @@ -159,7 +159,7 @@ func (m *ItemSitesItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_item_from_term_request_builder.go index 3e91c357e04..868e819c12e 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsItemFromTermRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_item_set_request_builder.go index fdf9228e761..8ba4e0e54b9 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsItemSetRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_item_to_term_request_builder.go index 03d12101c7c..3051d42f0f7 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsItemToTermRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_relation_item_request_builder.go index 8f98463b5ba..725a07d3442 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsRelationItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsRelationItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsRelationItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_relations_request_builder.go index 998c625ae40..4dc59ab6b8b 100644 --- a/groups/item_sites_item_term_store_sets_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_relations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -141,7 +141,7 @@ func (m *ItemSitesItemTermStoreSetsItemRelationsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 44bbe774a60..c0213afa49e 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemFromTer requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 92cfa058f86..1882b4c95c7 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemSetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 67942cbce51..0fef8bf669b 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index ae4104a8f44..89841d062f8 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_request_builder.go index 977718fe39d..1fc56bcc5a1 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_set_request_builder.go index 14c098268ae..3dc4fcd2ea0 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenItemSetRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_request_builder.go index 4af683dc4d9..b9e16ab7d72 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_children_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_children_term_item_request_builder.go index 731bf4ea158..9cd701b6ff3 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_children_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go index 180d9393e47..b1edc9d3f98 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsItemFromTermRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_set_request_builder.go index 7dee7771080..2103a2ede0f 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsItemSetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go index 3783cf8c2f4..037dcad5c7e 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go index 88e21a2508b..8d8c4ecdaba 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in groups @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_relations_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_relations_request_builder.go index d18505f6445..1c0c96fa84a 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_relations_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemRelationsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_terms_item_set_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_item_set_request_builder.go index 3de31a9c510..7a7e482b83a 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_item_set_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsItemSetRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_item_term_store_sets_item_terms_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_request_builder.go index 461fd21b094..bfbd1c3f42c 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to terms for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go b/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go index 3f3d98b7d27..266b85c96e9 100644 --- a/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_item_terms_term_item_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a term object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *ItemSitesItemTermStoreSetsItemTermsTermItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_request_builder.go b/groups/item_sites_item_term_store_sets_request_builder.go index ed37c26a5a5..d34baf38a7a 100644 --- a/groups/item_sites_item_term_store_sets_request_builder.go +++ b/groups/item_sites_item_term_store_sets_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSitesItemTermStoreSetsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sets for groups @@ -138,7 +138,7 @@ func (m *ItemSitesItemTermStoreSetsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_item_term_store_sets_set_item_request_builder.go b/groups/item_sites_item_term_store_sets_set_item_request_builder.go index 2b0fb330dba..7ce6d630407 100644 --- a/groups/item_sites_item_term_store_sets_set_item_request_builder.go +++ b/groups/item_sites_item_term_store_sets_set_item_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a set object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a set object. This API is available in the following national cloud deployments. @@ -172,7 +172,7 @@ func (m *ItemSitesItemTermStoreSetsSetItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_remove_request_builder.go b/groups/item_sites_remove_request_builder.go index b3a25827568..e34dd9fcdba 100644 --- a/groups/item_sites_remove_request_builder.go +++ b/groups/item_sites_remove_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemSitesRemoveRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_sites_request_builder.go b/groups/item_sites_request_builder.go index e43aaf63c5c..3ad01575a97 100644 --- a/groups/item_sites_request_builder.go +++ b/groups/item_sites_request_builder.go @@ -115,7 +115,7 @@ func (m *ItemSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_sites_site_item_request_builder.go b/groups/item_sites_site_item_request_builder.go index 0b136b82ee1..39d91fd7fff 100644 --- a/groups/item_sites_site_item_request_builder.go +++ b/groups/item_sites_site_item_request_builder.go @@ -182,7 +182,7 @@ func (m *ItemSitesSiteItemRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sites in groups @@ -195,7 +195,7 @@ func (m *ItemSitesSiteItemRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_subscribe_by_mail_request_builder.go b/groups/item_subscribe_by_mail_request_builder.go index aaf756471ad..3fc0cd1b90e 100644 --- a/groups/item_subscribe_by_mail_request_builder.go +++ b/groups/item_subscribe_by_mail_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSubscribeByMailRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_all_channels_channel_item_request_builder.go b/groups/item_team_all_channels_channel_item_request_builder.go index f2bb50a8b5f..f6470911fdc 100644 --- a/groups/item_team_all_channels_channel_item_request_builder.go +++ b/groups/item_team_all_channels_channel_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamAllChannelsChannelItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_all_channels_request_builder.go b/groups/item_team_all_channels_request_builder.go index 89369f3b1bb..10091c7ed0e 100644 --- a/groups/item_team_all_channels_request_builder.go +++ b/groups/item_team_all_channels_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemTeamAllChannelsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_archive_request_builder.go b/groups/item_team_archive_request_builder.go index cdf7995640e..f3b5214fb6e 100644 --- a/groups/item_team_archive_request_builder.go +++ b/groups/item_team_archive_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamArchiveRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_all_messages_request_builder.go b/groups/item_team_channels_all_messages_request_builder.go index c0e0588bfe3..56a71aed3cd 100644 --- a/groups/item_team_channels_all_messages_request_builder.go +++ b/groups/item_team_channels_all_messages_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTeamChannelsAllMessagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_channel_item_request_builder.go b/groups/item_team_channels_channel_item_request_builder.go index 726e5f04615..374f0a3a591 100644 --- a/groups/item_team_channels_channel_item_request_builder.go +++ b/groups/item_team_channels_channel_item_request_builder.go @@ -163,7 +163,7 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -179,7 +179,7 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of the specified channel. This API is available in the following national cloud deployments. @@ -192,7 +192,7 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_get_all_messages_request_builder.go b/groups/item_team_channels_get_all_messages_request_builder.go index 6ac67f71bad..347bfeec296 100644 --- a/groups/item_team_channels_get_all_messages_request_builder.go +++ b/groups/item_team_channels_get_all_messages_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemTeamChannelsGetAllMessagesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_complete_migration_request_builder.go b/groups/item_team_channels_item_complete_migration_request_builder.go index e9a45dc04b6..96389eb84bb 100644 --- a/groups/item_team_channels_item_complete_migration_request_builder.go +++ b/groups/item_team_channels_item_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamChannelsItemCompleteMigrationRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index b3951995aaa..aadc7b112ff 100644 --- a/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/groups/item_team_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -93,7 +93,7 @@ func (m *ItemTeamChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_files_folder_content_request_builder.go b/groups/item_team_channels_item_files_folder_content_request_builder.go index f030dc68c9a..05c0f0cbc6d 100644 --- a/groups/item_team_channels_item_files_folder_content_request_builder.go +++ b/groups/item_team_channels_item_files_folder_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *ItemTeamChannelsItemFilesFolderContentRequestBuilder) ToPutRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_team_channels_item_files_folder_request_builder.go b/groups/item_team_channels_item_files_folder_request_builder.go index 7e2f2c369bf..480b5f88cb8 100644 --- a/groups/item_team_channels_item_files_folder_request_builder.go +++ b/groups/item_team_channels_item_files_folder_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemTeamChannelsItemFilesFolderRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_members_add_request_builder.go b/groups/item_team_channels_item_members_add_request_builder.go index 6cb59204b53..a0534d36b24 100644 --- a/groups/item_team_channels_item_members_add_request_builder.go +++ b/groups/item_team_channels_item_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemTeamChannelsItemMembersAddRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_members_conversation_member_item_request_builder.go b/groups/item_team_channels_item_members_conversation_member_item_request_builder.go index d8354318440..22ab0239d1f 100644 --- a/groups/item_team_channels_item_members_conversation_member_item_request_builder.go +++ b/groups/item_team_channels_item_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a channel. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in 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. @@ -156,7 +156,7 @@ func (m *ItemTeamChannelsItemMembersConversationMemberItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_members_request_builder.go b/groups/item_team_channels_item_members_request_builder.go index fd86dad1e37..2b8c58f27c6 100644 --- a/groups/item_team_channels_item_members_request_builder.go +++ b/groups/item_team_channels_item_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemTeamChannelsItemMembersRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_chat_message_item_request_builder.go b/groups/item_team_channels_item_messages_chat_message_item_request_builder.go index e9d8df6c5ed..180d5258108 100644 --- a/groups/item_team_channels_item_messages_chat_message_item_request_builder.go +++ b/groups/item_team_channels_item_messages_chat_message_item_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -169,7 +169,7 @@ func (m *ItemTeamChannelsItemMessagesChatMessageItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_delta_request_builder.go b/groups/item_team_channels_item_messages_delta_request_builder.go index f7246e84c5f..c982faf3a32 100644 --- a/groups/item_team_channels_item_messages_delta_request_builder.go +++ b/groups/item_team_channels_item_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTeamChannelsItemMessagesDeltaRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index f24a0c21e73..bdcba42983d 100644 --- a/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in groups @@ -154,7 +154,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsChatMessageHostedContentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index bb19b122a94..7b77cbaf41d 100644 --- a/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsItemValueContentRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in groups @@ -101,7 +101,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsItemValueContentRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go b/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go index b5297834648..8cfb71add42 100644 --- a/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go +++ b/groups/item_team_channels_item_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for groups @@ -141,7 +141,7 @@ func (m *ItemTeamChannelsItemMessagesItemHostedContentsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go b/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go index a2bdf36c658..7fb5113ea13 100644 --- a/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in groups @@ -162,7 +162,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go b/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go index c9d26602486..4a95b1a3785 100644 --- a/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 0de34458d69..0d6a4896ceb 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in groups @@ -154,7 +154,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 3d8309d2c40..17358ab31a9 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsItemValueConte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in groups @@ -101,7 +101,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsItemValueConte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 7687959d026..ace1d098a72 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for groups @@ -141,7 +141,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_item_replies_item_set_reaction_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_set_reaction_request_builder.go index d4cdec51e98..88c34ae7e75 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go index 09bddc9ab09..775c94115b5 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 111097735d6..a523e416a39 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_messages_item_replies_item_unset_reaction_request_builder.go b/groups/item_team_channels_item_messages_item_replies_item_unset_reaction_request_builder.go index 701c7851011..9763f40ded8 100644 --- a/groups/item_team_channels_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_item_replies_request_builder.go b/groups/item_team_channels_item_messages_item_replies_request_builder.go index b9b1a1866c9..ca60a56065b 100644 --- a/groups/item_team_channels_item_messages_item_replies_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_item_set_reaction_request_builder.go b/groups/item_team_channels_item_messages_item_set_reaction_request_builder.go index 952845ebce2..71364b3581b 100644 --- a/groups/item_team_channels_item_messages_item_set_reaction_request_builder.go +++ b/groups/item_team_channels_item_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamChannelsItemMessagesItemSetReactionRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go index e1aaaa671e5..be4fe362419 100644 --- a/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamChannelsItemMessagesItemSoftDeleteRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go b/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go index 0b7b10e38ec..d21a8ad8b59 100644 --- a/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_messages_item_unset_reaction_request_builder.go b/groups/item_team_channels_item_messages_item_unset_reaction_request_builder.go index 80b58d700c0..1155f97f858 100644 --- a/groups/item_team_channels_item_messages_item_unset_reaction_request_builder.go +++ b/groups/item_team_channels_item_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_messages_request_builder.go b/groups/item_team_channels_item_messages_request_builder.go index 2e2ad966ee8..11405aeb707 100644 --- a/groups/item_team_channels_item_messages_request_builder.go +++ b/groups/item_team_channels_item_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *ItemTeamChannelsItemMessagesRequestBuilder) Get(ctx context.Context, re } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// Post send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemTeamChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *ItemTeamChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// ToPostRequestInformation send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. func (m *ItemTeamChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *ItemTeamChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_provision_email_request_builder.go b/groups/item_team_channels_item_provision_email_request_builder.go index f114c856553..d0d330b0ce0 100644 --- a/groups/item_team_channels_item_provision_email_request_builder.go +++ b/groups/item_team_channels_item_provision_email_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamChannelsItemProvisionEmailRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_remove_email_request_builder.go b/groups/item_team_channels_item_remove_email_request_builder.go index b7ab34b9851..4268453e312 100644 --- a/groups/item_team_channels_item_remove_email_request_builder.go +++ b/groups/item_team_channels_item_remove_email_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamChannelsItemRemoveEmailRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 147ca17a760..5b9899aae7a 100644 --- a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersConversationMember requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 7ac8cd831ea..e91cc1de166 100644 --- a/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_shared_with_teams_item_team_request_builder.go b/groups/item_team_channels_item_shared_with_teams_item_team_request_builder.go index 88afb3787db..75f720191c4 100644 --- a/groups/item_team_channels_item_shared_with_teams_item_team_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsItemTeamRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_shared_with_teams_request_builder.go b/groups/item_team_channels_item_shared_with_teams_request_builder.go index 2501bd21dbc..33ea72f0968 100644 --- a/groups/item_team_channels_item_shared_with_teams_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedWithTeams for groups @@ -141,7 +141,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index fe8bfd73be6..981c699df34 100644 --- a/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/groups/item_team_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedWithTeams in groups @@ -161,7 +161,7 @@ func (m *ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_tabs_item_teams_app_request_builder.go b/groups/item_team_channels_item_tabs_item_teams_app_request_builder.go index 5cae962554f..eaf3b79e437 100644 --- a/groups/item_team_channels_item_tabs_item_teams_app_request_builder.go +++ b/groups/item_team_channels_item_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamChannelsItemTabsItemTeamsAppRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_channels_item_tabs_request_builder.go b/groups/item_team_channels_item_tabs_request_builder.go index e5c92121639..3bb2ed0ffcb 100644 --- a/groups/item_team_channels_item_tabs_request_builder.go +++ b/groups/item_team_channels_item_tabs_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamChannelsItemTabsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tabs for groups @@ -141,7 +141,7 @@ func (m *ItemTeamChannelsItemTabsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_item_tabs_teams_tab_item_request_builder.go b/groups/item_team_channels_item_tabs_teams_tab_item_request_builder.go index dc0ec2ecf7f..091850ac5d4 100644 --- a/groups/item_team_channels_item_tabs_teams_tab_item_request_builder.go +++ b/groups/item_team_channels_item_tabs_teams_tab_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemTeamChannelsItemTabsTeamsTabItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. @@ -138,7 +138,7 @@ func (m *ItemTeamChannelsItemTabsTeamsTabItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tabs in groups @@ -151,7 +151,7 @@ func (m *ItemTeamChannelsItemTabsTeamsTabItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_channels_request_builder.go b/groups/item_team_channels_request_builder.go index 8b186f241a3..89239348170 100644 --- a/groups/item_team_channels_request_builder.go +++ b/groups/item_team_channels_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemTeamChannelsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -152,7 +152,7 @@ func (m *ItemTeamChannelsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_clone_request_builder.go b/groups/item_team_clone_request_builder.go index 58671590373..0c4c5d76f43 100644 --- a/groups/item_team_clone_request_builder.go +++ b/groups/item_team_clone_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamCloneRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_complete_migration_request_builder.go b/groups/item_team_complete_migration_request_builder.go index 0efa963dcbe..ffbf3fbf492 100644 --- a/groups/item_team_complete_migration_request_builder.go +++ b/groups/item_team_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamCompleteMigrationRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_group_request_builder.go b/groups/item_team_group_request_builder.go index 5ec262a52e6..82596cc0c86 100644 --- a/groups/item_team_group_request_builder.go +++ b/groups/item_team_group_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemTeamGroupRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_group_service_provisioning_errors_request_builder.go b/groups/item_team_group_service_provisioning_errors_request_builder.go index bc2dd6fcc3a..e0ef3bdcdbc 100644 --- a/groups/item_team_group_service_provisioning_errors_request_builder.go +++ b/groups/item_team_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTeamGroupServiceProvisioningErrorsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_incoming_channels_channel_item_request_builder.go b/groups/item_team_incoming_channels_channel_item_request_builder.go index fb1251891ea..048cccb1dd1 100644 --- a/groups/item_team_incoming_channels_channel_item_request_builder.go +++ b/groups/item_team_incoming_channels_channel_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemTeamIncomingChannelsChannelItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of channels shared with the team. @@ -111,7 +111,7 @@ func (m *ItemTeamIncomingChannelsChannelItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_incoming_channels_request_builder.go b/groups/item_team_incoming_channels_request_builder.go index 35d0667328d..23b9ecfe59c 100644 --- a/groups/item_team_incoming_channels_request_builder.go +++ b/groups/item_team_incoming_channels_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemTeamIncomingChannelsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_installed_apps_item_teams_app_definition_request_builder.go b/groups/item_team_installed_apps_item_teams_app_definition_request_builder.go index 11205c4acef..6b0ca7ce804 100644 --- a/groups/item_team_installed_apps_item_teams_app_definition_request_builder.go +++ b/groups/item_team_installed_apps_item_teams_app_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamInstalledAppsItemTeamsAppDefinitionRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_installed_apps_item_teams_app_request_builder.go b/groups/item_team_installed_apps_item_teams_app_request_builder.go index d43ee951d4f..92481aa2e67 100644 --- a/groups/item_team_installed_apps_item_teams_app_request_builder.go +++ b/groups/item_team_installed_apps_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamInstalledAppsItemTeamsAppRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_installed_apps_item_upgrade_request_builder.go b/groups/item_team_installed_apps_item_upgrade_request_builder.go index 7ecb0ebd301..7b025ba787b 100644 --- a/groups/item_team_installed_apps_item_upgrade_request_builder.go +++ b/groups/item_team_installed_apps_item_upgrade_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamInstalledAppsItemUpgradeRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_installed_apps_request_builder.go b/groups/item_team_installed_apps_request_builder.go index 4113bcdde6c..f138ce42b74 100644 --- a/groups/item_team_installed_apps_request_builder.go +++ b/groups/item_team_installed_apps_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamInstalledAppsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation install an app to the specified team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamInstalledAppsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go b/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go index 25da5b44469..30429dc72cf 100644 --- a/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go +++ b/groups/item_team_installed_apps_teams_app_installation_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the app installed in the specified team. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property installedApps in groups @@ -161,7 +161,7 @@ func (m *ItemTeamInstalledAppsTeamsAppInstallationItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_members_add_request_builder.go b/groups/item_team_members_add_request_builder.go index 5c1f3155c00..3ff670ce983 100644 --- a/groups/item_team_members_add_request_builder.go +++ b/groups/item_team_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemTeamMembersAddRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_members_conversation_member_item_request_builder.go b/groups/item_team_members_conversation_member_item_request_builder.go index 9fd41d5480e..a327630d215 100644 --- a/groups/item_team_members_conversation_member_item_request_builder.go +++ b/groups/item_team_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemTeamMembersConversationMemberItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a team. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemTeamMembersConversationMemberItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in a team. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemTeamMembersConversationMemberItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_members_request_builder.go b/groups/item_team_members_request_builder.go index a0110b578cd..794c3ddea6d 100644 --- a/groups/item_team_members_request_builder.go +++ b/groups/item_team_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamMembersRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a new conversation member to a team. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTeamMembersRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_operations_request_builder.go b/groups/item_team_operations_request_builder.go index 4dc6cd2314e..52890546e19 100644 --- a/groups/item_team_operations_request_builder.go +++ b/groups/item_team_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamOperationsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for groups @@ -138,7 +138,7 @@ func (m *ItemTeamOperationsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_operations_teams_async_operation_item_request_builder.go b/groups/item_team_operations_teams_async_operation_item_request_builder.go index c7047b0ca38..00a7b0d609c 100644 --- a/groups/item_team_operations_teams_async_operation_item_request_builder.go +++ b/groups/item_team_operations_teams_async_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemTeamOperationsTeamsAsyncOperationItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the async operations that ran or are running on this team. @@ -134,7 +134,7 @@ func (m *ItemTeamOperationsTeamsAsyncOperationItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in groups @@ -147,7 +147,7 @@ func (m *ItemTeamOperationsTeamsAsyncOperationItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_owners_item_mailbox_settings_request_builder.go b/groups/item_team_owners_item_mailbox_settings_request_builder.go index 96cc4405e86..c1122aaa505 100644 --- a/groups/item_team_owners_item_mailbox_settings_request_builder.go +++ b/groups/item_team_owners_item_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemTeamOwnersItemMailboxSettingsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemTeamOwnersItemMailboxSettingsRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_owners_item_service_provisioning_errors_request_builder.go b/groups/item_team_owners_item_service_provisioning_errors_request_builder.go index 2311e3e1efa..b90fe25ada8 100644 --- a/groups/item_team_owners_item_service_provisioning_errors_request_builder.go +++ b/groups/item_team_owners_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemTeamOwnersItemServiceProvisioningErrorsRequestBuilder(rawUrl string, func (m *ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilder) Count()(*ItemTeamOwnersItemServiceProvisioningErrorsCountRequestBuilder) { return NewItemTeamOwnersItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilder) Get(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemTeamOwnersItemServiceProvisioningErrorsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_owners_request_builder.go b/groups/item_team_owners_request_builder.go index 0a247a7400e..fa6855398bd 100644 --- a/groups/item_team_owners_request_builder.go +++ b/groups/item_team_owners_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemTeamOwnersRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_owners_user_item_request_builder.go b/groups/item_team_owners_user_item_request_builder.go index d80dc0c9882..71e40530f87 100644 --- a/groups/item_team_owners_user_item_request_builder.go +++ b/groups/item_team_owners_user_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemTeamOwnersUserItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_permission_grants_request_builder.go b/groups/item_team_permission_grants_request_builder.go index db49b31067f..dcb0fc7a82a 100644 --- a/groups/item_team_permission_grants_request_builder.go +++ b/groups/item_team_permission_grants_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionGrants for groups @@ -141,7 +141,7 @@ func (m *ItemTeamPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_permission_grants_resource_specific_permission_grant_item_request_builder.go b/groups/item_team_permission_grants_resource_specific_permission_grant_item_request_builder.go index 06d30607a6e..8c36c0f017b 100644 --- a/groups/item_team_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/groups/item_team_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemTeamPermissionGrantsResourceSpecificPermissionGrantItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of permissions granted to apps to access the team. @@ -134,7 +134,7 @@ func (m *ItemTeamPermissionGrantsResourceSpecificPermissionGrantItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionGrants in groups @@ -147,7 +147,7 @@ func (m *ItemTeamPermissionGrantsResourceSpecificPermissionGrantItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_photo_request_builder.go b/groups/item_team_photo_request_builder.go index 4c60ab85f4f..5d71585f28b 100644 --- a/groups/item_team_photo_request_builder.go +++ b/groups/item_team_photo_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemTeamPhotoRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property photo in groups @@ -115,7 +115,7 @@ func (m *ItemTeamPhotoRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_photo_value_content_request_builder.go b/groups/item_team_photo_value_content_request_builder.go index a04352ab560..c285e99c599 100644 --- a/groups/item_team_photo_value_content_request_builder.go +++ b/groups/item_team_photo_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemTeamPhotoValueContentRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photo in groups @@ -98,7 +98,7 @@ func (m *ItemTeamPhotoValueContentRequestBuilder) ToPutRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_team_primary_channel_complete_migration_request_builder.go b/groups/item_team_primary_channel_complete_migration_request_builder.go index eefcd746e1d..82804fa51aa 100644 --- a/groups/item_team_primary_channel_complete_migration_request_builder.go +++ b/groups/item_team_primary_channel_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamPrimaryChannelCompleteMigrationRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 794a90a9a07..12be8c73e62 100644 --- a/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/groups/item_team_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -93,7 +93,7 @@ func (m *ItemTeamPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUse requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_files_folder_content_request_builder.go b/groups/item_team_primary_channel_files_folder_content_request_builder.go index f53561a900a..198e0a0ac39 100644 --- a/groups/item_team_primary_channel_files_folder_content_request_builder.go +++ b/groups/item_team_primary_channel_files_folder_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderContentRequestBuilder) ToPutRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_team_primary_channel_files_folder_request_builder.go b/groups/item_team_primary_channel_files_folder_request_builder.go index d7a079980e2..bc43334a573 100644 --- a/groups/item_team_primary_channel_files_folder_request_builder.go +++ b/groups/item_team_primary_channel_files_folder_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemTeamPrimaryChannelFilesFolderRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_members_add_request_builder.go b/groups/item_team_primary_channel_members_add_request_builder.go index b071d1cc613..ac14b3ebe97 100644 --- a/groups/item_team_primary_channel_members_add_request_builder.go +++ b/groups/item_team_primary_channel_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemTeamPrimaryChannelMembersAddRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go b/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go index 6106e1abf1b..600c98f7e64 100644 --- a/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go +++ b/groups/item_team_primary_channel_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a channel. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in 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. @@ -156,7 +156,7 @@ func (m *ItemTeamPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_members_request_builder.go b/groups/item_team_primary_channel_members_request_builder.go index 380af3ec026..9c016e6cce4 100644 --- a/groups/item_team_primary_channel_members_request_builder.go +++ b/groups/item_team_primary_channel_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamPrimaryChannelMembersRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemTeamPrimaryChannelMembersRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go b/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go index af40ec519bf..7d2d95e3fb2 100644 --- a/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_chat_message_item_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -169,7 +169,7 @@ func (m *ItemTeamPrimaryChannelMessagesChatMessageItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_delta_request_builder.go b/groups/item_team_primary_channel_messages_delta_request_builder.go index 1ace5443496..3f0c3d31dfc 100644 --- a/groups/item_team_primary_channel_messages_delta_request_builder.go +++ b/groups/item_team_primary_channel_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTeamPrimaryChannelMessagesDeltaRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index a7bcf1b00f8..adfe8fcf6dc 100644 --- a/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedConten requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedConten requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in groups @@ -154,7 +154,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsChatMessageHostedConten requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index ab5bfec9aa7..6ec495f6e9e 100644 --- a/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsItemValueContentRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in groups @@ -101,7 +101,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsItemValueContentRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go b/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go index a1df7172164..43680283b6e 100644 --- a/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for groups @@ -141,7 +141,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemHostedContentsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go index ff84dbc3816..3b08a91ffd0 100644 --- a/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in groups @@ -162,7 +162,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go index 54b0a546038..4f75c1fc504 100644 --- a/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index f6f05967996..b67819123e0 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageH requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageH requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in groups @@ -154,7 +154,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageH requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 38ef2887650..3e9be98a645 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in groups @@ -101,7 +101,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index 2d8e6d658f2..d7673760c00 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for groups @@ -141,7 +141,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_item_replies_item_set_reaction_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_set_reaction_request_builder.go index b19de79ca75..f117de7a337 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_set_reaction_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index 954827f6167..b949289e3dc 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index 56a816cf8cf..0355f271629 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go index 50f8ca6a182..062740c692f 100644 --- a/groups/item_team_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_item_replies_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_request_builder.go index 64059fd02da..f39d7767abb 100644 --- a/groups/item_team_primary_channel_messages_item_replies_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_item_set_reaction_request_builder.go b/groups/item_team_primary_channel_messages_item_set_reaction_request_builder.go index ee3d802fd15..a5297d61ca5 100644 --- a/groups/item_team_primary_channel_messages_item_set_reaction_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemSetReactionRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go index 23c204590e3..b71193e283f 100644 --- a/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemSoftDeleteRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go b/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go index c0a66dd9b59..dc27e7af0ba 100644 --- a/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_messages_item_unset_reaction_request_builder.go b/groups/item_team_primary_channel_messages_item_unset_reaction_request_builder.go index e661e56faa3..5200c3409f4 100644 --- a/groups/item_team_primary_channel_messages_item_unset_reaction_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_messages_request_builder.go b/groups/item_team_primary_channel_messages_request_builder.go index d654746206a..daca007369c 100644 --- a/groups/item_team_primary_channel_messages_request_builder.go +++ b/groups/item_team_primary_channel_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) Get(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// Post send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// ToPostRequestInformation send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_provision_email_request_builder.go b/groups/item_team_primary_channel_provision_email_request_builder.go index 1ab4b7eda57..c0938b662fb 100644 --- a/groups/item_team_primary_channel_provision_email_request_builder.go +++ b/groups/item_team_primary_channel_provision_email_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamPrimaryChannelProvisionEmailRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_remove_email_request_builder.go b/groups/item_team_primary_channel_remove_email_request_builder.go index 26bf8e3390d..c30a46562e1 100644 --- a/groups/item_team_primary_channel_remove_email_request_builder.go +++ b/groups/item_team_primary_channel_remove_email_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamPrimaryChannelRemoveEmailRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_request_builder.go b/groups/item_team_primary_channel_request_builder.go index ed32ca55be5..2fec2cbe275 100644 --- a/groups/item_team_primary_channel_request_builder.go +++ b/groups/item_team_primary_channel_request_builder.go @@ -157,7 +157,7 @@ func (m *ItemTeamPrimaryChannelRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the default channel, General, of a team. This API is available in the following national cloud deployments. @@ -173,7 +173,7 @@ func (m *ItemTeamPrimaryChannelRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property primaryChannel in groups @@ -186,7 +186,7 @@ func (m *ItemTeamPrimaryChannelRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 022861e42c9..71e6315aa9d 100644 --- a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemb requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index b5846c9b323..2694a41af96 100644 --- a/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_shared_with_teams_item_team_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_item_team_request_builder.go index ec9827e6182..0bd52c7f130 100644 --- a/groups/item_team_primary_channel_shared_with_teams_item_team_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_shared_with_teams_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_request_builder.go index 4289c0c7bfc..9f1950c9f3d 100644 --- a/groups/item_team_primary_channel_shared_with_teams_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedWithTeams for groups @@ -141,7 +141,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 3ef55e0cd69..34b1a043903 100644 --- a/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/groups/item_team_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedWithTeams in groups @@ -161,7 +161,7 @@ func (m *ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_tabs_item_teams_app_request_builder.go b/groups/item_team_primary_channel_tabs_item_teams_app_request_builder.go index a4f0bd84be7..3f5202348d6 100644 --- a/groups/item_team_primary_channel_tabs_item_teams_app_request_builder.go +++ b/groups/item_team_primary_channel_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamPrimaryChannelTabsItemTeamsAppRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_primary_channel_tabs_request_builder.go b/groups/item_team_primary_channel_tabs_request_builder.go index e22d42880da..225bb693de5 100644 --- a/groups/item_team_primary_channel_tabs_request_builder.go +++ b/groups/item_team_primary_channel_tabs_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamPrimaryChannelTabsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tabs for groups @@ -141,7 +141,7 @@ func (m *ItemTeamPrimaryChannelTabsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_primary_channel_tabs_teams_tab_item_request_builder.go b/groups/item_team_primary_channel_tabs_teams_tab_item_request_builder.go index ea7daa3908e..4314b7c3464 100644 --- a/groups/item_team_primary_channel_tabs_teams_tab_item_request_builder.go +++ b/groups/item_team_primary_channel_tabs_teams_tab_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemTeamPrimaryChannelTabsTeamsTabItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. @@ -138,7 +138,7 @@ func (m *ItemTeamPrimaryChannelTabsTeamsTabItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tabs in groups @@ -151,7 +151,7 @@ func (m *ItemTeamPrimaryChannelTabsTeamsTabItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_request_builder.go b/groups/item_team_request_builder.go index a9739b94ab8..4d343c3f1d9 100644 --- a/groups/item_team_request_builder.go +++ b/groups/item_team_request_builder.go @@ -194,7 +194,7 @@ func (m *ItemTeamRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the team associated with this group. @@ -210,7 +210,7 @@ func (m *ItemTeamRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property team in groups @@ -223,7 +223,7 @@ func (m *ItemTeamRequestBuilder) ToPutRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_day_notes_count_request_builder.go b/groups/item_team_schedule_day_notes_count_request_builder.go new file mode 100644 index 00000000000..c7a6a90a105 --- /dev/null +++ b/groups/item_team_schedule_day_notes_count_request_builder.go @@ -0,0 +1,80 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamScheduleDayNotesCountRequestBuilder provides operations to count the resources in the collection. +type ItemTeamScheduleDayNotesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamScheduleDayNotesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemTeamScheduleDayNotesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemTeamScheduleDayNotesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamScheduleDayNotesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamScheduleDayNotesCountRequestBuilderGetQueryParameters +} +// NewItemTeamScheduleDayNotesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewItemTeamScheduleDayNotesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleDayNotesCountRequestBuilder) { + m := &ItemTeamScheduleDayNotesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewItemTeamScheduleDayNotesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewItemTeamScheduleDayNotesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleDayNotesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamScheduleDayNotesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *ItemTeamScheduleDayNotesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleDayNotesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *ItemTeamScheduleDayNotesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleDayNotesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamScheduleDayNotesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleDayNotesCountRequestBuilder) { + return NewItemTeamScheduleDayNotesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_day_notes_day_note_item_request_builder.go b/groups/item_team_schedule_day_notes_day_note_item_request_builder.go new file mode 100644 index 00000000000..6496a836499 --- /dev/null +++ b/groups/item_team_schedule_day_notes_day_note_item_request_builder.go @@ -0,0 +1,160 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamScheduleDayNotesDayNoteItemRequestBuilder provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +type ItemTeamScheduleDayNotesDayNoteItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTeamScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters get dayNotes from groups +type ItemTeamScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemTeamScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters +} +// ItemTeamScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamScheduleDayNotesDayNoteItemRequestBuilderInternal instantiates a new DayNoteItemRequestBuilder and sets the default values. +func NewItemTeamScheduleDayNotesDayNoteItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) { + m := &ItemTeamScheduleDayNotesDayNoteItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewItemTeamScheduleDayNotesDayNoteItemRequestBuilder instantiates a new DayNoteItemRequestBuilder and sets the default values. +func NewItemTeamScheduleDayNotesDayNoteItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamScheduleDayNotesDayNoteItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dayNotes for groups +func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dayNotes from groups +func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil +} +// Patch update the navigation property dayNotes in groups +func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil +} +// ToDeleteRequestInformation delete navigation property dayNotes for groups +func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get dayNotes from groups +func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dayNotes in groups +func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) { + return NewItemTeamScheduleDayNotesDayNoteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_day_notes_request_builder.go b/groups/item_team_schedule_day_notes_request_builder.go new file mode 100644 index 00000000000..747206d803b --- /dev/null +++ b/groups/item_team_schedule_day_notes_request_builder.go @@ -0,0 +1,151 @@ +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamScheduleDayNotesRequestBuilder provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +type ItemTeamScheduleDayNotesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamScheduleDayNotesRequestBuilderGetQueryParameters get dayNotes from groups +type ItemTeamScheduleDayNotesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemTeamScheduleDayNotesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamScheduleDayNotesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamScheduleDayNotesRequestBuilderGetQueryParameters +} +// ItemTeamScheduleDayNotesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamScheduleDayNotesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByDayNoteId provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleDayNotesRequestBuilder) ByDayNoteId(dayNoteId string)(*ItemTeamScheduleDayNotesDayNoteItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if dayNoteId != "" { + urlTplParams["dayNote%2Did"] = dayNoteId + } + return NewItemTeamScheduleDayNotesDayNoteItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemTeamScheduleDayNotesRequestBuilderInternal instantiates a new DayNotesRequestBuilder and sets the default values. +func NewItemTeamScheduleDayNotesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleDayNotesRequestBuilder) { + m := &ItemTeamScheduleDayNotesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewItemTeamScheduleDayNotesRequestBuilder instantiates a new DayNotesRequestBuilder and sets the default values. +func NewItemTeamScheduleDayNotesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamScheduleDayNotesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamScheduleDayNotesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *ItemTeamScheduleDayNotesRequestBuilder) Count()(*ItemTeamScheduleDayNotesCountRequestBuilder) { + return NewItemTeamScheduleDayNotesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dayNotes from groups +func (m *ItemTeamScheduleDayNotesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamScheduleDayNotesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteCollectionResponseable), nil +} +// Post create new navigation property to dayNotes for groups +func (m *ItemTeamScheduleDayNotesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamScheduleDayNotesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil +} +// ToGetRequestInformation get dayNotes from groups +func (m *ItemTeamScheduleDayNotesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamScheduleDayNotesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dayNotes for groups +func (m *ItemTeamScheduleDayNotesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamScheduleDayNotesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamScheduleDayNotesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamScheduleDayNotesRequestBuilder) { + return NewItemTeamScheduleDayNotesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index 1fb68618c7f..5905b0689a6 100644 --- a/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/groups/item_team_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property offerShiftRequests in groups @@ -150,7 +150,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_offer_shift_requests_request_builder.go b/groups/item_team_schedule_offer_shift_requests_request_builder.go index 5aafbfc8627..cdb31f72342 100644 --- a/groups/item_team_schedule_offer_shift_requests_request_builder.go +++ b/groups/item_team_schedule_offer_shift_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamScheduleOfferShiftRequestsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index 95a3da5ce7b..f845f12734b 100644 --- a/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/groups/item_team_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property openShiftChangeRequests in groups @@ -150,7 +150,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_open_shift_change_requests_request_builder.go b/groups/item_team_schedule_open_shift_change_requests_request_builder.go index 771b949a975..2bcf637ac94 100644 --- a/groups/item_team_schedule_open_shift_change_requests_request_builder.go +++ b/groups/item_team_schedule_open_shift_change_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamScheduleOpenShiftChangeRequestsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go b/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go index f2ed07e647f..49e5d7359a2 100644 --- a/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go +++ b/groups/item_team_schedule_open_shifts_open_shift_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an openShift object. @@ -156,7 +156,7 @@ func (m *ItemTeamScheduleOpenShiftsOpenShiftItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_open_shifts_request_builder.go b/groups/item_team_schedule_open_shifts_request_builder.go index a75504fa64b..5e2ea924a5d 100644 --- a/groups/item_team_schedule_open_shifts_request_builder.go +++ b/groups/item_team_schedule_open_shifts_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamScheduleOpenShiftsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of an openshift object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamScheduleOpenShiftsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_request_builder.go b/groups/item_team_schedule_request_builder.go index 9bab62ca873..49d8ec55999 100644 --- a/groups/item_team_schedule_request_builder.go +++ b/groups/item_team_schedule_request_builder.go @@ -54,6 +54,10 @@ func NewItemTeamScheduleRequestBuilder(rawUrl string, requestAdapter i2ae4187f7d urlParams["request-raw-url"] = rawUrl return NewItemTeamScheduleRequestBuilderInternal(urlParams, requestAdapter) } +// DayNotes provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +func (m *ItemTeamScheduleRequestBuilder) DayNotes()(*ItemTeamScheduleDayNotesRequestBuilder) { + return NewItemTeamScheduleDayNotesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Delete delete navigation property schedule for groups func (m *ItemTeamScheduleRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamScheduleRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -165,7 +169,7 @@ func (m *ItemTeamScheduleRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -181,7 +185,7 @@ func (m *ItemTeamScheduleRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property schedule in groups @@ -194,7 +198,7 @@ func (m *ItemTeamScheduleRequestBuilder) ToPutRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_scheduling_groups_request_builder.go b/groups/item_team_schedule_scheduling_groups_request_builder.go index 3ad8638d2e2..d1e7f135607 100644 --- a/groups/item_team_schedule_scheduling_groups_request_builder.go +++ b/groups/item_team_schedule_scheduling_groups_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new schedulingGroup. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemTeamScheduleSchedulingGroupsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go index d021b7d623f..f4ac3877c6f 100644 --- a/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/groups/item_team_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *ItemTeamScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_share_request_builder.go b/groups/item_team_schedule_share_request_builder.go index c33d31acfa8..7ef36e081b2 100644 --- a/groups/item_team_schedule_share_request_builder.go +++ b/groups/item_team_schedule_share_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamScheduleShareRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_shifts_request_builder.go b/groups/item_team_schedule_shifts_request_builder.go index b6ca0a8618a..fe952131cc3 100644 --- a/groups/item_team_schedule_shifts_request_builder.go +++ b/groups/item_team_schedule_shifts_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemTeamScheduleShiftsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -142,7 +142,7 @@ func (m *ItemTeamScheduleShiftsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_shifts_shift_item_request_builder.go b/groups/item_team_schedule_shifts_shift_item_request_builder.go index 8691b35198d..06bf1dd31d4 100644 --- a/groups/item_team_schedule_shifts_shift_item_request_builder.go +++ b/groups/item_team_schedule_shifts_shift_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. @@ -154,7 +154,7 @@ func (m *ItemTeamScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go b/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go index c6f9c3bd717..d51282f5584 100644 --- a/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go +++ b/groups/item_team_schedule_swap_shifts_change_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index d7a41498d1d..9c68cd039af 100644 --- a/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/groups/item_team_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property swapShiftsChangeRequests in groups @@ -150,7 +150,7 @@ func (m *ItemTeamScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_time_cards_clock_in_request_builder.go b/groups/item_team_schedule_time_cards_clock_in_request_builder.go index 23a3101caf9..be83578d33f 100644 --- a/groups/item_team_schedule_time_cards_clock_in_request_builder.go +++ b/groups/item_team_schedule_time_cards_clock_in_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamScheduleTimeCardsClockInRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go b/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go index 24eb11296bc..37bdb904e11 100644 --- a/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_clock_out_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamScheduleTimeCardsItemClockOutRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_time_cards_item_confirm_request_builder.go b/groups/item_team_schedule_time_cards_item_confirm_request_builder.go index 4ab7d132811..217c41d0d90 100644 --- a/groups/item_team_schedule_time_cards_item_confirm_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_confirm_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamScheduleTimeCardsItemConfirmRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_schedule_time_cards_item_end_break_request_builder.go b/groups/item_team_schedule_time_cards_item_end_break_request_builder.go index 1ef99db341f..df9e5e04b59 100644 --- a/groups/item_team_schedule_time_cards_item_end_break_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_end_break_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamScheduleTimeCardsItemEndBreakRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_time_cards_item_start_break_request_builder.go b/groups/item_team_schedule_time_cards_item_start_break_request_builder.go index 4537d5e4c5a..c301b5360d6 100644 --- a/groups/item_team_schedule_time_cards_item_start_break_request_builder.go +++ b/groups/item_team_schedule_time_cards_item_start_break_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamScheduleTimeCardsItemStartBreakRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_time_cards_request_builder.go b/groups/item_team_schedule_time_cards_request_builder.go index 4525d79a8bf..a33c70689e9 100644 --- a/groups/item_team_schedule_time_cards_request_builder.go +++ b/groups/item_team_schedule_time_cards_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamScheduleTimeCardsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a timeCard instance in a schedule. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTeamScheduleTimeCardsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_time_cards_time_card_item_request_builder.go b/groups/item_team_schedule_time_cards_time_card_item_request_builder.go index fef6f720fe3..255bab61160 100644 --- a/groups/item_team_schedule_time_cards_time_card_item_request_builder.go +++ b/groups/item_team_schedule_time_cards_time_card_item_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeCard with updated values. @@ -172,7 +172,7 @@ func (m *ItemTeamScheduleTimeCardsTimeCardItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_time_off_reasons_request_builder.go b/groups/item_team_schedule_time_off_reasons_request_builder.go index f8ae46411ec..f200176ee6c 100644 --- a/groups/item_team_schedule_time_off_reasons_request_builder.go +++ b/groups/item_team_schedule_time_off_reasons_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new timeOffReason. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemTeamScheduleTimeOffReasonsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go index f7a34e9db4b..90c2523b00d 100644 --- a/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/groups/item_team_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *ItemTeamScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_time_off_requests_request_builder.go b/groups/item_team_schedule_time_off_requests_request_builder.go index 7809f6f7f6b..a98cd3a47f3 100644 --- a/groups/item_team_schedule_time_off_requests_request_builder.go +++ b/groups/item_team_schedule_time_off_requests_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTeamScheduleTimeOffRequestsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to timeOffRequests for groups @@ -139,7 +139,7 @@ func (m *ItemTeamScheduleTimeOffRequestsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go b/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go index 28f01dd8f86..21600bcef4b 100644 --- a/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/groups/item_team_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. @@ -138,7 +138,7 @@ func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property timeOffRequests in groups @@ -151,7 +151,7 @@ func (m *ItemTeamScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_times_off_request_builder.go b/groups/item_team_schedule_times_off_request_builder.go index 80da97f2cb6..9760b388c32 100644 --- a/groups/item_team_schedule_times_off_request_builder.go +++ b/groups/item_team_schedule_times_off_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemTeamScheduleTimesOffRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemTeamScheduleTimesOffRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_schedule_times_off_time_off_item_request_builder.go b/groups/item_team_schedule_times_off_time_off_item_request_builder.go index 529977a6aea..1df300ffe51 100644 --- a/groups/item_team_schedule_times_off_time_off_item_request_builder.go +++ b/groups/item_team_schedule_times_off_time_off_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *ItemTeamScheduleTimesOffTimeOffItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_send_activity_notification_request_builder.go b/groups/item_team_send_activity_notification_request_builder.go index 344e37f8ea6..c419c6d5645 100644 --- a/groups/item_team_send_activity_notification_request_builder.go +++ b/groups/item_team_send_activity_notification_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamSendActivityNotificationRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_tags_item_members_request_builder.go b/groups/item_team_tags_item_members_request_builder.go index 5c760813e3f..5383ee6a91c 100644 --- a/groups/item_team_tags_item_members_request_builder.go +++ b/groups/item_team_tags_item_members_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamTagsItemMembersRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamTagsItemMembersRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go b/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go index 8a8893d2bea..a6a31af8eb0 100644 --- a/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/groups/item_team_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in groups @@ -153,7 +153,7 @@ func (m *ItemTeamTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_tags_request_builder.go b/groups/item_team_tags_request_builder.go index 6791f23f941..4d282a6a2b9 100644 --- a/groups/item_team_tags_request_builder.go +++ b/groups/item_team_tags_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamTagsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a standard tag for members in the team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamTagsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_tags_teamwork_tag_item_request_builder.go b/groups/item_team_tags_teamwork_tag_item_request_builder.go index 5aef4575046..293a8d2b1dc 100644 --- a/groups/item_team_tags_teamwork_tag_item_request_builder.go +++ b/groups/item_team_tags_teamwork_tag_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a tag object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a teamworkTag object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemTeamTagsTeamworkTagItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_team_template_definition_request_builder.go b/groups/item_team_template_definition_request_builder.go index 51336c4f035..91e2e3eedb6 100644 --- a/groups/item_team_template_definition_request_builder.go +++ b/groups/item_team_template_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamTemplateDefinitionRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_template_request_builder.go b/groups/item_team_template_request_builder.go index 0d93633fa5a..fae4b7c23c3 100644 --- a/groups/item_team_template_request_builder.go +++ b/groups/item_team_template_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamTemplateRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_team_unarchive_request_builder.go b/groups/item_team_unarchive_request_builder.go index b763ba87e16..300aa8738da 100644 --- a/groups/item_team_unarchive_request_builder.go +++ b/groups/item_team_unarchive_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamUnarchiveRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index 1d9f76c25b4..a05b87604c6 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -18,7 +18,7 @@ type ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a specific thread that belongs to a group. 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. +// ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters get a thread object. This API is available in the following national cloud deployments. type ItemThreadsConversationThreadItemRequestBuilderGetQueryParameters struct { // Select properties to be returned Select []string `uriparametername:"%24select"` @@ -52,10 +52,10 @@ func NewItemThreadsConversationThreadItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemThreadsConversationThreadItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a thread object. This API is available in the following national cloud deployments. +// Delete delete conversationThread. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -71,10 +71,10 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a specific thread that belongs to a group. 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 get a thread object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 func (m *ItemThreadsConversationThreadItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationThreadable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -123,7 +123,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Posts()(*ItemThreadsIt func (m *ItemThreadsConversationThreadItemRequestBuilder) Reply()(*ItemThreadsItemReplyRequestBuilder) { return NewItemThreadsItemReplyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a thread object. This API is available in the following national cloud deployments. +// ToDeleteRequestInformation delete conversationThread. This API is available in the following national cloud deployments. func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -133,10 +133,10 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a specific thread that belongs to a group. 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. +// ToGetRequestInformation get a thread object. This API is available in the following national cloud deployments. func (m *ItemThreadsConversationThreadItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -149,7 +149,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a thread object. This API is available in the following national cloud deployments. @@ -162,7 +162,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_attachments_attachment_item_request_builder.go b/groups/item_threads_item_posts_item_attachments_attachment_item_request_builder.go index 4a837d0ac8c..bc8916aa866 100644 --- a/groups/item_threads_item_posts_item_attachments_attachment_item_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_attachment_item_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. @@ -108,7 +108,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsAttachmentItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go b/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go index f395bdb5a69..7b1a74a1196 100644 --- a/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsCreateUploadSessionRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_attachments_request_builder.go b/groups/item_threads_item_posts_item_attachments_request_builder.go index 36b4b786bb3..e499683c5b1 100644 --- a/groups/item_threads_item_posts_item_attachments_request_builder.go +++ b/groups/item_threads_item_posts_item_attachments_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attachments for groups @@ -143,7 +143,7 @@ func (m *ItemThreadsItemPostsItemAttachmentsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go b/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go index d7909ab06a8..27a92d182f5 100644 --- a/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go +++ b/groups/item_threads_item_posts_item_extensions_extension_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *ItemThreadsItemPostsItemExtensionsExtensionItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_extensions_request_builder.go b/groups/item_threads_item_posts_item_extensions_request_builder.go index 532550a0403..283c735b839 100644 --- a/groups/item_threads_item_posts_item_extensions_request_builder.go +++ b/groups/item_threads_item_posts_item_extensions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for groups @@ -136,7 +136,7 @@ func (m *ItemThreadsItemPostsItemExtensionsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_forward_request_builder.go b/groups/item_threads_item_posts_item_forward_request_builder.go index 0e789f8ec24..e5624d3ea12 100644 --- a/groups/item_threads_item_posts_item_forward_request_builder.go +++ b/groups/item_threads_item_posts_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemThreadsItemPostsItemForwardRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go index e5b602168e0..18c6d578c2b 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_attachments_attachment_item_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the post. Read-only. Nullable. Supports $expand. @@ -108,7 +108,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsAttachmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go index c5263501832..4fb194271c5 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsCreateUploadSessionRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go index c882f119a23..9aa63cb97a3 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_attachments_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attachments for groups @@ -143,7 +143,7 @@ func (m *ItemThreadsItemPostsItemInReplyToAttachmentsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go index 499324f1106..04d24346ba9 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_extensions_extension_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go index ee44abbfd0d..c8be07cdd88 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_extensions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for groups @@ -136,7 +136,7 @@ func (m *ItemThreadsItemPostsItemInReplyToExtensionsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go index 6cf8813ec88..f49a4995210 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemThreadsItemPostsItemInReplyToForwardRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go index 42e1516ab33..77b1ee1d76e 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_mentions_mention_item_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get mentions from groups @@ -108,7 +108,7 @@ func (m *ItemThreadsItemPostsItemInReplyToMentionsMentionItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_threads_item_posts_item_in_reply_to_mentions_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_mentions_request_builder.go index 3012216a021..29a285d9441 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_mentions_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_mentions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mentions for groups @@ -136,7 +136,7 @@ func (m *ItemThreadsItemPostsItemInReplyToMentionsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_in_reply_to_reply_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_reply_request_builder.go index 95eb6dd1af9..1f5b301e279 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_reply_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_reply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemThreadsItemPostsItemInReplyToReplyRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_in_reply_to_request_builder.go b/groups/item_threads_item_posts_item_in_reply_to_request_builder.go index 94a01152ca2..9f4cb2ea1f6 100644 --- a/groups/item_threads_item_posts_item_in_reply_to_request_builder.go +++ b/groups/item_threads_item_posts_item_in_reply_to_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemThreadsItemPostsItemInReplyToRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_threads_item_posts_item_mentions_mention_item_request_builder.go b/groups/item_threads_item_posts_item_mentions_mention_item_request_builder.go index 04d9aa6241a..552903cb7ec 100644 --- a/groups/item_threads_item_posts_item_mentions_mention_item_request_builder.go +++ b/groups/item_threads_item_posts_item_mentions_mention_item_request_builder.go @@ -92,7 +92,7 @@ func (m *ItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get mentions from groups @@ -108,7 +108,7 @@ func (m *ItemThreadsItemPostsItemMentionsMentionItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_threads_item_posts_item_mentions_request_builder.go b/groups/item_threads_item_posts_item_mentions_request_builder.go index 8efdf35dbe1..71f9ed322e2 100644 --- a/groups/item_threads_item_posts_item_mentions_request_builder.go +++ b/groups/item_threads_item_posts_item_mentions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemThreadsItemPostsItemMentionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mentions for groups @@ -136,7 +136,7 @@ func (m *ItemThreadsItemPostsItemMentionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_item_reply_request_builder.go b/groups/item_threads_item_posts_item_reply_request_builder.go index 405e34e8f5d..cb00007141b 100644 --- a/groups/item_threads_item_posts_item_reply_request_builder.go +++ b/groups/item_threads_item_posts_item_reply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemThreadsItemPostsItemReplyRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_post_item_request_builder.go b/groups/item_threads_item_posts_post_item_request_builder.go index 6bd273afd16..e2f55206678 100644 --- a/groups/item_threads_item_posts_post_item_request_builder.go +++ b/groups/item_threads_item_posts_post_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemThreadsItemPostsPostItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property posts in groups @@ -138,7 +138,7 @@ func (m *ItemThreadsItemPostsPostItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_item_posts_request_builder.go b/groups/item_threads_item_posts_request_builder.go index 452fd144569..70f5c86140b 100644 --- a/groups/item_threads_item_posts_request_builder.go +++ b/groups/item_threads_item_posts_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemThreadsItemPostsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_threads_item_reply_request_builder.go b/groups/item_threads_item_reply_request_builder.go index 3e4aa245064..b5dd8ff0e8b 100644 --- a/groups/item_threads_item_reply_request_builder.go +++ b/groups/item_threads_item_reply_request_builder.go @@ -30,10 +30,10 @@ func NewItemThreadsItemReplyRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post 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. +// Post add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. // [Find more info here] // -// [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-post-attachments?view=graph-rest-1.0 func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body Item } return nil } -// ToPostRequestInformation 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. +// ToPostRequestInformation add an attachment when creating a group post. This operation limits the size of the attachment you can add to under 3 MB. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. This API is available in the following national cloud deployments. func (m *ItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -59,7 +59,7 @@ func (m *ItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_threads_request_builder.go b/groups/item_threads_request_builder.go index 500a4575f88..3605f4b0474 100644 --- a/groups/item_threads_request_builder.go +++ b/groups/item_threads_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemThreadsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemThreadsRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/item_transitive_member_of_directory_object_item_request_builder.go b/groups/item_transitive_member_of_directory_object_item_request_builder.go index cdb8ec638db..f2a864fbcf3 100644 --- a/groups/item_transitive_member_of_directory_object_item_request_builder.go +++ b/groups/item_transitive_member_of_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_member_of_graph_administrative_unit_request_builder.go b/groups/item_transitive_member_of_graph_administrative_unit_request_builder.go index b74af357149..d35b2f229a0 100644 --- a/groups/item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/groups/item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_member_of_graph_group_request_builder.go b/groups/item_transitive_member_of_graph_group_request_builder.go index 30f9ab04097..45ad53703a8 100644 --- a/groups/item_transitive_member_of_graph_group_request_builder.go +++ b/groups/item_transitive_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphGroupRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/groups/item_transitive_member_of_item_graph_administrative_unit_request_builder.go index 00beb744823..cc2f1b5ebcb 100644 --- a/groups/item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/groups/item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_member_of_item_graph_group_request_builder.go b/groups/item_transitive_member_of_item_graph_group_request_builder.go index 5fd0007184d..28d23d41a5a 100644 --- a/groups/item_transitive_member_of_item_graph_group_request_builder.go +++ b/groups/item_transitive_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_member_of_request_builder.go b/groups/item_transitive_member_of_request_builder.go index 87fbfb11818..7716dc9ba81 100644 --- a/groups/item_transitive_member_of_request_builder.go +++ b/groups/item_transitive_member_of_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_directory_object_item_request_builder.go b/groups/item_transitive_members_directory_object_item_request_builder.go index 7c5789146b4..7c7da2551c1 100644 --- a/groups/item_transitive_members_directory_object_item_request_builder.go +++ b/groups/item_transitive_members_directory_object_item_request_builder.go @@ -96,7 +96,7 @@ func (m *ItemTransitiveMembersDirectoryObjectItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_graph_application_request_builder.go b/groups/item_transitive_members_graph_application_request_builder.go index 686e6272b58..a692dd480a0 100644 --- a/groups/item_transitive_members_graph_application_request_builder.go +++ b/groups/item_transitive_members_graph_application_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMembersGraphApplicationRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_graph_device_request_builder.go b/groups/item_transitive_members_graph_device_request_builder.go index e8f971b0869..5bdd1e69f83 100644 --- a/groups/item_transitive_members_graph_device_request_builder.go +++ b/groups/item_transitive_members_graph_device_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMembersGraphDeviceRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_graph_group_request_builder.go b/groups/item_transitive_members_graph_group_request_builder.go index 95c752067cc..ed8b0b0dd1d 100644 --- a/groups/item_transitive_members_graph_group_request_builder.go +++ b/groups/item_transitive_members_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMembersGraphGroupRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_graph_org_contact_request_builder.go b/groups/item_transitive_members_graph_org_contact_request_builder.go index c5c81881703..ba97b5aa38f 100644 --- a/groups/item_transitive_members_graph_org_contact_request_builder.go +++ b/groups/item_transitive_members_graph_org_contact_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMembersGraphOrgContactRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_graph_service_principal_request_builder.go b/groups/item_transitive_members_graph_service_principal_request_builder.go index 21d2add696f..b37fd42e514 100644 --- a/groups/item_transitive_members_graph_service_principal_request_builder.go +++ b/groups/item_transitive_members_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMembersGraphServicePrincipalRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_graph_user_request_builder.go b/groups/item_transitive_members_graph_user_request_builder.go index b884d5a8b16..6debfb10ad0 100644 --- a/groups/item_transitive_members_graph_user_request_builder.go +++ b/groups/item_transitive_members_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMembersGraphUserRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_item_graph_application_request_builder.go b/groups/item_transitive_members_item_graph_application_request_builder.go index 14cd1225454..65a97ab7bf6 100644 --- a/groups/item_transitive_members_item_graph_application_request_builder.go +++ b/groups/item_transitive_members_item_graph_application_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMembersItemGraphApplicationRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_item_graph_device_request_builder.go b/groups/item_transitive_members_item_graph_device_request_builder.go index 2b057378970..576357a5644 100644 --- a/groups/item_transitive_members_item_graph_device_request_builder.go +++ b/groups/item_transitive_members_item_graph_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMembersItemGraphDeviceRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_item_graph_group_request_builder.go b/groups/item_transitive_members_item_graph_group_request_builder.go index 90589a230a5..53602180941 100644 --- a/groups/item_transitive_members_item_graph_group_request_builder.go +++ b/groups/item_transitive_members_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMembersItemGraphGroupRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_item_graph_org_contact_request_builder.go b/groups/item_transitive_members_item_graph_org_contact_request_builder.go index 02e5a35482d..e3698b9adcd 100644 --- a/groups/item_transitive_members_item_graph_org_contact_request_builder.go +++ b/groups/item_transitive_members_item_graph_org_contact_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMembersItemGraphOrgContactRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_item_graph_service_principal_request_builder.go b/groups/item_transitive_members_item_graph_service_principal_request_builder.go index b7c5557fa21..0db6ab02c5e 100644 --- a/groups/item_transitive_members_item_graph_service_principal_request_builder.go +++ b/groups/item_transitive_members_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMembersItemGraphServicePrincipalRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_item_graph_user_request_builder.go b/groups/item_transitive_members_item_graph_user_request_builder.go index 1aae39ab3b6..9ab111eb86a 100644 --- a/groups/item_transitive_members_item_graph_user_request_builder.go +++ b/groups/item_transitive_members_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMembersItemGraphUserRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_transitive_members_request_builder.go b/groups/item_transitive_members_request_builder.go index 89cd37969c0..f2ed8ede4fd 100644 --- a/groups/item_transitive_members_request_builder.go +++ b/groups/item_transitive_members_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTransitiveMembersRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_unsubscribe_by_mail_request_builder.go b/groups/item_unsubscribe_by_mail_request_builder.go index 2ffbfadf534..5b3c4ce83cc 100644 --- a/groups/item_unsubscribe_by_mail_request_builder.go +++ b/groups/item_unsubscribe_by_mail_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemUnsubscribeByMailRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/groups/item_validate_properties_request_builder.go b/groups/item_validate_properties_request_builder.go index caebc220d78..a54d625d8f9 100644 --- a/groups/item_validate_properties_request_builder.go +++ b/groups/item_validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groups/validate_properties_request_builder.go b/groups/validate_properties_request_builder.go index c590d936251..92305b7ec13 100644 --- a/groups/validate_properties_request_builder.go +++ b/groups/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/groupswithuniquename/groups_with_unique_name_request_builder.go b/groupswithuniquename/groups_with_unique_name_request_builder.go index 6fc7a0376b4..3b51b67b13c 100644 --- a/groupswithuniquename/groups_with_unique_name_request_builder.go +++ b/groupswithuniquename/groups_with_unique_name_request_builder.go @@ -130,7 +130,7 @@ func (m *GroupsWithUniqueNameRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -146,7 +146,7 @@ func (m *GroupsWithUniqueNameRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a group object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *GroupsWithUniqueNameRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/api_connectors_identity_api_connector_item_request_builder.go b/identity/api_connectors_identity_api_connector_item_request_builder.go index 352d79bc24d..9510adf2c96 100644 --- a/identity/api_connectors_identity_api_connector_item_request_builder.go +++ b/identity/api_connectors_identity_api_connector_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an identityApiConnector object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ApiConnectorsIdentityApiConnectorItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/api_connectors_item_upload_client_certificate_request_builder.go b/identity/api_connectors_item_upload_client_certificate_request_builder.go index e08d2d2d278..91a5628a630 100644 --- a/identity/api_connectors_item_upload_client_certificate_request_builder.go +++ b/identity/api_connectors_item_upload_client_certificate_request_builder.go @@ -63,7 +63,7 @@ func (m *ApiConnectorsItemUploadClientCertificateRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/api_connectors_request_builder.go b/identity/api_connectors_request_builder.go index 5b5b9e8c61e..94753c915b3 100644 --- a/identity/api_connectors_request_builder.go +++ b/identity/api_connectors_request_builder.go @@ -131,7 +131,7 @@ func (m *ApiConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new identityApiConnector object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ApiConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go b/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go index 9d4b97807c9..91c8c1eb447 100644 --- a/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go +++ b/identity/authentication_event_listeners_authentication_event_listener_item_request_builder.go @@ -124,7 +124,7 @@ func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get authenticationEventListeners from identity @@ -140,7 +140,7 @@ func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *AuthenticationEventListenersAuthenticationEventListenerItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/authentication_event_listeners_request_builder.go b/identity/authentication_event_listeners_request_builder.go index 0af3a0cacce..8f62480a915 100644 --- a/identity/authentication_event_listeners_request_builder.go +++ b/identity/authentication_event_listeners_request_builder.go @@ -131,7 +131,7 @@ func (m *AuthenticationEventListenersRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *AuthenticationEventListenersRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go b/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go index 4a91ac3d7fc..a66b8f361a6 100644 --- a/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go +++ b/identity/authentication_events_flows_authentication_events_flow_item_request_builder.go @@ -41,6 +41,10 @@ type AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderPatchReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// Conditions the conditions property +func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) Conditions()(*AuthenticationEventsFlowsItemConditionsRequestBuilder) { + return NewAuthenticationEventsFlowsItemConditionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewAuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderInternal instantiates a new AuthenticationEventsFlowItemRequestBuilder and sets the default values. func NewAuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) { m := &AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder{ @@ -131,7 +135,7 @@ func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -147,7 +151,7 @@ func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an authenticationEventsFlow object. Only the externalUsersSelfServiceSignupEventsFlow object type is supported. This API is available in the following national cloud deployments. @@ -160,7 +164,7 @@ func (m *AuthenticationEventsFlowsAuthenticationEventsFlowItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/authentication_events_flows_graph_external_users_self_service_sign_up_events_flow_request_builder.go b/identity/authentication_events_flows_graph_external_users_self_service_sign_up_events_flow_request_builder.go index 348f43355ea..f4726cc8e19 100644 --- a/identity/authentication_events_flows_graph_external_users_self_service_sign_up_events_flow_request_builder.go +++ b/identity/authentication_events_flows_graph_external_users_self_service_sign_up_events_flow_request_builder.go @@ -88,7 +88,7 @@ func (m *AuthenticationEventsFlowsGraphExternalUsersSelfServiceSignUpEventsFlowR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/virtual_events_events_item_sessions_item_registration_request_builder.go b/identity/authentication_events_flows_item_conditions_applications_include_applications_authentication_condition_application_app_item_request_builder.go similarity index 52% rename from solutions/virtual_events_events_item_sessions_item_registration_request_builder.go rename to identity/authentication_events_flows_item_conditions_applications_include_applications_authentication_condition_application_app_item_request_builder.go index f6bab2ac4d0..c7b9607ec12 100644 --- a/solutions/virtual_events_events_item_sessions_item_registration_request_builder.go +++ b/identity/authentication_events_flows_item_conditions_applications_include_applications_authentication_condition_application_app_item_request_builder.go @@ -1,4 +1,4 @@ -package solutions +package identity import ( "context" @@ -7,62 +7,55 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder struct { +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderDeleteRequestConfiguration struct { +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderGetQueryParameters get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. -type VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderGetQueryParameters struct { +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters get includeApplications from identity +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } -// VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderGetRequestConfiguration struct { +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderGetQueryParameters + QueryParameters *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters } -// VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderPatchRequestConfiguration struct { +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// NewVirtualEventsEventsItemSessionsItemRegistrationRequestBuilderInternal instantiates a new RegistrationRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration{?%24select,%24expand}", pathParameters), +// NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderInternal instantiates a new AuthenticationConditionApplicationAppItemRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) { + m := &AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications/{authenticationConditionApplication%2DappId}{?%24select,%24expand}", pathParameters), } return m } -// NewVirtualEventsEventsItemSessionsItemRegistrationRequestBuilder instantiates a new RegistrationRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) { +// NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder instantiates a new AuthenticationConditionApplicationAppItemRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRegistrationRequestBuilderInternal(urlParams, requestAdapter) + return NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderInternal(urlParams, requestAdapter) } -// CustomQuestions provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) CustomQuestions()(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Delete disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalmeetingregistration-delete?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderDeleteRequestConfiguration)(error) { +// Delete delete navigation property includeApplications for identity +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { return err @@ -77,11 +70,8 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) Delete(c } return nil } -// Get get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalmeetingregistration-get?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, error) { +// Get get includeApplications from identity +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -90,20 +80,17 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) Get(ctx "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationFromDiscriminatorValue, errorMapping) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationConditionApplicationFromDiscriminatorValue, errorMapping) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable), nil + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable), nil } -// Patch 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-update?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, error) { +// Patch update the navigation property includeApplications in identity +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { return nil, err @@ -112,21 +99,17 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) Patch(ct "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationFromDiscriminatorValue, errorMapping) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationConditionApplicationFromDiscriminatorValue, errorMapping) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable), nil -} -// Registrants provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) Registrants()(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable), nil } -// ToDeleteRequestInformation disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToDeleteRequestInformation delete navigation property includeApplications for identity +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) @@ -135,11 +118,11 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToGetRequestInformation get includeApplications from identity +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { @@ -151,11 +134,11 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation 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. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToPatchRequestInformation update the navigation property includeApplications in identity +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) @@ -164,7 +147,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err @@ -172,6 +155,6 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) ToPatchR return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) { + return NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/identity/authentication_events_flows_item_conditions_applications_include_applications_count_request_builder.go b/identity/authentication_events_flows_item_conditions_applications_include_applications_count_request_builder.go new file mode 100644 index 00000000000..b7b32844091 --- /dev/null +++ b/identity/authentication_events_flows_item_conditions_applications_include_applications_count_request_builder.go @@ -0,0 +1,80 @@ +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder provides operations to count the resources in the collection. +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderGetQueryParameters get the number of the resource +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderGetQueryParameters +} +// NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder) { + m := &AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder) { + return NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_events_flows_item_conditions_applications_include_applications_request_builder.go b/identity/authentication_events_flows_item_conditions_applications_include_applications_request_builder.go new file mode 100644 index 00000000000..edad36b01b8 --- /dev/null +++ b/identity/authentication_events_flows_item_conditions_applications_include_applications_request_builder.go @@ -0,0 +1,151 @@ +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderGetQueryParameters get includeApplications from identity +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderGetQueryParameters +} +// AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAuthenticationConditionApplicationAppId provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) ByAuthenticationConditionApplicationAppId(authenticationConditionApplicationAppId string)(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if authenticationConditionApplicationAppId != "" { + urlTplParams["authenticationConditionApplication%2DappId"] = authenticationConditionApplicationAppId + } + return NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderInternal instantiates a new IncludeApplicationsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) { + m := &AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder instantiates a new IncludeApplicationsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) Count()(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilder) { + return NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get includeApplications from identity +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationConditionApplicationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationCollectionResponseable), nil +} +// Post create new navigation property to includeApplications for identity +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationConditionApplicationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable), nil +} +// ToGetRequestInformation get includeApplications from identity +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to includeApplications for identity +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, requestConfiguration *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) { + return NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_events_flows_item_conditions_applications_request_builder.go b/identity/authentication_events_flows_item_conditions_applications_request_builder.go new file mode 100644 index 00000000000..f575e681c4e --- /dev/null +++ b/identity/authentication_events_flows_item_conditions_applications_request_builder.go @@ -0,0 +1,27 @@ +package identity + +import ( + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" +) + +// AuthenticationEventsFlowsItemConditionsApplicationsRequestBuilder builds and executes requests for operations under \identity\authenticationEventsFlows\{authenticationEventsFlow-id}\conditions\applications +type AuthenticationEventsFlowsItemConditionsApplicationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// NewAuthenticationEventsFlowsItemConditionsApplicationsRequestBuilderInternal instantiates a new ApplicationsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemConditionsApplicationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemConditionsApplicationsRequestBuilder) { + m := &AuthenticationEventsFlowsItemConditionsApplicationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemConditionsApplicationsRequestBuilder instantiates a new ApplicationsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemConditionsApplicationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemConditionsApplicationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemConditionsApplicationsRequestBuilderInternal(urlParams, requestAdapter) +} +// IncludeApplications provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. +func (m *AuthenticationEventsFlowsItemConditionsApplicationsRequestBuilder) IncludeApplications()(*AuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilder) { + return NewAuthenticationEventsFlowsItemConditionsApplicationsIncludeApplicationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} diff --git a/identity/authentication_events_flows_item_conditions_request_builder.go b/identity/authentication_events_flows_item_conditions_request_builder.go new file mode 100644 index 00000000000..5a7063baf0f --- /dev/null +++ b/identity/authentication_events_flows_item_conditions_request_builder.go @@ -0,0 +1,85 @@ +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationEventsFlowsItemConditionsRequestBuilder builds and executes requests for operations under \identity\authenticationEventsFlows\{authenticationEventsFlow-id}\conditions +type AuthenticationEventsFlowsItemConditionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationEventsFlowsItemConditionsRequestBuilderGetQueryParameters the conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. +type AuthenticationEventsFlowsItemConditionsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AuthenticationEventsFlowsItemConditionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemConditionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationEventsFlowsItemConditionsRequestBuilderGetQueryParameters +} +// Applications the applications property +func (m *AuthenticationEventsFlowsItemConditionsRequestBuilder) Applications()(*AuthenticationEventsFlowsItemConditionsApplicationsRequestBuilder) { + return NewAuthenticationEventsFlowsItemConditionsApplicationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewAuthenticationEventsFlowsItemConditionsRequestBuilderInternal instantiates a new ConditionsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemConditionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemConditionsRequestBuilder) { + m := &AuthenticationEventsFlowsItemConditionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions{?%24select,%24expand}", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemConditionsRequestBuilder instantiates a new ConditionsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemConditionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemConditionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemConditionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. +func (m *AuthenticationEventsFlowsItemConditionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemConditionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationConditionsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionsable), nil +} +// ToGetRequestInformation the conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. +func (m *AuthenticationEventsFlowsItemConditionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemConditionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationEventsFlowsItemConditionsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemConditionsRequestBuilder) { + return NewAuthenticationEventsFlowsItemConditionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_authentication_condition_application_app_item_request_builder.go b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_authentication_condition_application_app_item_request_builder.go new file mode 100644 index 00000000000..ae3b4cbe7d4 --- /dev/null +++ b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_authentication_condition_application_app_item_request_builder.go @@ -0,0 +1,160 @@ +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters get includeApplications from identity +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderInternal instantiates a new AuthenticationConditionApplicationAppItemRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) { + m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications/includeApplications/{authenticationConditionApplication%2DappId}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder instantiates a new AuthenticationConditionApplicationAppItemRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property includeApplications for identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get includeApplications from identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationConditionApplicationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable), nil +} +// Patch update the navigation property includeApplications in identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationConditionApplicationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable), nil +} +// ToDeleteRequestInformation delete navigation property includeApplications for identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get includeApplications from identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property includeApplications in identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_count_request_builder.go b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_count_request_builder.go new file mode 100644 index 00000000000..f52e6b06a01 --- /dev/null +++ b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_count_request_builder.go @@ -0,0 +1,80 @@ +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder provides operations to count the resources in the collection. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderGetQueryParameters get the number of the resource +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderGetQueryParameters +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder) { + m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications/includeApplications/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_request_builder.go b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_request_builder.go new file mode 100644 index 00000000000..6240ae0de5e --- /dev/null +++ b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_include_applications_request_builder.go @@ -0,0 +1,151 @@ +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderGetQueryParameters get includeApplications from identity +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderGetQueryParameters +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAuthenticationConditionApplicationAppId provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) ByAuthenticationConditionApplicationAppId(authenticationConditionApplicationAppId string)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if authenticationConditionApplicationAppId != "" { + urlTplParams["authenticationConditionApplication%2DappId"] = authenticationConditionApplicationAppId + } + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsAuthenticationConditionApplicationAppItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderInternal instantiates a new IncludeApplicationsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) { + m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications/includeApplications{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder instantiates a new IncludeApplicationsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) Count()(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get includeApplications from identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationConditionApplicationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationCollectionResponseable), nil +} +// Post create new navigation property to includeApplications for identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationConditionApplicationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable), nil +} +// ToGetRequestInformation get includeApplications from identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to includeApplications for identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionApplicationable, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_request_builder.go b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_request_builder.go new file mode 100644 index 00000000000..315185ab2fa --- /dev/null +++ b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_applications_request_builder.go @@ -0,0 +1,27 @@ +package identity + +import ( + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" +) + +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilder builds and executes requests for operations under \identity\authenticationEventsFlows\{authenticationEventsFlow-id}\graph.externalUsersSelfServiceSignUpEventsFlow\conditions\applications +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilderInternal instantiates a new ApplicationsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilder) { + m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilder instantiates a new ApplicationsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilderInternal(urlParams, requestAdapter) +} +// IncludeApplications provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilder) IncludeApplications()(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsIncludeApplicationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} diff --git a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_request_builder.go b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_request_builder.go new file mode 100644 index 00000000000..77f7eed5da0 --- /dev/null +++ b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_conditions_request_builder.go @@ -0,0 +1,85 @@ +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder builds and executes requests for operations under \identity\authenticationEventsFlows\{authenticationEventsFlow-id}\graph.externalUsersSelfServiceSignUpEventsFlow\conditions +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderGetQueryParameters the conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderGetQueryParameters +} +// Applications the applications property +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder) Applications()(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsApplicationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderInternal instantiates a new ConditionsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder) { + m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions{?%24select,%24expand}", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder instantiates a new ConditionsRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAuthenticationConditionsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AuthenticationConditionsable), nil +} +// ToGetRequestInformation the conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/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_identity_user_flow_attribute_item_request_builder.go b/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_identity_user_flow_attribute_item_request_builder.go index 31dabc7e26e..7035ef5e4a4 100644 --- a/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_identity_user_flow_attribute_item_request_builder.go +++ b/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_identity_user_flow_attribute_item_request_builder.go @@ -1,36 +1,17 @@ package identity import ( - "context" i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder provides operations to manage the attributes property of the microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp entity. +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder builds and executes requests for operations under \identity\authenticationEventsFlows\{authenticationEventsFlow-id}\graph.externalUsersSelfServiceSignUpEventsFlow\onAttributeCollection\graph.onAttributeCollectionExternalUsersSelfServiceSignUp\attributes\{identityUserFlowAttribute-id} type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilderGetQueryParameters get attributes from identity -type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilderGetQueryParameters -} // NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilderInternal instantiates a new IdentityUserFlowAttributeItemRequestBuilder and sets the default values. func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder) { m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/{identityUserFlowAttribute%2Did}{?%24select,%24expand}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/{identityUserFlowAttribute%2Did}", pathParameters), } return m } @@ -40,42 +21,7 @@ func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFl urlParams["request-raw-url"] = rawUrl return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get attributes from identity -func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateIdentityUserFlowAttributeFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeable), nil -} -// ToGetRequestInformation get attributes from identity -func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder) { - return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +// Ref provides operations to manage the collection of identityContainer entities. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder) Ref()(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } diff --git a/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_request_builder.go b/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_request_builder.go new file mode 100644 index 00000000000..6d0fd98dd30 --- /dev/null +++ b/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_request_builder.go @@ -0,0 +1,75 @@ +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder provides operations to manage the collection of identityContainer entities. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderDeleteQueryParameters delete ref of navigation property attributes for identity +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderDeleteQueryParameters struct { + // Delete Uri + Id *string `uriparametername:"%40id"` +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderDeleteQueryParameters +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderInternal instantiates a new RefRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder) { + m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/{identityUserFlowAttribute%2Did}/$ref{?%40id*}", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder instantiates a new RefRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete ref of navigation property attributes for identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToDeleteRequestInformation delete ref of navigation property attributes for identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/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_request_builder.go b/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_request_builder.go new file mode 100644 index 00000000000..eb751ab7351 --- /dev/null +++ b/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_request_builder.go @@ -0,0 +1,129 @@ +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder provides operations to manage the collection of identityContainer entities. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderGetQueryParameters get ref of attributes from identity +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderGetQueryParameters +} +// AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderInternal instantiates a new RefRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) { + m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters), + } + return m +} +// NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder instantiates a new RefRequestBuilder and sets the default values. +func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get ref of attributes from identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) Get(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateStringCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.StringCollectionResponseable), nil +} +// Post create new navigation property ref to attributes for identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToGetRequestInformation get ref of attributes from identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property ref to attributes for identity +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ReferenceCreateable, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) WithUrl(rawUrl string)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/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_request_builder.go b/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_request_builder.go index 009d25475be..63ba52e5d3b 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -39,7 +39,7 @@ type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowO // Request query parameters QueryParameters *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRequestBuilderGetQueryParameters } -// ByIdentityUserFlowAttributeId provides operations to manage the attributes property of the microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp entity. +// ByIdentityUserFlowAttributeId gets an item from the github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.authenticationEventsFlows.item.graphExternalUsersSelfServiceSignUpEventsFlow.onAttributeCollection.graphOnAttributeCollectionExternalUsersSelfServiceSignUp.attributes.item collection func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRequestBuilder) ByIdentityUserFlowAttributeId(identityUserFlowAttributeId string)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesIdentityUserFlowAttributeItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { @@ -86,6 +86,10 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityUserFlowAttributeCollectionResponseable), nil } +// Ref provides operations to manage the collection of identityContainer entities. +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRequestBuilder) Ref()(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation get attributes from identity func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowOnAttributeCollectionGraphOnAttributeCollectionExternalUsersSelfServiceSignUpAttributesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -99,7 +103,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/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_request_builder.go b/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_request_builder.go index 03f9e3376d4..962b0b7a89a 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -63,7 +63,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_on_attribute_collection_request_builder.go b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_on_attribute_collection_request_builder.go index e45cd65f63f..4a89147c48a 100644 --- a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_on_attribute_collection_request_builder.go +++ b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_on_attribute_collection_request_builder.go @@ -76,7 +76,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/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_request_builder.go b/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_request_builder.go index dfdf2c076fe..65e6975c846 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -66,7 +66,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/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_request_builder.go b/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_request_builder.go index 6a9f162432c..4aadd51e73c 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -103,7 +103,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to identityProviders for identity @@ -116,7 +116,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/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_request_builder.go b/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_request_builder.go index d698a5ea229..fc8d9f067aa 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -103,7 +103,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/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_request_builder.go b/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_request_builder.go index 8fc2bebfb83..cab99f784b4 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -63,7 +63,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_on_authentication_method_load_start_request_builder.go b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_on_authentication_method_load_start_request_builder.go index 8b978a6ac6b..a55e95f33fb 100644 --- a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_on_authentication_method_load_start_request_builder.go +++ b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_on_authentication_method_load_start_request_builder.go @@ -76,7 +76,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_request_builder.go b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_request_builder.go index eb089785d9f..e71cf22929d 100644 --- a/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_request_builder.go +++ b/identity/authentication_events_flows_item_graph_external_users_self_service_sign_up_events_flow_request_builder.go @@ -27,6 +27,10 @@ type AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowR // Request query parameters QueryParameters *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilderGetQueryParameters } +// Conditions the conditions property +func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder) Conditions()(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilder) { + return NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowConditionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilderInternal instantiates a new GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder and sets the default values. func NewAuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder) { m := &AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder{ @@ -80,7 +84,7 @@ func (m *AuthenticationEventsFlowsItemGraphExternalUsersSelfServiceSignUpEventsF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/authentication_events_flows_request_builder.go b/identity/authentication_events_flows_request_builder.go index d4a9366a11b..0bcb0a406f3 100644 --- a/identity/authentication_events_flows_request_builder.go +++ b/identity/authentication_events_flows_request_builder.go @@ -135,7 +135,7 @@ func (m *AuthenticationEventsFlowsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *AuthenticationEventsFlowsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go b/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go index 68bc1dcda18..8c9194271c6 100644 --- a/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go +++ b/identity/b2c_user_flows_b2c_identity_user_flow_item_request_builder.go @@ -135,7 +135,7 @@ func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a b2cUserFlow object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *B2cUserFlowsB2cIdentityUserFlowItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go b/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go index 2af3e043d4b..d7761120384 100644 --- a/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go +++ b/identity/b2c_user_flows_item_identity_providers_item_ref_request_builder.go @@ -71,7 +71,7 @@ func (m *B2cUserFlowsItemIdentityProvidersItemRefRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go b/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go index 1dc52ee8dec..9a27b85fcbe 100644 --- a/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go +++ b/identity/b2c_user_flows_item_identity_providers_ref_request_builder.go @@ -112,7 +112,7 @@ func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add identity providers in a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. @@ -126,7 +126,7 @@ func (m *B2cUserFlowsItemIdentityProvidersRefRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_identity_providers_request_builder.go b/identity/b2c_user_flows_item_identity_providers_request_builder.go index 3e2e30e5eb1..fc7d175fe46 100644 --- a/identity/b2c_user_flows_item_identity_providers_request_builder.go +++ b/identity/b2c_user_flows_item_identity_providers_request_builder.go @@ -108,7 +108,7 @@ func (m *B2cUserFlowsItemIdentityProvidersRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go b/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go index 77e864ab218..79b8d62bafd 100644 --- a/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property defaultPages in identity @@ -101,7 +101,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go b/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go index 38ca8cce84d..17c31fcb832 100644 --- a/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_default_pages_request_builder.go @@ -128,7 +128,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to defaultPages for identity @@ -141,7 +141,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go b/identity/b2c_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go index 7c7d0e4356d..d98efa6e6ea 100644 --- a/identity/b2c_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go @@ -122,7 +122,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. @@ -138,7 +138,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property defaultPages in identity @@ -151,7 +151,7 @@ func (m *B2cUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go b/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go index 1d4fab41f42..366305df269 100644 --- a/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property overridesPages in identity @@ -101,7 +101,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go b/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go index bf243212fad..fdc9a791fdc 100644 --- a/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_overrides_pages_request_builder.go @@ -128,7 +128,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to overridesPages for identity @@ -141,7 +141,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go b/identity/b2c_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go index 7fbf34efebb..f6a065185d3 100644 --- a/identity/b2c_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go +++ b/identity/b2c_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go @@ -122,7 +122,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). @@ -138,7 +138,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property overridesPages in identity @@ -151,7 +151,7 @@ func (m *B2cUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_languages_request_builder.go b/identity/b2c_user_flows_item_languages_request_builder.go index c35cb95cfaa..0836f19ef09 100644 --- a/identity/b2c_user_flows_item_languages_request_builder.go +++ b/identity/b2c_user_flows_item_languages_request_builder.go @@ -128,7 +128,7 @@ func (m *B2cUserFlowsItemLanguagesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to languages for identity @@ -141,7 +141,7 @@ func (m *B2cUserFlowsItemLanguagesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go b/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go index 8df86098c16..dc9505bcab5 100644 --- a/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go +++ b/identity/b2c_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go @@ -135,7 +135,7 @@ func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -151,7 +151,7 @@ func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation this method is used to create or update a custom language in an Azure AD B2C user flow. Note: You must enable language customization in the Azure AD B2C user flow before you can create a custom language. For more information, see Update b2cIdentityUserFlow. @@ -164,7 +164,7 @@ func (m *B2cUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go index 234b3962fe1..199bb99af7a 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_get_order_request_builder.go @@ -60,7 +60,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go index dc0424796a6..77a79c3c059 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go @@ -127,7 +127,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go index fa1f1514972..be2acdd1eb7 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go @@ -72,7 +72,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go index b239c693f9e..1116b0a99c6 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_request_builder.go @@ -139,7 +139,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new identityUserFlowAttributeAssignment object in a b2cIdentityUserFlow. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go b/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go index d2a89d509f2..ab10c46b9e2 100644 --- a/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go +++ b/identity/b2c_user_flows_item_user_attribute_assignments_set_order_request_builder.go @@ -59,7 +59,7 @@ func (m *B2cUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go b/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go index afb90de615d..b1b5ff5119b 100644 --- a/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go +++ b/identity/b2c_user_flows_item_user_flow_identity_providers_identity_provider_base_item_request_builder.go @@ -72,7 +72,7 @@ func (m *B2cUserFlowsItemUserFlowIdentityProvidersIdentityProviderBaseItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go b/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go index 76046b8ef9b..828400479e8 100644 --- a/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go +++ b/identity/b2c_user_flows_item_user_flow_identity_providers_request_builder.go @@ -99,7 +99,7 @@ func (m *B2cUserFlowsItemUserFlowIdentityProvidersRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2c_user_flows_request_builder.go b/identity/b2c_user_flows_request_builder.go index 2e71bb5f636..b9825397daa 100644 --- a/identity/b2c_user_flows_request_builder.go +++ b/identity/b2c_user_flows_request_builder.go @@ -131,7 +131,7 @@ func (m *B2cUserFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new b2cIdentityUserFlow object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *B2cUserFlowsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go b/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go index de3a64f78ce..2e57948daa7 100644 --- a/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go +++ b/identity/b2x_user_flows_b2x_identity_user_flow_item_request_builder.go @@ -136,7 +136,7 @@ func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property b2xUserFlows in identity @@ -165,7 +165,7 @@ func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_ref_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_ref_request_builder.go index 37700cde61c..7d20387af38 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_ref_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_ref_request_builder.go @@ -106,7 +106,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRefRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get ref of postAttributeCollection from identity @@ -119,7 +119,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRefRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the ref of navigation property postAttributeCollection in identity @@ -132,7 +132,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRefRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_request_builder.go index 38fb000d9a4..0496fedf783 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_request_builder.go @@ -122,7 +122,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get postAttributeCollection from identity @@ -138,7 +138,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property postAttributeCollection in identity @@ -151,7 +151,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go index c7fc3e6d8da..e2695dfc796 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_attribute_collection_upload_client_certificate_request_builder.go @@ -63,7 +63,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostAttributeCollectionUploadC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_ref_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_ref_request_builder.go index 6b39990e304..faaf6a5e9fe 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_ref_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_ref_request_builder.go @@ -106,7 +106,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRefRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get ref of postFederationSignup from identity @@ -119,7 +119,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRefRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the ref of navigation property postFederationSignup in identity @@ -132,7 +132,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRefRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_request_builder.go index 8146ef9a3cc..804b756c016 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_request_builder.go @@ -122,7 +122,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get postFederationSignup from identity @@ -138,7 +138,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property postFederationSignup in identity @@ -151,7 +151,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go index f8ad46bafd6..c692e8c9dc2 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_post_federation_signup_upload_client_certificate_request_builder.go @@ -63,7 +63,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPostFederationSignupUploadClie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_request_builder.go index 6b5eb7796dd..98007290875 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_request_builder.go @@ -118,7 +118,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get preTokenIssuance from identity @@ -134,7 +134,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property preTokenIssuance in identity @@ -147,7 +147,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go index 78cacc76990..508934663ab 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_pre_token_issuance_upload_client_certificate_request_builder.go @@ -63,7 +63,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationPreTokenIssuanceUploadClientCe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_api_connector_configuration_request_builder.go b/identity/b2x_user_flows_item_api_connector_configuration_request_builder.go index d77f0bbe8d1..5c4135edb0a 100644 --- a/identity/b2x_user_flows_item_api_connector_configuration_request_builder.go +++ b/identity/b2x_user_flows_item_api_connector_configuration_request_builder.go @@ -84,7 +84,7 @@ func (m *B2xUserFlowsItemApiConnectorConfigurationRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go b/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go index be80e9e9b39..c94a42581f7 100644 --- a/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go +++ b/identity/b2x_user_flows_item_identity_providers_identity_provider_item_request_builder.go @@ -98,7 +98,7 @@ func (m *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get identityProviders from identity @@ -115,7 +115,7 @@ func (m *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2x_user_flows_item_identity_providers_request_builder.go b/identity/b2x_user_flows_item_identity_providers_request_builder.go index 755b6c27257..60185276a94 100644 --- a/identity/b2x_user_flows_item_identity_providers_request_builder.go +++ b/identity/b2x_user_flows_item_identity_providers_request_builder.go @@ -105,7 +105,7 @@ func (m *B2xUserFlowsItemIdentityProvidersRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go b/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go index 95a7aa39d6a..994fa860516 100644 --- a/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_default_pages_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property defaultPages in identity @@ -101,7 +101,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesItemValueContentRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go b/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go index 11329bf3128..666404fa235 100644 --- a/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_default_pages_request_builder.go @@ -128,7 +128,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to defaultPages for identity @@ -141,7 +141,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go b/identity/b2x_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go index 197b35bbf62..ce54e657b99 100644 --- a/identity/b2x_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_default_pages_user_flow_language_page_item_request_builder.go @@ -122,7 +122,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification. @@ -138,7 +138,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property defaultPages in identity @@ -151,7 +151,7 @@ func (m *B2xUserFlowsItemLanguagesItemDefaultPagesUserFlowLanguagePageItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go b/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go index 9a502060d12..27430805cbf 100644 --- a/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_overrides_pages_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property overridesPages in identity @@ -101,7 +101,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesItemValueContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go b/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go index 824ea8668c9..14d4b021015 100644 --- a/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_overrides_pages_request_builder.go @@ -128,7 +128,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to overridesPages for identity @@ -141,7 +141,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go b/identity/b2x_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go index 6e32823857c..f168e5bbacc 100644 --- a/identity/b2x_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go +++ b/identity/b2x_user_flows_item_languages_item_overrides_pages_user_flow_language_page_item_request_builder.go @@ -122,7 +122,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages). @@ -138,7 +138,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property overridesPages in identity @@ -151,7 +151,7 @@ func (m *B2xUserFlowsItemLanguagesItemOverridesPagesUserFlowLanguagePageItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_languages_request_builder.go b/identity/b2x_user_flows_item_languages_request_builder.go index 28cacd17f78..86364f747ff 100644 --- a/identity/b2x_user_flows_item_languages_request_builder.go +++ b/identity/b2x_user_flows_item_languages_request_builder.go @@ -128,7 +128,7 @@ func (m *B2xUserFlowsItemLanguagesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to languages for identity @@ -141,7 +141,7 @@ func (m *B2xUserFlowsItemLanguagesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go b/identity/b2x_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go index ae766eab98e..d12bd5d3976 100644 --- a/identity/b2x_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go +++ b/identity/b2x_user_flows_item_languages_user_flow_language_configuration_item_request_builder.go @@ -126,7 +126,7 @@ func (m *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the languages supported for customization within the user flow. Language customization is enabled by default in self-service sign-up user flow. You can't create custom languages in self-service sign-up user flows. @@ -142,7 +142,7 @@ func (m *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property languages in identity @@ -155,7 +155,7 @@ func (m *B2xUserFlowsItemLanguagesUserFlowLanguageConfigurationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go index c5f83862b3c..019504122ff 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_get_order_request_builder.go @@ -60,7 +60,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsGetOrderRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go index 014e7502648..6bda5b805be 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_identity_user_flow_attribute_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user attribute assignments included in the user flow. @@ -134,7 +134,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userAttributeAssignments in identity @@ -147,7 +147,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsIdentityUserFlowAttributeAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go index 73bc87b74ac..21540b17735 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_item_user_attribute_request_builder.go @@ -72,7 +72,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsItemUserAttributeRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go index bdbed817e3e..5b5f044f802 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_request_builder.go @@ -139,7 +139,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go b/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go index 95fb7e496dc..86af99b655d 100644 --- a/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go +++ b/identity/b2x_user_flows_item_user_attribute_assignments_set_order_request_builder.go @@ -59,7 +59,7 @@ func (m *B2xUserFlowsItemUserAttributeAssignmentsSetOrderRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_user_flow_identity_providers_item_ref_request_builder.go b/identity/b2x_user_flows_item_user_flow_identity_providers_item_ref_request_builder.go index e63a473d88b..d920ae3a7bb 100644 --- a/identity/b2x_user_flows_item_user_flow_identity_providers_item_ref_request_builder.go +++ b/identity/b2x_user_flows_item_user_flow_identity_providers_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *B2xUserFlowsItemUserFlowIdentityProvidersItemRefRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go b/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go index d70d650b43a..a183a86464a 100644 --- a/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go +++ b/identity/b2x_user_flows_item_user_flow_identity_providers_ref_request_builder.go @@ -103,7 +103,7 @@ func (m *B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to userFlowIdentityProviders for identity @@ -116,7 +116,7 @@ func (m *B2xUserFlowsItemUserFlowIdentityProvidersRefRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/b2x_user_flows_item_user_flow_identity_providers_request_builder.go b/identity/b2x_user_flows_item_user_flow_identity_providers_request_builder.go index 5a88f476409..c14d50e61fd 100644 --- a/identity/b2x_user_flows_item_user_flow_identity_providers_request_builder.go +++ b/identity/b2x_user_flows_item_user_flow_identity_providers_request_builder.go @@ -103,7 +103,7 @@ func (m *B2xUserFlowsItemUserFlowIdentityProvidersRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/b2x_user_flows_request_builder.go b/identity/b2x_user_flows_request_builder.go index 89b3a040402..d2f203ba49c 100644 --- a/identity/b2x_user_flows_request_builder.go +++ b/identity/b2x_user_flows_request_builder.go @@ -131,7 +131,7 @@ func (m *B2xUserFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new b2xIdentityUserFlow object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *B2xUserFlowsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go b/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go index 16d4021c8ee..ddcc7757fef 100644 --- a/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go +++ b/identity/conditional_access_authentication_context_class_references_authentication_context_class_reference_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a authenticationContextClassReference object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an authenticationContextClassReference object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesAuthenticationCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_context_class_references_request_builder.go b/identity/conditional_access_authentication_context_class_references_request_builder.go index 55eeafa28d4..483b6f85cb4 100644 --- a/identity/conditional_access_authentication_context_class_references_request_builder.go +++ b/identity/conditional_access_authentication_context_class_references_request_builder.go @@ -131,7 +131,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new authenticationContextClassReference. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ConditionalAccessAuthenticationContextClassReferencesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strength_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go b/identity/conditional_access_authentication_strength_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go index 6bfbdeeaf79..267bb31a87f 100644 --- a/identity/conditional_access_authentication_strength_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go +++ b/identity/conditional_access_authentication_strength_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesAuthent requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation names and descriptions of all valid authentication method modes in the system. @@ -134,7 +134,7 @@ func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesAuthent requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authenticationMethodModes in identity @@ -147,7 +147,7 @@ func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesAuthent requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go index 10be2e66d2f..d9c085b3d63 100644 --- a/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strength_authentication_method_modes_request_builder.go @@ -128,7 +128,7 @@ func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to authenticationMethodModes for identity @@ -141,7 +141,7 @@ func (m *ConditionalAccessAuthenticationStrengthAuthenticationMethodModesRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strength_policies_authentication_strength_policy_item_request_builder.go b/identity/conditional_access_authentication_strength_policies_authentication_strength_policy_item_request_builder.go index 4d06bf30810..a74a2de3f67 100644 --- a/identity/conditional_access_authentication_strength_policies_authentication_strength_policy_item_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_authentication_strength_policy_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesAuthenticationStrengthPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of authentication strength policies that exist for this tenant, including both built-in and custom policies. @@ -138,7 +138,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesAuthenticationStrengthPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policies in identity @@ -151,7 +151,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesAuthenticationStrengthPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go index 59a08d5d60f..735f53ae84a 100644 --- a/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go @@ -106,7 +106,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesFindByMethodModeWithAuth requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go index 5e62f6a47bc..d93ea818cf8 100644 --- a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go index 9f16b4efa38..83eb3a5c275 100644 --- a/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_combination_configurations_request_builder.go @@ -131,7 +131,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations might be created, and only for custom authentication strength policies. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemCombinationConfigura requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go index 18c17179904..59fac6f7f15 100644 --- a/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_update_allowed_combinations_request_builder.go @@ -63,7 +63,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemUpdateAllowedCombina requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go b/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go index 798fd642f82..baddf7a3994 100644 --- a/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_item_usage_request_builder.go @@ -60,7 +60,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesItemUsageRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/conditional_access_authentication_strength_policies_request_builder.go b/identity/conditional_access_authentication_strength_policies_request_builder.go index 66ce11fb3ef..9457103c20f 100644 --- a/identity/conditional_access_authentication_strength_policies_request_builder.go +++ b/identity/conditional_access_authentication_strength_policies_request_builder.go @@ -130,7 +130,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to policies for identity @@ -143,7 +143,7 @@ func (m *ConditionalAccessAuthenticationStrengthPoliciesRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strength_request_builder.go b/identity/conditional_access_authentication_strength_request_builder.go index 922a797ae40..ee620ad8013 100644 --- a/identity/conditional_access_authentication_strength_request_builder.go +++ b/identity/conditional_access_authentication_strength_request_builder.go @@ -126,7 +126,7 @@ func (m *ConditionalAccessAuthenticationStrengthRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation defines the authentication strength policies, valid authentication method combinations, and authentication method mode details that can be required by a conditional access policy. @@ -142,7 +142,7 @@ func (m *ConditionalAccessAuthenticationStrengthRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authenticationStrength in identity @@ -155,7 +155,7 @@ func (m *ConditionalAccessAuthenticationStrengthRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strengths_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go b/identity/conditional_access_authentication_strengths_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go index de771317b94..604f9e909c8 100644 --- a/identity/conditional_access_authentication_strengths_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go +++ b/identity/conditional_access_authentication_strengths_authentication_method_modes_authentication_method_mode_detail_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesAuthen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation names and descriptions of all valid authentication method modes in the system. @@ -139,7 +139,7 @@ func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesAuthen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authenticationMethodModes in identity @@ -153,7 +153,7 @@ func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesAuthen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go index fe9afe7d20f..6c1ff1953c7 100644 --- a/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strengths_authentication_method_modes_request_builder.go @@ -132,7 +132,7 @@ func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to authenticationMethodModes for identity @@ -146,7 +146,7 @@ func (m *ConditionalAccessAuthenticationStrengthsAuthenticationMethodModesReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strengths_policies_authentication_strength_policy_item_request_builder.go b/identity/conditional_access_authentication_strengths_policies_authentication_strength_policy_item_request_builder.go index 8a03a4b695c..2fa84c54192 100644 --- a/identity/conditional_access_authentication_strengths_policies_authentication_strength_policy_item_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_authentication_strength_policy_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesAuthenticationStrengthP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of authentication strength policies that exist for this tenant, including both built-in and custom policies. @@ -143,7 +143,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesAuthenticationStrengthP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policies in identity @@ -157,7 +157,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesAuthenticationStrengthP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go b/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go index d7644188657..ac6c87866c0 100644 --- a/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go @@ -106,7 +106,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesFindByMethodModeWithAut requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go index 80ed6950974..3d867dfee0b 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -162,7 +162,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go index 64e4faf5088..a2e1429b2af 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_combination_configurations_request_builder.go @@ -135,7 +135,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations might be created, and only for custom authentication strength policies. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemCombinationConfigur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go index fe07d48a3f7..944120f4a71 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_update_allowed_combinations_request_builder.go @@ -65,7 +65,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemUpdateAllowedCombin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go b/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go index 56b5b2ca30c..3e4f608daee 100644 --- a/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_item_usage_request_builder.go @@ -62,7 +62,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesItemUsageRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/conditional_access_authentication_strengths_policies_request_builder.go b/identity/conditional_access_authentication_strengths_policies_request_builder.go index 4ba3d105228..7e1aa8bb404 100644 --- a/identity/conditional_access_authentication_strengths_policies_request_builder.go +++ b/identity/conditional_access_authentication_strengths_policies_request_builder.go @@ -134,7 +134,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to policies for identity @@ -148,7 +148,7 @@ func (m *ConditionalAccessAuthenticationStrengthsPoliciesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_authentication_strengths_request_builder.go b/identity/conditional_access_authentication_strengths_request_builder.go index 8c5922702a1..2184edf328a 100644 --- a/identity/conditional_access_authentication_strengths_request_builder.go +++ b/identity/conditional_access_authentication_strengths_request_builder.go @@ -130,7 +130,7 @@ func (m *ConditionalAccessAuthenticationStrengthsRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get authenticationStrengths from identity @@ -147,7 +147,7 @@ func (m *ConditionalAccessAuthenticationStrengthsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authenticationStrengths in identity @@ -161,7 +161,7 @@ func (m *ConditionalAccessAuthenticationStrengthsRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_named_locations_named_location_item_request_builder.go b/identity/conditional_access_named_locations_named_location_item_request_builder.go index a9b42ba4ab1..5b56486f75e 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -95,10 +95,10 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// Patch update the properties of a countryNamedLocation object. This API is available in the following national cloud deployments. +// Patch update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a namedLocation object. This API is available in the following national cloud deployments. @@ -143,10 +143,10 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of a countryNamedLocation object. This API is available in the following national cloud deployments. +// ToPatchRequestInformation update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -156,7 +156,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_named_locations_request_builder.go b/identity/conditional_access_named_locations_request_builder.go index a81ec2e09df..e01a80f6951 100644 --- a/identity/conditional_access_named_locations_request_builder.go +++ b/identity/conditional_access_named_locations_request_builder.go @@ -131,7 +131,7 @@ func (m *ConditionalAccessNamedLocationsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ConditionalAccessNamedLocationsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go b/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go index fd29c69feae..3c15f967a89 100644 --- a/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go +++ b/identity/conditional_access_policies_conditional_access_policy_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_policies_request_builder.go b/identity/conditional_access_policies_request_builder.go index 35403ac5355..108986ffe42 100644 --- a/identity/conditional_access_policies_request_builder.go +++ b/identity/conditional_access_policies_request_builder.go @@ -131,7 +131,7 @@ func (m *ConditionalAccessPoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new conditionalAccessPolicy. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ConditionalAccessPoliciesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_request_builder.go b/identity/conditional_access_request_builder.go index 553ec7b94ca..fe975fd89d9 100644 --- a/identity/conditional_access_request_builder.go +++ b/identity/conditional_access_request_builder.go @@ -142,7 +142,7 @@ func (m *ConditionalAccessRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the entry point for the Conditional Access (CA) object model. @@ -158,7 +158,7 @@ func (m *ConditionalAccessRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property conditionalAccess in identity @@ -171,7 +171,7 @@ func (m *ConditionalAccessRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/conditional_access_templates_conditional_access_template_item_request_builder.go b/identity/conditional_access_templates_conditional_access_template_item_request_builder.go index ef17d64c853..c38047b3d73 100644 --- a/identity/conditional_access_templates_conditional_access_template_item_request_builder.go +++ b/identity/conditional_access_templates_conditional_access_template_item_request_builder.go @@ -75,7 +75,7 @@ func (m *ConditionalAccessTemplatesConditionalAccessTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/conditional_access_templates_request_builder.go b/identity/conditional_access_templates_request_builder.go index 89cc4a756f6..2263a9a117e 100644 --- a/identity/conditional_access_templates_request_builder.go +++ b/identity/conditional_access_templates_request_builder.go @@ -102,7 +102,7 @@ func (m *ConditionalAccessTemplatesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/continuous_access_evaluation_policy_request_builder.go b/identity/continuous_access_evaluation_policy_request_builder.go index ea4e63e9c06..50817e3f135 100644 --- a/identity/continuous_access_evaluation_policy_request_builder.go +++ b/identity/continuous_access_evaluation_policy_request_builder.go @@ -124,7 +124,7 @@ func (m *ContinuousAccessEvaluationPolicyRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a continuousAccessEvaluationPolicy object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ContinuousAccessEvaluationPolicyRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a continuousAccessEvaluationPolicy object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ContinuousAccessEvaluationPolicyRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go b/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go index 2f2ad04b9df..b2daf405a48 100644 --- a/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go +++ b/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go @@ -18,7 +18,7 @@ type CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetQueryParameters 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. +// CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of a customAuthenticationExtension object. This API is available in the following national cloud deployments. type CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,10 +73,10 @@ func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestB } return nil } -// Get 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. +// Get read the properties and relationships of a customAuthenticationExtension object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/authenticationeventlistener-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/customauthenticationextension-get?view=graph-rest-1.0 func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAuthenticationExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,10 +124,10 @@ func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation read the properties and relationships of a customAuthenticationExtension object. This API is available in the following national cloud deployments. func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -140,7 +140,7 @@ func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customAuthenticationExtensions in identity @@ -153,7 +153,7 @@ func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go b/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go index e8de157327a..71af5cafa30 100644 --- a/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go +++ b/identity/custom_authentication_extensions_item_validate_authentication_configuration_request_builder.go @@ -63,7 +63,7 @@ func (m *CustomAuthenticationExtensionsItemValidateAuthenticationConfigurationRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/custom_authentication_extensions_request_builder.go b/identity/custom_authentication_extensions_request_builder.go index d89d5c6ebfc..39a8096584d 100644 --- a/identity/custom_authentication_extensions_request_builder.go +++ b/identity/custom_authentication_extensions_request_builder.go @@ -131,7 +131,7 @@ func (m *CustomAuthenticationExtensionsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new customAuthenticationExtension object. Only the onTokenIssuanceStartCustomExtension object type is supported. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CustomAuthenticationExtensionsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/custom_authentication_extensions_validate_authentication_configuration_request_builder.go b/identity/custom_authentication_extensions_validate_authentication_configuration_request_builder.go index f43b2961931..e66c0672293 100644 --- a/identity/custom_authentication_extensions_validate_authentication_configuration_request_builder.go +++ b/identity/custom_authentication_extensions_validate_authentication_configuration_request_builder.go @@ -60,7 +60,7 @@ func (m *CustomAuthenticationExtensionsValidateAuthenticationConfigurationReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/identity_providers_available_provider_types_request_builder.go b/identity/identity_providers_available_provider_types_request_builder.go index bd9fc1d6fb8..05c2fec7c1d 100644 --- a/identity/identity_providers_available_provider_types_request_builder.go +++ b/identity/identity_providers_available_provider_types_request_builder.go @@ -97,7 +97,7 @@ func (m *IdentityProvidersAvailableProviderTypesRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identity/identity_providers_identity_provider_base_item_request_builder.go b/identity/identity_providers_identity_provider_base_item_request_builder.go index 28a1792a1e3..254678a7304 100644 --- a/identity/identity_providers_identity_provider_base_item_request_builder.go +++ b/identity/identity_providers_identity_provider_base_item_request_builder.go @@ -127,7 +127,7 @@ func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/identity_providers_request_builder.go b/identity/identity_providers_request_builder.go index f4b793ec511..29c51d8aaad 100644 --- a/identity/identity_providers_request_builder.go +++ b/identity/identity_providers_request_builder.go @@ -135,7 +135,7 @@ func (m *IdentityProvidersRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *IdentityProvidersRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/identity_request_builder.go b/identity/identity_request_builder.go index 07d1e339592..d5f742f1852 100644 --- a/identity/identity_request_builder.go +++ b/identity/identity_request_builder.go @@ -134,7 +134,7 @@ func (m *IdentityRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update identity @@ -147,7 +147,7 @@ func (m *IdentityRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go b/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go index da4c1008335..33be24356cc 100644 --- a/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go +++ b/identity/user_flow_attributes_identity_user_flow_attribute_item_request_builder.go @@ -127,7 +127,7 @@ func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a identityUserFlowAttribute object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a custom identityUserFlowAttribute object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *UserFlowAttributesIdentityUserFlowAttributeItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/user_flow_attributes_request_builder.go b/identity/user_flow_attributes_request_builder.go index 31fc5386890..d0a8832c464 100644 --- a/identity/user_flow_attributes_request_builder.go +++ b/identity/user_flow_attributes_request_builder.go @@ -131,7 +131,7 @@ func (m *UserFlowAttributesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new custom identityUserFlowAttribute object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *UserFlowAttributesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/user_flows_identity_user_flow_item_request_builder.go b/identity/user_flows_identity_user_flow_item_request_builder.go index 51c451cc4ef..8d2cd2d55bb 100644 --- a/identity/user_flows_identity_user_flow_item_request_builder.go +++ b/identity/user_flows_identity_user_flow_item_request_builder.go @@ -128,7 +128,7 @@ func (m *UserFlowsIdentityUserFlowItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and associations for an userFlow object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *UserFlowsIdentityUserFlowItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userFlows in identity @@ -159,7 +159,7 @@ func (m *UserFlowsIdentityUserFlowItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identity/user_flows_request_builder.go b/identity/user_flows_request_builder.go index 039091d30a0..4eecc0de65c 100644 --- a/identity/user_flows_request_builder.go +++ b/identity/user_flows_request_builder.go @@ -135,7 +135,7 @@ func (m *UserFlowsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new userFlow object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *UserFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/0e58f5060bf23e62fe9ce624ba40c487237bba9c288f61c2d3d7ddc1534fac94.go b/identitygovernance/0e58f5060bf23e62fe9ce624ba40c487237bba9c288f61c2d3d7ddc1534fac94.go index 2c899a329aa..1bc8853a092 100644 --- a/identitygovernance/0e58f5060bf23e62fe9ce624ba40c487237bba9c288f61c2d3d7ddc1534fac94.go +++ b/identitygovernance/0e58f5060bf23e62fe9ce624ba40c487237bba9c288f61c2d3d7ddc1534fac94.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/1e3a2639d24b732c9149f9e5090c1dc0cd4f3b8276644941cc96b7be53dc79e8.go b/identitygovernance/1e3a2639d24b732c9149f9e5090c1dc0cd4f3b8276644941cc96b7be53dc79e8.go index a0ef64ba1fc..d4aa8d778a7 100644 --- a/identitygovernance/1e3a2639d24b732c9149f9e5090c1dc0cd4f3b8276644941cc96b7be53dc79e8.go +++ b/identitygovernance/1e3a2639d24b732c9149f9e5090c1dc0cd4f3b8276644941cc96b7be53dc79e8.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/2165b1a5a0801c058153f985466717482125f489ec89e0c0c26b9ae23894afe1.go b/identitygovernance/2165b1a5a0801c058153f985466717482125f489ec89e0c0c26b9ae23894afe1.go index 327f347bc35..d3b46d9ed5c 100644 --- a/identitygovernance/2165b1a5a0801c058153f985466717482125f489ec89e0c0c26b9ae23894afe1.go +++ b/identitygovernance/2165b1a5a0801c058153f985466717482125f489ec89e0c0c26b9ae23894afe1.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/32b5de16766a159e08a93a7acb0b23b504c0caba5a4491697122a81d98669719.go b/identitygovernance/32b5de16766a159e08a93a7acb0b23b504c0caba5a4491697122a81d98669719.go index f0324141345..7279cda0dbe 100644 --- a/identitygovernance/32b5de16766a159e08a93a7acb0b23b504c0caba5a4491697122a81d98669719.go +++ b/identitygovernance/32b5de16766a159e08a93a7acb0b23b504c0caba5a4491697122a81d98669719.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/36939b8a53b81e77d59cee43bad3c4d1696f68d82a95941fb9ff47f189d5bd31.go b/identitygovernance/36939b8a53b81e77d59cee43bad3c4d1696f68d82a95941fb9ff47f189d5bd31.go index 64f6f37b479..1cd0c953979 100644 --- a/identitygovernance/36939b8a53b81e77d59cee43bad3c4d1696f68d82a95941fb9ff47f189d5bd31.go +++ b/identitygovernance/36939b8a53b81e77d59cee43bad3c4d1696f68d82a95941fb9ff47f189d5bd31.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/38e106f391f0c4ed27c50dac3d3f10ebb928a6c58cc3fafc6d64403003c886c0.go b/identitygovernance/38e106f391f0c4ed27c50dac3d3f10ebb928a6c58cc3fafc6d64403003c886c0.go index 7c5c61b2e9b..c06b38dcf9f 100644 --- a/identitygovernance/38e106f391f0c4ed27c50dac3d3f10ebb928a6c58cc3fafc6d64403003c886c0.go +++ b/identitygovernance/38e106f391f0c4ed27c50dac3d3f10ebb928a6c58cc3fafc6d64403003c886c0.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/456c30588ae7a6a0f50f78c4b8c25c473ae2dc7fb4d82074094003cb88c7a552.go b/identitygovernance/456c30588ae7a6a0f50f78c4b8c25c473ae2dc7fb4d82074094003cb88c7a552.go index 4c18d49d6c6..b6991de4c7f 100644 --- a/identitygovernance/456c30588ae7a6a0f50f78c4b8c25c473ae2dc7fb4d82074094003cb88c7a552.go +++ b/identitygovernance/456c30588ae7a6a0f50f78c4b8c25c473ae2dc7fb4d82074094003cb88c7a552.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/4ed300c0ea58a179d1a8cb2ec0d4aeca4893dac3c15113bbf55a129c0cbe2258.go b/identitygovernance/4ed300c0ea58a179d1a8cb2ec0d4aeca4893dac3c15113bbf55a129c0cbe2258.go index fe0c9b1f5ea..0da08c86160 100644 --- a/identitygovernance/4ed300c0ea58a179d1a8cb2ec0d4aeca4893dac3c15113bbf55a129c0cbe2258.go +++ b/identitygovernance/4ed300c0ea58a179d1a8cb2ec0d4aeca4893dac3c15113bbf55a129c0cbe2258.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -139,7 +139,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -153,7 +153,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/5aeb8df01b99c7fbe44ccf4152d4c54e197f3e4c7f376514253e33d4a6f4457e.go b/identitygovernance/5aeb8df01b99c7fbe44ccf4152d4c54e197f3e4c7f376514253e33d4a6f4457e.go index 6f25863ba00..95b1c0a74d8 100644 --- a/identitygovernance/5aeb8df01b99c7fbe44ccf4152d4c54e197f3e4c7f376514253e33d4a6f4457e.go +++ b/identitygovernance/5aeb8df01b99c7fbe44ccf4152d4c54e197f3e4c7f376514253e33d4a6f4457e.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/5d94c1d55d665549da1395ece49da4e8c25ecff07ca2bc5d0652d4a74c270ec4.go b/identitygovernance/5d94c1d55d665549da1395ece49da4e8c25ecff07ca2bc5d0652d4a74c270ec4.go index 8b86a4b06aa..845efe8bd2e 100644 --- a/identitygovernance/5d94c1d55d665549da1395ece49da4e8c25ecff07ca2bc5d0652d4a74c270ec4.go +++ b/identitygovernance/5d94c1d55d665549da1395ece49da4e8c25ecff07ca2bc5d0652d4a74c270ec4.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/6fcde8fe5633d7c1f9a4efefa7c40971e441cda70cd83b8ae3b19a1ec2e3fe1a.go b/identitygovernance/6fcde8fe5633d7c1f9a4efefa7c40971e441cda70cd83b8ae3b19a1ec2e3fe1a.go index 9283630c1ca..a98df02c12f 100644 --- a/identitygovernance/6fcde8fe5633d7c1f9a4efefa7c40971e441cda70cd83b8ae3b19a1ec2e3fe1a.go +++ b/identitygovernance/6fcde8fe5633d7c1f9a4efefa7c40971e441cda70cd83b8ae3b19a1ec2e3fe1a.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/843c675234151b126994c6ba74b7a5bb3029f3dbf5bee4db9be4040b93ac9df8.go b/identitygovernance/843c675234151b126994c6ba74b7a5bb3029f3dbf5bee4db9be4040b93ac9df8.go index 9c59f85ab47..b1d3e87e2c2 100644 --- a/identitygovernance/843c675234151b126994c6ba74b7a5bb3029f3dbf5bee4db9be4040b93ac9df8.go +++ b/identitygovernance/843c675234151b126994c6ba74b7a5bb3029f3dbf5bee4db9be4040b93ac9df8.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/8d80635c7d6788297f80a9adf158602d0df7ca57a38ac6054ab688e71688ab33.go b/identitygovernance/8d80635c7d6788297f80a9adf158602d0df7ca57a38ac6054ab688e71688ab33.go index 12d9cc841e3..b11531cf4bf 100644 --- a/identitygovernance/8d80635c7d6788297f80a9adf158602d0df7ca57a38ac6054ab688e71688ab33.go +++ b/identitygovernance/8d80635c7d6788297f80a9adf158602d0df7ca57a38ac6054ab688e71688ab33.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/938fe6c162a8ed4a212b9ffc64a259e3bd0c01b8eb4ba34dcef28435196b2b69.go b/identitygovernance/938fe6c162a8ed4a212b9ffc64a259e3bd0c01b8eb4ba34dcef28435196b2b69.go index 983af608ba3..9fd22cc7d18 100644 --- a/identitygovernance/938fe6c162a8ed4a212b9ffc64a259e3bd0c01b8eb4ba34dcef28435196b2b69.go +++ b/identitygovernance/938fe6c162a8ed4a212b9ffc64a259e3bd0c01b8eb4ba34dcef28435196b2b69.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/ab3124d74ec90b99f715f8d0b36eaa7023a390edc62c5f457a4d805cd4cb7d4f.go b/identitygovernance/ab3124d74ec90b99f715f8d0b36eaa7023a390edc62c5f457a4d805cd4cb7d4f.go index e4ff795aed7..6c4d5126a0e 100644 --- a/identitygovernance/ab3124d74ec90b99f715f8d0b36eaa7023a390edc62c5f457a4d805cd4cb7d4f.go +++ b/identitygovernance/ab3124d74ec90b99f715f8d0b36eaa7023a390edc62c5f457a4d805cd4cb7d4f.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_decisions_access_review_instance_decision_item_item_request_builder.go index 29451bd0c8b..2088771c2f4 100644 --- a/identitygovernance/access_reviews_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_access_review_instance_decision_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *AccessReviewsDecisionsAccessReviewInstanceDecisionItemItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents a Microsoft Entra access review decision on an instance of a review. @@ -142,7 +142,7 @@ func (m *AccessReviewsDecisionsAccessReviewInstanceDecisionItemItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property decisions in identityGovernance @@ -155,7 +155,7 @@ func (m *AccessReviewsDecisionsAccessReviewInstanceDecisionItemItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go index b04f4ebc26f..f35b561a311 100644 --- a/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDecisionsFilterByCurrentUserWithOnRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_insights_governance_insight_item_request_builder.go index a5bf85e2d78..385556c6073 100644 --- a/identitygovernance/access_reviews_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDecisionsItemInsightsGovernanceInsightItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *AccessReviewsDecisionsItemInsightsGovernanceInsightItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDecisionsItemInsightsGovernanceInsightItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_decisions_item_insights_request_builder.go index 08ef688de4b..e712aae9223 100644 --- a/identitygovernance/access_reviews_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewsDecisionsItemInsightsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for identityGovernance @@ -138,7 +138,7 @@ func (m *AccessReviewsDecisionsItemInsightsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go index bc8645f6565..8761c509a78 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_accept_recommendations_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDecisionsItemInstanceAcceptRecommendationsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go index e06446d94a4..9f065640d6a 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_apply_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDecisionsItemInstanceApplyDecisionsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go index 905c2c5f361..2817bfd9009 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_batch_record_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDecisionsItemInstanceBatchRecordDecisionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go index c21ae3bd203..c8d930cefd8 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDecisionsItemInstanceContactedReviewersAccessReviewReviewe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. @@ -134,7 +134,7 @@ func (m *AccessReviewsDecisionsItemInstanceContactedReviewersAccessReviewReviewe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contactedReviewers in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDecisionsItemInstanceContactedReviewersAccessReviewReviewe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go index 1d369100477..e29fdadf7a0 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_contacted_reviewers_request_builder.go @@ -128,7 +128,7 @@ func (m *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contactedReviewers for identityGovernance @@ -141,7 +141,7 @@ func (m *AccessReviewsDecisionsItemInstanceContactedReviewersRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go index 56c53cf57f0..2f1c635c0c8 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecision requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecision requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property decisions in identityGovernance @@ -154,7 +154,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsAccessReviewInstanceDecision requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go index b9452b22062..737d50a2157 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsFilterByCurrentUserWithOnReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go index 70b790092cf..77cb41b0dc0 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsGovernanceInsigh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsGovernanceInsigh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsGovernanceInsigh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_request_builder.go index 830d2ad268e..9b5e1b162b6 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for identityGovernance @@ -138,7 +138,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsItemInsightsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go index ff4ac953563..7f3d923ef06 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsRecordAllDecisionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go index 78187c2fbd2..306176a3867 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_decisions_request_builder.go @@ -136,7 +136,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for identityGovernance @@ -149,7 +149,7 @@ func (m *AccessReviewsDecisionsItemInstanceDecisionsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_definition_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_definition_request_builder.go index 529f801fe84..36acbf53cfd 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_definition_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *AccessReviewsDecisionsItemInstanceDefinitionRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_instance_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_request_builder.go index 96620eea44a..d5cd665e407 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_request_builder.go @@ -162,7 +162,7 @@ func (m *AccessReviewsDecisionsItemInstanceRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation there is exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. @@ -178,7 +178,7 @@ func (m *AccessReviewsDecisionsItemInstanceRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property instance in identityGovernance @@ -191,7 +191,7 @@ func (m *AccessReviewsDecisionsItemInstanceRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go index 8a9060d60a6..0819c5106d4 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_reset_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDecisionsItemInstanceResetDecisionsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go index a3b22f206fa..fbd944613ea 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_send_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDecisionsItemInstanceSendReminderRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go index 8fe994b8b45..b4b9396a0df 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_access_review_stage_item_request_builder.go @@ -132,7 +132,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -161,7 +161,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesAccessReviewStageItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go index 377ea3dde4f..d1a26fc9f44 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesFilterByCurrentUserWithOnReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index fd634e824e2..7c710dc8919 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -128,7 +128,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstan requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstan requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsAccessReviewInstan requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index a7ba13dab32..6b8b5281af9 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsFilterByCurrentUse requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go index f19a86e1405..a70492d7fae 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsGovern requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsGovern requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsGovern requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go index 9c1e6ad4bb1..4566e00c9f0 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for identityGovernance @@ -138,7 +138,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsItemInsightsReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go index f2a413fb263..8c6f65299e1 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRecordAllDecisions requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go index de9454d1480..debcb1b4f94 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_decisions_request_builder.go @@ -136,7 +136,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for identityGovernance @@ -149,7 +149,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemDecisionsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go index 1a269ae4c3f..3915b99b6ab 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesItemStopRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go index fce1d94e5af..5f089d3af51 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stages_request_builder.go @@ -132,7 +132,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to stages for identityGovernance @@ -145,7 +145,7 @@ func (m *AccessReviewsDecisionsItemInstanceStagesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_item_instance_stop_apply_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stop_apply_decisions_request_builder.go index e4adc02baf3..be4079aa24d 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stop_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stop_apply_decisions_request_builder.go @@ -56,7 +56,7 @@ func (m *AccessReviewsDecisionsItemInstanceStopApplyDecisionsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go b/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go index 78f764e8816..3014418e3a7 100644 --- a/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go +++ b/identitygovernance/access_reviews_decisions_item_instance_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDecisionsItemInstanceStopRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go index 8275eef8d47..02cd3b11e18 100644 --- a/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDecisionsRecordAllDecisionsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_decisions_request_builder.go b/identitygovernance/access_reviews_decisions_request_builder.go index 668550eff46..fa5abbc5630 100644 --- a/identitygovernance/access_reviews_decisions_request_builder.go +++ b/identitygovernance/access_reviews_decisions_request_builder.go @@ -133,7 +133,7 @@ func (m *AccessReviewsDecisionsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for identityGovernance @@ -146,7 +146,7 @@ func (m *AccessReviewsDecisionsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go b/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go index 6e6da5c0a00..d5b7fd6fbda 100644 --- a/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_access_review_schedule_definition_item_request_builder.go @@ -135,7 +135,7 @@ func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -151,7 +151,7 @@ func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update an existing accessReviewScheduleDefinition object to change one or more of its properties. @@ -164,7 +164,7 @@ func (m *AccessReviewsDefinitionsAccessReviewScheduleDefinitionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go index 67ebb3a4425..cf7932b61b3 100644 --- a/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDefinitionsFilterByCurrentUserWithOnRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go index 7a484958121..e8d10577459 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_access_review_instance_item_request_builder.go @@ -168,7 +168,7 @@ func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -184,7 +184,7 @@ func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an accessReviewInstance object. Only the reviewers and fallbackReviewers properties can be updated but the scope property is also required in the request body. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewInstance, its status must be InProgress. @@ -197,7 +197,7 @@ func (m *AccessReviewsDefinitionsItemInstancesAccessReviewInstanceItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go index e8634377e88..0fc874e6bf7 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDefinitionsItemInstancesFilterByCurrentUserWithOnRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go index 975072efb5a..90c411f55e9 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_accept_recommendations_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemAcceptRecommendationsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go index a1bcfb48d9b..38c213d3d46 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_apply_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemApplyDecisionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go index fc25719cc00..db95b87b954 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_batch_record_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemBatchRecordDecisionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go index bb1e023f6f2..82cbca2289d 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersAccessReview requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. @@ -134,7 +134,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersAccessReview requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contactedReviewers in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersAccessReview requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go index 99cdbfecace..ba11dafc773 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_contacted_reviewers_request_builder.go @@ -128,7 +128,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contactedReviewers for identityGovernance @@ -141,7 +141,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemContactedReviewersRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go index e5965d6639b..29ee0593ec6 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -129,7 +129,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property decisions in identityGovernance @@ -158,7 +158,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsAccessReviewInstanceD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go index 1915e1188c7..da0b38c1766 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsFilterByCurrentUserWi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_governance_insight_item_request_builder.go index 168479251cd..a8ca9eacdf1 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsGovernanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsGovernanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsGovernanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_request_builder.go index 02a129633a6..b34844697e1 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for identityGovernance @@ -138,7 +138,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInsightsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go index 18c72385492..e1f55c423bb 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceAcceptRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go index bfb10092542..8846cdb6471 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_apply_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceApplyDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go index 22ca81ceb82..d63666215fa 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceBatchReco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go index bdc12cd0598..0e043dd97f4 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContacted requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. @@ -134,7 +134,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContacted requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contactedReviewers in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContacted requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go index a831f1e4903..d92a619fcd8 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -128,7 +128,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContacted requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contactedReviewers for identityGovernance @@ -141,7 +141,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceContacted requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_definition_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_definition_request_builder.go index 98fe1f4015d..62c6fe33370 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_definition_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_request_builder.go index cd9a0916e18..cdb9545d967 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_request_builder.go @@ -158,7 +158,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation there is exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. @@ -174,7 +174,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property instance in identityGovernance @@ -187,7 +187,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go index 6f85939750b..fa6b43a4d18 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_reset_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceResetDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go index 59e5c0657fb..e4f86d4c461 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_send_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceSendRemin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go index ebfe7c98a93..e6b2d6a8cef 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go @@ -132,7 +132,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -161,7 +161,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go index 598cfe11003..d0792161026 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesFil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index d3549ae6af2..947e049fba3 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -128,7 +128,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index 059e105f3a3..eb3a5dcdfe1 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go index 8e48b1117ee..8f94ac5a708 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go index b65d1dda77d..3e7100b4e8a 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for identityGovernance @@ -138,7 +138,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go index b382346bb91..39c82522ff6 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go index 956273d6557..5f423b46b1b 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go @@ -136,7 +136,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for identityGovernance @@ -149,7 +149,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go index 0d63a3cc7f5..682d57a7e3d 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go index f43e4821e9f..682aea9a0b2 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stages_request_builder.go @@ -132,7 +132,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to stages for identityGovernance @@ -145,7 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStagesReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go index c3a5f60842f..9fc906938cd 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go @@ -56,7 +56,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopApply requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go index c2eaa0dc987..86fe6365d86 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_item_instance_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsItemInstanceStopReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go index 8a334a23c4d..f146d38d83f 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRecordAllDecisionsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go index d5a60d4ab85..506c3f819c8 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_decisions_request_builder.go @@ -136,7 +136,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for identityGovernance @@ -149,7 +149,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDecisionsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_definition_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_definition_request_builder.go index e74118dbfa4..44d41fabfd3 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_definition_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemDefinitionRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go index ca67e653a33..a79480c9232 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_reset_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemResetDecisionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go index 655a8f6d6d1..7de2c3e04a0 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_send_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemSendReminderRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go index 0ed31e95da9..b7919d7a98a 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_access_review_stage_item_request_builder.go @@ -132,7 +132,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -161,7 +161,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesAccessReviewStageItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go index 2dca6cc07d8..3258f69a04c 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesFilterByCurrentUserWithO requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index 5b9ec36c6c5..f26de677c00 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -132,7 +132,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. @@ -161,7 +161,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsAccessRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index 416388f5cba..d34febe53df 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsFilterByCur requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go index 24e6c3eb2cf..101710ec194 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsight requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsight requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsight requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_request_builder.go index 1aedd0b155a..2adace29a2d 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsight requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for identityGovernance @@ -138,7 +138,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInsight requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go index 8baf59c782d..37988d7a2b6 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go index 997229fcc23..d573faebe66 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go index 5202847e8ad..7e7f4e593ff 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go index 5ad1919d8e7..2ed04e39cbb 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. @@ -134,7 +134,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contactedReviewers in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go index 8358ab10735..ebf2e5ab89d 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -128,7 +128,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contactedReviewers for identityGovernance @@ -141,7 +141,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go index 9dce7cf209a..f416b12683e 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property decisions in identityGovernance @@ -154,7 +154,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go index de920284236..eae2f244ada 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go index e1d81f41ba1..20afeeb89fb 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in identityGovernance @@ -147,7 +147,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go index 734eaf64f0d..d521e0d545d 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for identityGovernance @@ -138,7 +138,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go index 0f2df151d32..77b1bd735da 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go index eb51e4f2a2a..2732d0295fb 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go @@ -136,7 +136,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for identityGovernance @@ -149,7 +149,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_definition_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_definition_request_builder.go index f32d26de9f8..e91f3d12be3 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_definition_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_request_builder.go index ecc39b7f547..071df059005 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_request_builder.go @@ -158,7 +158,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation there is exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. @@ -174,7 +174,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property instance in identityGovernance @@ -187,7 +187,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go index 1833ce13cfe..dfa556fcc68 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go index ae40ffaa100..00d45195602 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go index d2f90699c78..14534a9309c 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go @@ -56,7 +56,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go index 9bc0d8ae48a..8ccf2eccde4 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_item_instance_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsItemInstanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go index 6a455a98a05..5062bc8fe54 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRecordAllDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go index 1169ed51304..104d651f578 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_decisions_request_builder.go @@ -136,7 +136,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for identityGovernance @@ -149,7 +149,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemDecisionsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go index a3cb627422c..ab8dbb1d2dc 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesItemStopRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go index 0630efb2fc9..ebaaaf90997 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stages_request_builder.go @@ -132,7 +132,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to stages for identityGovernance @@ -145,7 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStagesRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stop_apply_decisions_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stop_apply_decisions_request_builder.go index d7166d9092f..2353f0a1fd5 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stop_apply_decisions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stop_apply_decisions_request_builder.go @@ -56,7 +56,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStopApplyDecisionsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go index 5857f4299c3..8d90da998e2 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *AccessReviewsDefinitionsItemInstancesItemStopRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_item_instances_request_builder.go b/identitygovernance/access_reviews_definitions_item_instances_request_builder.go index 1195698a794..51bc0cc56c3 100644 --- a/identitygovernance/access_reviews_definitions_item_instances_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_instances_request_builder.go @@ -132,7 +132,7 @@ func (m *AccessReviewsDefinitionsItemInstancesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to instances for identityGovernance @@ -145,7 +145,7 @@ func (m *AccessReviewsDefinitionsItemInstancesRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_definitions_item_stop_request_builder.go b/identitygovernance/access_reviews_definitions_item_stop_request_builder.go index 8cfda5b7853..b50ba90ee86 100644 --- a/identitygovernance/access_reviews_definitions_item_stop_request_builder.go +++ b/identitygovernance/access_reviews_definitions_item_stop_request_builder.go @@ -56,7 +56,7 @@ func (m *AccessReviewsDefinitionsItemStopRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_definitions_request_builder.go b/identitygovernance/access_reviews_definitions_request_builder.go index 4bba61e1580..8f707eb4229 100644 --- a/identitygovernance/access_reviews_definitions_request_builder.go +++ b/identitygovernance/access_reviews_definitions_request_builder.go @@ -135,7 +135,7 @@ func (m *AccessReviewsDefinitionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new accessReviewScheduleDefinition object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *AccessReviewsDefinitionsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go b/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go index 2bd8e090329..354cb7361b4 100644 --- a/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_access_review_history_definition_item_request_builder.go @@ -125,7 +125,7 @@ func (m *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property historyDefinitions in identityGovernance @@ -154,7 +154,7 @@ func (m *AccessReviewsHistoryDefinitionsAccessReviewHistoryDefinitionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_history_definitions_item_instances_access_review_history_instance_item_request_builder.go b/identitygovernance/access_reviews_history_definitions_item_instances_access_review_history_instance_item_request_builder.go index 5b4c1081ab0..e0967a69d20 100644 --- a/identitygovernance/access_reviews_history_definitions_item_instances_access_review_history_instance_item_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_item_instances_access_review_history_instance_item_request_builder.go @@ -122,7 +122,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstance requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation if the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that doesn't recur will have exactly one instance. @@ -138,7 +138,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstance requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property instances in identityGovernance @@ -151,7 +151,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesAccessReviewHistoryInstance requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go b/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go index 31d938de195..2d4de817e25 100644 --- a/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_item_instances_item_generate_download_uri_request_builder.go @@ -63,7 +63,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesItemGenerateDownloadUriRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go b/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go index 76fbadd7026..500a449151a 100644 --- a/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_item_instances_request_builder.go @@ -128,7 +128,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to instances for identityGovernance @@ -141,7 +141,7 @@ func (m *AccessReviewsHistoryDefinitionsItemInstancesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_history_definitions_request_builder.go b/identitygovernance/access_reviews_history_definitions_request_builder.go index e9950ef6f97..70601d4f828 100644 --- a/identitygovernance/access_reviews_history_definitions_request_builder.go +++ b/identitygovernance/access_reviews_history_definitions_request_builder.go @@ -131,7 +131,7 @@ func (m *AccessReviewsHistoryDefinitionsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new accessReviewHistoryDefinition object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *AccessReviewsHistoryDefinitionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_policy_request_builder.go b/identitygovernance/access_reviews_policy_request_builder.go index 3488fb6c450..a6bb5c3584e 100644 --- a/identitygovernance/access_reviews_policy_request_builder.go +++ b/identitygovernance/access_reviews_policy_request_builder.go @@ -124,7 +124,7 @@ func (m *AccessReviewsPolicyRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewPolicy object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *AccessReviewsPolicyRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an accessReviewPolicy object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *AccessReviewsPolicyRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/access_reviews_request_builder.go b/identitygovernance/access_reviews_request_builder.go index 050d2661143..2e94ab9a01a 100644 --- a/identitygovernance/access_reviews_request_builder.go +++ b/identitygovernance/access_reviews_request_builder.go @@ -134,7 +134,7 @@ func (m *AccessReviewsRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessReviews from identityGovernance @@ -150,7 +150,7 @@ func (m *AccessReviewsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessReviews in identityGovernance @@ -163,7 +163,7 @@ func (m *AccessReviewsRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go b/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go index 1b70e29bca8..6045d7032f9 100644 --- a/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_app_consent_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an appConsentRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appConsentRequests in identityGovernance @@ -150,7 +150,7 @@ func (m *AppConsentAppConsentRequestsAppConsentRequestItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go index 11213bff05d..9c70a9bbde1 100644 --- a/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AppConsentAppConsentRequestsFilterByCurrentUserWithOnRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go index bae9ff1ff82..2d18792e384 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsFilterByCurrentUserW requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_request_builder.go index 7b55b831149..77e8d86781f 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_request_builder.go @@ -122,7 +122,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation approval decisions associated with a request. @@ -138,7 +138,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property approval in identityGovernance @@ -151,7 +151,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go index 4bbd8db6208..01c740183b1 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go @@ -124,7 +124,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsApp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go index cb4852d1ff3..112b67f9667 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_item_approval_steps_request_builder.go @@ -128,7 +128,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to steps for identityGovernance @@ -141,7 +141,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsItemApprovalStepsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go index 6c4f4388a18..f9dee799786 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_request_builder.go @@ -132,7 +132,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userConsentRequests for identityGovernance @@ -145,7 +145,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go index 082e6a1105d..ef6bd003fea 100644 --- a/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_item_user_consent_requests_user_consent_request_item_request_builder.go @@ -125,7 +125,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userConsentRequests in identityGovernance @@ -154,7 +154,7 @@ func (m *AppConsentAppConsentRequestsItemUserConsentRequestsUserConsentRequestIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/app_consent_app_consent_requests_request_builder.go b/identitygovernance/app_consent_app_consent_requests_request_builder.go index 8363a156efe..f5b9b40613d 100644 --- a/identitygovernance/app_consent_app_consent_requests_request_builder.go +++ b/identitygovernance/app_consent_app_consent_requests_request_builder.go @@ -132,7 +132,7 @@ func (m *AppConsentAppConsentRequestsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to appConsentRequests for identityGovernance @@ -145,7 +145,7 @@ func (m *AppConsentAppConsentRequestsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/app_consent_request_builder.go b/identitygovernance/app_consent_request_builder.go index b26c0e099f1..6cbc31e5f16 100644 --- a/identitygovernance/app_consent_request_builder.go +++ b/identitygovernance/app_consent_request_builder.go @@ -122,7 +122,7 @@ func (m *AppConsentRequestBuilder) ToDeleteRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get appConsent from identityGovernance @@ -138,7 +138,7 @@ func (m *AppConsentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appConsent in identityGovernance @@ -151,7 +151,7 @@ func (m *AppConsentRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/b19d0704212902c832ef6018e0c3556c1f47d097bafa1e0817820d176b3eca94.go b/identitygovernance/b19d0704212902c832ef6018e0c3556c1f47d097bafa1e0817820d176b3eca94.go index b7aa04b85d5..8c862fcf592 100644 --- a/identitygovernance/b19d0704212902c832ef6018e0c3556c1f47d097bafa1e0817820d176b3eca94.go +++ b/identitygovernance/b19d0704212902c832ef6018e0c3556c1f47d097bafa1e0817820d176b3eca94.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/c040e26e1673589a37236970c1d2d11feb1901364c66d4a22775422679339a09.go b/identitygovernance/c040e26e1673589a37236970c1d2d11feb1901364c66d4a22775422679339a09.go index 16347bf2e54..8cdc99d0967 100644 --- a/identitygovernance/c040e26e1673589a37236970c1d2d11feb1901364c66d4a22775422679339a09.go +++ b/identitygovernance/c040e26e1673589a37236970c1d2d11feb1901364c66d4a22775422679339a09.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/c4630721adbe180fd4ce847a4b60799d59f2b23d5a440ef70d49dccec55f56ce.go b/identitygovernance/c4630721adbe180fd4ce847a4b60799d59f2b23d5a440ef70d49dccec55f56ce.go index 5c675bb9209..ad6d59133a8 100644 --- a/identitygovernance/c4630721adbe180fd4ce847a4b60799d59f2b23d5a440ef70d49dccec55f56ce.go +++ b/identitygovernance/c4630721adbe180fd4ce847a4b60799d59f2b23d5a440ef70d49dccec55f56ce.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/c6849fc58dacab8a1e64ee89152bdfbbfddb0d47d1e5cb4e97b455e5bc0bf104.go b/identitygovernance/c6849fc58dacab8a1e64ee89152bdfbbfddb0d47d1e5cb4e97b455e5bc0bf104.go index aae94beb5c6..8f9abef240a 100644 --- a/identitygovernance/c6849fc58dacab8a1e64ee89152bdfbbfddb0d47d1e5cb4e97b455e5bc0bf104.go +++ b/identitygovernance/c6849fc58dacab8a1e64ee89152bdfbbfddb0d47d1e5cb4e97b455e5bc0bf104.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/e05a600955fac6f317422cf5d14e91eb8fdd7873d592964902529907494d6fbf.go b/identitygovernance/e05a600955fac6f317422cf5d14e91eb8fdd7873d592964902529907494d6fbf.go index 3f321530535..1d64f087393 100644 --- a/identitygovernance/e05a600955fac6f317422cf5d14e91eb8fdd7873d592964902529907494d6fbf.go +++ b/identitygovernance/e05a600955fac6f317422cf5d14e91eb8fdd7873d592964902529907494d6fbf.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/e685b342f164f8b7cfe6ad9dac9db681e66b8600cf6f9875e4c16d0609e663f1.go b/identitygovernance/e685b342f164f8b7cfe6ad9dac9db681e66b8600cf6f9875e4c16d0609e663f1.go index 981b09e6dbd..ef43f0283db 100644 --- a/identitygovernance/e685b342f164f8b7cfe6ad9dac9db681e66b8600cf6f9875e4c16d0609e663f1.go +++ b/identitygovernance/e685b342f164f8b7cfe6ad9dac9db681e66b8600cf6f9875e4c16d0609e663f1.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go index e0e7bbb230e..69cee9e0687 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_approval_item_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageAssignmentApprovals in identityGovernance @@ -154,7 +154,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsApprovalItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go index 50f75e4215c..0cfd5770498 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsFilterByCurrentUse requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go index 7869172ab40..c29fd60c79c 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -124,7 +124,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsApprovalS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go index 2c2f25b18c1..c31f191c0e9 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_item_steps_request_builder.go @@ -128,7 +128,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to steps for identityGovernance @@ -141,7 +141,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsItemStepsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go index 1c278c74776..32175440f38 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_approvals_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageAssignmentApprovals for identityGovernance @@ -142,7 +142,7 @@ func (m *EntitlementManagementAccessPackageAssignmentApprovalsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go index 51b9419eae3..4eefec53bd3 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go @@ -144,7 +144,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation in Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. This API is available in the following national cloud deployments. @@ -161,7 +161,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property accessPackageAssignmentPolicies in identityGovernance @@ -175,7 +175,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesAccessPackageAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_catalog_request_builder.go index 7df281e385e..35e4e01f488 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_catalog_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemAccessPackageCa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_request_builder.go index 18e25d5b80d..2915103937e 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_access_package_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go index 48229d96803..3a38993ebcb 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customExtensionHandlers in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go index 7575bf85a32..4bf3186dfc8 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go index 3522f32823c..b3a89864e9a 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customExtensionHandlers for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go index caf8ac77b1f..0b31ab2be61 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customExtensionStageSettings in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go index 96fa904f1f8..a90e3b6edfb 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go index dee873d008e..b993fbe07cd 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customExtensionStageSettings for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesItemCustomExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go index abf0589d170..d6b35c26f0c 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_policies_request_builder.go @@ -135,7 +135,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation in Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EntitlementManagementAccessPackageAssignmentPoliciesRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go index 7c3cce9416b..f99df663526 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go @@ -152,7 +152,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation in Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. This API is available in the following national cloud deployments. @@ -169,7 +169,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageAssignmentRequests in identityGovernance @@ -183,7 +183,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsAccessPackageAssign requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go index 84ea187589c..fe373186d00 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go @@ -106,7 +106,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsFilterByCurrentUser requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go index 4022412437a..3d51d4e592f 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_assignment_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAs requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_request_builder.go index 9c596a3ca1f..b84e5fcaeb1 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_access_package_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go index cc4700c5b72..d820e4289a3 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_cancel_request_builder.go @@ -61,7 +61,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemCancelRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_reprocess_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_reprocess_request_builder.go index 19bab82cac9..1db60cdadb0 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_reprocess_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_reprocess_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemReprocessReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go index 0dccafacddc..1be64de87c7 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemRequestorConnec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_request_builder.go index 624258d793b..17877ee950e 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_requestor_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemRequestorReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemRequestorReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property requestor in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemRequestorReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go index 7662aa848bc..f781f7ed40f 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_item_resume_request_builder.go @@ -61,7 +61,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemResumeRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go index 9a13a7d7ac8..88cddfab864 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_requests_request_builder.go @@ -140,7 +140,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -154,7 +154,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go index 99087b495c0..5b94b52d1fb 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go @@ -137,7 +137,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageAssignmentResourceRoles in identityGovernance @@ -166,7 +166,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesAccessPackageA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go index 87d5bc791f8..e8d1d4f4c26 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go index 777aaf43cde..ad57d21c7f4 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go @@ -99,7 +99,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go index 5504534c967..1a6b23c8720 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 34a335f77e0..e1c06352d55 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go index 3243929f8f0..849b1bb9021 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index ec88b4baab6..063bfaaa93d 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 4b79e57dc00..c6825403088 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 9a92eeba5fa..683eb8c9b81 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index f9e0ce7dc21..fedbc393fc4 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index cca4ae564c2..dbfc46b0f20 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go index 88d60c65b2b..9724541c204 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go index ed84e0a2a93..3aa12ad62cb 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go index b0671c9d8fb..27c5c0f7bca 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go index cc97e67de44..d8c981d5ef3 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResourceRole from identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRole in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go index 30f9b25406a..5b7a598d9fe 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 864ad41b16e..e5d9b4b6f3e 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 64132927563..fd1ef2d21fd 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index eada08e98f5..2570d442a8f 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 0715e38b4c4..abc60d103b8 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index 90253c9e62b..c5d0193cb9b 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go index 7fbff2f801b..6bb836fee0a 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 729d838276b..5417461359d 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go index bbb69b473d4..22b9ee9b9a1 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go index fdffbb2c90e..51f31e9a26e 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go index 98b8c302e1f..a15aa31f9e6 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go index d5b6eb05941..5e70a97d5e3 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResourceScope from identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScope in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go index aa4a95b463f..ff691944f0c 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go index 2c8ea5dedda..bf9253cafbb 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $filter (eq) on objectId and $expand query parameters. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageSubject in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesItemAccessPack requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_my_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_my_request_builder.go index 8ad8e663acb..b3df0052650 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_my_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_my_request_builder.go @@ -101,7 +101,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesMyRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go index 11d0ec35a7c..5ab4115ab99 100644 --- a/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignment_resource_roles_request_builder.go @@ -132,7 +132,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageAssignmentResourceRoles for identityGovernance @@ -145,7 +145,7 @@ func (m *EntitlementManagementAccessPackageAssignmentResourceRolesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_access_package_assignment_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_access_package_assignment_item_request_builder.go index 2224cbacbb9..3167ab2ecee 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_access_package_assignment_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_access_package_assignment_item_request_builder.go @@ -142,7 +142,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsAccessPackageAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the assignment of an access package to a subject for a period of time. @@ -158,7 +158,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsAccessPackageAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageAssignments in identityGovernance @@ -171,7 +171,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsAccessPackageAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go index 39056e7e29c..237622faf9d 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_additional_access_request_builder.go @@ -101,7 +101,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsAdditionalAccessRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.go index 9b66a1c7403..6ec6a96ee6c 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_additional_access_with_access_package_id_with_incompatible_access_package_id_request_builder.go @@ -107,7 +107,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsAdditionalAccessWithAccess requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go index f7360f6c8be..a6b02921044 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsFilterByCurrentUserWithOnR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go index 9d55b4728b1..ccd98431c63 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageAssignmentPolicies in identityGovernance @@ -169,7 +169,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_catalog_request_builder.go index a7d51bf885a..48a49a85f33 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_catalog_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_request_builder.go index d73f48862cf..0e8ca25f4e0 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_access_package_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go index fc7e55b411b..88b184b0602 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customExtensionHandlers in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go index be005c05e81..9ff3333f7e4 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go index 26e1789c18d..10237a68ce1 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customExtensionHandlers for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go index 6ffa7acbf19..e0307383ab6 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customExtensionStageSettings in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go index 982ba176d27..51b9863f3f6 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go index 6b06beb8553..aa2ba6c4db0 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customExtensionStageSettings for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_request_builder.go index 74c15cd48aa..55a95d95b7b 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_assignment_policies_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageAssignmentPolicies for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_catalog_request_builder.go index 1ebe4a96e15..c6895900fa2 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_catalog_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go index 34f72b8971f..b71ccca6efc 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResourceRoleScopes from identityGovernance @@ -142,7 +142,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoleScopes in identityGovernance @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index a3ec92de8e7..2d58e9729f4 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_role_item_request_builder.go b/identitygovernance/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_role_item_request_builder.go index d84894d67ca..df07599a504 100644 --- a/identitygovernance/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_role_item_request_builder.go +++ b/identitygovernance/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_role_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 38bd65f70d0..ee48e1c7e92 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_scope_item_request_builder.go b/identitygovernance/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_scope_item_request_builder.go index e4566f36cc4..136a5647906 100644 --- a/identitygovernance/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_scope_item_request_builder.go +++ b/identitygovernance/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_scope_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index b9479ce4d75..3ff5ddcb5ef 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index f0bb241a31e..67662517b3c 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index cbae92d4459..3002468698d 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go index b9c7a817874..2ecae014e42 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go index 95d840e5d37..95beec147e3 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go index 003b2fd437b..40c57dbbd61 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRole in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index f8837b6cb81..5d9b937c423 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_role_item_request_builder.go b/identitygovernance/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_role_item_request_builder.go index c79946c1898..b4bf66b4cf6 100644 --- a/identitygovernance/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_role_item_request_builder.go +++ b/identitygovernance/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_role_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 22820179265..806f4996ef7 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 4429b169320..586912f6d51 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 5f012dc87ef..7b1a2fc3a72 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_scope_item_request_builder.go b/identitygovernance/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_scope_item_request_builder.go index 52f9046b7cd..70e57064573 100644 --- a/identitygovernance/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_scope_item_request_builder.go +++ b/identitygovernance/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_scope_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index ac47301f97c..129ac1fc58a 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go index 10fb62f2624..1dbbdeac073 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go index 995ce0f8efe..f98a619ceef 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go index f7e1ca07ceb..23b38404780 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResourceScope from identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScope in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go index 30590cd8baa..db3429a73af 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_package_resource_role_scopes_request_builder.go @@ -128,7 +128,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -141,7 +141,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_access_package_item_request_builder.go index 5457f5a930b..eff4c1cb8a7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_access_package_item_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go index 672389514f9..c903ccd58f6 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_access_packages_incompatible_with_request_builder.go @@ -102,7 +102,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAccessPac requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_catalog_request_builder.go index f835df5016a..65866242130 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_catalog_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_request_builder.go index 372f4db31d1..d62063c7ea7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_access_package_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_custom_extension_handler_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_custom_extension_handler_item_request_builder.go index f61699554c9..7c093fe6fd9 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_custom_extension_handler_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_custom_extension_handler_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customExtensionHandlers in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_item_custom_extension_request_builder.go index c6401aceb16..027919fe8e4 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_item_custom_extension_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_request_builder.go index 1b5507eb703..52d71e9f0b6 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_handlers_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customExtensionHandlers for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go index ebd70dcf447..7048353d2f9 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customExtensionStageSettings in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_item_custom_extension_request_builder.go index ef61acc3f55..0569a31c7a4 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_item_custom_extension_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_request_builder.go index beb326526f9..995ae18847f 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_custom_extension_stage_settings_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customExtensionStageSettings for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_request_builder.go index 9490e234c15..535a21d1424 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_policy_request_builder.go @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $filter (eq) on the id property @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageAssignmentPolicy in identityGovernance @@ -169,7 +169,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go index 970aeba4ff5..cbefd8dd7d0 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_access_package_assignment_request_item_request_builder.go @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageAssignmentRequests from identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageAssignmentRequests in identityGovernance @@ -177,7 +177,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go index c3e7961bf58..4d8a805e491 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_filter_by_current_user_with_on_request_builder.go @@ -106,7 +106,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go index 7bec023a7a5..2eff07fce51 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_assignment_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_request_builder.go index f144ca7ce41..241cda6339d 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_access_package_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go index 44d78b86130..9cf4b512bdf 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_cancel_request_builder.go @@ -61,7 +61,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_reprocess_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_reprocess_request_builder.go index aad6e404b3e..120c8361342 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_reprocess_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_reprocess_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go index 2fc06e7ef23..49665f1b648 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_connected_organization_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_request_builder.go index 6839767ecb2..14606a3ff94 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_requestor_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property requestor in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go index 5312873edaa..14c2dd81647 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_item_resume_request_builder.go @@ -61,7 +61,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_request_builder.go index 00cf7b6b121..66047c18d60 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_requests_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageAssignmentRequests for identityGovernance @@ -148,7 +148,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go index 613a40d9368..30dd1b0e817 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_access_package_assignment_resource_role_item_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the resource roles delivered to the target user for this assignment. Read-only. Nullable. @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageAssignmentResourceRoles in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go index 18c5a371d94..5a411f3a369 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_access_package_assignment_item_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go index a36f7514fa4..7630386002e 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_assignments_request_builder.go @@ -99,7 +99,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go index a380070d693..c7efa640c96 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_role_item_request_builder.go b/identitygovernance/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_role_item_request_builder.go index 055ebf1cf8a..99f5859abdb 100644 --- a/identitygovernance/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_role_item_request_builder.go +++ b/identitygovernance/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_role_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go index 790c4a7ad77..689663d31aa 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_scope_item_request_builder.go b/identitygovernance/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_scope_item_request_builder.go index 89f7a42e107..52c2a977499 100644 --- a/identitygovernance/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_scope_item_request_builder.go +++ b/identitygovernance/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_scope_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 83d6bea27dc..8f1a2be23df 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 03d40cb6385..bf7e87ae517 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go index 5c3ce97bc68..0f688e33a5f 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go index b040ed8341e..7849cf56a2d 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go index 8214354350e..a098abd2e01 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go index fa21a1f58c0..7f4b731cd85 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_role_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResourceRole from identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRole in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go index 2d29a7a7585..c1a2fa6b008 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_role_item_request_builder.go b/identitygovernance/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_role_item_request_builder.go index 70b493844a0..a3785386c14 100644 --- a/identitygovernance/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_role_item_request_builder.go +++ b/identitygovernance/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_role_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index e5dac06d42f..f5c87075f7e 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 16ecd14459c..f2100b25090 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go index 4733aeb7dde..aa854e8d180 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_scope_item_request_builder.go b/identitygovernance/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_scope_item_request_builder.go index 0e7949c21c5..0e9bb7eb3ad 100644 --- a/identitygovernance/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_scope_item_request_builder.go +++ b/identitygovernance/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_scope_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go index 7a22320193c..2a9351f6990 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go index 5255a480963..b1ea99f2015 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go index 3b8ec3d947a..74ed698f48f 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go index ded9a6ddebc..77815c1b3a7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_resource_scope_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResourceScope from identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScope in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go index 10c16527c06..6289a76d899 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_connected_organization_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go index e5b9b81c73f..2c1e67243e5 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_item_access_package_subject_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $filter (eq) on objectId and $expand query parameters. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageSubject in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_my_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_my_request_builder.go index 88f61f286c9..4f00066bcf7 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_my_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_my_request_builder.go @@ -101,7 +101,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_request_builder.go index 9153f43ada8..b3206f4d287 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_assignment_resource_roles_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageAssignmentResourceRoles for identityGovernance @@ -142,7 +142,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go index 37bb6f0dcdb..639a418ab61 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_get_applicable_policy_requirements_request_builder.go @@ -85,7 +85,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageGetApplic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go index 5834c4e82ec..75edeb40312 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go index 375b681bb8e..d640793b216 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go index a763421804b..388db803a10 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_access_packages_request_builder.go @@ -106,7 +106,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go index 61c1e9d8b6c..ff9431e99e4 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_service_provisioning_errors_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_service_provisioning_errors_request_builder.go index b294f9750e8..b76b271432e 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_service_provisioning_errors_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_item_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go index 191c52205c6..d8c4131bda6 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go index 07dd076be61..20240e4daf4 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_incompatible_groups_request_builder.go @@ -106,7 +106,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageIncompati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go index 528713df7eb..8f18556a616 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_move_to_catalog_request_builder.go @@ -59,7 +59,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageMoveToCat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_request_builder.go index 0f94bba3505..07da2c1e517 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_access_package_request_builder.go @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. @@ -166,7 +166,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackage in identityGovernance @@ -179,7 +179,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_reprocess_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_reprocess_request_builder.go index 724bddd5b62..83e1084dd93 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_reprocess_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_reprocess_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemReprocessRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_target_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_target_connected_organization_request_builder.go index fac54730ac2..6c9de93ea5d 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_target_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_target_connected_organization_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemTargetConnectedOrganiz requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_assignments_item_target_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_item_target_request_builder.go index bdc765b9e2b..169870f2710 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_item_target_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_item_target_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemTargetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemTargetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property target in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemTargetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_assignments_request_builder.go b/identitygovernance/entitlement_management_access_package_assignments_request_builder.go index 72c47623b16..b304c611e93 100644 --- a/identitygovernance/entitlement_management_access_package_assignments_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_assignments_request_builder.go @@ -140,7 +140,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageAssignments for identityGovernance @@ -153,7 +153,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go index c7931c1ea78..4e10f3d5ddc 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_access_package_catalog_item_request_builder.go @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an accessPackageCatalog object. This API is available in the following national cloud deployments. @@ -172,7 +172,7 @@ func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -186,7 +186,7 @@ func (m *EntitlementManagementAccessPackageCatalogsAccessPackageCatalogItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go index 3b4afb8f450..bd0ce5424fe 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_custom_callout_extension_item_request_builder.go @@ -94,11 +94,11 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable), nil } -// Patch update the properties of an accessPackageAssignmentRequestWorkflowExtension object. +// Patch update the properties of an accessPackageAssignmentWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // [Find more info here] // -// [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 func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -128,7 +128,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. @@ -145,10 +145,10 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessPackageAssignmentRequestWorkflowExtension object. +// ToPatchRequestInformation update the properties of an accessPackageAssignmentWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go index fab0dba633a..1591c9b351b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_custom_workflow_extensions_request_builder.go @@ -132,7 +132,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageCustomWorkflowExtensions for identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go index f1de3c08525..6de8ea10b7b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the roles in each resource in a catalog. Read-only. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index 2fe057e9b80..2eea24d5acc 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 36736741e8d..b514952d998 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -139,7 +139,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -153,7 +153,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_request_builder.go index c512aaff3da..c3fb3268ca2 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 8d7c7eb9ba5..77529ed4c48 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 267212bd818..de233ff31c9 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_role_item_request_builder.go b/identitygovernance/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_role_item_request_builder.go index ea8475e1eea..0d377ac0f38 100644 --- a/identitygovernance/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_role_item_request_builder.go +++ b/identitygovernance/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_role_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -139,7 +139,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -153,7 +153,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index a2a11c160c0..2c4216f1450 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index 49e7b60ffcd..37071497751 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index e405bdc1780..5caafb2f30d 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -165,7 +165,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go index d1af78be1e0..b6cd04de6c4 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 0d3e7bb8171..3cbab7adf5b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_request_builder.go index 51695432420..293059bcecf 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -169,7 +169,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go index ce9a8b42d7e..df8aee700be 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_roles_request_builder.go @@ -132,7 +132,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 74935946f6a..34ef63458e8 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResourceScopes from identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index 90da0feb896..529db0ef4f1 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index b5d80ef978b..542726eca6e 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 05ecbcfca27..46f13fd9caf 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 2ded25d3c66..5392a7efcec 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 2d330e3c883..342e33e72ac 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index dfd4b2eb77a..99b8a24d08b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -165,7 +165,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go index b67c4dcd68d..dbf9034f543 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 74cdad2a112..92ca6768c33 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -139,7 +139,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -153,7 +153,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_request_builder.go index 16c1fdd1b1a..4b57a82782c 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index 0b86955a439..ceca5a9dcd9 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_request_builder.go index 6573f89e8a5..dc6c66650c7 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -169,7 +169,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_request_builder.go index 462eeb2a706..203c355d6aa 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resource_scopes_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_access_package_resource_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_access_package_resource_item_request_builder.go index 48f13d1cbc5..633996cd920 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_access_package_resource_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_access_package_resource_item_request_builder.go @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResources from identityGovernance @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResources in identityGovernance @@ -169,7 +169,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_environment_request_builder.go index 7acd5a79166..1eff35299af 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_environment_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 661e15b701e..0e4bbb6325b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index e62015b159a..080b2d6266e 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_scope_item_request_builder.go b/identitygovernance/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_scope_item_request_builder.go index 997cf6bb2ed..4fd40d68648 100644 --- a/identitygovernance/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_scope_item_request_builder.go +++ b/identitygovernance/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_scope_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index b69dae93a5f..8bb53dc05b0 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index c65919c4966..a4faa08bf7a 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -161,7 +161,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go index c362554869a..3496f993ebd 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 2bb11a0c8e7..44f7a6a74c9 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go index 6743221afd1..99218a49682 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -165,7 +165,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_request_builder.go index ce632808da4..5a8590a77f7 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_roles_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 43e73f17e2d..db6a16d0d58 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index d5243c6c57c..3cbfee03ac9 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_role_item_request_builder.go b/identitygovernance/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_role_item_request_builder.go index 79b75434ccb..650f6f455b3 100644 --- a/identitygovernance/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_role_item_request_builder.go +++ b/identitygovernance/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_role_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 61c7c611460..d0e8255fe6f 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index debbf599d02..5ed0565a0e3 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -161,7 +161,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go index 910c6409bf4..27518acc172 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index 9793b03933c..906dd0f5e92 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go index 530ab3a7bdc..f68cf048d5b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -165,7 +165,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_request_builder.go index df90f98468c..b17a4a10035 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_access_package_resource_scopes_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_refresh_request_builder.go index 91462e83e86..341e8810c35 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_item_refresh_request_builder.go @@ -58,7 +58,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go index b73f9ee2d22..c70f2592464 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_package_resources_request_builder.go @@ -132,7 +132,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResources for identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageResourcesReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_access_package_item_request_builder.go index 9331a702721..fcbd998167f 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_access_package_item_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackagesAccessPacka requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_request_builder.go index 4a5a2aafb28..f5ba175ee61 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_access_packages_request_builder.go @@ -102,7 +102,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackagesRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go index 0ce6f75e10f..389152dc96b 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_custom_access_package_workflow_extension_item_request_builder.go @@ -54,11 +54,11 @@ func NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflo urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete 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 delete an accessPackageAssignmentRequestWorkflowExtension 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 accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. This API is available in the following national cloud deployments. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -120,7 +120,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable), nil } -// ToDeleteRequestInformation 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. +// ToDeleteRequestInformation delete an accessPackageAssignmentRequestWorkflowExtension 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 accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. This API is available in the following national cloud deployments. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -131,7 +131,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a customAccessPackageWorkflowExtension object for an accessPackageCatalog object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an existing customAccessPackageWorkflowExtension object. @@ -162,7 +162,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go index 30c0cdb0df4..e02d23340cf 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_item_custom_access_package_workflow_extensions_request_builder.go @@ -135,7 +135,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new customAccessPackageWorkflowExtension object and add it to an existing accessPackageCatalog object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go index 589206f22bc..1ba3b0817ad 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_request_builder.go @@ -139,7 +139,7 @@ func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new accessPackageCatalog object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *EntitlementManagementAccessPackageCatalogsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_catalogs_search_request_builder.go b/identitygovernance/entitlement_management_access_package_catalogs_search_request_builder.go index 2385309e942..1c9c8ba566e 100644 --- a/identitygovernance/entitlement_management_access_package_catalogs_search_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_catalogs_search_request_builder.go @@ -103,7 +103,7 @@ func (m *EntitlementManagementAccessPackageCatalogsSearchRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go index 0ce76ef385a..70884581f5d 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_access_package_resource_environment_item_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageReso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessPackageResourceEnvironment object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageReso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceEnvironments in identityGovernance @@ -154,7 +154,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsAccessPackageReso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_access_package_resource_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_access_package_resource_item_request_builder.go index eb70c8a435d..67cd1230f6c 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_access_package_resource_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_access_package_resource_item_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackage requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_request_builder.go index 0af4b00febd..92cd767bf50 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_item_access_package_resources_request_builder.go @@ -99,7 +99,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsItemAccessPackage requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go index b7e2bc66ed9..00693775796 100644 --- a/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_environments_request_builder.go @@ -128,7 +128,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceEnvironments for identityGovernance @@ -141,7 +141,7 @@ func (m *EntitlementManagementAccessPackageResourceEnvironmentsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_access_package_resource_request_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_access_package_resource_request_item_request_builder.go index 4d7ad935e2b..d5f29be2f30 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_access_package_resource_request_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_access_package_resource_request_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsAccessPackageResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents a request to add or remove a resource to or from a catalog respectively. @@ -142,7 +142,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsAccessPackageResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRequests in identityGovernance @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsAccessPackageResource requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_item_access_package_resource_request_builder.go index 036d2a6baad..3544228f3ea 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_item_access_package_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsItemAccessPackageReso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_connected_organization_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_connected_organization_request_builder.go index fd161089899..68514934b68 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_connected_organization_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsItemRequestorConnecte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_request_builder.go index 47c93f4f3cc..bff4bd7075d 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_item_requestor_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsItemRequestorRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsItemRequestorRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property requestor in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsItemRequestorRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go index 47e79caee0f..7ea55963c1d 100644 --- a/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *EntitlementManagementAccessPackageResourceRequestsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go index 46366b3b2e8..c5825d7f18b 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesAccessPackageResour requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a reference to both a scope within a resource, and a role in that resource for that scope. @@ -142,7 +142,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesAccessPackageResour requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoleScopes in identityGovernance @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesAccessPackageResour requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go index 88ee734f26b..5571599ac28 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 03671112815..3af20bf7ea1 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go index 7d9a757ab0c..e72711f2afc 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 8f1f8c47e49..5c32663b844 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index bc2c7bfdc06..8c4886b0a44 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 7fcc84604b8..25c3ae0fd5f 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index 8fb928678ce..ce938ae965a 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index d49c40eec41..221bdf97caf 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go index 42f5454210e..e360beb9643 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go index 5bcb8b0e94e..e28192529e2 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go index 45163efe8ec..68a2ecd0c58 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go index 9abcbea9fea..28ab04d1a50 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRole in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go index 08e4dafde35..1930194029f 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index edf1d2ea4a0..e1685bd2cf9 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 8fe90adc835..093289b4ca3 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index e4418f46143..20dec1bf182 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 8d17f4a6490..58de1183516 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index e19a805dcef..b4001e1628e 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go index 4509616f875..f9c771d4cce 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 1630a7c76de..b73a10a4fc5 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go index b3f141ba653..59d9b0cee21 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go index b25c30cafa6..56a54fa7b8c 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go index c9144f783ca..fb1d4f86d4a 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go index 6185cf0764b..2fff6ea4fa9 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResourceScope from identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScope in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesItemAccessPackageRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resource_role_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resource_role_scopes_request_builder.go index 8b28068f2fa..7595b7aae3a 100644 --- a/identitygovernance/entitlement_management_access_package_resource_role_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resource_role_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoleScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourceRoleScopesRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_access_package_resource_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_access_package_resource_item_request_builder.go index 01577d50d58..fdcd7995547 100644 --- a/identitygovernance/entitlement_management_access_package_resources_access_package_resource_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_access_package_resource_item_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackageResourcesAccessPackageResourceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a reference to a resource associated with an access package catalog. @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackageResourcesAccessPackageResourceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResources in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackageResourcesAccessPackageResourceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_environment_request_builder.go index 39183d1b872..c859e20b361 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceEnv requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go index 8d168223fde..10855e79985 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go index 6d8d778e835..9eb0245d576 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 3e72fe966f3..afe4f52a3c2 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 89110e3e33f..cafca04e01b 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index 306c24c9147..c56797c0ac7 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go index 5a8d6cc823a..7de51cc199a 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -142,7 +142,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go index 5647e6667ad..44f0cc0c96a 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_access_package_resource_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index 2601987f216..3d30b121dd2 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go index beb2771d8f3..a98faf403df 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_request_builder.go index b7eee5bafdd..658d4087c3b 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceRol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go index 44897ed1f2b..5b579dedf1d 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_access_package_resource_scope_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go index df331a1550a..46385c6b102 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go index d858951bd21..decba3d6f98 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_access_package_resource_role_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index c77ac914a5c..e267a15b9f8 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go index b84a499977f..230f93286df 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go index fae2ea7b50f..a58720b1e79 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_item_access_package_resource_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -142,7 +142,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go index a7d93473ffc..f0a31a9fcff 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_access_package_resource_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go index 6ed37d2d9a3..50d927f6243 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go index f904aebb85a..7ddaeec9f48 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_item_access_package_resource_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_request_builder.go index c7e64499bf1..a9c55c16a43 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_access_package_resource_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemAccessPackageResourceSco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_package_resources_item_refresh_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_item_refresh_request_builder.go index bc6e3b649b4..e158a04e0ca 100644 --- a/identitygovernance/entitlement_management_access_package_resources_item_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_item_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackageResourcesItemRefreshRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_package_resources_request_builder.go b/identitygovernance/entitlement_management_access_package_resources_request_builder.go index 23d18208ba0..3ea16f3d51f 100644 --- a/identitygovernance/entitlement_management_access_package_resources_request_builder.go +++ b/identitygovernance/entitlement_management_access_package_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackageResourcesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResources for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackageResourcesRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go index f89102cd8cb..6a8dc431860 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters 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. This API is available in the following national cloud deployments. +// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. This API is available in the following national cloud deployments. type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -89,10 +89,10 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Del } return nil } -// Get 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. This API is available in the following national cloud deployments. +// Get retrieve the properties and relationships of an accessPackage object. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -159,10 +159,10 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. This API is available in the following national cloud deployments. +// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. This API is available in the following national cloud deployments. func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -175,7 +175,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -188,7 +188,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go b/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go index 81d2c253be5..c3f4b919fb4 100644 --- a/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EntitlementManagementAccessPackagesFilterByCurrentUserWithOnRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go index a815f6af18b..666baf92a96 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_access_package_assignment_policy_item_request_builder.go @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageAssignmentPolicies in identityGovernance @@ -169,7 +169,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_catalog_request_builder.go index 12e19bffe18..3a9fd47f7ae 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_catalog_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_request_builder.go index 429e5e2e5e7..c8b3a45d752 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_access_package_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go index d18565e079e..3182961a3f2 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_custom_extension_handler_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customExtensionHandlers in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go index 026f2e71b67..b7985b1509a 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_item_custom_extension_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go index 8ecf5ebb36c..9c758d534ce 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_handlers_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customExtensionHandlers for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go index 34de295ba40..1bce36ad976 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_custom_extension_stage_setting_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property customExtensionStageSettings in identityGovernance @@ -157,7 +157,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go index d2cda7f8020..4e0a5063f01 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_item_custom_extension_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go index ac49f66a438..43520b9b825 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_item_custom_extension_stage_settings_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to customExtensionStageSettings for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_request_builder.go index d0ab62ea368..8d89e3f6d4c 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_assignment_policies_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageAssignmentPolicies for identityGovernance @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageAssignmentPoliciesR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_catalog_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_catalog_request_builder.go index f6c462a811d..1fcf58e5101 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_catalog_request_builder.go @@ -74,7 +74,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageCatalogRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go index 7a9a1d2c603..3d9b4ac7dea 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_access_package_resource_role_scope_item_request_builder.go @@ -126,7 +126,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResourceRoleScopes from identityGovernance @@ -142,7 +142,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoleScopes in identityGovernance @@ -155,7 +155,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go index d0e49b0cccc..09865626caf 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_role_item_request_builder.go b/identitygovernance/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_role_item_request_builder.go index be6d6860f81..265fffcf0ca 100644 --- a/identitygovernance/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_role_item_request_builder.go +++ b/identitygovernance/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_role_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go index eb4bb506bf4..157035535cc 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_scope_item_request_builder.go b/identitygovernance/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_scope_item_request_builder.go index 315f9ebc2b6..0fb032deda1 100644 --- a/identitygovernance/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_scope_item_request_builder.go +++ b/identitygovernance/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_scope_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 616559b9379..0010c385114 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 56f807075e8..88485c77ed5 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index d1c1002a283..f64004c2a1e 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 7fb3f512944..55abe11bca7 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go index 8e23227b63a..edc8da30d77 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_access_package_resource_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go index 2e064468653..80492d8deb3 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go index 0e185fe1796..f13400f86cd 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go index c08e4dbf0f1..ba866ff4837 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_role_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRole in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go index 444673faf88..9f582c3efde 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_environment_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_role_item_request_builder.go b/identitygovernance/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_role_item_request_builder.go index 85f6aa305c0..c578382a12f 100644 --- a/identitygovernance/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_role_item_request_builder.go +++ b/identitygovernance/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_role_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceRoles in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 9a078001089..7b5bc35444e 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index bef5b2715a1..ea245d3ba1c 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index 2279e9b5d30..abaca6dc211 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/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_request_builder.go b/identitygovernance/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_request_builder.go index c0c7b401079..82857f72534 100644 --- a/identitygovernance/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_request_builder.go +++ b/identitygovernance/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_request_builder.go @@ -130,7 +130,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -159,7 +159,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go index 39b6c7bc79d..afad509698a 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceRoles for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/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_scope_item_request_builder.go b/identitygovernance/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_scope_item_request_builder.go index 66a27023ac4..1bf9e470f27 100644 --- a/identitygovernance/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_scope_item_request_builder.go +++ b/identitygovernance/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_scope_item_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Supports $expand. @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScopes in identityGovernance @@ -147,7 +147,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go index 0fc87f7672d..555f18f5cad 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_access_package_resource_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to accessPackageResourceScopes for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go index 356062f2f92..b3dfcfd8967 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go index 224b40c4a27..885e01fbc7d 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_access_package_resource_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResource from identityGovernance @@ -150,7 +150,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResource in identityGovernance @@ -163,7 +163,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go index 2f538379e61..3d0ce6f7705 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_item_access_package_resource_scope_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get accessPackageResourceScope from identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property accessPackageResourceScope in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go index 5c5caa70872..98f663410aa 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_package_resource_role_scopes_request_builder.go @@ -128,7 +128,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -141,7 +141,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackageResourceRoleScopesR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_access_package_item_request_builder.go index 6cdee458ff3..45509bd6105 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_access_package_item_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithAc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go index c02149f7151..571381e7997 100644 --- a/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_access_packages_incompatible_with_request_builder.go @@ -102,7 +102,7 @@ func (m *EntitlementManagementAccessPackagesItemAccessPackagesIncompatibleWithRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go index bb2e26dbc9d..afd6b42111f 100644 --- a/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_get_applicable_policy_requirements_request_builder.go @@ -85,7 +85,7 @@ func (m *EntitlementManagementAccessPackagesItemGetApplicablePolicyRequirementsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go index 4221b6a30ea..0e8dc51f389 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go index c734ef0a9dd..69f37c55310 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesRefReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go index 7cec3442d59..f2f82b1eac3 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_access_packages_request_builder.go @@ -106,7 +106,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleAccessPackagesReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go index 22b0c78e85e..42619aec123 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsItemRefRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_service_provisioning_errors_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_service_provisioning_errors_request_builder.go index a636f27a6d8..f1a7f0cf39c 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_service_provisioning_errors_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_item_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsItemServicePro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go index a2bdda4737d..2b0174183e0 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRefRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go index bf75d0b81f6..4f349d0935a 100644 --- a/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_incompatible_groups_request_builder.go @@ -106,7 +106,7 @@ func (m *EntitlementManagementAccessPackagesItemIncompatibleGroupsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go index 4c0e91fe92b..146221dd708 100644 --- a/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_move_to_catalog_request_builder.go @@ -59,7 +59,7 @@ func (m *EntitlementManagementAccessPackagesItemMoveToCatalogRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_request_builder.go b/identitygovernance/entitlement_management_access_packages_request_builder.go index fcf21796fb6..da8df40ec6a 100644 --- a/identitygovernance/entitlement_management_access_packages_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_request_builder.go @@ -139,7 +139,7 @@ func (m *EntitlementManagementAccessPackagesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -152,7 +152,7 @@ func (m *EntitlementManagementAccessPackagesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_access_packages_search_request_builder.go b/identitygovernance/entitlement_management_access_packages_search_request_builder.go index 083c4c4d7af..48471f9c37e 100644 --- a/identitygovernance/entitlement_management_access_packages_search_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_search_request_builder.go @@ -101,7 +101,7 @@ func (m *EntitlementManagementAccessPackagesSearchRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go index 4903a7b7d95..8808ac188a2 100644 --- a/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_connected_organization_item_request_builder.go @@ -135,7 +135,7 @@ func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a connectedOrganization object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a connectedOrganization object to change one or more of its properties. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *EntitlementManagementConnectedOrganizationsConnectedOrganizationItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go index 5a077ee95f6..62cd4c37403 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsItemRefR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go index c0d2a363ab1..47ea20ec445 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRefReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go index b73cb4547c0..344dd56b1c7 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_external_sponsors_request_builder.go @@ -106,7 +106,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemExternalSponsorsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go index 3a4846529a9..67137892993 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsItemRefR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go index df94e895529..84dfb1f11ea 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRefReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go index cc670077755..e672ae01cf7 100644 --- a/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_item_internal_sponsors_request_builder.go @@ -106,7 +106,7 @@ func (m *EntitlementManagementConnectedOrganizationsItemInternalSponsorsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_connected_organizations_request_builder.go b/identitygovernance/entitlement_management_connected_organizations_request_builder.go index 888a9fe8a43..235c9436634 100644 --- a/identitygovernance/entitlement_management_connected_organizations_request_builder.go +++ b/identitygovernance/entitlement_management_connected_organizations_request_builder.go @@ -131,7 +131,7 @@ func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new connectedOrganization object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *EntitlementManagementConnectedOrganizationsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_request_builder.go b/identitygovernance/entitlement_management_request_builder.go index 4262aae4a58..ceaafe131bd 100644 --- a/identitygovernance/entitlement_management_request_builder.go +++ b/identitygovernance/entitlement_management_request_builder.go @@ -174,7 +174,7 @@ func (m *EntitlementManagementRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entitlementManagement from identityGovernance @@ -190,7 +190,7 @@ func (m *EntitlementManagementRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property entitlementManagement in identityGovernance @@ -203,7 +203,7 @@ func (m *EntitlementManagementRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_settings_request_builder.go b/identitygovernance/entitlement_management_settings_request_builder.go index 489dc96e015..4195c90aa2e 100644 --- a/identitygovernance/entitlement_management_settings_request_builder.go +++ b/identitygovernance/entitlement_management_settings_request_builder.go @@ -124,7 +124,7 @@ func (m *EntitlementManagementSettingsRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of an entitlementManagementSettings object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *EntitlementManagementSettingsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update an existing entitlementManagementSettings object to change one or more of its properties. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *EntitlementManagementSettingsRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go b/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go index fa82342ead7..d1c5978f05a 100644 --- a/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go +++ b/identitygovernance/entitlement_management_subjects_access_package_subject_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the subjects within entitlement management. @@ -138,7 +138,7 @@ func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subjects in identityGovernance @@ -151,7 +151,7 @@ func (m *EntitlementManagementSubjectsAccessPackageSubjectItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go b/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go index 0f220d6d622..8122715ccd6 100644 --- a/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go +++ b/identitygovernance/entitlement_management_subjects_item_connected_organization_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementSubjectsItemConnectedOrganizationRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/entitlement_management_subjects_request_builder.go b/identitygovernance/entitlement_management_subjects_request_builder.go index e9af3a4451b..d5eb650c5a7 100644 --- a/identitygovernance/entitlement_management_subjects_request_builder.go +++ b/identitygovernance/entitlement_management_subjects_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementSubjectsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to subjects for identityGovernance @@ -138,7 +138,7 @@ func (m *EntitlementManagementSubjectsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/identity_governance_request_builder.go b/identitygovernance/identity_governance_request_builder.go index c0e27804e0c..d41f2ae8aee 100644 --- a/identitygovernance/identity_governance_request_builder.go +++ b/identitygovernance/identity_governance_request_builder.go @@ -134,7 +134,7 @@ func (m *IdentityGovernanceRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update identityGovernance @@ -147,7 +147,7 @@ func (m *IdentityGovernanceRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go index 9d23c0b221e..e26c2ebcbd0 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_custom_task_extension_item_request_builder.go @@ -135,7 +135,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a customTaskExtension object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a customTaskExtension object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsCustomTaskExtensionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_mailbox_settings_request_builder.go index 089e5e9e699..ccf8c6124db 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByMailboxSettingsReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByMailboxSettingsReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_request_builder.go index 356f2c5cc0e..3fb59323814 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_service_provisioning_errors_request_builder.go index 44b55903bec..834455969fe 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_created_by_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningEr func (m *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningE } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemCreatedByServiceProvisioningE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_mailbox_settings_request_builder.go index c58efc3fac1..b0d4ca78df1 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByMailboxSettings requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByMailboxSettings requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_request_builder.go index 508c9594839..ec206677136 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_service_provisioning_errors_request_builder.go index 1e7d445c30c..32b22e44fd1 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_item_last_modified_by_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvision func (m *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsItemLastModifiedByServiceProvisio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go b/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go index 68a554567c4..42d7c8086e7 100644 --- a/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_custom_task_extensions_request_builder.go @@ -131,7 +131,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new customTaskExtension object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *LifecycleWorkflowsCustomTaskExtensionsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_request_builder.go index 61eb7355408..f17ff528ebd 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_request_builder.go @@ -92,7 +92,7 @@ func (m *LifecycleWorkflowsDeletedItemsRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation deleted workflows in your lifecycle workflows instance. @@ -108,7 +108,7 @@ func (m *LifecycleWorkflowsDeletedItemsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_mailbox_settings_request_builder.go index b83d692c61e..9f3defb01ab 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByMailboxSettingsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByMailboxSettingsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_request_builder.go index b83aa7bcc9b..5aedc8b832b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_service_provisioning_errors_request_builder.go index e87235df4bd..93153df11f7 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_created_by_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningE func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioning } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemCreatedByServiceProvisioning requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go index ad20c369048..4a90adff8b5 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_request_builder.go @@ -99,7 +99,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_user_processing_result_item_request_builder.go index 0add79c8d01..7ecf45754e5 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_execution_scope_user_processing_result_item_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemExecutionScopeUserProcessing requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_mailbox_settings_request_builder.go index f238aab28e9..b21903755a3 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByMailboxSetting requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByMailboxSetting requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_request_builder.go index 41f03609d98..3bff9e12f6c 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_service_provisioning_errors_request_builder.go index 4ac39baa66b..c46cff1676c 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_last_modified_by_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisio func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemLastModifiedByServiceProvisi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go index 6c4fe26774d..3a14fafef97 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovern requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go index 55d3dd60f07..6e7f1da719d 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go @@ -63,7 +63,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovern requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go index b9fea0e7783..a0588c89c89 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemMicrosoftGraphIdentityGovern requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index d630423dbf9..ed1ee5373dd 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 039cc94f601..67dc2aee32d 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go index 13f550fc834..9f5841a6d4b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index bfb66389014..55a90ae97eb 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResults func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_task_request_builder.go index 214220363ac..f9b185e533b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go index 41deb196418..ebfc416400c 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go index 2d96d7202e2..9e18f5e3bbc 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemTaskProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go index 5799677148e..874ee04aafa 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go index 5fd42dfa31a..bd3022e3335 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go index 66a179d4629..59688f9f3c0 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResults func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index c80e8d0b0c6..828e7d238fd 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 17802666aa0..2d81dd81ad6 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go index a3d9bf6c8be..cf2e5869866 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index dca769d8331..491419af33f 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResults func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go index 2d45c7be867..18e8b77a82f 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go index e87466f5522..c2fcf8d0fa6 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go index a8efd905bc8..141946a5c74 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 14ee0b189b3..f56492b9f5f 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -67,7 +67,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go index 2522b3f0f0d..4813e218507 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_request_builder.go @@ -107,7 +107,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go index b27d6565bf1..c5de4d2092e 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go @@ -83,7 +83,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsItemUserProcessingResult requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 6c72f365633..7b7386f32c2 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -67,7 +67,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsMicrosoftGraphIdentityGo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go index 32d65f533c6..62bd15fb1ce 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_request_builder.go @@ -107,7 +107,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go index f0f2d2ae94a..aed2d4df5f9 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_runs_run_item_request_builder.go @@ -79,7 +79,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemRunsRunItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // UserProcessingResults provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_definition_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_definition_request_builder.go index f285888a816..923f0d3d9c6 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_definition_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 1b34084b09a..f0c57b6f4d3 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 587d2a0207f..c1e1a145d5d 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go index 03c2d4ac676..c8da2e8a32b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index 615cff3c5d8..0d0d19b1278 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessing func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go index 36461cc7a35..00cff3da5f6 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go index a27f77fca51..b58cbbe3f38 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go index 76323945cf0..873b3678a88 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskProcessin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_request_builder.go index 68de00000c3..157610d9efa 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsItemTaskRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 4d60a3836de..b7923385aef 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -67,7 +67,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsMicrosoftGraphIde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go index 88fd17ca6f5..a2c3afdeeb7 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_request_builder.go @@ -107,7 +107,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_task_report_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_task_report_item_request_builder.go index 6f8a2aaad79..aa299c9b4af 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_task_report_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_task_reports_task_report_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTaskReportsTaskReportItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 3684fedf04e..851d2c269bf 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index c193a50048c..483a5916f19 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go index 73c74aabb47..8e6bd22045b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index b682a28f01b..eb645f709aa 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResult func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go index 8ee8fe5f013..e6ab4b62a98 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_request_builder.go index 5a3252346b2..6222d93381d 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_request_builder.go @@ -99,7 +99,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go index c2a9f5d6624..f4fe185c64a 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_request_builder.go index 98942145b0a..7977eb938a1 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_request_builder.go @@ -125,7 +125,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for identityGovernance @@ -138,7 +138,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_task_item_request_builder.go index 6717dd1963d..8ca35cd2f41 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_tasks_task_item_request_builder.go @@ -122,7 +122,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksTaskItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the tasks in the workflow. @@ -138,7 +138,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksTaskItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in identityGovernance @@ -151,7 +151,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemTasksTaskItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go index 9796fb9678f..85bd8956d4e 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSub requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSub requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_request_builder.go index f1f383f930c..16b61223fc9 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSub requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go index 3d8481b5ef3..eb0a3c97687 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubj func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSub } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemSub requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 592cbc53536..11ace83fb24 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 508c12443ad..eb1912c0d07 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go index ef28c3e7ddf..69b238c98ba 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index 27ea1bfbfb3..9359d8d1c59 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTask func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go index c90cd0a18ce..c476743ed4c 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go index 69ba26c2e4d..17040f2ab4b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go index 69f00301199..24fc50ba7f5 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsItemTas requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 6aa8bcd84cb..014d9c42f53 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -67,7 +67,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsMicroso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go index ca7cc01ac0d..8a48f94294f 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_request_builder.go @@ -107,7 +107,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_user_processing_result_item_request_builder.go index ca15b0b33e2..153d1b8fb03 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_user_processing_results_user_processing_result_item_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemUserProcessingResultsUserPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go index aa1e1f63df6..7cb733fb01c 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByMailbox requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByMailbox requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_request_builder.go index 488d82c33f6..d3a248ceb88 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_service_provisioning_errors_request_builder.go index 444e9149728..03b76d1a348 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_created_by_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceP func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByService } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemCreatedByService requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go index 418aa8b6a73..4f3e3a65453 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByMa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByMa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_request_builder.go index 3776c0b7c18..96305a0cd4b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_service_provisioning_errors_request_builder.go index a6dcfe896c1..4656c3e2426 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_last_modified_by_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedBySer func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedBySe } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemLastModifiedBySe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 3e5bda6e627..dc8b5a1a214 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 8b17f737d86..4ad4dfae70b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go index 8da2943224d..1b7476336a7 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index caad620f25a..66334479181 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProc func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go index 241c5f89bcc..16b8a3f1f12 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go index fb659e4cc55..46ec75cb33e 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go @@ -99,7 +99,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go index 12a9fd53572..8720ec0e81e 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_request_builder.go index 931e6f3b8e1..0f8f7358939 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_request_builder.go @@ -125,7 +125,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for identityGovernance @@ -138,7 +138,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_task_item_request_builder.go index 852a7d65239..31fae0ef552 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_item_tasks_task_item_request_builder.go @@ -122,7 +122,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksTaskItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the tasks in the workflow. @@ -138,7 +138,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksTaskItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in identityGovernance @@ -151,7 +151,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemTasksTaskItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go index a67625b3b7c..ebba06f8d4b 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_request_builder.go @@ -113,7 +113,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go index 681e7d51eb1..1cead8bde11 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_versions_workflow_version_version_number_item_request_builder.go @@ -87,7 +87,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsWorkflowVersionVersi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go index 107245cc1ec..f337ffcc68c 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go index 0881d3a51ad..62835e91c35 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_workflow_item_request_builder.go @@ -134,7 +134,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a deleted workflow object. This API is available in the following national cloud deployments. @@ -150,7 +150,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsWorkflowItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // UserProcessingResults provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.workflow entity. diff --git a/identitygovernance/lifecycle_workflows_request_builder.go b/identitygovernance/lifecycle_workflows_request_builder.go index 46d453070fa..21da8b25b2e 100644 --- a/identitygovernance/lifecycle_workflows_request_builder.go +++ b/identitygovernance/lifecycle_workflows_request_builder.go @@ -134,7 +134,7 @@ func (m *LifecycleWorkflowsRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get lifecycleWorkflows from identityGovernance @@ -150,7 +150,7 @@ func (m *LifecycleWorkflowsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property lifecycleWorkflows in identityGovernance @@ -163,7 +163,7 @@ func (m *LifecycleWorkflowsRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_settings_request_builder.go b/identitygovernance/lifecycle_workflows_settings_request_builder.go index 64717f9e425..e54378937fc 100644 --- a/identitygovernance/lifecycle_workflows_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_settings_request_builder.go @@ -104,7 +104,7 @@ func (m *LifecycleWorkflowsSettingsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. @@ -117,7 +117,7 @@ func (m *LifecycleWorkflowsSettingsRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go b/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go index f32fff50a31..9b22d594065 100644 --- a/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_task_definitions_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsTaskDefinitionsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go b/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go index 222977da82e..066dc505577 100644 --- a/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_task_definitions_task_definition_item_request_builder.go @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsTaskDefinitionsTaskDefinitionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 5e92b23ee2d..ab137c480d9 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 5ad59772cc4..89b1ea6a193 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_request_builder.go index 86184d9ef3d..047b5297246 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index e4cd7959e55..e904e8239d8 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIte func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_task_request_builder.go index 8bba2274e7a..ae3fdf623f9 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_request_builder.go index c18cbc75025..6a240a2410d 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_request_builder.go @@ -99,7 +99,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go index 90e2ba7689b..1eddb5ef9e2 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksItemTaskProcessingResultsTa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_request_builder.go index ea5f2b99d79..8c0fdb56646 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_request_builder.go @@ -99,7 +99,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_task_item_request_builder.go index 045ef496315..914fb1c1202 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_item_tasks_task_item_request_builder.go @@ -76,7 +76,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesItemTasksTaskItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go index 4c1fe887177..7758c0ffbde 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go index 2745d48cc11..d3a8aa18fad 100644 --- a/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflow_templates_workflow_template_item_request_builder.go @@ -79,7 +79,7 @@ func (m *LifecycleWorkflowsWorkflowTemplatesWorkflowTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_created_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_created_by_mailbox_settings_request_builder.go index 54195333995..6d5cfdeaffc 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_created_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_created_by_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemCreatedByMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemCreatedByMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_created_by_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_created_by_request_builder.go index c1d4657b9ce..2b3c7e553be 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_created_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_created_by_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemCreatedByRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_created_by_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_created_by_service_provisioning_errors_request_builder.go index ff812541d8c..3332c538ece 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_created_by_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_created_by_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsRequest func (m *LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemCreatedByServiceProvisioningErrorsReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go index ef11820f15b..f5991b2ec0f 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_request_builder.go @@ -99,7 +99,7 @@ func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go index 80149297e06..a36ca526725 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_execution_scope_user_processing_result_item_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsWorkflowsItemExecutionScopeUserProcessingResultItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_mailbox_settings_request_builder.go index ae767dfef8f..23b5ffd72b6 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemLastModifiedByMailboxSettingsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemLastModifiedByMailboxSettingsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_request_builder.go index ede4935b724..0f9b88d7ab3 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemLastModifiedByRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_service_provisioning_errors_request_builder.go index f38c12f57ee..7ef09ed04d4 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_last_modified_by_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsRe func (m *LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemLastModifiedByServiceProvisioningErrorsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go index 39ddf48bc6d..5debc54afd1 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_activate_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceActivate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go index b464246cba9..756dda8de0b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_create_new_version_request_builder.go @@ -63,7 +63,7 @@ func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceCreateNe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go index 58a9ae46909..fd268f2afc5 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_microsoft_graph_identity_governance_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *LifecycleWorkflowsWorkflowsItemMicrosoftGraphIdentityGovernanceRestoreR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 694b4910793..9322256acfa 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemMicroso requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index aadeca5b807..d80f7164507 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubject requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubject requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go index acb3cec0d39..563179bfb1a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubject requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index 2dd0417a67d..75036ef7dc4 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectS func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubject } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemSubject requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_task_request_builder.go index 93d406ebf85..156b4e2e246 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsItemTaskReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go index f2d70ad188f..aa2019fced9 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go index e9966270637..52bf72d8e02 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemTaskProcessingResultsTaskProcess requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go index c24eaa897ce..641f0e9e3f4 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubject requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubject requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go index 84ed241744e..b4b08cf8e73 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubject requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go index 284cb4c29eb..fea03500d43 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectS func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubject } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemSubject requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 2cbd13fd039..37f71975e9f 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 9ab6b04cac8..4c416096c87 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go index 7511664404b..39c2282eaf1 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index d1bbf6cf6cc..0462e2c566d 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProc func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go index 21db8be5718..6bda187036a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go index 17792df29a9..e0e1e78be12 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go index 18582209032..0777d632a5d 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsItemTaskPro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 019eba870ea..6792350f487 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -67,7 +67,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsMicrosoftGr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go index 4cb1b629966..e1d0008e3f9 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_request_builder.go @@ -107,7 +107,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go index 5c487b89a71..e25528092d9 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_item_user_processing_results_user_processing_result_item_request_builder.go @@ -83,7 +83,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsItemUserProcessingResultsUserProcess requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index c9f5abeb7a8..5b864f1e4c0 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -67,7 +67,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsMicrosoftGraphIdentityGovernanceSumm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go index 305855ac865..b3d9488f44b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_request_builder.go @@ -107,7 +107,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go index fcc8306a89b..c9ff75a993b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_runs_run_item_request_builder.go @@ -79,7 +79,7 @@ func (m *LifecycleWorkflowsWorkflowsItemRunsRunItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // UserProcessingResults provides operations to manage the userProcessingResults property of the microsoft.graph.identityGovernance.run entity. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_definition_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_definition_request_builder.go index 176584bc611..d332d820285 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_definition_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskDefinitionRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index dedf32bca0c..3a1d0c347f1 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index ad51440f5e6..b308e3c2a22 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go index a10e623e46c..437f64921d8 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index 957019eb9ae..867add685ea 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemS func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go index 6bd2de5800e..c219cea10af 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go index 0f781444669..3ff26d56dd4 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go index 0d4b01a28c4..783ca7e3538 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskProcessingResultsTask requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_request_builder.go index 424f63628e2..ed3411cc762 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsItemTaskRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index 7655a25f923..c592395e9bb 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -67,7 +67,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsMicrosoftGraphIdentityGoverna requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go index 8d0e1c3ef1e..7ab4f5f468f 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_request_builder.go @@ -107,7 +107,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_task_report_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_task_report_item_request_builder.go index 7a260a2e450..396e4b93769 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_task_reports_task_report_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_task_reports_task_report_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTaskReportsTaskReportItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 457707b2637..d1b4d0ac104 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemMicros requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 271393cec10..c5790828539 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go index 6d4fdb3d111..3ae0144aea1 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index 7def577a9b6..467a3daa910 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubject func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjec } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemSubjec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go index 0058e282c08..6a9631a6afd 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsItemTaskRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_request_builder.go index b1d21793f43..f5621c32944 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_request_builder.go @@ -99,7 +99,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go index bcbdf69d5da..1782d53caf8 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksItemTaskProcessingResultsTaskProces requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_request_builder.go index f09d6aa351d..a1aa99e3df9 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_request_builder.go @@ -125,7 +125,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for identityGovernance @@ -138,7 +138,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_tasks_task_item_request_builder.go index 0fa6d258fbc..1c24e731c9b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_tasks_task_item_request_builder.go @@ -122,7 +122,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksTaskItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the tasks in the workflow. @@ -138,7 +138,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksTaskItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in identityGovernance @@ -151,7 +151,7 @@ func (m *LifecycleWorkflowsWorkflowsItemTasksTaskItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go index 10367987e75..e8b59dec039 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectMailboxS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go index 905f36f462a..8fafb151c38 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go index 7f4587cf3fe..e7a2ca65758 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServicePr func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceP } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemSubjectServiceP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index 8804997b100..fd852281926 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index f4ace669daf..b21ba386b71 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go index 8e391936a50..b30f2085780 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index 4478c1ea41a..1610937b5c6 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingRe func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go index 108d0fbf4d2..93c5b932ec1 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go index 015d9670ee6..135246ff9a4 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_request_builder.go @@ -102,7 +102,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go index 4b8650fb796..d2fb9f5087c 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsItemTaskProcessingR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go index e6cb8985e6a..4bb4c17813b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_microsoft_graph_identity_governance_summary_with_start_date_time_with_end_date_time_request_builder.go @@ -67,7 +67,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsMicrosoftGraphIdent requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go index 1deb0d39355..31acc30d4e4 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_request_builder.go @@ -107,7 +107,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_user_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_user_processing_result_item_request_builder.go index 12dd3ecb283..8460a62a14a 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_user_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_user_processing_results_user_processing_result_item_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemUserProcessingResultsUserProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go index c5afcecb892..abe391ee2b6 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByMailboxSettingsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByMailboxSettingsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_request_builder.go index d75f052b193..8b2f1c5301f 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_service_provisioning_errors_request_builder.go index 207324db5fa..3ca2fa0fdd8 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_created_by_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningE func (m *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioning } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemCreatedByServiceProvisioning requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go index 02f2f5d83ad..d48b855f04f 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByMailboxSetting requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByMailboxSetting requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_request_builder.go index e6fa3af599c..a326a20908e 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_service_provisioning_errors_request_builder.go index c0d0d951b64..8ff71598b77 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_last_modified_by_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisio func (m *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemLastModifiedByServiceProvisi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go index f188281751c..07a5cabf721 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_microsoft_graph_identity_governance_resume_request_builder.go @@ -59,7 +59,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go index 09f6116f7fb..7ca7cc86d5b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go index 1412d26fe28..43ebcd0d021 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_request_builder.go @@ -80,7 +80,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go index cace55f34f4..e6cbb3f69be 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_subject_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResult func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResultsItemSubjectServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go index 6f1e2be6c90..c972b983dee 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_item_task_request_builder.go @@ -72,7 +72,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go index fd7a607736e..1fc03bec723 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_request_builder.go @@ -99,7 +99,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go index d5afcbfc36f..c109db14e76 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_item_task_processing_results_task_processing_result_item_request_builder.go @@ -84,7 +84,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksItemTaskProcessingResul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_request_builder.go index 98b4aa97877..2f3a44b8336 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_request_builder.go @@ -125,7 +125,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for identityGovernance @@ -138,7 +138,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_task_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_task_item_request_builder.go index 7071a9bac8b..cda58e002da 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_task_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_tasks_task_item_request_builder.go @@ -122,7 +122,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the tasks in the workflow. @@ -138,7 +138,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in identityGovernance @@ -151,7 +151,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemTasksTaskItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go index 9acf6ee481f..5e05a3e7da1 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_request_builder.go @@ -113,7 +113,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go index 748d3265832..eb38f93456b 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_workflow_version_version_number_item_request_builder.go @@ -87,7 +87,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsWorkflowVersionVersionNumberItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/lifecycle_workflows_workflows_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_request_builder.go index ded891b70b2..00a69852ac7 100644 --- a/identitygovernance/lifecycle_workflows_workflows_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_request_builder.go @@ -131,7 +131,7 @@ func (m *LifecycleWorkflowsWorkflowsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *LifecycleWorkflowsWorkflowsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go index c92fc5a7d15..7dbc98bef54 100644 --- a/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_workflow_item_request_builder.go @@ -163,7 +163,7 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a workflow object. This API is available in the following national cloud deployments. @@ -179,7 +179,7 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -192,7 +192,7 @@ func (m *LifecycleWorkflowsWorkflowsWorkflowItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_aws_findings_finding_item_request_builder.go b/identitygovernance/permissions_analytics_aws_findings_finding_item_request_builder.go index 73119e077ce..ffba9907eac 100644 --- a/identitygovernance/permissions_analytics_aws_findings_finding_item_request_builder.go +++ b/identitygovernance/permissions_analytics_aws_findings_finding_item_request_builder.go @@ -118,7 +118,7 @@ func (m *PermissionsAnalyticsAwsFindingsFindingItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get findings from identityGovernance @@ -134,7 +134,7 @@ func (m *PermissionsAnalyticsAwsFindingsFindingItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property findings in identityGovernance @@ -147,7 +147,7 @@ func (m *PermissionsAnalyticsAwsFindingsFindingItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_aws_findings_request_builder.go b/identitygovernance/permissions_analytics_aws_findings_request_builder.go index 99e6f6c3d10..999eed74d39 100644 --- a/identitygovernance/permissions_analytics_aws_findings_request_builder.go +++ b/identitygovernance/permissions_analytics_aws_findings_request_builder.go @@ -125,7 +125,7 @@ func (m *PermissionsAnalyticsAwsFindingsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to findings for identityGovernance @@ -138,7 +138,7 @@ func (m *PermissionsAnalyticsAwsFindingsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_item_authorization_system_request_builder.go b/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_item_authorization_system_request_builder.go index e18857a3bf4..5bbcda2b7f2 100644 --- a/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_item_authorization_system_request_builder.go +++ b/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_item_authorization_system_request_builder.go @@ -72,7 +72,7 @@ func (m *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsItemAuthorizat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go b/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go index 86e1ca02449..30b4a1d597c 100644 --- a/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go +++ b/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go @@ -122,7 +122,7 @@ func (m *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsPermissionsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get permissionsCreepIndexDistributions from identityGovernance @@ -138,7 +138,7 @@ func (m *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsPermissionsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionsCreepIndexDistributions in identityGovernance @@ -151,7 +151,7 @@ func (m *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsPermissionsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_request_builder.go b/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_request_builder.go index dd371290a1f..eac6a4e0324 100644 --- a/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_request_builder.go +++ b/identitygovernance/permissions_analytics_aws_permissions_creep_index_distributions_request_builder.go @@ -125,7 +125,7 @@ func (m *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionsCreepIndexDistributions for identityGovernance @@ -138,7 +138,7 @@ func (m *PermissionsAnalyticsAwsPermissionsCreepIndexDistributionsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_aws_request_builder.go b/identitygovernance/permissions_analytics_aws_request_builder.go index d3f02419cbb..6ee2ed34116 100644 --- a/identitygovernance/permissions_analytics_aws_request_builder.go +++ b/identitygovernance/permissions_analytics_aws_request_builder.go @@ -126,7 +126,7 @@ func (m *PermissionsAnalyticsAwsRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get aws from identityGovernance @@ -142,7 +142,7 @@ func (m *PermissionsAnalyticsAwsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property aws in identityGovernance @@ -155,7 +155,7 @@ func (m *PermissionsAnalyticsAwsRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_azure_findings_finding_item_request_builder.go b/identitygovernance/permissions_analytics_azure_findings_finding_item_request_builder.go index 8af3138b9fd..99afe82803d 100644 --- a/identitygovernance/permissions_analytics_azure_findings_finding_item_request_builder.go +++ b/identitygovernance/permissions_analytics_azure_findings_finding_item_request_builder.go @@ -118,7 +118,7 @@ func (m *PermissionsAnalyticsAzureFindingsFindingItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get findings from identityGovernance @@ -134,7 +134,7 @@ func (m *PermissionsAnalyticsAzureFindingsFindingItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property findings in identityGovernance @@ -147,7 +147,7 @@ func (m *PermissionsAnalyticsAzureFindingsFindingItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_azure_findings_request_builder.go b/identitygovernance/permissions_analytics_azure_findings_request_builder.go index d17a95e1353..c90e3e9e6e4 100644 --- a/identitygovernance/permissions_analytics_azure_findings_request_builder.go +++ b/identitygovernance/permissions_analytics_azure_findings_request_builder.go @@ -125,7 +125,7 @@ func (m *PermissionsAnalyticsAzureFindingsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to findings for identityGovernance @@ -138,7 +138,7 @@ func (m *PermissionsAnalyticsAzureFindingsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_item_authorization_system_request_builder.go b/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_item_authorization_system_request_builder.go index 27af2ea3d92..3be72e8c124 100644 --- a/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_item_authorization_system_request_builder.go +++ b/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_item_authorization_system_request_builder.go @@ -72,7 +72,7 @@ func (m *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsItemAuthoriz requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go b/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go index 54bc3fd4815..d198bb2332c 100644 --- a/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go +++ b/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go @@ -122,7 +122,7 @@ func (m *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsPermissionsC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get permissionsCreepIndexDistributions from identityGovernance @@ -138,7 +138,7 @@ func (m *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsPermissionsC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionsCreepIndexDistributions in identityGovernance @@ -151,7 +151,7 @@ func (m *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsPermissionsC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_request_builder.go b/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_request_builder.go index b8fbe21b809..11c77128a5c 100644 --- a/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_request_builder.go +++ b/identitygovernance/permissions_analytics_azure_permissions_creep_index_distributions_request_builder.go @@ -125,7 +125,7 @@ func (m *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionsCreepIndexDistributions for identityGovernance @@ -138,7 +138,7 @@ func (m *PermissionsAnalyticsAzurePermissionsCreepIndexDistributionsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_azure_request_builder.go b/identitygovernance/permissions_analytics_azure_request_builder.go index 9940d435f88..5eed9048cd5 100644 --- a/identitygovernance/permissions_analytics_azure_request_builder.go +++ b/identitygovernance/permissions_analytics_azure_request_builder.go @@ -126,7 +126,7 @@ func (m *PermissionsAnalyticsAzureRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get azure from identityGovernance @@ -142,7 +142,7 @@ func (m *PermissionsAnalyticsAzureRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property azure in identityGovernance @@ -155,7 +155,7 @@ func (m *PermissionsAnalyticsAzureRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_gcp_findings_finding_item_request_builder.go b/identitygovernance/permissions_analytics_gcp_findings_finding_item_request_builder.go index 388e33c188a..455100e2177 100644 --- a/identitygovernance/permissions_analytics_gcp_findings_finding_item_request_builder.go +++ b/identitygovernance/permissions_analytics_gcp_findings_finding_item_request_builder.go @@ -118,7 +118,7 @@ func (m *PermissionsAnalyticsGcpFindingsFindingItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get findings from identityGovernance @@ -134,7 +134,7 @@ func (m *PermissionsAnalyticsGcpFindingsFindingItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property findings in identityGovernance @@ -147,7 +147,7 @@ func (m *PermissionsAnalyticsGcpFindingsFindingItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_gcp_findings_request_builder.go b/identitygovernance/permissions_analytics_gcp_findings_request_builder.go index 2f63f8d483d..1f3c8f34bca 100644 --- a/identitygovernance/permissions_analytics_gcp_findings_request_builder.go +++ b/identitygovernance/permissions_analytics_gcp_findings_request_builder.go @@ -125,7 +125,7 @@ func (m *PermissionsAnalyticsGcpFindingsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to findings for identityGovernance @@ -138,7 +138,7 @@ func (m *PermissionsAnalyticsGcpFindingsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_item_authorization_system_request_builder.go b/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_item_authorization_system_request_builder.go index c01938f6980..a87ba200959 100644 --- a/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_item_authorization_system_request_builder.go +++ b/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_item_authorization_system_request_builder.go @@ -72,7 +72,7 @@ func (m *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsItemAuthorizat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go b/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go index 22dfcf9b6d6..1944872533b 100644 --- a/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go +++ b/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_permissions_creep_index_distribution_item_request_builder.go @@ -122,7 +122,7 @@ func (m *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsPermissionsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get permissionsCreepIndexDistributions from identityGovernance @@ -138,7 +138,7 @@ func (m *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsPermissionsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionsCreepIndexDistributions in identityGovernance @@ -151,7 +151,7 @@ func (m *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsPermissionsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_request_builder.go b/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_request_builder.go index f572b5b5ab3..a37df60b015 100644 --- a/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_request_builder.go +++ b/identitygovernance/permissions_analytics_gcp_permissions_creep_index_distributions_request_builder.go @@ -125,7 +125,7 @@ func (m *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionsCreepIndexDistributions for identityGovernance @@ -138,7 +138,7 @@ func (m *PermissionsAnalyticsGcpPermissionsCreepIndexDistributionsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_gcp_request_builder.go b/identitygovernance/permissions_analytics_gcp_request_builder.go index 312a63923de..edfe87de7bb 100644 --- a/identitygovernance/permissions_analytics_gcp_request_builder.go +++ b/identitygovernance/permissions_analytics_gcp_request_builder.go @@ -126,7 +126,7 @@ func (m *PermissionsAnalyticsGcpRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get gcp from identityGovernance @@ -142,7 +142,7 @@ func (m *PermissionsAnalyticsGcpRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property gcp in identityGovernance @@ -155,7 +155,7 @@ func (m *PermissionsAnalyticsGcpRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_analytics_request_builder.go b/identitygovernance/permissions_analytics_request_builder.go index 6c1d4e420e1..04ee904a7b0 100644 --- a/identitygovernance/permissions_analytics_request_builder.go +++ b/identitygovernance/permissions_analytics_request_builder.go @@ -130,7 +130,7 @@ func (m *PermissionsAnalyticsRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get permissionsAnalytics from identityGovernance @@ -146,7 +146,7 @@ func (m *PermissionsAnalyticsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionsAnalytics in identityGovernance @@ -159,7 +159,7 @@ func (m *PermissionsAnalyticsRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_management_permissions_request_changes_permissions_request_change_item_request_builder.go b/identitygovernance/permissions_management_permissions_request_changes_permissions_request_change_item_request_builder.go index f546fd79f9e..6f18ae8ce45 100644 --- a/identitygovernance/permissions_management_permissions_request_changes_permissions_request_change_item_request_builder.go +++ b/identitygovernance/permissions_management_permissions_request_changes_permissions_request_change_item_request_builder.go @@ -118,7 +118,7 @@ func (m *PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get permissionsRequestChanges from identityGovernance @@ -134,7 +134,7 @@ func (m *PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionsRequestChanges in identityGovernance @@ -147,7 +147,7 @@ func (m *PermissionsManagementPermissionsRequestChangesPermissionsRequestChangeI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_management_permissions_request_changes_request_builder.go b/identitygovernance/permissions_management_permissions_request_changes_request_builder.go index b578c432c76..4a9534c0733 100644 --- a/identitygovernance/permissions_management_permissions_request_changes_request_builder.go +++ b/identitygovernance/permissions_management_permissions_request_changes_request_builder.go @@ -125,7 +125,7 @@ func (m *PermissionsManagementPermissionsRequestChangesRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionsRequestChanges for identityGovernance @@ -138,7 +138,7 @@ func (m *PermissionsManagementPermissionsRequestChangesRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_management_request_builder.go b/identitygovernance/permissions_management_request_builder.go index cab2e5bc372..75470d8f2fa 100644 --- a/identitygovernance/permissions_management_request_builder.go +++ b/identitygovernance/permissions_management_request_builder.go @@ -126,7 +126,7 @@ func (m *PermissionsManagementRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get permissionsManagement from identityGovernance @@ -142,7 +142,7 @@ func (m *PermissionsManagementRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionsManagement in identityGovernance @@ -155,7 +155,7 @@ func (m *PermissionsManagementRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/permissions_management_scheduled_permissions_requests_request_builder.go b/identitygovernance/permissions_management_scheduled_permissions_requests_request_builder.go index b6ca7e58115..aad91a594d4 100644 --- a/identitygovernance/permissions_management_scheduled_permissions_requests_request_builder.go +++ b/identitygovernance/permissions_management_scheduled_permissions_requests_request_builder.go @@ -60,7 +60,7 @@ func (m *PermissionsManagementScheduledPermissionsRequestsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_assignment_approvals_approval_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_approval_item_request_builder.go index 59ac2613cbd..aa5c9176041 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_approval_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_approval_item_request_builder.go @@ -122,7 +122,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsApprovalItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get assignmentApprovals from identityGovernance @@ -138,7 +138,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsApprovalItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignmentApprovals in identityGovernance @@ -151,7 +151,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsApprovalItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go index 193b7d7de33..977ba53da34 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsFilterByCurrentUserWithOnReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go index 5d9b616bc4e..b2029337c26 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -124,7 +124,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsApprovalStepItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go index 96c5cd2c911..dfba191c352 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_item_steps_request_builder.go @@ -128,7 +128,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to steps for identityGovernance @@ -141,7 +141,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsItemStepsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_assignment_approvals_request_builder.go b/identitygovernance/privileged_access_group_assignment_approvals_request_builder.go index d86d7c6c5ec..3b9742eaa89 100644 --- a/identitygovernance/privileged_access_group_assignment_approvals_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_approvals_request_builder.go @@ -129,7 +129,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignmentApprovals for identityGovernance @@ -142,7 +142,7 @@ func (m *PrivilegedAccessGroupAssignmentApprovalsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index 5614b2b7711..a18edc294ab 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesFilterByCurrentUserWith requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_activated_using_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_activated_using_request_builder.go index af03546167f..337999f92c0 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_activated_using_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesItemActivatedUsingReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_request_builder.go index 55626c5cd81..5f8f7680da9 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_request_builder.go @@ -76,7 +76,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesItemGroupRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_service_provisioning_errors_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_service_provisioning_errors_request_builder.go index 5b756f3d742..d2648bc94e1 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_service_provisioning_errors_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesItemGroupServiceProvisi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_principal_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_principal_request_builder.go index 36bbbf24026..1ed0cf3ca6e 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesItemPrincipalRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go index 3b9e5c8b760..379b7879f9a 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_privileged_access_group_assignment_schedule_instance_item_request_builder.go @@ -133,7 +133,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAs requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAs requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignmentScheduleInstances in identityGovernance @@ -162,7 +162,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesPrivilegedAccessGroupAs requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go index 3f51c455497..367ab81e541 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_instances_request_builder.go @@ -132,7 +132,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignmentScheduleInstances for identityGovernance @@ -145,7 +145,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleInstancesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index cbf22ac8885..53640f6c9b6 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsFilterByCurrentUserWithO requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_activated_using_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_activated_using_request_builder.go index 9c207afabbf..2d72e45baf2 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_activated_using_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemActivatedUsingReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go index 8862a4dc262..d998fe159dc 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemCancelRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_request_builder.go index c3c1b69a405..cd55c6327c9 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_request_builder.go @@ -76,7 +76,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemGroupRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_service_provisioning_errors_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_service_provisioning_errors_request_builder.go index 3dff74798f4..e8081388860 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_service_provisioning_errors_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemGroupServiceProvisio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_principal_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_principal_request_builder.go index 2d917e546d2..0ec3f8de242 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemPrincipalRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_target_schedule_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_target_schedule_request_builder.go index 77d261efe6a..c5f3e978550 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_item_target_schedule_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_item_target_schedule_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsItemTargetScheduleReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go index a3d97b469a4..0a4e7ac3a34 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_privileged_access_group_assignment_schedule_request_item_request_builder.go @@ -141,7 +141,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignmentScheduleRequests in identityGovernance @@ -170,7 +170,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsPrivilegedAccessGroupAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go index 7dd72912198..ac288d90f8e 100644 --- a/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedule_requests_request_builder.go @@ -135,7 +135,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *PrivilegedAccessGroupAssignmentScheduleRequestsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go index 5b8bc36fa3d..a106fdc0f5d 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesFilterByCurrentUserWithOnReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedules_item_activated_using_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_item_activated_using_request_builder.go index d172923d31f..94a3a3c4156 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_item_activated_using_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesItemActivatedUsingRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedules_item_group_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_item_group_request_builder.go index 86c575c9d15..44e322253ef 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_item_group_request_builder.go @@ -76,7 +76,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesItemGroupRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedules_item_group_service_provisioning_errors_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_item_group_service_provisioning_errors_request_builder.go index 101c2444a15..d552b781623 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_item_group_service_provisioning_errors_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_item_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesItemGroupServiceProvisioningErr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedules_item_principal_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_item_principal_request_builder.go index 9cae27baa39..e32371b4217 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesItemPrincipalRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go index 940fe5bdd6c..8da7f001289 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_privileged_access_group_assignment_schedule_item_request_builder.go @@ -133,7 +133,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignmentSchedules in identityGovernance @@ -162,7 +162,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesPrivilegedAccessGroupAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go b/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go index 4952ac2ce68..fcf83cd3048 100644 --- a/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go +++ b/identitygovernance/privileged_access_group_assignment_schedules_request_builder.go @@ -132,7 +132,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignmentSchedules for identityGovernance @@ -145,7 +145,7 @@ func (m *PrivilegedAccessGroupAssignmentSchedulesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index 461d1494b2f..af0debc1b5d 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesFilterByCurrentUserWit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_request_builder.go index b98f116584d..100b7bea11e 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_request_builder.go @@ -76,7 +76,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesItemGroupRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_service_provisioning_errors_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_service_provisioning_errors_request_builder.go index 6620fbd7c85..f448e3abe22 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_service_provisioning_errors_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesItemGroupServiceProvis requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_principal_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_principal_request_builder.go index 66c898b6fb4..833cfa41167 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesItemPrincipalRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go index b5beba43cd0..350e31e8e94 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_privileged_access_group_eligibility_schedule_instance_item_request_builder.go @@ -129,7 +129,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property eligibilityScheduleInstances in identityGovernance @@ -158,7 +158,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesPrivilegedAccessGroupE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go index c6e2b353e49..86443c44b5e 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_instances_request_builder.go @@ -132,7 +132,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to eligibilityScheduleInstances for identityGovernance @@ -145,7 +145,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleInstancesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index b14f5191434..da4b444fe4e 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsFilterByCurrentUserWith requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go index 276c7eeb249..9728aa48303 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsItemCancelRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_request_builder.go index 9019b8991a9..90e1d643b15 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_request_builder.go @@ -76,7 +76,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsItemGroupRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_service_provisioning_errors_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_service_provisioning_errors_request_builder.go index 889279888d8..18bf2b824d4 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_service_provisioning_errors_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsItemGroupServiceProvisi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_principal_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_principal_request_builder.go index c9cbe683eb8..26d6cf10015 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsItemPrincipalRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_target_schedule_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_target_schedule_request_builder.go index 89ca557bbcb..c32966c996e 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_target_schedule_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_item_target_schedule_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsItemTargetScheduleReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go index 13c3757ab7f..773db494144 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_privileged_access_group_eligibility_schedule_request_item_request_builder.go @@ -137,7 +137,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property eligibilityScheduleRequests in identityGovernance @@ -166,7 +166,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsPrivilegedAccessGroupEl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go index 8f70e840759..c31306978e9 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedule_requests_request_builder.go @@ -135,7 +135,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *PrivilegedAccessGroupEligibilityScheduleRequestsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index 4ffb56a95f6..5ae387d107d 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesFilterByCurrentUserWithOnReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_item_group_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_item_group_request_builder.go index c4648cd1636..c5544c1bf69 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_item_group_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_item_group_request_builder.go @@ -76,7 +76,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesItemGroupRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_item_group_service_provisioning_errors_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_item_group_service_provisioning_errors_request_builder.go index 07f5262db5c..7e74392508a 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_item_group_service_provisioning_errors_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_item_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesItemGroupServiceProvisioningEr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_item_principal_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_item_principal_request_builder.go index 3329c441343..6b01d4984a8 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_item_principal_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesItemPrincipalRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go index 3ea4d3c684b..65c3b8bd941 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_privileged_access_group_eligibility_schedule_item_request_builder.go @@ -129,7 +129,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibili requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibili requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property eligibilitySchedules in identityGovernance @@ -158,7 +158,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesPrivilegedAccessGroupEligibili requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go b/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go index c1f9c0e43f5..8b8931efb62 100644 --- a/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go +++ b/identitygovernance/privileged_access_group_eligibility_schedules_request_builder.go @@ -132,7 +132,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to eligibilitySchedules for identityGovernance @@ -145,7 +145,7 @@ func (m *PrivilegedAccessGroupEligibilitySchedulesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_group_request_builder.go b/identitygovernance/privileged_access_group_request_builder.go index e1fcf7ad1ab..d063df48395 100644 --- a/identitygovernance/privileged_access_group_request_builder.go +++ b/identitygovernance/privileged_access_group_request_builder.go @@ -146,7 +146,7 @@ func (m *PrivilegedAccessGroupRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a group that's governed through Privileged Identity Management (PIM). @@ -162,7 +162,7 @@ func (m *PrivilegedAccessGroupRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property group in identityGovernance @@ -175,7 +175,7 @@ func (m *PrivilegedAccessGroupRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/privileged_access_request_builder.go b/identitygovernance/privileged_access_request_builder.go index cc157d6f734..1e9c5464160 100644 --- a/identitygovernance/privileged_access_request_builder.go +++ b/identitygovernance/privileged_access_request_builder.go @@ -122,7 +122,7 @@ func (m *PrivilegedAccessRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get privilegedAccess from identityGovernance @@ -138,7 +138,7 @@ func (m *PrivilegedAccessRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property privilegedAccess in identityGovernance @@ -151,7 +151,7 @@ func (m *PrivilegedAccessRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_alert_configurations_item_alert_definition_request_builder.go b/identitygovernance/role_management_alerts_alert_configurations_item_alert_definition_request_builder.go index b669a7f1b9d..8f9f3c99f10 100644 --- a/identitygovernance/role_management_alerts_alert_configurations_item_alert_definition_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_configurations_item_alert_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *RoleManagementAlertsAlertConfigurationsItemAlertDefinitionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/role_management_alerts_alert_configurations_request_builder.go b/identitygovernance/role_management_alerts_alert_configurations_request_builder.go index 5663c88a874..9da5ccf9387 100644 --- a/identitygovernance/role_management_alerts_alert_configurations_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_configurations_request_builder.go @@ -128,7 +128,7 @@ func (m *RoleManagementAlertsAlertConfigurationsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to alertConfigurations for identityGovernance @@ -141,7 +141,7 @@ func (m *RoleManagementAlertsAlertConfigurationsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_alert_configurations_unified_role_management_alert_configuration_item_request_builder.go b/identitygovernance/role_management_alerts_alert_configurations_unified_role_management_alert_configuration_item_request_builder.go index 281c969ca35..62e1c1939f1 100644 --- a/identitygovernance/role_management_alerts_alert_configurations_unified_role_management_alert_configuration_item_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_configurations_unified_role_management_alert_configuration_item_request_builder.go @@ -122,7 +122,7 @@ func (m *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfig requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the various configurations of an alert for Microsoft Entra roles. The configurations are predefined and can't be created or deleted, but some of the configurations can be modified. @@ -138,7 +138,7 @@ func (m *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfig requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property alertConfigurations in identityGovernance @@ -151,7 +151,7 @@ func (m *RoleManagementAlertsAlertConfigurationsUnifiedRoleManagementAlertConfig requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_alert_definitions_request_builder.go b/identitygovernance/role_management_alerts_alert_definitions_request_builder.go index ba0385082ed..4cc21102013 100644 --- a/identitygovernance/role_management_alerts_alert_definitions_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_definitions_request_builder.go @@ -128,7 +128,7 @@ func (m *RoleManagementAlertsAlertDefinitionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to alertDefinitions for identityGovernance @@ -141,7 +141,7 @@ func (m *RoleManagementAlertsAlertDefinitionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_alert_definitions_unified_role_management_alert_definition_item_request_builder.go b/identitygovernance/role_management_alerts_alert_definitions_unified_role_management_alert_definition_item_request_builder.go index 0d02297c895..d1e5d95e42b 100644 --- a/identitygovernance/role_management_alerts_alert_definitions_unified_role_management_alert_definition_item_request_builder.go +++ b/identitygovernance/role_management_alerts_alert_definitions_unified_role_management_alert_definition_item_request_builder.go @@ -118,7 +118,7 @@ func (m *RoleManagementAlertsAlertDefinitionsUnifiedRoleManagementAlertDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation defines an alert, its impact, and measures to mitigate or prevent it. @@ -134,7 +134,7 @@ func (m *RoleManagementAlertsAlertDefinitionsUnifiedRoleManagementAlertDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property alertDefinitions in identityGovernance @@ -147,7 +147,7 @@ func (m *RoleManagementAlertsAlertDefinitionsUnifiedRoleManagementAlertDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_configuration_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_configuration_request_builder.go index 753d0c66ec1..6295cff10d7 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_configuration_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_configuration_request_builder.go @@ -72,7 +72,7 @@ func (m *RoleManagementAlertsAlertsItemAlertConfigurationRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_definition_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_definition_request_builder.go index aee5be3441e..2c441137627 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_definition_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *RoleManagementAlertsAlertsItemAlertDefinitionRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_item_remediate_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_item_remediate_request_builder.go index bb5c796f62b..e8cd417ed2e 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_item_remediate_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_item_remediate_request_builder.go @@ -56,7 +56,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsItemRemediateRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go index ba4a296f4d1..6ce2ff57247 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_request_builder.go @@ -128,7 +128,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to alertIncidents for identityGovernance @@ -141,7 +141,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go index 2d8d1e5c019..3c31d20ae0f 100644 --- a/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_alert_incidents_unified_role_management_alert_incident_item_request_builder.go @@ -125,7 +125,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property alertIncidents in identityGovernance @@ -154,7 +154,7 @@ func (m *RoleManagementAlertsAlertsItemAlertIncidentsUnifiedRoleManagementAlertI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_alerts_item_refresh_request_builder.go b/identitygovernance/role_management_alerts_alerts_item_refresh_request_builder.go index 258e34e3229..1ccc079854e 100644 --- a/identitygovernance/role_management_alerts_alerts_item_refresh_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_item_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *RoleManagementAlertsAlertsItemRefreshRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go b/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go index 251f9d9c1ec..36f301e2d58 100644 --- a/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_refresh_request_builder.go @@ -59,7 +59,7 @@ func (m *RoleManagementAlertsAlertsRefreshRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_alerts_request_builder.go b/identitygovernance/role_management_alerts_alerts_request_builder.go index ba53bfe6ec9..cec0457ccbb 100644 --- a/identitygovernance/role_management_alerts_alerts_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_request_builder.go @@ -132,7 +132,7 @@ func (m *RoleManagementAlertsAlertsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to alerts for identityGovernance @@ -145,7 +145,7 @@ func (m *RoleManagementAlertsAlertsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_alerts_unified_role_management_alert_item_request_builder.go b/identitygovernance/role_management_alerts_alerts_unified_role_management_alert_item_request_builder.go index 0658806608e..c411f1fbba0 100644 --- a/identitygovernance/role_management_alerts_alerts_unified_role_management_alert_item_request_builder.go +++ b/identitygovernance/role_management_alerts_alerts_unified_role_management_alert_item_request_builder.go @@ -134,7 +134,7 @@ func (m *RoleManagementAlertsAlertsUnifiedRoleManagementAlertItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the alert entity. @@ -150,7 +150,7 @@ func (m *RoleManagementAlertsAlertsUnifiedRoleManagementAlertItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property alerts in identityGovernance @@ -163,7 +163,7 @@ func (m *RoleManagementAlertsAlertsUnifiedRoleManagementAlertItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_operations_long_running_operation_item_request_builder.go b/identitygovernance/role_management_alerts_operations_long_running_operation_item_request_builder.go index 0b60011319d..fe903b9b836 100644 --- a/identitygovernance/role_management_alerts_operations_long_running_operation_item_request_builder.go +++ b/identitygovernance/role_management_alerts_operations_long_running_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *RoleManagementAlertsOperationsLongRunningOperationItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents operations on resources that take a long time to complete and can run in the background until completion. @@ -134,7 +134,7 @@ func (m *RoleManagementAlertsOperationsLongRunningOperationItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in identityGovernance @@ -147,7 +147,7 @@ func (m *RoleManagementAlertsOperationsLongRunningOperationItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_operations_request_builder.go b/identitygovernance/role_management_alerts_operations_request_builder.go index f236f17f325..8675567038f 100644 --- a/identitygovernance/role_management_alerts_operations_request_builder.go +++ b/identitygovernance/role_management_alerts_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *RoleManagementAlertsOperationsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for identityGovernance @@ -138,7 +138,7 @@ func (m *RoleManagementAlertsOperationsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/role_management_alerts_request_builder.go b/identitygovernance/role_management_alerts_request_builder.go index 656bc5b1694..3026424eaf1 100644 --- a/identitygovernance/role_management_alerts_request_builder.go +++ b/identitygovernance/role_management_alerts_request_builder.go @@ -134,7 +134,7 @@ func (m *RoleManagementAlertsRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get roleManagementAlerts from identityGovernance @@ -150,7 +150,7 @@ func (m *RoleManagementAlertsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleManagementAlerts in identityGovernance @@ -163,7 +163,7 @@ func (m *RoleManagementAlertsRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreement_acceptances_agreement_acceptance_item_request_builder.go b/identitygovernance/terms_of_use_agreement_acceptances_agreement_acceptance_item_request_builder.go index 0f963889915..ff503d8302b 100644 --- a/identitygovernance/terms_of_use_agreement_acceptances_agreement_acceptance_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreement_acceptances_agreement_acceptance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TermsOfUseAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the current status of a user's response to a company's customizable terms of use agreement. @@ -134,7 +134,7 @@ func (m *TermsOfUseAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property agreementAcceptances in identityGovernance @@ -147,7 +147,7 @@ func (m *TermsOfUseAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreement_acceptances_request_builder.go b/identitygovernance/terms_of_use_agreement_acceptances_request_builder.go index 47cd2259880..f1ae26397fd 100644 --- a/identitygovernance/terms_of_use_agreement_acceptances_request_builder.go +++ b/identitygovernance/terms_of_use_agreement_acceptances_request_builder.go @@ -125,7 +125,7 @@ func (m *TermsOfUseAgreementAcceptancesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to agreementAcceptances for identityGovernance @@ -138,7 +138,7 @@ func (m *TermsOfUseAgreementAcceptancesRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go index 14f782c6f96..71f7781f5cd 100644 --- a/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_agreement_item_request_builder.go @@ -18,7 +18,7 @@ type TermsOfUseAgreementsAgreementItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. +// TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters 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. type TermsOfUseAgreementsAgreementItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -85,10 +85,10 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) File()(*TermsOfUseAgre func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Files()(*TermsOfUseAgreementsItemFilesRequestBuilder) { return NewTermsOfUseAgreementsItemFilesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. +// Get 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. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Agreementable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -139,10 +139,10 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an agreement object. This API is available in the following national cloud deployments. +// ToGetRequestInformation 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. func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TermsOfUseAgreementsAgreementItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -155,7 +155,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an agreement object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *TermsOfUseAgreementsAgreementItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_acceptances_agreement_acceptance_item_request_builder.go b/identitygovernance/terms_of_use_agreements_item_acceptances_agreement_acceptance_item_request_builder.go index af3050be5f3..a6aa5bc4974 100644 --- a/identitygovernance/terms_of_use_agreements_item_acceptances_agreement_acceptance_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_acceptances_agreement_acceptance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TermsOfUseAgreementsItemAcceptancesAgreementAcceptanceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Information about acceptances of this agreement. @@ -134,7 +134,7 @@ func (m *TermsOfUseAgreementsItemAcceptancesAgreementAcceptanceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property acceptances in identityGovernance @@ -147,7 +147,7 @@ func (m *TermsOfUseAgreementsItemAcceptancesAgreementAcceptanceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go b/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go index 133d5b085c1..35c4a770d38 100644 --- a/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_acceptances_request_builder.go @@ -128,7 +128,7 @@ func (m *TermsOfUseAgreementsItemAcceptancesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to acceptances for identityGovernance @@ -141,7 +141,7 @@ func (m *TermsOfUseAgreementsItemAcceptancesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_agreement_file_localization_item_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_agreement_file_localization_item_request_builder.go index d540c61e7ff..b3e904757c7 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_agreement_file_localization_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_agreement_file_localization_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsAgreementFileLocalizationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the localized version of the terms of use agreement files attached to the agreement. @@ -134,7 +134,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsAgreementFileLocalizationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property localizations in identityGovernance @@ -147,7 +147,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsAgreementFileLocalizationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_agreement_file_version_item_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_agreement_file_version_item_request_builder.go index c723b3a9cd6..f3d8c557fe2 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_agreement_file_version_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_agreement_file_version_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsItemVersionsAgreementFileVersi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. @@ -134,7 +134,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsItemVersionsAgreementFileVersi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property versions in identityGovernance @@ -147,7 +147,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsItemVersionsAgreementFileVersi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_request_builder.go index 63d9c3046dc..ab339d99296 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_item_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to versions for identityGovernance @@ -138,7 +138,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsItemVersionsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go index 625a646746a..9578d161ef3 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_localizations_request_builder.go @@ -128,7 +128,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to localizations for identityGovernance @@ -141,7 +141,7 @@ func (m *TermsOfUseAgreementsItemFileLocalizationsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_file_request_builder.go b/identitygovernance/terms_of_use_agreements_item_file_request_builder.go index c7a5f7c3da7..8e3f8e51234 100644 --- a/identitygovernance/terms_of_use_agreements_item_file_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_file_request_builder.go @@ -125,7 +125,7 @@ func (m *TermsOfUseAgreementsItemFileRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *TermsOfUseAgreementsItemFileRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property file in identityGovernance @@ -154,7 +154,7 @@ func (m *TermsOfUseAgreementsItemFileRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_files_agreement_file_localization_item_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_agreement_file_localization_item_request_builder.go index 8f1d791da97..40378f03aa5 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_agreement_file_localization_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_agreement_file_localization_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TermsOfUseAgreementsItemFilesAgreementFileLocalizationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation pDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. @@ -134,7 +134,7 @@ func (m *TermsOfUseAgreementsItemFilesAgreementFileLocalizationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in identityGovernance @@ -147,7 +147,7 @@ func (m *TermsOfUseAgreementsItemFilesAgreementFileLocalizationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_files_item_versions_agreement_file_version_item_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_item_versions_agreement_file_version_item_request_builder.go index 2044c97c462..b99f31b85c4 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_item_versions_agreement_file_version_item_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_item_versions_agreement_file_version_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TermsOfUseAgreementsItemFilesItemVersionsAgreementFileVersionItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Customized versions of the terms of use agreement in the Microsoft Entra tenant. @@ -134,7 +134,7 @@ func (m *TermsOfUseAgreementsItemFilesItemVersionsAgreementFileVersionItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property versions in identityGovernance @@ -147,7 +147,7 @@ func (m *TermsOfUseAgreementsItemFilesItemVersionsAgreementFileVersionItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_files_item_versions_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_item_versions_request_builder.go index 2713b3cae47..c93625d0053 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_item_versions_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_item_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *TermsOfUseAgreementsItemFilesItemVersionsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to versions for identityGovernance @@ -138,7 +138,7 @@ func (m *TermsOfUseAgreementsItemFilesItemVersionsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_item_files_request_builder.go b/identitygovernance/terms_of_use_agreements_item_files_request_builder.go index b89e0cd99f0..da94bb5f10b 100644 --- a/identitygovernance/terms_of_use_agreements_item_files_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_item_files_request_builder.go @@ -128,7 +128,7 @@ func (m *TermsOfUseAgreementsItemFilesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new localized agreement file. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TermsOfUseAgreementsItemFilesRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_agreements_request_builder.go b/identitygovernance/terms_of_use_agreements_request_builder.go index 792a8d68470..900089b7534 100644 --- a/identitygovernance/terms_of_use_agreements_request_builder.go +++ b/identitygovernance/terms_of_use_agreements_request_builder.go @@ -131,7 +131,7 @@ func (m *TermsOfUseAgreementsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new agreement object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TermsOfUseAgreementsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identitygovernance/terms_of_use_request_builder.go b/identitygovernance/terms_of_use_request_builder.go index bc2f53b650f..fde330b11bd 100644 --- a/identitygovernance/terms_of_use_request_builder.go +++ b/identitygovernance/terms_of_use_request_builder.go @@ -126,7 +126,7 @@ func (m *TermsOfUseRequestBuilder) ToDeleteRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get termsOfUse from identityGovernance @@ -142,7 +142,7 @@ func (m *TermsOfUseRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property termsOfUse in identityGovernance @@ -155,7 +155,7 @@ func (m *TermsOfUseRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/identity_protection_request_builder.go b/identityprotection/identity_protection_request_builder.go index 1d4b45646a4..b1d6ce886cc 100644 --- a/identityprotection/identity_protection_request_builder.go +++ b/identityprotection/identity_protection_request_builder.go @@ -114,7 +114,7 @@ func (m *IdentityProtectionRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update identityProtection @@ -127,7 +127,7 @@ func (m *IdentityProtectionRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risk_detections_request_builder.go b/identityprotection/risk_detections_request_builder.go index de090357298..b017a661a86 100644 --- a/identityprotection/risk_detections_request_builder.go +++ b/identityprotection/risk_detections_request_builder.go @@ -128,7 +128,7 @@ func (m *RiskDetectionsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to riskDetections for identityProtection @@ -141,7 +141,7 @@ func (m *RiskDetectionsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risk_detections_risk_detection_item_request_builder.go b/identityprotection/risk_detections_risk_detection_item_request_builder.go index 6fcee6d45d8..8dbe29b7ef6 100644 --- a/identityprotection/risk_detections_risk_detection_item_request_builder.go +++ b/identityprotection/risk_detections_risk_detection_item_request_builder.go @@ -18,7 +18,7 @@ type RiskDetectionsRiskDetectionItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// RiskDetectionsRiskDetectionItemRequestBuilderGetQueryParameters retrieve the properties of a riskDetection object. This API is available in the following national cloud deployments. +// RiskDetectionsRiskDetectionItemRequestBuilderGetQueryParameters retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. type RiskDetectionsRiskDetectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,10 +70,10 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get retrieve the properties of a riskDetection object. This API is available in the following national cloud deployments. +// Get retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-1.0 func (m *RiskDetectionsRiskDetectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskDetectionsRiskDetectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -121,10 +121,10 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a riskDetection object. This API is available in the following national cloud deployments. +// ToGetRequestInformation retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. func (m *RiskDetectionsRiskDetectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskDetectionsRiskDetectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -137,7 +137,7 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property riskDetections in identityProtection @@ -150,7 +150,7 @@ func (m *RiskDetectionsRiskDetectionItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_service_principals_confirm_compromised_request_builder.go b/identityprotection/risky_service_principals_confirm_compromised_request_builder.go index a1ee8601da3..e46cd06e6eb 100644 --- a/identityprotection/risky_service_principals_confirm_compromised_request_builder.go +++ b/identityprotection/risky_service_principals_confirm_compromised_request_builder.go @@ -59,7 +59,7 @@ func (m *RiskyServicePrincipalsConfirmCompromisedRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_service_principals_dismiss_request_builder.go b/identityprotection/risky_service_principals_dismiss_request_builder.go index 9a0865fac22..f4c66a3d100 100644 --- a/identityprotection/risky_service_principals_dismiss_request_builder.go +++ b/identityprotection/risky_service_principals_dismiss_request_builder.go @@ -59,7 +59,7 @@ func (m *RiskyServicePrincipalsDismissRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_service_principals_item_history_request_builder.go b/identityprotection/risky_service_principals_item_history_request_builder.go index 50c1c884040..2f13b66c1fd 100644 --- a/identityprotection/risky_service_principals_item_history_request_builder.go +++ b/identityprotection/risky_service_principals_item_history_request_builder.go @@ -128,7 +128,7 @@ func (m *RiskyServicePrincipalsItemHistoryRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to history for identityProtection @@ -141,7 +141,7 @@ func (m *RiskyServicePrincipalsItemHistoryRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_service_principals_item_history_risky_service_principal_history_item_item_request_builder.go b/identityprotection/risky_service_principals_item_history_risky_service_principal_history_item_item_request_builder.go index 997545c9287..b0c8c370f5f 100644 --- a/identityprotection/risky_service_principals_item_history_risky_service_principal_history_item_item_request_builder.go +++ b/identityprotection/risky_service_principals_item_history_risky_service_principal_history_item_item_request_builder.go @@ -118,7 +118,7 @@ func (m *RiskyServicePrincipalsItemHistoryRiskyServicePrincipalHistoryItemItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the risk history of Microsoft Entra service principals. @@ -134,7 +134,7 @@ func (m *RiskyServicePrincipalsItemHistoryRiskyServicePrincipalHistoryItemItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property history in identityProtection @@ -147,7 +147,7 @@ func (m *RiskyServicePrincipalsItemHistoryRiskyServicePrincipalHistoryItemItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_service_principals_request_builder.go b/identityprotection/risky_service_principals_request_builder.go index 5897b39cff7..2b258032bef 100644 --- a/identityprotection/risky_service_principals_request_builder.go +++ b/identityprotection/risky_service_principals_request_builder.go @@ -136,7 +136,7 @@ func (m *RiskyServicePrincipalsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to riskyServicePrincipals for identityProtection @@ -149,7 +149,7 @@ func (m *RiskyServicePrincipalsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go b/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go index 7c9008ab662..ee8a90817c1 100644 --- a/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go +++ b/identityprotection/risky_service_principals_risky_service_principal_item_request_builder.go @@ -125,7 +125,7 @@ func (m *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a riskyServicePrincipal object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property riskyServicePrincipals in identityProtection @@ -154,7 +154,7 @@ func (m *RiskyServicePrincipalsRiskyServicePrincipalItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_users_confirm_compromised_request_builder.go b/identityprotection/risky_users_confirm_compromised_request_builder.go index 5b7ecdb02ba..945041c8c6d 100644 --- a/identityprotection/risky_users_confirm_compromised_request_builder.go +++ b/identityprotection/risky_users_confirm_compromised_request_builder.go @@ -59,7 +59,7 @@ func (m *RiskyUsersConfirmCompromisedRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_users_dismiss_request_builder.go b/identityprotection/risky_users_dismiss_request_builder.go index b37bf3458e2..59cb89fa545 100644 --- a/identityprotection/risky_users_dismiss_request_builder.go +++ b/identityprotection/risky_users_dismiss_request_builder.go @@ -59,7 +59,7 @@ func (m *RiskyUsersDismissRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_users_item_history_request_builder.go b/identityprotection/risky_users_item_history_request_builder.go index 27d587e26b5..59038a0b556 100644 --- a/identityprotection/risky_users_item_history_request_builder.go +++ b/identityprotection/risky_users_item_history_request_builder.go @@ -128,7 +128,7 @@ func (m *RiskyUsersItemHistoryRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to history for identityProtection @@ -141,7 +141,7 @@ func (m *RiskyUsersItemHistoryRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go b/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go index f55f802f71f..e03179a75a3 100644 --- a/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go +++ b/identityprotection/risky_users_item_history_risky_user_history_item_item_request_builder.go @@ -121,7 +121,7 @@ func (m *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a riskyUserHistoryItem object of a riskyUser. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property history in identityProtection @@ -150,7 +150,7 @@ func (m *RiskyUsersItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_users_request_builder.go b/identityprotection/risky_users_request_builder.go index eb81adf7805..e05583d0b66 100644 --- a/identityprotection/risky_users_request_builder.go +++ b/identityprotection/risky_users_request_builder.go @@ -136,7 +136,7 @@ func (m *RiskyUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to riskyUsers for identityProtection @@ -149,7 +149,7 @@ func (m *RiskyUsersRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/risky_users_risky_user_item_request_builder.go b/identityprotection/risky_users_risky_user_item_request_builder.go index d7ce1dee9ea..e83c0589570 100644 --- a/identityprotection/risky_users_risky_user_item_request_builder.go +++ b/identityprotection/risky_users_risky_user_item_request_builder.go @@ -122,7 +122,7 @@ func (m *RiskyUsersRiskyUserItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation users that are flagged as at-risk by Microsoft Entra ID Protection. @@ -138,7 +138,7 @@ func (m *RiskyUsersRiskyUserItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property riskyUsers in identityProtection @@ -151,7 +151,7 @@ func (m *RiskyUsersRiskyUserItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/service_principal_risk_detections_request_builder.go b/identityprotection/service_principal_risk_detections_request_builder.go index 72272373728..cc911397ad7 100644 --- a/identityprotection/service_principal_risk_detections_request_builder.go +++ b/identityprotection/service_principal_risk_detections_request_builder.go @@ -128,7 +128,7 @@ func (m *ServicePrincipalRiskDetectionsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to servicePrincipalRiskDetections for identityProtection @@ -141,7 +141,7 @@ func (m *ServicePrincipalRiskDetectionsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go b/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go index 4d317625874..13282389fce 100644 --- a/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go +++ b/identityprotection/service_principal_risk_detections_service_principal_risk_detection_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a servicePrincipalRiskDetection object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property servicePrincipalRiskDetections in identityProtection @@ -150,7 +150,7 @@ func (m *ServicePrincipalRiskDetectionsServicePrincipalRiskDetectionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityproviders/available_provider_types_request_builder.go b/identityproviders/available_provider_types_request_builder.go index cacc2ecb392..7b4ff77e24e 100644 --- a/identityproviders/available_provider_types_request_builder.go +++ b/identityproviders/available_provider_types_request_builder.go @@ -99,7 +99,7 @@ func (m *AvailableProviderTypesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/identityproviders/identity_provider_item_request_builder.go b/identityproviders/identity_provider_item_request_builder.go index c143ae98b10..fa115029f9d 100644 --- a/identityproviders/identity_provider_item_request_builder.go +++ b/identityproviders/identity_provider_item_request_builder.go @@ -131,7 +131,7 @@ func (m *IdentityProviderItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an identityProvider. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *IdentityProviderItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an identityProvider object. This API is available in the following national cloud deployments. @@ -162,7 +162,7 @@ func (m *IdentityProviderItemRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/identityproviders/identity_providers_request_builder.go b/identityproviders/identity_providers_request_builder.go index 444740dabb8..a8a71eb93e4 100644 --- a/identityproviders/identity_providers_request_builder.go +++ b/identityproviders/identity_providers_request_builder.go @@ -139,7 +139,7 @@ func (m *IdentityProvidersRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new identityProvider object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *IdentityProvidersRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index cab671fbb6e..40169e7e4df 100644 --- a/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/informationprotection/bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -75,7 +75,7 @@ func (m *BitlockerRecoveryKeysBitlockerRecoveryKeyItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/informationprotection/bitlocker_recovery_keys_request_builder.go b/informationprotection/bitlocker_recovery_keys_request_builder.go index 6aad473644c..d8ed628dc85 100644 --- a/informationprotection/bitlocker_recovery_keys_request_builder.go +++ b/informationprotection/bitlocker_recovery_keys_request_builder.go @@ -102,7 +102,7 @@ func (m *BitlockerRecoveryKeysRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/informationprotection/bitlocker_request_builder.go b/informationprotection/bitlocker_request_builder.go index 1e9eab28668..ff1b3b7f8cf 100644 --- a/informationprotection/bitlocker_request_builder.go +++ b/informationprotection/bitlocker_request_builder.go @@ -76,7 +76,7 @@ func (m *BitlockerRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/informationprotection/data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go b/informationprotection/data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go index fb2dbe7ae0a..08d37de36d3 100644 --- a/informationprotection/data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go +++ b/informationprotection/data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dataLossPreventionPolicies from informationProtection @@ -134,7 +134,7 @@ func (m *DataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dataLossPreventionPolicies in informationProtection @@ -147,7 +147,7 @@ func (m *DataLossPreventionPoliciesDataLossPreventionPolicyItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/data_loss_prevention_policies_evaluate_request_builder.go b/informationprotection/data_loss_prevention_policies_evaluate_request_builder.go index 54d7bc05f7a..996731ad2a5 100644 --- a/informationprotection/data_loss_prevention_policies_evaluate_request_builder.go +++ b/informationprotection/data_loss_prevention_policies_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *DataLossPreventionPoliciesEvaluateRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/data_loss_prevention_policies_request_builder.go b/informationprotection/data_loss_prevention_policies_request_builder.go index a9ba0002e0d..d8324f8a6a5 100644 --- a/informationprotection/data_loss_prevention_policies_request_builder.go +++ b/informationprotection/data_loss_prevention_policies_request_builder.go @@ -129,7 +129,7 @@ func (m *DataLossPreventionPoliciesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dataLossPreventionPolicies for informationProtection @@ -142,7 +142,7 @@ func (m *DataLossPreventionPoliciesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/decrypt_buffer_request_builder.go b/informationprotection/decrypt_buffer_request_builder.go index b8cfa4ad5a8..c0152883c2a 100644 --- a/informationprotection/decrypt_buffer_request_builder.go +++ b/informationprotection/decrypt_buffer_request_builder.go @@ -62,7 +62,7 @@ func (m *DecryptBufferRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/encrypt_buffer_request_builder.go b/informationprotection/encrypt_buffer_request_builder.go index a71516d50f8..6db48acff3e 100644 --- a/informationprotection/encrypt_buffer_request_builder.go +++ b/informationprotection/encrypt_buffer_request_builder.go @@ -62,7 +62,7 @@ func (m *EncryptBufferRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/information_protection_request_builder.go b/informationprotection/information_protection_request_builder.go index 0fb2737a149..ef642d6af5a 100644 --- a/informationprotection/information_protection_request_builder.go +++ b/informationprotection/information_protection_request_builder.go @@ -134,7 +134,7 @@ func (m *InformationProtectionRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update informationProtection @@ -147,7 +147,7 @@ func (m *InformationProtectionRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/policy_labels_evaluate_application_request_builder.go b/informationprotection/policy_labels_evaluate_application_request_builder.go index c97914a6666..544ccc3efdc 100644 --- a/informationprotection/policy_labels_evaluate_application_request_builder.go +++ b/informationprotection/policy_labels_evaluate_application_request_builder.go @@ -87,7 +87,7 @@ func (m *PolicyLabelsEvaluateApplicationRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/policy_labels_evaluate_classification_results_request_builder.go b/informationprotection/policy_labels_evaluate_classification_results_request_builder.go index 8df2e7b0b2f..0f157992c7a 100644 --- a/informationprotection/policy_labels_evaluate_classification_results_request_builder.go +++ b/informationprotection/policy_labels_evaluate_classification_results_request_builder.go @@ -87,7 +87,7 @@ func (m *PolicyLabelsEvaluateClassificationResultsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/policy_labels_evaluate_removal_request_builder.go b/informationprotection/policy_labels_evaluate_removal_request_builder.go index 4f07c1028c2..e8c7b5cb195 100644 --- a/informationprotection/policy_labels_evaluate_removal_request_builder.go +++ b/informationprotection/policy_labels_evaluate_removal_request_builder.go @@ -87,7 +87,7 @@ func (m *PolicyLabelsEvaluateRemovalRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/policy_labels_extract_label_request_builder.go b/informationprotection/policy_labels_extract_label_request_builder.go index 33a76257a1b..10f2ac97e53 100644 --- a/informationprotection/policy_labels_extract_label_request_builder.go +++ b/informationprotection/policy_labels_extract_label_request_builder.go @@ -65,7 +65,7 @@ func (m *PolicyLabelsExtractLabelRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/policy_labels_information_protection_label_item_request_builder.go b/informationprotection/policy_labels_information_protection_label_item_request_builder.go index 20c3ce7b9ce..1a4d22a1e8a 100644 --- a/informationprotection/policy_labels_information_protection_label_item_request_builder.go +++ b/informationprotection/policy_labels_information_protection_label_item_request_builder.go @@ -125,7 +125,7 @@ func (m *PolicyLabelsInformationProtectionLabelItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *PolicyLabelsInformationProtectionLabelItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property labels in informationProtection @@ -156,7 +156,7 @@ func (m *PolicyLabelsInformationProtectionLabelItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/policy_labels_request_builder.go b/informationprotection/policy_labels_request_builder.go index 3585e3cfe2d..6fb8336ee68 100644 --- a/informationprotection/policy_labels_request_builder.go +++ b/informationprotection/policy_labels_request_builder.go @@ -148,7 +148,7 @@ func (m *PolicyLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to labels for informationProtection @@ -162,7 +162,7 @@ func (m *PolicyLabelsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/policy_request_builder.go b/informationprotection/policy_request_builder.go index 0736e1f8388..f99eda4c3b3 100644 --- a/informationprotection/policy_request_builder.go +++ b/informationprotection/policy_request_builder.go @@ -126,7 +126,7 @@ func (m *PolicyRequestBuilder) ToDeleteRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get policy from informationProtection @@ -143,7 +143,7 @@ func (m *PolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policy in informationProtection @@ -157,7 +157,7 @@ func (m *PolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/sensitivity_labels_evaluate_request_builder.go b/informationprotection/sensitivity_labels_evaluate_request_builder.go index 30b4779a774..edd7874425b 100644 --- a/informationprotection/sensitivity_labels_evaluate_request_builder.go +++ b/informationprotection/sensitivity_labels_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *SensitivityLabelsEvaluateRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/sensitivity_labels_item_sublabels_evaluate_request_builder.go b/informationprotection/sensitivity_labels_item_sublabels_evaluate_request_builder.go index 0273d17ae7e..da2e828fdaf 100644 --- a/informationprotection/sensitivity_labels_item_sublabels_evaluate_request_builder.go +++ b/informationprotection/sensitivity_labels_item_sublabels_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *SensitivityLabelsItemSublabelsEvaluateRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/sensitivity_labels_item_sublabels_request_builder.go b/informationprotection/sensitivity_labels_item_sublabels_request_builder.go index 2e969f91538..126b2ad521c 100644 --- a/informationprotection/sensitivity_labels_item_sublabels_request_builder.go +++ b/informationprotection/sensitivity_labels_item_sublabels_request_builder.go @@ -129,7 +129,7 @@ func (m *SensitivityLabelsItemSublabelsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sublabels for informationProtection @@ -142,7 +142,7 @@ func (m *SensitivityLabelsItemSublabelsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go b/informationprotection/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go index 8c713ea1c96..215d29d498c 100644 --- a/informationprotection/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go +++ b/informationprotection/sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go @@ -118,7 +118,7 @@ func (m *SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sublabels from informationProtection @@ -134,7 +134,7 @@ func (m *SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sublabels in informationProtection @@ -147,7 +147,7 @@ func (m *SensitivityLabelsItemSublabelsSensitivityLabelItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/sensitivity_labels_request_builder.go b/informationprotection/sensitivity_labels_request_builder.go index 126b31d024a..a2482369e90 100644 --- a/informationprotection/sensitivity_labels_request_builder.go +++ b/informationprotection/sensitivity_labels_request_builder.go @@ -129,7 +129,7 @@ func (m *SensitivityLabelsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sensitivityLabels for informationProtection @@ -142,7 +142,7 @@ func (m *SensitivityLabelsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/sensitivity_labels_sensitivity_label_item_request_builder.go b/informationprotection/sensitivity_labels_sensitivity_label_item_request_builder.go index 7093ede6a6a..24767300a18 100644 --- a/informationprotection/sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/informationprotection/sensitivity_labels_sensitivity_label_item_request_builder.go @@ -122,7 +122,7 @@ func (m *SensitivityLabelsSensitivityLabelItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sensitivityLabels from informationProtection @@ -138,7 +138,7 @@ func (m *SensitivityLabelsSensitivityLabelItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityLabels in informationProtection @@ -151,7 +151,7 @@ func (m *SensitivityLabelsSensitivityLabelItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/sensitivity_policy_settings_request_builder.go b/informationprotection/sensitivity_policy_settings_request_builder.go index d1663e2aa3e..301a65125f4 100644 --- a/informationprotection/sensitivity_policy_settings_request_builder.go +++ b/informationprotection/sensitivity_policy_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *SensitivityPolicySettingsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sensitivityPolicySettings from informationProtection @@ -134,7 +134,7 @@ func (m *SensitivityPolicySettingsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityPolicySettings in informationProtection @@ -147,7 +147,7 @@ func (m *SensitivityPolicySettingsRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/sign_digest_request_builder.go b/informationprotection/sign_digest_request_builder.go index 327d60a4974..d8a57c84d85 100644 --- a/informationprotection/sign_digest_request_builder.go +++ b/informationprotection/sign_digest_request_builder.go @@ -62,7 +62,7 @@ func (m *SignDigestRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/threat_assessment_requests_item_results_request_builder.go b/informationprotection/threat_assessment_requests_item_results_request_builder.go index 5e9658df15c..461d3cd3d4b 100644 --- a/informationprotection/threat_assessment_requests_item_results_request_builder.go +++ b/informationprotection/threat_assessment_requests_item_results_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatAssessmentRequestsItemResultsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to results for informationProtection @@ -138,7 +138,7 @@ func (m *ThreatAssessmentRequestsItemResultsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go b/informationprotection/threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go index 464798fe568..8f1be9a6b65 100644 --- a/informationprotection/threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go +++ b/informationprotection/threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it. @@ -134,7 +134,7 @@ func (m *ThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property results in informationProtection @@ -147,7 +147,7 @@ func (m *ThreatAssessmentRequestsItemResultsThreatAssessmentResultItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/threat_assessment_requests_request_builder.go b/informationprotection/threat_assessment_requests_request_builder.go index ed9d81e8188..7e1d123a8d4 100644 --- a/informationprotection/threat_assessment_requests_request_builder.go +++ b/informationprotection/threat_assessment_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ThreatAssessmentRequestsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ThreatAssessmentRequestsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go b/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go index 05addee56ea..13590be1ce3 100644 --- a/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/informationprotection/threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property threatAssessmentRequests in informationProtection @@ -154,7 +154,7 @@ func (m *ThreatAssessmentRequestsThreatAssessmentRequestItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/informationprotection/verify_signature_request_builder.go b/informationprotection/verify_signature_request_builder.go index f350f0fcee9..af1bfc09421 100644 --- a/informationprotection/verify_signature_request_builder.go +++ b/informationprotection/verify_signature_request_builder.go @@ -62,7 +62,7 @@ func (m *VerifySignatureRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/invitations/invitation_item_request_builder.go b/invitations/invitation_item_request_builder.go index fe1a0b7d818..4956baf474e 100644 --- a/invitations/invitation_item_request_builder.go +++ b/invitations/invitation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *InvitationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from invitations by key @@ -142,7 +142,7 @@ func (m *InvitationItemRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in invitations @@ -155,7 +155,7 @@ func (m *InvitationItemRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/invitations/invitations_request_builder.go b/invitations/invitations_request_builder.go index 81fe984d757..4af0c769538 100644 --- a/invitations/invitations_request_builder.go +++ b/invitations/invitations_request_builder.go @@ -128,7 +128,7 @@ func (m *InvitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -141,7 +141,7 @@ func (m *InvitationsRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/invitations/item_invited_user_mailbox_settings_request_builder.go b/invitations/item_invited_user_mailbox_settings_request_builder.go index 1e4dd82491d..6c4838cd6ef 100644 --- a/invitations/item_invited_user_mailbox_settings_request_builder.go +++ b/invitations/item_invited_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemInvitedUserMailboxSettingsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemInvitedUserMailboxSettingsRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/invitations/item_invited_user_request_builder.go b/invitations/item_invited_user_request_builder.go index 969100f76eb..4046c836a40 100644 --- a/invitations/item_invited_user_request_builder.go +++ b/invitations/item_invited_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemInvitedUserRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/invitations/item_invited_user_service_provisioning_errors_request_builder.go b/invitations/item_invited_user_service_provisioning_errors_request_builder.go index 219f0b901ac..cd22cb1fe46 100644 --- a/invitations/item_invited_user_service_provisioning_errors_request_builder.go +++ b/invitations/item_invited_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemInvitedUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemInvitedUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemInvitedUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemInvitedUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemInvitedUserServiceProvisioningErrorsRequestBuilder(rawUrl string, re func (m *ItemInvitedUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemInvitedUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemInvitedUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemInvitedUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInvitedUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemInvitedUserServiceProvisioningErrorsRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemInvitedUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInvitedUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemInvitedUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/invitations/item_invited_user_sponsors_directory_object_item_request_builder.go b/invitations/item_invited_user_sponsors_directory_object_item_request_builder.go index 63338d72155..085a603780b 100644 --- a/invitations/item_invited_user_sponsors_directory_object_item_request_builder.go +++ b/invitations/item_invited_user_sponsors_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemInvitedUserSponsorsDirectoryObjectItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/invitations/item_invited_user_sponsors_request_builder.go b/invitations/item_invited_user_sponsors_request_builder.go index 899e1835162..67db22bf3a0 100644 --- a/invitations/item_invited_user_sponsors_request_builder.go +++ b/invitations/item_invited_user_sponsors_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemInvitedUserSponsorsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/kiota-lock.json b/kiota-lock.json index 03d98fe29e1..7c8670bf9d4 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "D1BD2932C116FEB9259F10A13D7AA0BA24413C59FE6B4935CC14D1B58E812D175771F20351E947375AA3D9B0E3846F82726AA4C0859B03BA9BFFCB60BC27A1D5", + "descriptionHash": "1E71E73CB084FB7092A7074982F903480CE38829268DF9EC446319660908819002AAA1D0D85B1253FF67C1D044CC32775F30ED90F8AFBEDEB5F809A0B41329C4", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.9.0", @@ -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/messageevents/message_event_item_request_builder.go b/messageevents/message_event_item_request_builder.go index 20fa20939bc..bb3585319d3 100644 --- a/messageevents/message_event_item_request_builder.go +++ b/messageevents/message_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MessageEventItemRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from messageEvents by key @@ -134,7 +134,7 @@ func (m *MessageEventItemRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in messageEvents @@ -147,7 +147,7 @@ func (m *MessageEventItemRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messageevents/message_events_request_builder.go b/messageevents/message_events_request_builder.go index 19a8df4a311..e9db81c185b 100644 --- a/messageevents/message_events_request_builder.go +++ b/messageevents/message_events_request_builder.go @@ -125,7 +125,7 @@ func (m *MessageEventsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to messageEvents @@ -138,7 +138,7 @@ func (m *MessageEventsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messagerecipients/item_events_message_event_item_request_builder.go b/messagerecipients/item_events_message_event_item_request_builder.go index 1e5f78310d4..9ff1b2f7b87 100644 --- a/messagerecipients/item_events_message_event_item_request_builder.go +++ b/messagerecipients/item_events_message_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemEventsMessageEventItemRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get events from messageRecipients @@ -134,7 +134,7 @@ func (m *ItemEventsMessageEventItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property events in messageRecipients @@ -147,7 +147,7 @@ func (m *ItemEventsMessageEventItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messagerecipients/item_events_request_builder.go b/messagerecipients/item_events_request_builder.go index 71a35eea40e..dacc6fecda7 100644 --- a/messagerecipients/item_events_request_builder.go +++ b/messagerecipients/item_events_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to events for messageRecipients @@ -138,7 +138,7 @@ func (m *ItemEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messagerecipients/message_recipient_item_request_builder.go b/messagerecipients/message_recipient_item_request_builder.go index 5685d300ee8..14dc30c62a4 100644 --- a/messagerecipients/message_recipient_item_request_builder.go +++ b/messagerecipients/message_recipient_item_request_builder.go @@ -122,7 +122,7 @@ func (m *MessageRecipientItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from messageRecipients by key @@ -138,7 +138,7 @@ func (m *MessageRecipientItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in messageRecipients @@ -151,7 +151,7 @@ func (m *MessageRecipientItemRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messagerecipients/message_recipients_request_builder.go b/messagerecipients/message_recipients_request_builder.go index 8d26d24efee..7fe04f270f8 100644 --- a/messagerecipients/message_recipients_request_builder.go +++ b/messagerecipients/message_recipients_request_builder.go @@ -125,7 +125,7 @@ func (m *MessageRecipientsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to messageRecipients @@ -138,7 +138,7 @@ func (m *MessageRecipientsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messagetraces/item_recipients_item_events_message_event_item_request_builder.go b/messagetraces/item_recipients_item_events_message_event_item_request_builder.go index 14b0045693a..5750bafe18e 100644 --- a/messagetraces/item_recipients_item_events_message_event_item_request_builder.go +++ b/messagetraces/item_recipients_item_events_message_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRecipientsItemEventsMessageEventItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get events from messageTraces @@ -134,7 +134,7 @@ func (m *ItemRecipientsItemEventsMessageEventItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property events in messageTraces @@ -147,7 +147,7 @@ func (m *ItemRecipientsItemEventsMessageEventItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messagetraces/item_recipients_item_events_request_builder.go b/messagetraces/item_recipients_item_events_request_builder.go index 065c0cc59d1..5b08b1bab44 100644 --- a/messagetraces/item_recipients_item_events_request_builder.go +++ b/messagetraces/item_recipients_item_events_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemRecipientsItemEventsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to events for messageTraces @@ -138,7 +138,7 @@ func (m *ItemRecipientsItemEventsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messagetraces/item_recipients_message_recipient_item_request_builder.go b/messagetraces/item_recipients_message_recipient_item_request_builder.go index 6c908436d21..e2b98f48353 100644 --- a/messagetraces/item_recipients_message_recipient_item_request_builder.go +++ b/messagetraces/item_recipients_message_recipient_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemRecipientsMessageRecipientItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get recipients from messageTraces @@ -138,7 +138,7 @@ func (m *ItemRecipientsMessageRecipientItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property recipients in messageTraces @@ -151,7 +151,7 @@ func (m *ItemRecipientsMessageRecipientItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messagetraces/item_recipients_request_builder.go b/messagetraces/item_recipients_request_builder.go index 83f106bc204..f35563a43f3 100644 --- a/messagetraces/item_recipients_request_builder.go +++ b/messagetraces/item_recipients_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemRecipientsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to recipients for messageTraces @@ -138,7 +138,7 @@ func (m *ItemRecipientsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messagetraces/message_trace_item_request_builder.go b/messagetraces/message_trace_item_request_builder.go index 00f7b0b83f4..01e1c7273c8 100644 --- a/messagetraces/message_trace_item_request_builder.go +++ b/messagetraces/message_trace_item_request_builder.go @@ -122,7 +122,7 @@ func (m *MessageTraceItemRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from messageTraces by key @@ -138,7 +138,7 @@ func (m *MessageTraceItemRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in messageTraces @@ -151,7 +151,7 @@ func (m *MessageTraceItemRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/messagetraces/message_traces_request_builder.go b/messagetraces/message_traces_request_builder.go index 6dd90e43c53..96963fdc720 100644 --- a/messagetraces/message_traces_request_builder.go +++ b/messagetraces/message_traces_request_builder.go @@ -125,7 +125,7 @@ func (m *MessageTracesRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to messageTraces @@ -138,7 +138,7 @@ func (m *MessageTracesRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go b/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go index a8209db5252..96ac672a091 100644 --- a/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemIncludedGroupsItemRefRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/mobilitymanagementpolicies/item_included_groups_item_service_provisioning_errors_request_builder.go b/mobilitymanagementpolicies/item_included_groups_item_service_provisioning_errors_request_builder.go index 7b73034b393..3b21e347844 100644 --- a/mobilitymanagementpolicies/item_included_groups_item_service_provisioning_errors_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_item_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemIncludedGroupsItemServiceProvisioningErrorsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go b/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go index f7affd3c64a..387bb56c078 100644 --- a/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemIncludedGroupsRefRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add groups to be included in a mobile app management policy. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *ItemIncludedGroupsRefRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/mobilitymanagementpolicies/item_included_groups_request_builder.go b/mobilitymanagementpolicies/item_included_groups_request_builder.go index d8be6f3b64b..648468bba1c 100644 --- a/mobilitymanagementpolicies/item_included_groups_request_builder.go +++ b/mobilitymanagementpolicies/item_included_groups_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemIncludedGroupsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/mobilitymanagementpolicies/mobility_management_policies_request_builder.go b/mobilitymanagementpolicies/mobility_management_policies_request_builder.go index 26965a16454..21434df3171 100644 --- a/mobilitymanagementpolicies/mobility_management_policies_request_builder.go +++ b/mobilitymanagementpolicies/mobility_management_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *MobilityManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to mobilityManagementPolicies @@ -138,7 +138,7 @@ func (m *MobilityManagementPoliciesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/mobilitymanagementpolicies/mobility_management_policy_item_request_builder.go b/mobilitymanagementpolicies/mobility_management_policy_item_request_builder.go index 9424556081e..a7e9f5de6ae 100644 --- a/mobilitymanagementpolicies/mobility_management_policy_item_request_builder.go +++ b/mobilitymanagementpolicies/mobility_management_policy_item_request_builder.go @@ -122,7 +122,7 @@ func (m *MobilityManagementPolicyItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from mobilityManagementPolicies by key @@ -138,7 +138,7 @@ func (m *MobilityManagementPolicyItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in mobilityManagementPolicies @@ -151,7 +151,7 @@ func (m *MobilityManagementPolicyItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/models/admin.go b/models/admin.go index 27b83ede10b..878f03acbdd 100644 --- a/models/admin.go +++ b/models/admin.go @@ -1,577 +1,470 @@ package models import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) -// Admin +// Admin type Admin struct { - // Stores model information. - backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore } - // NewAdmin instantiates a new admin and sets the default values. -func NewAdmin() *Admin { - m := &Admin{} - m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance() - m.SetAdditionalData(make(map[string]any)) - return m +func NewAdmin()(*Admin) { + m := &Admin{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m } - // CreateAdminFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateAdminFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewAdmin(), nil +func CreateAdminFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdmin(), nil } - // GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *Admin) GetAdditionalData() map[string]any { - val, err := m.backingStore.Get("additionalData") - if err != nil { - panic(err) - } - if val == nil { - var value = make(map[string]any) - m.SetAdditionalData(value) - } - return val.(map[string]any) +func (m *Admin) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) } - // GetAppsAndServices gets the appsAndServices property value. The appsAndServices property -func (m *Admin) GetAppsAndServices() AdminAppsAndServicesable { - val, err := m.GetBackingStore().Get("appsAndServices") - if err != nil { - panic(err) - } - if val != nil { - return val.(AdminAppsAndServicesable) - } - return nil +func (m *Admin) GetAppsAndServices()(AdminAppsAndServicesable) { + val, err := m.GetBackingStore().Get("appsAndServices") + if err != nil { + panic(err) + } + if val != nil { + return val.(AdminAppsAndServicesable) + } + return nil } - // GetBackingStore gets the BackingStore property value. Stores model information. -func (m *Admin) GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore { - return m.backingStore +func (m *Admin) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore } - // GetDynamics gets the dynamics property value. The dynamics property -func (m *Admin) GetDynamics() AdminDynamicsable { - val, err := m.GetBackingStore().Get("dynamics") - if err != nil { - panic(err) - } - if val != nil { - return val.(AdminDynamicsable) - } - return nil +func (m *Admin) GetDynamics()(AdminDynamicsable) { + val, err := m.GetBackingStore().Get("dynamics") + if err != nil { + panic(err) + } + if val != nil { + return val.(AdminDynamicsable) + } + return nil } - // GetEdge gets the edge property value. A container for Microsoft Edge resources. Read-only. -func (m *Admin) GetEdge() Edgeable { - val, err := m.GetBackingStore().Get("edge") - if err != nil { - panic(err) - } - if val != nil { - return val.(Edgeable) - } - return nil +func (m *Admin) GetEdge()(Edgeable) { + val, err := m.GetBackingStore().Get("edge") + if err != nil { + panic(err) + } + if val != nil { + return val.(Edgeable) + } + return nil } - // GetFieldDeserializers the deserialization information for the current model -func (m *Admin) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error) - res["appsAndServices"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateAdminAppsAndServicesFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetAppsAndServices(val.(AdminAppsAndServicesable)) - } - return nil - } - res["dynamics"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateAdminDynamicsFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetDynamics(val.(AdminDynamicsable)) - } - return nil - } - res["edge"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateEdgeFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetEdge(val.(Edgeable)) - } - return nil - } - res["forms"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateAdminFormsFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetForms(val.(AdminFormsable)) - } - return nil - } - res["@odata.type"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetOdataType(val) - } - return nil - } - res["people"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreatePeopleAdminSettingsFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetPeople(val.(PeopleAdminSettingsable)) - } - return nil - } - res["reportSettings"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateAdminReportSettingsFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetReportSettings(val.(AdminReportSettingsable)) - } - return nil - } - res["serviceAnnouncement"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateServiceAnnouncementFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetServiceAnnouncement(val.(ServiceAnnouncementable)) - } - return nil - } - res["sharepoint"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateSharepointFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetSharepoint(val.(Sharepointable)) - } - return nil - } - res["todo"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateAdminTodoFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetTodo(val.(AdminTodoable)) - } - return nil - } - res["windows"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateAdminWindowsFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetWindows(val.(AdminWindowsable)) - } - return nil - } - return res +func (m *Admin) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["appsAndServices"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAdminAppsAndServicesFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAppsAndServices(val.(AdminAppsAndServicesable)) + } + return nil + } + res["dynamics"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAdminDynamicsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDynamics(val.(AdminDynamicsable)) + } + return nil + } + res["edge"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEdgeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetEdge(val.(Edgeable)) + } + return nil + } + res["forms"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAdminFormsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetForms(val.(AdminFormsable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["people"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePeopleAdminSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPeople(val.(PeopleAdminSettingsable)) + } + return nil + } + res["reportSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAdminReportSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReportSettings(val.(AdminReportSettingsable)) + } + return nil + } + res["serviceAnnouncement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateServiceAnnouncementFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetServiceAnnouncement(val.(ServiceAnnouncementable)) + } + return nil + } + res["sharepoint"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateSharepointFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSharepoint(val.(Sharepointable)) + } + return nil + } + res["todo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAdminTodoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTodo(val.(AdminTodoable)) + } + return nil + } + res["windows"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAdminWindowsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetWindows(val.(AdminWindowsable)) + } + return nil + } + return res } - // GetForms gets the forms property value. The forms property -func (m *Admin) GetForms() AdminFormsable { - val, err := m.GetBackingStore().Get("forms") - if err != nil { - panic(err) - } - if val != nil { - return val.(AdminFormsable) - } - return nil +func (m *Admin) GetForms()(AdminFormsable) { + val, err := m.GetBackingStore().Get("forms") + if err != nil { + panic(err) + } + if val != nil { + return val.(AdminFormsable) + } + return nil } - // GetOdataType gets the @odata.type property value. The OdataType property -func (m *Admin) GetOdataType() *string { - val, err := m.GetBackingStore().Get("odataType") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil +func (m *Admin) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil } - // GetPeople gets the people property value. Represents a setting to control people-related admin settings in the tenant. -func (m *Admin) GetPeople() PeopleAdminSettingsable { - val, err := m.GetBackingStore().Get("people") - if err != nil { - panic(err) - } - if val != nil { - return val.(PeopleAdminSettingsable) - } - return nil +func (m *Admin) GetPeople()(PeopleAdminSettingsable) { + val, err := m.GetBackingStore().Get("people") + if err != nil { + panic(err) + } + if val != nil { + return val.(PeopleAdminSettingsable) + } + return nil } - // GetReportSettings gets the reportSettings property value. A container for administrative resources to manage reports. -func (m *Admin) GetReportSettings() AdminReportSettingsable { - val, err := m.GetBackingStore().Get("reportSettings") - if err != nil { - panic(err) - } - if val != nil { - return val.(AdminReportSettingsable) - } - return nil +func (m *Admin) GetReportSettings()(AdminReportSettingsable) { + val, err := m.GetBackingStore().Get("reportSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(AdminReportSettingsable) + } + return nil } - // GetServiceAnnouncement gets the serviceAnnouncement property value. A container for service communications resources. Read-only. -func (m *Admin) GetServiceAnnouncement() ServiceAnnouncementable { - val, err := m.GetBackingStore().Get("serviceAnnouncement") - if err != nil { - panic(err) - } - if val != nil { - return val.(ServiceAnnouncementable) - } - return nil +func (m *Admin) GetServiceAnnouncement()(ServiceAnnouncementable) { + val, err := m.GetBackingStore().Get("serviceAnnouncement") + if err != nil { + panic(err) + } + if val != nil { + return val.(ServiceAnnouncementable) + } + return nil } - // GetSharepoint gets the sharepoint property value. The sharepoint property -func (m *Admin) GetSharepoint() Sharepointable { - val, err := m.GetBackingStore().Get("sharepoint") - if err != nil { - panic(err) - } - if val != nil { - return val.(Sharepointable) - } - return nil +func (m *Admin) GetSharepoint()(Sharepointable) { + val, err := m.GetBackingStore().Get("sharepoint") + if err != nil { + panic(err) + } + if val != nil { + return val.(Sharepointable) + } + return nil } - // GetTodo gets the todo property value. The todo property -func (m *Admin) GetTodo() AdminTodoable { - val, err := m.GetBackingStore().Get("todo") - if err != nil { - panic(err) - } - if val != nil { - return val.(AdminTodoable) - } - return nil +func (m *Admin) GetTodo()(AdminTodoable) { + val, err := m.GetBackingStore().Get("todo") + if err != nil { + panic(err) + } + if val != nil { + return val.(AdminTodoable) + } + return nil } - // GetWindows gets the windows property value. A container for all Windows administrator functionalities. Read-only. -func (m *Admin) GetWindows() AdminWindowsable { - val, err := m.GetBackingStore().Get("windows") - if err != nil { - panic(err) - } - if val != nil { - return val.(AdminWindowsable) - } - return nil +func (m *Admin) GetWindows()(AdminWindowsable) { + val, err := m.GetBackingStore().Get("windows") + if err != nil { + panic(err) + } + if val != nil { + return val.(AdminWindowsable) + } + return nil } - // Serialize serializes information the current object -func (m *Admin) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error { - { - err := writer.WriteObjectValue("appsAndServices", m.GetAppsAndServices()) - if err != nil { - return err - } - } - { - err := writer.WriteObjectValue("dynamics", m.GetDynamics()) - if err != nil { - return err - } - } - { - err := writer.WriteObjectValue("edge", m.GetEdge()) - if err != nil { - return err - } - } - { - err := writer.WriteObjectValue("forms", m.GetForms()) - if err != nil { - return err - } - } - { - err := writer.WriteStringValue("@odata.type", m.GetOdataType()) - if err != nil { - return err - } - } - { - err := writer.WriteObjectValue("people", m.GetPeople()) - if err != nil { - return err - } - } - { - err := writer.WriteObjectValue("reportSettings", m.GetReportSettings()) - if err != nil { - return err - } - } - { - err := writer.WriteObjectValue("serviceAnnouncement", m.GetServiceAnnouncement()) - if err != nil { - return err - } - } - { - err := writer.WriteObjectValue("sharepoint", m.GetSharepoint()) - if err != nil { - return err - } - } - { - err := writer.WriteObjectValue("todo", m.GetTodo()) - if err != nil { - return err - } - } - { - err := writer.WriteObjectValue("windows", m.GetWindows()) - if err != nil { - return err - } - } - { - err := writer.WriteAdditionalData(m.GetAdditionalData()) - if err != nil { - return err - } - } - return nil +func (m *Admin) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("appsAndServices", m.GetAppsAndServices()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("dynamics", m.GetDynamics()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("edge", m.GetEdge()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("forms", m.GetForms()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("people", m.GetPeople()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("reportSettings", m.GetReportSettings()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("serviceAnnouncement", m.GetServiceAnnouncement()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("sharepoint", m.GetSharepoint()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("todo", m.GetTodo()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("windows", m.GetWindows()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil } - // SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -func (m *Admin) SetAdditionalData(value map[string]any) { - err := m.GetBackingStore().Set("additionalData", value) - if err != nil { - panic(err) - } +func (m *Admin) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } } - // SetAppsAndServices sets the appsAndServices property value. The appsAndServices property -func (m *Admin) SetAppsAndServices(value AdminAppsAndServicesable) { - err := m.GetBackingStore().Set("appsAndServices", value) - if err != nil { - panic(err) - } +func (m *Admin) SetAppsAndServices(value AdminAppsAndServicesable)() { + err := m.GetBackingStore().Set("appsAndServices", value) + if err != nil { + panic(err) + } } - // SetBackingStore sets the BackingStore property value. Stores model information. -func (m *Admin) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { - m.backingStore = value +func (m *Admin) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value } - // SetDynamics sets the dynamics property value. The dynamics property -func (m *Admin) SetDynamics(value AdminDynamicsable) { - err := m.GetBackingStore().Set("dynamics", value) - if err != nil { - panic(err) - } +func (m *Admin) SetDynamics(value AdminDynamicsable)() { + err := m.GetBackingStore().Set("dynamics", value) + if err != nil { + panic(err) + } } - // SetEdge sets the edge property value. A container for Microsoft Edge resources. Read-only. -func (m *Admin) SetEdge(value Edgeable) { - err := m.GetBackingStore().Set("edge", value) - if err != nil { - panic(err) - } +func (m *Admin) SetEdge(value Edgeable)() { + err := m.GetBackingStore().Set("edge", value) + if err != nil { + panic(err) + } } - // SetForms sets the forms property value. The forms property -func (m *Admin) SetForms(value AdminFormsable) { - err := m.GetBackingStore().Set("forms", value) - if err != nil { - panic(err) - } +func (m *Admin) SetForms(value AdminFormsable)() { + err := m.GetBackingStore().Set("forms", value) + if err != nil { + panic(err) + } } - // SetOdataType sets the @odata.type property value. The OdataType property -func (m *Admin) SetOdataType(value *string) { - err := m.GetBackingStore().Set("odataType", value) - if err != nil { - panic(err) - } +func (m *Admin) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } } - // SetPeople sets the people property value. Represents a setting to control people-related admin settings in the tenant. -func (m *Admin) SetPeople(value PeopleAdminSettingsable) { - err := m.GetBackingStore().Set("people", value) - if err != nil { - panic(err) - } +func (m *Admin) SetPeople(value PeopleAdminSettingsable)() { + err := m.GetBackingStore().Set("people", value) + if err != nil { + panic(err) + } } - // SetReportSettings sets the reportSettings property value. A container for administrative resources to manage reports. -func (m *Admin) SetReportSettings(value AdminReportSettingsable) { - err := m.GetBackingStore().Set("reportSettings", value) - if err != nil { - panic(err) - } +func (m *Admin) SetReportSettings(value AdminReportSettingsable)() { + err := m.GetBackingStore().Set("reportSettings", value) + if err != nil { + panic(err) + } } - // SetServiceAnnouncement sets the serviceAnnouncement property value. A container for service communications resources. Read-only. -func (m *Admin) SetServiceAnnouncement(value ServiceAnnouncementable) { - err := m.GetBackingStore().Set("serviceAnnouncement", value) - if err != nil { - panic(err) - } +func (m *Admin) SetServiceAnnouncement(value ServiceAnnouncementable)() { + err := m.GetBackingStore().Set("serviceAnnouncement", value) + if err != nil { + panic(err) + } } - // SetSharepoint sets the sharepoint property value. The sharepoint property -func (m *Admin) SetSharepoint(value Sharepointable) { - err := m.GetBackingStore().Set("sharepoint", value) - if err != nil { - panic(err) - } +func (m *Admin) SetSharepoint(value Sharepointable)() { + err := m.GetBackingStore().Set("sharepoint", value) + if err != nil { + panic(err) + } } - // SetTodo sets the todo property value. The todo property -func (m *Admin) SetTodo(value AdminTodoable) { - err := m.GetBackingStore().Set("todo", value) - if err != nil { - panic(err) - } +func (m *Admin) SetTodo(value AdminTodoable)() { + err := m.GetBackingStore().Set("todo", value) + if err != nil { + panic(err) + } } - // SetWindows sets the windows property value. A container for all Windows administrator functionalities. Read-only. -func (m *Admin) SetWindows(value AdminWindowsable) { - err := m.GetBackingStore().Set("windows", value) - if err != nil { - panic(err) - } +func (m *Admin) SetWindows(value AdminWindowsable)() { + err := m.GetBackingStore().Set("windows", value) + if err != nil { + panic(err) + } } - -// Adminable +// Adminable type Adminable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAppsAndServices() AdminAppsAndServicesable - GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore - GetDynamics() AdminDynamicsable - GetEdge() Edgeable - GetForms() AdminFormsable - GetOdataType() *string - GetPeople() PeopleAdminSettingsable - GetReportSettings() AdminReportSettingsable - GetServiceAnnouncement() ServiceAnnouncementable - GetSharepoint() Sharepointable - GetTodo() AdminTodoable - GetWindows() AdminWindowsable - SetAppsAndServices(value AdminAppsAndServicesable) - SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - SetDynamics(value AdminDynamicsable) - SetEdge(value Edgeable) - SetForms(value AdminFormsable) - SetOdataType(value *string) - SetPeople(value PeopleAdminSettingsable) - SetReportSettings(value AdminReportSettingsable) - SetServiceAnnouncement(value ServiceAnnouncementable) - SetSharepoint(value Sharepointable) - SetTodo(value AdminTodoable) - SetWindows(value AdminWindowsable) -} - -// AdminWindows -type AdminWindows struct { - Entity -} - -// NewAdminWindows instantiates a new adminWindows and sets the default values. -func NewAdminWindows() *AdminWindows { - m := &AdminWindows{ - Entity: *NewEntity(), - } - return m -} - -// CreateAdminWindowsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateAdminWindowsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewAdminWindows(), nil -} - -// GetFieldDeserializers the deserialization information for the current model -func (m *AdminWindows) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - res := m.Entity.GetFieldDeserializers() - res["updates"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateAdminWindowsUpdatesFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetUpdates(val.(AdminWindowsUpdatesable)) - } - return nil - } - return res -} - -// GetUpdates gets the updates property value. Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only. -func (m *AdminWindows) GetUpdates() AdminWindowsUpdatesable { - val, err := m.GetBackingStore().Get("updates") - if err != nil { - panic(err) - } - if val != nil { - return val.(AdminWindowsUpdatesable) - } - return nil -} - -// Serialize serializes information the current object -func (m *AdminWindows) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error { - err := m.Entity.Serialize(writer) - if err != nil { - return err - } - { - err = writer.WriteObjectValue("updates", m.GetUpdates()) - if err != nil { - return err - } - } - return nil -} - -// SetUpdates sets the updates property value. Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only. -func (m *AdminWindows) SetUpdates(value AdminWindowsUpdatesable) { - err := m.GetBackingStore().Set("updates", value) - if err != nil { - panic(err) - } -} - -// AdminWindowsable -type AdminWindowsable interface { - Entityable - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetUpdates() AdminWindowsUpdatesable - SetUpdates(value AdminWindowsUpdatesable) + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAppsAndServices()(AdminAppsAndServicesable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDynamics()(AdminDynamicsable) + GetEdge()(Edgeable) + GetForms()(AdminFormsable) + GetOdataType()(*string) + GetPeople()(PeopleAdminSettingsable) + GetReportSettings()(AdminReportSettingsable) + GetServiceAnnouncement()(ServiceAnnouncementable) + GetSharepoint()(Sharepointable) + GetTodo()(AdminTodoable) + GetWindows()(AdminWindowsable) + SetAppsAndServices(value AdminAppsAndServicesable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDynamics(value AdminDynamicsable)() + SetEdge(value Edgeable)() + SetForms(value AdminFormsable)() + SetOdataType(value *string)() + SetPeople(value PeopleAdminSettingsable)() + SetReportSettings(value AdminReportSettingsable)() + SetServiceAnnouncement(value ServiceAnnouncementable)() + SetSharepoint(value Sharepointable)() + SetTodo(value AdminTodoable)() + SetWindows(value AdminWindowsable)() } diff --git a/models/admin_windows.go b/models/admin_windows.go new file mode 100644 index 00000000000..cdd938a9b06 --- /dev/null +++ b/models/admin_windows.go @@ -0,0 +1,75 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// AdminWindows +type AdminWindows struct { + Entity +} +// NewAdminWindows instantiates a new adminWindows and sets the default values. +func NewAdminWindows()(*AdminWindows) { + m := &AdminWindows{ + Entity: *NewEntity(), + } + return m +} +// CreateAdminWindowsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateAdminWindowsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdminWindows(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *AdminWindows) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["updates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAdminWindowsUpdatesFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUpdates(val.(AdminWindowsUpdatesable)) + } + return nil + } + return res +} +// GetUpdates gets the updates property value. Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only. +func (m *AdminWindows) GetUpdates()(AdminWindowsUpdatesable) { + val, err := m.GetBackingStore().Get("updates") + if err != nil { + panic(err) + } + if val != nil { + return val.(AdminWindowsUpdatesable) + } + return nil +} +// Serialize serializes information the current object +func (m *AdminWindows) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("updates", m.GetUpdates()) + if err != nil { + return err + } + } + return nil +} +// SetUpdates sets the updates property value. Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only. +func (m *AdminWindows) SetUpdates(value AdminWindowsUpdatesable)() { + err := m.GetBackingStore().Set("updates", value) + if err != nil { + panic(err) + } +} +// AdminWindowsable +type AdminWindowsable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetUpdates()(AdminWindowsUpdatesable) + SetUpdates(value AdminWindowsUpdatesable)() +} diff --git a/models/android_for_work_compliance_policy.go b/models/android_for_work_compliance_policy.go index 276554ab909..e3f8028c945 100644 --- a/models/android_for_work_compliance_policy.go +++ b/models/android_for_work_compliance_policy.go @@ -453,7 +453,7 @@ func (m *AndroidForWorkCompliancePolicy) GetSecurityRequireCompanyPortalAppInteg } return nil } -// GetSecurityRequiredAndroidSafetyNetEvaluationType gets the securityRequiredAndroidSafetyNetEvaluationType property value. An enum representing the Android SafetyNet attestation evaluation types. +// GetSecurityRequiredAndroidSafetyNetEvaluationType gets the securityRequiredAndroidSafetyNetEvaluationType property value. An enum representing the Android Play Integrity API evaluation types. func (m *AndroidForWorkCompliancePolicy) GetSecurityRequiredAndroidSafetyNetEvaluationType()(*AndroidSafetyNetEvaluationType) { val, err := m.GetBackingStore().Get("securityRequiredAndroidSafetyNetEvaluationType") if err != nil { @@ -805,7 +805,7 @@ func (m *AndroidForWorkCompliancePolicy) SetSecurityRequireCompanyPortalAppInteg panic(err) } } -// SetSecurityRequiredAndroidSafetyNetEvaluationType sets the securityRequiredAndroidSafetyNetEvaluationType property value. An enum representing the Android SafetyNet attestation evaluation types. +// SetSecurityRequiredAndroidSafetyNetEvaluationType sets the securityRequiredAndroidSafetyNetEvaluationType property value. An enum representing the Android Play Integrity API evaluation types. func (m *AndroidForWorkCompliancePolicy) SetSecurityRequiredAndroidSafetyNetEvaluationType(value *AndroidSafetyNetEvaluationType)() { err := m.GetBackingStore().Set("securityRequiredAndroidSafetyNetEvaluationType", value) if err != nil { diff --git a/models/android_safety_net_evaluation_type.go b/models/android_safety_net_evaluation_type.go index 9afff867bf1..bb040d94acc 100644 --- a/models/android_safety_net_evaluation_type.go +++ b/models/android_safety_net_evaluation_type.go @@ -2,13 +2,13 @@ package models import ( "errors" ) -// An enum representing the Android SafetyNet attestation evaluation types. +// An enum representing the Android Play Integrity API evaluation types. type AndroidSafetyNetEvaluationType int const ( // Default value. Typical measurements and reference data were used. BASIC_ANDROIDSAFETYNETEVALUATIONTYPE AndroidSafetyNetEvaluationType = iota - // 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_ANDROIDSAFETYNETEVALUATIONTYPE ) diff --git a/models/android_work_profile_compliance_policy.go b/models/android_work_profile_compliance_policy.go index e2fa57eb604..e6eef1744ad 100644 --- a/models/android_work_profile_compliance_policy.go +++ b/models/android_work_profile_compliance_policy.go @@ -474,7 +474,7 @@ func (m *AndroidWorkProfileCompliancePolicy) GetSecurityRequireCompanyPortalAppI } return nil } -// GetSecurityRequiredAndroidSafetyNetEvaluationType gets the securityRequiredAndroidSafetyNetEvaluationType property value. An enum representing the Android SafetyNet attestation evaluation types. +// GetSecurityRequiredAndroidSafetyNetEvaluationType gets the securityRequiredAndroidSafetyNetEvaluationType property value. An enum representing the Android Play Integrity API evaluation types. func (m *AndroidWorkProfileCompliancePolicy) GetSecurityRequiredAndroidSafetyNetEvaluationType()(*AndroidSafetyNetEvaluationType) { val, err := m.GetBackingStore().Get("securityRequiredAndroidSafetyNetEvaluationType") if err != nil { @@ -840,7 +840,7 @@ func (m *AndroidWorkProfileCompliancePolicy) SetSecurityRequireCompanyPortalAppI panic(err) } } -// SetSecurityRequiredAndroidSafetyNetEvaluationType sets the securityRequiredAndroidSafetyNetEvaluationType property value. An enum representing the Android SafetyNet attestation evaluation types. +// SetSecurityRequiredAndroidSafetyNetEvaluationType sets the securityRequiredAndroidSafetyNetEvaluationType property value. An enum representing the Android Play Integrity API evaluation types. func (m *AndroidWorkProfileCompliancePolicy) SetSecurityRequiredAndroidSafetyNetEvaluationType(value *AndroidSafetyNetEvaluationType)() { err := m.GetBackingStore().Set("securityRequiredAndroidSafetyNetEvaluationType", value) if err != nil { diff --git a/models/authentication_condition_application_collection_response.go b/models/authentication_condition_application_collection_response.go new file mode 100644 index 00000000000..8380828ca47 --- /dev/null +++ b/models/authentication_condition_application_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// AuthenticationConditionApplicationCollectionResponse +type AuthenticationConditionApplicationCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewAuthenticationConditionApplicationCollectionResponse instantiates a new authenticationConditionApplicationCollectionResponse and sets the default values. +func NewAuthenticationConditionApplicationCollectionResponse()(*AuthenticationConditionApplicationCollectionResponse) { + m := &AuthenticationConditionApplicationCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAuthenticationConditionApplicationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateAuthenticationConditionApplicationCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAuthenticationConditionApplicationCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *AuthenticationConditionApplicationCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAuthenticationConditionApplicationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AuthenticationConditionApplicationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AuthenticationConditionApplicationable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *AuthenticationConditionApplicationCollectionResponse) GetValue()([]AuthenticationConditionApplicationable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AuthenticationConditionApplicationable) + } + return nil +} +// Serialize serializes information the current object +func (m *AuthenticationConditionApplicationCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *AuthenticationConditionApplicationCollectionResponse) SetValue(value []AuthenticationConditionApplicationable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// AuthenticationConditionApplicationCollectionResponseable +type AuthenticationConditionApplicationCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AuthenticationConditionApplicationable) + SetValue(value []AuthenticationConditionApplicationable)() +} diff --git a/models/authorization_policy.go b/models/authorization_policy.go index 14dceabb42c..9c364c69d21 100644 --- a/models/authorization_policy.go +++ b/models/authorization_policy.go @@ -77,7 +77,7 @@ func (m *AuthorizationPolicy) GetAllowUserConsentForRiskyApps()(*bool) { } return nil } -// GetBlockMsolPowerShell gets the blockMsolPowerShell property value. To disable the use of the MSOnline PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the MSOnline PowerShell module. This doesn't affect Microsoft Entra Connect or Microsoft Graph. +// GetBlockMsolPowerShell gets the blockMsolPowerShell property value. To disable the use of the Microsoft Graph PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the Microsoft Graph PowerShell module. This doesn't affect Microsoft Entra Connect or Microsoft Graph. func (m *AuthorizationPolicy) GetBlockMsolPowerShell()(*bool) { val, err := m.GetBackingStore().Get("blockMsolPowerShell") if err != nil { @@ -392,7 +392,7 @@ func (m *AuthorizationPolicy) SetAllowUserConsentForRiskyApps(value *bool)() { panic(err) } } -// SetBlockMsolPowerShell sets the blockMsolPowerShell property value. To disable the use of the MSOnline PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the MSOnline PowerShell module. This doesn't affect Microsoft Entra Connect or Microsoft Graph. +// SetBlockMsolPowerShell sets the blockMsolPowerShell property value. To disable the use of the Microsoft Graph PowerShell module set this property to true. This will also disable user-based access to the legacy service endpoint used by the Microsoft Graph PowerShell module. This doesn't affect Microsoft Entra Connect or Microsoft Graph. func (m *AuthorizationPolicy) SetBlockMsolPowerShell(value *bool)() { err := m.GetBackingStore().Set("blockMsolPowerShell", value) if err != nil { diff --git a/models/call_recording.go b/models/call_recording.go index d6bb49c71b6..e0c2d7d66ed 100644 --- a/models/call_recording.go +++ b/models/call_recording.go @@ -31,7 +31,7 @@ func (m *CallRecording) GetContent()([]byte) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. 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. +// GetCreatedDateTime gets the createdDateTime property value. 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. func (m *CallRecording) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") if err != nil { @@ -202,7 +202,7 @@ func (m *CallRecording) SetContent(value []byte)() { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. 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. +// SetCreatedDateTime sets the createdDateTime property value. 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. func (m *CallRecording) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { diff --git a/models/callrecords/call_record.go b/models/callrecords/call_record.go index 8930672a4f1..925612a402f 100644 --- a/models/callrecords/call_record.go +++ b/models/callrecords/call_record.go @@ -91,6 +91,16 @@ func (m *CallRecord) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 } return nil } + res["organizer_v2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOrganizerFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetOrganizerV2(val.(Organizerable)) + } + return nil + } res["participants"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateIdentitySetFromDiscriminatorValue) if err != nil { @@ -107,6 +117,22 @@ func (m *CallRecord) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 } return nil } + res["participants_v2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateParticipantFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Participantable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Participantable) + } + } + m.SetParticipantsV2(res) + } + return nil + } res["sessions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateSessionFromDiscriminatorValue) if err != nil { @@ -188,7 +214,7 @@ func (m *CallRecord) GetModalities()([]Modality) { } return nil } -// GetOrganizer gets the organizer property value. The organizing party's identity. +// GetOrganizer gets the organizer property value. The organizer property func (m *CallRecord) GetOrganizer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable) { val, err := m.GetBackingStore().Get("organizer") if err != nil { @@ -199,7 +225,18 @@ func (m *CallRecord) GetOrganizer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9 } return nil } -// GetParticipants gets the participants property value. List of distinct identities involved in the call. +// GetOrganizerV2 gets the organizer_v2 property value. Identity of the organizer of the call. This relationship is expanded by default in callRecord methods. +func (m *CallRecord) GetOrganizerV2()(Organizerable) { + val, err := m.GetBackingStore().Get("organizer_v2") + if err != nil { + panic(err) + } + if val != nil { + return val.(Organizerable) + } + return nil +} +// GetParticipants gets the participants property value. The participants property func (m *CallRecord) GetParticipants()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable) { val, err := m.GetBackingStore().Get("participants") if err != nil { @@ -210,6 +247,17 @@ func (m *CallRecord) GetParticipants()([]ie233ee762e29b4ba6970aa2a2efce4b7fde116 } return nil } +// GetParticipantsV2 gets the participants_v2 property value. List of distinct participants in the call. +func (m *CallRecord) GetParticipantsV2()([]Participantable) { + val, err := m.GetBackingStore().Get("participants_v2") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Participantable) + } + return nil +} // GetSessions gets the sessions property value. 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. func (m *CallRecord) GetSessions()([]Sessionable) { val, err := m.GetBackingStore().Get("sessions") @@ -243,7 +291,7 @@ func (m *CallRecord) GetTypeEscaped()(*CallType) { } return nil } -// GetVersion gets the version property value. Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version. +// GetVersion gets the version property value. Monotonically increasing version of the call record. Higher version call records with the same ID include additional data compared to the lower version. func (m *CallRecord) GetVersion()(*int64) { val, err := m.GetBackingStore().Get("version") if err != nil { @@ -290,6 +338,12 @@ func (m *CallRecord) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c return err } } + { + err = writer.WriteObjectValue("organizer_v2", m.GetOrganizerV2()) + if err != nil { + return err + } + } if m.GetParticipants() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetParticipants())) for i, v := range m.GetParticipants() { @@ -302,6 +356,18 @@ func (m *CallRecord) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c return err } } + if m.GetParticipantsV2() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetParticipantsV2())) + for i, v := range m.GetParticipantsV2() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("participants_v2", cast) + if err != nil { + return err + } + } if m.GetSessions() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSessions())) for i, v := range m.GetSessions() { @@ -363,20 +429,34 @@ func (m *CallRecord) SetModalities(value []Modality)() { panic(err) } } -// SetOrganizer sets the organizer property value. The organizing party's identity. +// SetOrganizer sets the organizer property value. The organizer property func (m *CallRecord) SetOrganizer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable)() { err := m.GetBackingStore().Set("organizer", value) if err != nil { panic(err) } } -// SetParticipants sets the participants property value. List of distinct identities involved in the call. +// SetOrganizerV2 sets the organizer_v2 property value. Identity of the organizer of the call. This relationship is expanded by default in callRecord methods. +func (m *CallRecord) SetOrganizerV2(value Organizerable)() { + err := m.GetBackingStore().Set("organizer_v2", value) + if err != nil { + panic(err) + } +} +// SetParticipants sets the participants property value. The participants property func (m *CallRecord) SetParticipants(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable)() { err := m.GetBackingStore().Set("participants", value) if err != nil { panic(err) } } +// SetParticipantsV2 sets the participants_v2 property value. List of distinct participants in the call. +func (m *CallRecord) SetParticipantsV2(value []Participantable)() { + err := m.GetBackingStore().Set("participants_v2", value) + if err != nil { + panic(err) + } +} // SetSessions sets the sessions property value. 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. func (m *CallRecord) SetSessions(value []Sessionable)() { err := m.GetBackingStore().Set("sessions", value) @@ -398,7 +478,7 @@ func (m *CallRecord) SetTypeEscaped(value *CallType)() { panic(err) } } -// SetVersion sets the version property value. Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version. +// SetVersion sets the version property value. Monotonically increasing version of the call record. Higher version call records with the same ID include additional data compared to the lower version. func (m *CallRecord) SetVersion(value *int64)() { err := m.GetBackingStore().Set("version", value) if err != nil { @@ -414,7 +494,9 @@ type CallRecordable interface { GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetModalities()([]Modality) GetOrganizer()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable) + GetOrganizerV2()(Organizerable) GetParticipants()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable) + GetParticipantsV2()([]Participantable) GetSessions()([]Sessionable) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetTypeEscaped()(*CallType) @@ -424,7 +506,9 @@ type CallRecordable interface { SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetModalities(value []Modality)() SetOrganizer(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable)() + SetOrganizerV2(value Organizerable)() SetParticipants(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable)() + SetParticipantsV2(value []Participantable)() SetSessions(value []Sessionable)() SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetTypeEscaped(value *CallType)() diff --git a/models/callrecords/organizer.go b/models/callrecords/organizer.go new file mode 100644 index 00000000000..bbf28188930 --- /dev/null +++ b/models/callrecords/organizer.go @@ -0,0 +1,41 @@ +package callrecords + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Organizer +type Organizer struct { + ParticipantBase +} +// NewOrganizer instantiates a new organizer and sets the default values. +func NewOrganizer()(*Organizer) { + m := &Organizer{ + ParticipantBase: *NewParticipantBase(), + } + odataTypeValue := "#microsoft.graph.callRecords.organizer" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOrganizerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateOrganizerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOrganizer(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *Organizer) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ParticipantBase.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *Organizer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ParticipantBase.Serialize(writer) + if err != nil { + return err + } + return nil +} +// Organizerable +type Organizerable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ParticipantBaseable +} diff --git a/models/callrecords/participant.go b/models/callrecords/participant.go new file mode 100644 index 00000000000..f3e6968d89c --- /dev/null +++ b/models/callrecords/participant.go @@ -0,0 +1,41 @@ +package callrecords + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Participant +type Participant struct { + ParticipantBase +} +// NewParticipant instantiates a new participant and sets the default values. +func NewParticipant()(*Participant) { + m := &Participant{ + ParticipantBase: *NewParticipantBase(), + } + odataTypeValue := "#microsoft.graph.callRecords.participant" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateParticipantFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateParticipantFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewParticipant(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *Participant) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ParticipantBase.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *Participant) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ParticipantBase.Serialize(writer) + if err != nil { + return err + } + return nil +} +// Participantable +type Participantable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ParticipantBaseable +} diff --git a/models/callrecords/participant_base.go b/models/callrecords/participant_base.go new file mode 100644 index 00000000000..437938778e2 --- /dev/null +++ b/models/callrecords/participant_base.go @@ -0,0 +1,96 @@ +package callrecords + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +// ParticipantBase +type ParticipantBase struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewParticipantBase instantiates a new participantBase and sets the default values. +func NewParticipantBase()(*ParticipantBase) { + m := &ParticipantBase{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateParticipantBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateParticipantBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.callRecords.organizer": + return NewOrganizer(), nil + case "#microsoft.graph.callRecords.participant": + return NewParticipant(), nil + } + } + } + } + return NewParticipantBase(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *ParticipantBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["identity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateUserIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetIdentity(val.(UserIdentityable)) + } + return nil + } + return res +} +// GetIdentity gets the identity property value. The identity of the call participant. +func (m *ParticipantBase) GetIdentity()(UserIdentityable) { + val, err := m.GetBackingStore().Get("identity") + if err != nil { + panic(err) + } + if val != nil { + return val.(UserIdentityable) + } + return nil +} +// Serialize serializes information the current object +func (m *ParticipantBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("identity", m.GetIdentity()) + if err != nil { + return err + } + } + return nil +} +// SetIdentity sets the identity property value. The identity of the call participant. +func (m *ParticipantBase) SetIdentity(value UserIdentityable)() { + err := m.GetBackingStore().Set("identity", value) + if err != nil { + panic(err) + } +} +// ParticipantBaseable +type ParticipantBaseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetIdentity()(UserIdentityable) + SetIdentity(value UserIdentityable)() +} diff --git a/models/callrecords/participant_collection_response.go b/models/callrecords/participant_collection_response.go new file mode 100644 index 00000000000..e7d0c33a10c --- /dev/null +++ b/models/callrecords/participant_collection_response.go @@ -0,0 +1,88 @@ +package callrecords + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +// ParticipantCollectionResponse +type ParticipantCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewParticipantCollectionResponse instantiates a new participantCollectionResponse and sets the default values. +func NewParticipantCollectionResponse()(*ParticipantCollectionResponse) { + m := &ParticipantCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateParticipantCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateParticipantCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewParticipantCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *ParticipantCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateParticipantFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Participantable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Participantable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *ParticipantCollectionResponse) GetValue()([]Participantable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Participantable) + } + return nil +} +// Serialize serializes information the current object +func (m *ParticipantCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ParticipantCollectionResponse) SetValue(value []Participantable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// ParticipantCollectionResponseable +type ParticipantCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Participantable) + SetValue(value []Participantable)() +} diff --git a/models/callrecords/participant_endpoint.go b/models/callrecords/participant_endpoint.go index 9b2483c85bf..5db429d6e28 100644 --- a/models/callrecords/participant_endpoint.go +++ b/models/callrecords/participant_endpoint.go @@ -22,6 +22,17 @@ func NewParticipantEndpoint()(*ParticipantEndpoint) { func CreateParticipantEndpointFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewParticipantEndpoint(), nil } +// GetAssociatedIdentity gets the associatedIdentity property value. Identity associated with the endpoint. +func (m *ParticipantEndpoint) GetAssociatedIdentity()(UserIdentityable) { + val, err := m.GetBackingStore().Get("associatedIdentity") + if err != nil { + panic(err) + } + if val != nil { + return val.(UserIdentityable) + } + return nil +} // GetCpuCoresCount gets the cpuCoresCount property value. CPU number of cores used by the media endpoint. func (m *ParticipantEndpoint) GetCpuCoresCount()(*int32) { val, err := m.GetBackingStore().Get("cpuCoresCount") @@ -69,6 +80,16 @@ func (m *ParticipantEndpoint) GetFeedback()(UserFeedbackable) { // GetFieldDeserializers the deserialization information for the current model func (m *ParticipantEndpoint) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Endpoint.GetFieldDeserializers() + res["associatedIdentity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateUserIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAssociatedIdentity(val.(UserIdentityable)) + } + return nil + } res["cpuCoresCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetInt32Value() if err != nil { @@ -131,7 +152,7 @@ func (m *ParticipantEndpoint) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetIdentity gets the identity property value. Identity associated with the endpoint. +// GetIdentity gets the identity property value. The identity property func (m *ParticipantEndpoint) GetIdentity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable) { val, err := m.GetBackingStore().Get("identity") if err != nil { @@ -159,6 +180,12 @@ func (m *ParticipantEndpoint) Serialize(writer i878a80d2330e89d26896388a3f487eef if err != nil { return err } + { + err = writer.WriteObjectValue("associatedIdentity", m.GetAssociatedIdentity()) + if err != nil { + return err + } + } { err = writer.WriteInt32Value("cpuCoresCount", m.GetCpuCoresCount()) if err != nil { @@ -197,6 +224,13 @@ func (m *ParticipantEndpoint) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } +// SetAssociatedIdentity sets the associatedIdentity property value. Identity associated with the endpoint. +func (m *ParticipantEndpoint) SetAssociatedIdentity(value UserIdentityable)() { + err := m.GetBackingStore().Set("associatedIdentity", value) + if err != nil { + panic(err) + } +} // SetCpuCoresCount sets the cpuCoresCount property value. CPU number of cores used by the media endpoint. func (m *ParticipantEndpoint) SetCpuCoresCount(value *int32)() { err := m.GetBackingStore().Set("cpuCoresCount", value) @@ -225,7 +259,7 @@ func (m *ParticipantEndpoint) SetFeedback(value UserFeedbackable)() { panic(err) } } -// SetIdentity sets the identity property value. Identity associated with the endpoint. +// SetIdentity sets the identity property value. The identity property func (m *ParticipantEndpoint) SetIdentity(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable)() { err := m.GetBackingStore().Set("identity", value) if err != nil { @@ -243,12 +277,14 @@ func (m *ParticipantEndpoint) SetName(value *string)() { type ParticipantEndpointable interface { Endpointable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssociatedIdentity()(UserIdentityable) GetCpuCoresCount()(*int32) GetCpuName()(*string) GetCpuProcessorSpeedInMhz()(*int32) GetFeedback()(UserFeedbackable) GetIdentity()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentitySetable) GetName()(*string) + SetAssociatedIdentity(value UserIdentityable)() SetCpuCoresCount(value *int32)() SetCpuName(value *string)() SetCpuProcessorSpeedInMhz(value *int32)() diff --git a/models/callrecords/user_identity.go b/models/callrecords/user_identity.go new file mode 100644 index 00000000000..4becd671f46 --- /dev/null +++ b/models/callrecords/user_identity.go @@ -0,0 +1,78 @@ +package callrecords + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +// UserIdentity +type UserIdentity struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Identity +} +// NewUserIdentity instantiates a new userIdentity and sets the default values. +func NewUserIdentity()(*UserIdentity) { + m := &UserIdentity{ + Identity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewIdentity(), + } + odataTypeValue := "#microsoft.graph.callRecords.userIdentity" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUserIdentityFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateUserIdentityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUserIdentity(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *UserIdentity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Identity.GetFieldDeserializers() + res["userPrincipalName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserPrincipalName(val) + } + return nil + } + return res +} +// GetUserPrincipalName gets the userPrincipalName property value. The userPrincipalName property +func (m *UserIdentity) GetUserPrincipalName()(*string) { + val, err := m.GetBackingStore().Get("userPrincipalName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *UserIdentity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Identity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("userPrincipalName", m.GetUserPrincipalName()) + if err != nil { + return err + } + } + return nil +} +// SetUserPrincipalName sets the userPrincipalName property value. The userPrincipalName property +func (m *UserIdentity) SetUserPrincipalName(value *string)() { + err := m.GetBackingStore().Set("userPrincipalName", value) + if err != nil { + panic(err) + } +} +// UserIdentityable +type UserIdentityable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Identityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetUserPrincipalName()(*string) + SetUserPrincipalName(value *string)() +} diff --git a/models/change_tracked_entity.go b/models/change_tracked_entity.go index 09cbe99cf61..49b87472fee 100644 --- a/models/change_tracked_entity.go +++ b/models/change_tracked_entity.go @@ -30,6 +30,8 @@ func CreateChangeTrackedEntityFromDiscriminatorValue(parseNode i878a80d2330e89d2 } if mappingValue != nil { switch *mappingValue { + case "#microsoft.graph.dayNote": + return NewDayNote(), nil case "#microsoft.graph.offerShiftRequest": return NewOfferShiftRequest(), nil case "#microsoft.graph.openShift": diff --git a/models/cloud_p_c.go b/models/cloud_p_c.go index bd0a74a328a..e5e86e8714b 100644 --- a/models/cloud_p_c.go +++ b/models/cloud_p_c.go @@ -274,6 +274,22 @@ func (m *CloudPC) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["scopeIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetScopeIds(res) + } + return nil + } res["servicePlanId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -500,6 +516,17 @@ func (m *CloudPC) GetProvisioningType()(*CloudPcProvisioningType) { } return nil } +// GetScopeIds gets the scopeIds property value. The scopeIds property +func (m *CloudPC) GetScopeIds()([]string) { + val, err := m.GetBackingStore().Get("scopeIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} // GetServicePlanId gets the servicePlanId property value. The service plan ID of the Cloud PC. func (m *CloudPC) GetServicePlanId()(*string) { val, err := m.GetBackingStore().Get("servicePlanId") @@ -707,6 +734,12 @@ func (m *CloudPC) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 return err } } + if m.GetScopeIds() != nil { + err = writer.WriteCollectionOfStringValues("scopeIds", m.GetScopeIds()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("servicePlanId", m.GetServicePlanId()) if err != nil { @@ -887,6 +920,13 @@ func (m *CloudPC) SetProvisioningType(value *CloudPcProvisioningType)() { panic(err) } } +// SetScopeIds sets the scopeIds property value. The scopeIds property +func (m *CloudPC) SetScopeIds(value []string)() { + err := m.GetBackingStore().Set("scopeIds", value) + if err != nil { + panic(err) + } +} // SetServicePlanId sets the servicePlanId property value. The service plan ID of the Cloud PC. func (m *CloudPC) SetServicePlanId(value *string)() { err := m.GetBackingStore().Set("servicePlanId", value) @@ -959,6 +999,7 @@ type CloudPCable interface { GetProvisioningPolicyId()(*string) GetProvisioningPolicyName()(*string) GetProvisioningType()(*CloudPcProvisioningType) + GetScopeIds()([]string) GetServicePlanId()(*string) GetServicePlanName()(*string) GetServicePlanType()(*CloudPcServicePlanType) @@ -985,6 +1026,7 @@ type CloudPCable interface { SetProvisioningPolicyId(value *string)() SetProvisioningPolicyName(value *string)() SetProvisioningType(value *CloudPcProvisioningType)() + SetScopeIds(value []string)() SetServicePlanId(value *string)() SetServicePlanName(value *string)() SetServicePlanType(value *CloudPcServicePlanType)() diff --git a/models/cloud_pc_device_image.go b/models/cloud_pc_device_image.go index 71860ba5d46..2b86b317d9d 100644 --- a/models/cloud_pc_device_image.go +++ b/models/cloud_pc_device_image.go @@ -105,6 +105,22 @@ func (m *CloudPcDeviceImage) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["scopeIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetScopeIds(res) + } + return nil + } res["sourceImageResourceId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -191,6 +207,17 @@ func (m *CloudPcDeviceImage) GetOsStatus()(*CloudPcDeviceImageOsStatus) { } return nil } +// GetScopeIds gets the scopeIds property value. The scopeIds property +func (m *CloudPcDeviceImage) GetScopeIds()([]string) { + val, err := m.GetBackingStore().Get("scopeIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} // GetSourceImageResourceId gets the sourceImageResourceId property value. The ID of the source image resource on Azure. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}. func (m *CloudPcDeviceImage) GetSourceImageResourceId()(*string) { val, err := m.GetBackingStore().Get("sourceImageResourceId") @@ -278,6 +305,12 @@ func (m *CloudPcDeviceImage) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } + if m.GetScopeIds() != nil { + err = writer.WriteCollectionOfStringValues("scopeIds", m.GetScopeIds()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("sourceImageResourceId", m.GetSourceImageResourceId()) if err != nil { @@ -348,6 +381,13 @@ func (m *CloudPcDeviceImage) SetOsStatus(value *CloudPcDeviceImageOsStatus)() { panic(err) } } +// SetScopeIds sets the scopeIds property value. The scopeIds property +func (m *CloudPcDeviceImage) SetScopeIds(value []string)() { + err := m.GetBackingStore().Set("scopeIds", value) + if err != nil { + panic(err) + } +} // SetSourceImageResourceId sets the sourceImageResourceId property value. The ID of the source image resource on Azure. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}. func (m *CloudPcDeviceImage) SetSourceImageResourceId(value *string)() { err := m.GetBackingStore().Set("sourceImageResourceId", value) @@ -386,6 +426,7 @@ type CloudPcDeviceImageable interface { GetOperatingSystem()(*string) GetOsBuildNumber()(*string) GetOsStatus()(*CloudPcDeviceImageOsStatus) + GetScopeIds()([]string) GetSourceImageResourceId()(*string) GetStatus()(*CloudPcDeviceImageStatus) GetStatusDetails()(*CloudPcDeviceImageStatusDetails) @@ -396,6 +437,7 @@ type CloudPcDeviceImageable interface { SetOperatingSystem(value *string)() SetOsBuildNumber(value *string)() SetOsStatus(value *CloudPcDeviceImageOsStatus)() + SetScopeIds(value []string)() SetSourceImageResourceId(value *string)() SetStatus(value *CloudPcDeviceImageStatus)() SetStatusDetails(value *CloudPcDeviceImageStatusDetails)() diff --git a/models/cloud_pc_disk_encryption_type.go b/models/cloud_pc_disk_encryption_type.go new file mode 100644 index 00000000000..2c7d28e52bc --- /dev/null +++ b/models/cloud_pc_disk_encryption_type.go @@ -0,0 +1,40 @@ +package models +import ( + "errors" +) +// +type CloudPcDiskEncryptionType int + +const ( + PLATFORMMANAGEDKEY_CLOUDPCDISKENCRYPTIONTYPE CloudPcDiskEncryptionType = iota + CUSTOMERMANAGEDKEY_CLOUDPCDISKENCRYPTIONTYPE + UNKNOWNFUTUREVALUE_CLOUDPCDISKENCRYPTIONTYPE +) + +func (i CloudPcDiskEncryptionType) String() string { + return []string{"platformManagedKey", "customerManagedKey", "unknownFutureValue"}[i] +} +func ParseCloudPcDiskEncryptionType(v string) (any, error) { + result := PLATFORMMANAGEDKEY_CLOUDPCDISKENCRYPTIONTYPE + switch v { + case "platformManagedKey": + result = PLATFORMMANAGEDKEY_CLOUDPCDISKENCRYPTIONTYPE + case "customerManagedKey": + result = CUSTOMERMANAGEDKEY_CLOUDPCDISKENCRYPTIONTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CLOUDPCDISKENCRYPTIONTYPE + default: + return 0, errors.New("Unknown CloudPcDiskEncryptionType value: " + v) + } + return &result, nil +} +func SerializeCloudPcDiskEncryptionType(values []CloudPcDiskEncryptionType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CloudPcDiskEncryptionType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_export_job.go b/models/cloud_pc_export_job.go index ccde9037ba3..dbc40dfed9f 100644 --- a/models/cloud_pc_export_job.go +++ b/models/cloud_pc_export_job.go @@ -166,7 +166,7 @@ func (m *CloudPcExportJob) GetFormat()(*string) { } return nil } -// GetReportName gets the reportName property value. 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. +// GetReportName gets the reportName property value. 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. func (m *CloudPcExportJob) GetReportName()(*CloudPcReportName) { val, err := m.GetBackingStore().Get("reportName") if err != nil { @@ -292,7 +292,7 @@ func (m *CloudPcExportJob) SetFormat(value *string)() { panic(err) } } -// SetReportName sets the reportName property value. 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. +// SetReportName sets the reportName property value. 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. func (m *CloudPcExportJob) SetReportName(value *CloudPcReportName)() { err := m.GetBackingStore().Set("reportName", value) if err != nil { diff --git a/models/cloud_pc_on_premises_connection.go b/models/cloud_pc_on_premises_connection.go index f4dc1973eb4..333f63afec7 100644 --- a/models/cloud_pc_on_premises_connection.go +++ b/models/cloud_pc_on_premises_connection.go @@ -187,6 +187,22 @@ func (m *CloudPcOnPremisesConnection) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["scopeIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetScopeIds(res) + } + return nil + } res["subnetId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -315,6 +331,17 @@ func (m *CloudPcOnPremisesConnection) GetResourceGroupId()(*string) { } return nil } +// GetScopeIds gets the scopeIds property value. The scopeIds property +func (m *CloudPcOnPremisesConnection) GetScopeIds()([]string) { + val, err := m.GetBackingStore().Get("scopeIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} // GetSubnetId gets the subnetId property value. The ID of the target subnet. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}. func (m *CloudPcOnPremisesConnection) GetSubnetId()(*string) { val, err := m.GetBackingStore().Get("subnetId") @@ -455,6 +482,12 @@ func (m *CloudPcOnPremisesConnection) Serialize(writer i878a80d2330e89d26896388a return err } } + if m.GetScopeIds() != nil { + err = writer.WriteCollectionOfStringValues("scopeIds", m.GetScopeIds()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("subnetId", m.GetSubnetId()) if err != nil { @@ -571,6 +604,13 @@ func (m *CloudPcOnPremisesConnection) SetResourceGroupId(value *string)() { panic(err) } } +// SetScopeIds sets the scopeIds property value. The scopeIds property +func (m *CloudPcOnPremisesConnection) SetScopeIds(value []string)() { + err := m.GetBackingStore().Set("scopeIds", value) + if err != nil { + panic(err) + } +} // SetSubnetId sets the subnetId property value. The ID of the target subnet. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}. func (m *CloudPcOnPremisesConnection) SetSubnetId(value *string)() { err := m.GetBackingStore().Set("subnetId", value) @@ -628,6 +668,7 @@ type CloudPcOnPremisesConnectionable interface { GetManagedBy()(*CloudPcManagementService) GetOrganizationalUnit()(*string) GetResourceGroupId()(*string) + GetScopeIds()([]string) GetSubnetId()(*string) GetSubscriptionId()(*string) GetSubscriptionName()(*string) @@ -645,6 +686,7 @@ type CloudPcOnPremisesConnectionable interface { SetManagedBy(value *CloudPcManagementService)() SetOrganizationalUnit(value *string)() SetResourceGroupId(value *string)() + SetScopeIds(value []string)() SetSubnetId(value *string)() SetSubscriptionId(value *string)() SetSubscriptionName(value *string)() diff --git a/models/cloud_pc_on_premises_connection_health_check_error_type.go b/models/cloud_pc_on_premises_connection_health_check_error_type.go index 7761cb78e44..bea308a0577 100644 --- a/models/cloud_pc_on_premises_connection_health_check_error_type.go +++ b/models/cloud_pc_on_premises_connection_health_check_error_type.go @@ -52,6 +52,7 @@ const ( RESOURCEAVAILABILITYCHECKNOINTUNEREADERROLEERROR_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE RESOURCEAVAILABILITYCHECKINTUNEDEFAULTWINDOWSRESTRICTIONVIOLATION_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE RESOURCEAVAILABILITYCHECKINTUNECUSTOMWINDOWSRESTRICTIONVIOLATION_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE + RESOURCEAVAILABILITYCHECKDEPLOYMENTQUOTALIMITREACHED_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE RESOURCEAVAILABILITYCHECKTRANSIENTSERVICEERROR_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE RESOURCEAVAILABILITYCHECKUNKNOWNERROR_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE PERMISSIONCHECKNOSUBSCRIPTIONREADERROLE_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE @@ -76,7 +77,7 @@ const ( ) func (i CloudPcOnPremisesConnectionHealthCheckErrorType) String() string { - return []string{"dnsCheckFqdnNotFound", "dnsCheckNameWithInvalidCharacter", "dnsCheckUnknownError", "adJoinCheckFqdnNotFound", "adJoinCheckIncorrectCredentials", "adJoinCheckOrganizationalUnitNotFound", "adJoinCheckOrganizationalUnitIncorrectFormat", "adJoinCheckComputerObjectAlreadyExists", "adJoinCheckAccessDenied", "adJoinCheckCredentialsExpired", "adJoinCheckAccountLockedOrDisabled", "adJoinCheckAccountQuotaExceeded", "adJoinCheckServerNotOperational", "adJoinCheckUnknownError", "endpointConnectivityCheckCloudPcUrlNotAllowListed", "endpointConnectivityCheckWVDUrlNotAllowListed", "endpointConnectivityCheckIntuneUrlNotAllowListed", "endpointConnectivityCheckAzureADUrlNotAllowListed", "endpointConnectivityCheckLocaleUrlNotAllowListed", "endpointConnectivityCheckUnknownError", "azureAdDeviceSyncCheckDeviceNotFound", "azureAdDeviceSyncCheckLongSyncCircle", "azureAdDeviceSyncCheckConnectDisabled", "azureAdDeviceSyncCheckDurationExceeded", "azureAdDeviceSyncCheckScpNotConfigured", "azureAdDeviceSyncCheckTransientServiceError", "azureAdDeviceSyncCheckUnknownError", "resourceAvailabilityCheckNoSubnetIP", "resourceAvailabilityCheckSubscriptionDisabled", "resourceAvailabilityCheckAzurePolicyViolation", "resourceAvailabilityCheckSubscriptionNotFound", "resourceAvailabilityCheckSubscriptionTransferred", "resourceAvailabilityCheckGeneralSubscriptionError", "resourceAvailabilityCheckUnsupportedVNetRegion", "resourceAvailabilityCheckResourceGroupInvalid", "resourceAvailabilityCheckVNetInvalid", "resourceAvailabilityCheckSubnetInvalid", "resourceAvailabilityCheckResourceGroupBeingDeleted", "resourceAvailabilityCheckVNetBeingMoved", "resourceAvailabilityCheckSubnetDelegationFailed", "resourceAvailabilityCheckSubnetWithExternalResources", "resourceAvailabilityCheckResourceGroupLockedForReadonly", "resourceAvailabilityCheckResourceGroupLockedForDelete", "resourceAvailabilityCheckNoIntuneReaderRoleError", "resourceAvailabilityCheckIntuneDefaultWindowsRestrictionViolation", "resourceAvailabilityCheckIntuneCustomWindowsRestrictionViolation", "resourceAvailabilityCheckTransientServiceError", "resourceAvailabilityCheckUnknownError", "permissionCheckNoSubscriptionReaderRole", "permissionCheckNoResourceGroupOwnerRole", "permissionCheckNoVNetContributorRole", "permissionCheckNoResourceGroupNetworkContributorRole", "permissionCheckNoWindows365NetworkUserRole", "permissionCheckNoWindows365NetworkInterfaceContributorRole", "permissionCheckTransientServiceError", "permissionCheckUnknownError", "udpConnectivityCheckStunUrlNotAllowListed", "udpConnectivityCheckTurnUrlNotAllowListed", "udpConnectivityCheckUrlsNotAllowListed", "udpConnectivityCheckUnknownError", "internalServerErrorDeploymentCanceled", "internalServerErrorAllocateResourceFailed", "internalServerErrorVMDeploymentTimeout", "internalServerErrorUnableToRunDscScript", "ssoCheckKerberosConfigurationError", "internalServerUnknownError", "unknownFutureValue"}[i] + return []string{"dnsCheckFqdnNotFound", "dnsCheckNameWithInvalidCharacter", "dnsCheckUnknownError", "adJoinCheckFqdnNotFound", "adJoinCheckIncorrectCredentials", "adJoinCheckOrganizationalUnitNotFound", "adJoinCheckOrganizationalUnitIncorrectFormat", "adJoinCheckComputerObjectAlreadyExists", "adJoinCheckAccessDenied", "adJoinCheckCredentialsExpired", "adJoinCheckAccountLockedOrDisabled", "adJoinCheckAccountQuotaExceeded", "adJoinCheckServerNotOperational", "adJoinCheckUnknownError", "endpointConnectivityCheckCloudPcUrlNotAllowListed", "endpointConnectivityCheckWVDUrlNotAllowListed", "endpointConnectivityCheckIntuneUrlNotAllowListed", "endpointConnectivityCheckAzureADUrlNotAllowListed", "endpointConnectivityCheckLocaleUrlNotAllowListed", "endpointConnectivityCheckUnknownError", "azureAdDeviceSyncCheckDeviceNotFound", "azureAdDeviceSyncCheckLongSyncCircle", "azureAdDeviceSyncCheckConnectDisabled", "azureAdDeviceSyncCheckDurationExceeded", "azureAdDeviceSyncCheckScpNotConfigured", "azureAdDeviceSyncCheckTransientServiceError", "azureAdDeviceSyncCheckUnknownError", "resourceAvailabilityCheckNoSubnetIP", "resourceAvailabilityCheckSubscriptionDisabled", "resourceAvailabilityCheckAzurePolicyViolation", "resourceAvailabilityCheckSubscriptionNotFound", "resourceAvailabilityCheckSubscriptionTransferred", "resourceAvailabilityCheckGeneralSubscriptionError", "resourceAvailabilityCheckUnsupportedVNetRegion", "resourceAvailabilityCheckResourceGroupInvalid", "resourceAvailabilityCheckVNetInvalid", "resourceAvailabilityCheckSubnetInvalid", "resourceAvailabilityCheckResourceGroupBeingDeleted", "resourceAvailabilityCheckVNetBeingMoved", "resourceAvailabilityCheckSubnetDelegationFailed", "resourceAvailabilityCheckSubnetWithExternalResources", "resourceAvailabilityCheckResourceGroupLockedForReadonly", "resourceAvailabilityCheckResourceGroupLockedForDelete", "resourceAvailabilityCheckNoIntuneReaderRoleError", "resourceAvailabilityCheckIntuneDefaultWindowsRestrictionViolation", "resourceAvailabilityCheckIntuneCustomWindowsRestrictionViolation", "resourceAvailabilityCheckDeploymentQuotaLimitReached", "resourceAvailabilityCheckTransientServiceError", "resourceAvailabilityCheckUnknownError", "permissionCheckNoSubscriptionReaderRole", "permissionCheckNoResourceGroupOwnerRole", "permissionCheckNoVNetContributorRole", "permissionCheckNoResourceGroupNetworkContributorRole", "permissionCheckNoWindows365NetworkUserRole", "permissionCheckNoWindows365NetworkInterfaceContributorRole", "permissionCheckTransientServiceError", "permissionCheckUnknownError", "udpConnectivityCheckStunUrlNotAllowListed", "udpConnectivityCheckTurnUrlNotAllowListed", "udpConnectivityCheckUrlsNotAllowListed", "udpConnectivityCheckUnknownError", "internalServerErrorDeploymentCanceled", "internalServerErrorAllocateResourceFailed", "internalServerErrorVMDeploymentTimeout", "internalServerErrorUnableToRunDscScript", "ssoCheckKerberosConfigurationError", "internalServerUnknownError", "unknownFutureValue"}[i] } func ParseCloudPcOnPremisesConnectionHealthCheckErrorType(v string) (any, error) { result := DNSCHECKFQDNNOTFOUND_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE @@ -173,6 +174,8 @@ func ParseCloudPcOnPremisesConnectionHealthCheckErrorType(v string) (any, error) result = RESOURCEAVAILABILITYCHECKINTUNEDEFAULTWINDOWSRESTRICTIONVIOLATION_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE case "resourceAvailabilityCheckIntuneCustomWindowsRestrictionViolation": result = RESOURCEAVAILABILITYCHECKINTUNECUSTOMWINDOWSRESTRICTIONVIOLATION_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE + case "resourceAvailabilityCheckDeploymentQuotaLimitReached": + result = RESOURCEAVAILABILITYCHECKDEPLOYMENTQUOTALIMITREACHED_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE case "resourceAvailabilityCheckTransientServiceError": result = RESOURCEAVAILABILITYCHECKTRANSIENTSERVICEERROR_CLOUDPCONPREMISESCONNECTIONHEALTHCHECKERRORTYPE case "resourceAvailabilityCheckUnknownError": diff --git a/models/cloud_pc_partner_agent_name.go b/models/cloud_pc_partner_agent_name.go index cae8d3f4e80..e5989a99db4 100644 --- a/models/cloud_pc_partner_agent_name.go +++ b/models/cloud_pc_partner_agent_name.go @@ -9,10 +9,11 @@ const ( CITRIX_CLOUDPCPARTNERAGENTNAME CloudPcPartnerAgentName = iota UNKNOWNFUTUREVALUE_CLOUDPCPARTNERAGENTNAME VMWARE_CLOUDPCPARTNERAGENTNAME + HP_CLOUDPCPARTNERAGENTNAME ) func (i CloudPcPartnerAgentName) String() string { - return []string{"citrix", "unknownFutureValue", "vMware"}[i] + return []string{"citrix", "unknownFutureValue", "vMware", "hp"}[i] } func ParseCloudPcPartnerAgentName(v string) (any, error) { result := CITRIX_CLOUDPCPARTNERAGENTNAME @@ -23,6 +24,8 @@ func ParseCloudPcPartnerAgentName(v string) (any, error) { result = UNKNOWNFUTUREVALUE_CLOUDPCPARTNERAGENTNAME case "vMware": result = VMWARE_CLOUDPCPARTNERAGENTNAME + case "hp": + result = HP_CLOUDPCPARTNERAGENTNAME default: return 0, errors.New("Unknown CloudPcPartnerAgentName value: " + v) } diff --git a/models/cloud_pc_provisioning_policy.go b/models/cloud_pc_provisioning_policy.go index 448cf9e3caa..0188cb8f04f 100644 --- a/models/cloud_pc_provisioning_policy.go +++ b/models/cloud_pc_provisioning_policy.go @@ -313,6 +313,22 @@ func (m *CloudPcProvisioningPolicy) GetFieldDeserializers()(map[string]func(i878 } return nil } + res["scopeIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetScopeIds(res) + } + return nil + } res["windowsSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateCloudPcWindowsSettingsFromDiscriminatorValue) if err != nil { @@ -424,6 +440,17 @@ func (m *CloudPcProvisioningPolicy) GetProvisioningType()(*CloudPcProvisioningTy } return nil } +// GetScopeIds gets the scopeIds property value. The scopeIds property +func (m *CloudPcProvisioningPolicy) GetScopeIds()([]string) { + val, err := m.GetBackingStore().Get("scopeIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} // GetWindowsSettings gets the windowsSettings property value. Specific Windows settings to configure while creating Cloud PCs for this provisioning policy. func (m *CloudPcProvisioningPolicy) GetWindowsSettings()(CloudPcWindowsSettingsable) { val, err := m.GetBackingStore().Get("windowsSettings") @@ -564,6 +591,12 @@ func (m *CloudPcProvisioningPolicy) Serialize(writer i878a80d2330e89d26896388a3f return err } } + if m.GetScopeIds() != nil { + err = writer.WriteCollectionOfStringValues("scopeIds", m.GetScopeIds()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("windowsSettings", m.GetWindowsSettings()) if err != nil { @@ -698,6 +731,13 @@ func (m *CloudPcProvisioningPolicy) SetProvisioningType(value *CloudPcProvisioni panic(err) } } +// SetScopeIds sets the scopeIds property value. The scopeIds property +func (m *CloudPcProvisioningPolicy) SetScopeIds(value []string)() { + err := m.GetBackingStore().Set("scopeIds", value) + if err != nil { + panic(err) + } +} // SetWindowsSettings sets the windowsSettings property value. Specific Windows settings to configure while creating Cloud PCs for this provisioning policy. func (m *CloudPcProvisioningPolicy) SetWindowsSettings(value CloudPcWindowsSettingsable)() { err := m.GetBackingStore().Set("windowsSettings", value) @@ -727,6 +767,7 @@ type CloudPcProvisioningPolicyable interface { GetMicrosoftManagedDesktop()(MicrosoftManagedDesktopable) GetOnPremisesConnectionId()(*string) GetProvisioningType()(*CloudPcProvisioningType) + GetScopeIds()([]string) GetWindowsSettings()(CloudPcWindowsSettingsable) SetAlternateResourceUrl(value *string)() SetAssignments(value []CloudPcProvisioningPolicyAssignmentable)() @@ -746,5 +787,6 @@ type CloudPcProvisioningPolicyable interface { SetMicrosoftManagedDesktop(value MicrosoftManagedDesktopable)() SetOnPremisesConnectionId(value *string)() SetProvisioningType(value *CloudPcProvisioningType)() + SetScopeIds(value []string)() SetWindowsSettings(value CloudPcWindowsSettingsable)() } diff --git a/models/cloud_pc_remote_action_name.go b/models/cloud_pc_remote_action_name.go index 610eaecba04..ce446eb02f3 100644 --- a/models/cloud_pc_remote_action_name.go +++ b/models/cloud_pc_remote_action_name.go @@ -16,10 +16,14 @@ const ( TROUBLESHOOT_CLOUDPCREMOTEACTIONNAME PLACEUNDERREVIEW_CLOUDPCREMOTEACTIONNAME UNKNOWNFUTUREVALUE_CLOUDPCREMOTEACTIONNAME + CREATESNAPSHOT_CLOUDPCREMOTEACTIONNAME + POWERON_CLOUDPCREMOTEACTIONNAME + POWEROFF_CLOUDPCREMOTEACTIONNAME + MOVEREGION_CLOUDPCREMOTEACTIONNAME ) func (i CloudPcRemoteActionName) String() string { - return []string{"unknown", "restart", "rename", "resize", "restore", "reprovision", "changeUserAccountType", "troubleshoot", "placeUnderReview", "unknownFutureValue"}[i] + return []string{"unknown", "restart", "rename", "resize", "restore", "reprovision", "changeUserAccountType", "troubleshoot", "placeUnderReview", "unknownFutureValue", "createSnapshot", "powerOn", "powerOff", "moveRegion"}[i] } func ParseCloudPcRemoteActionName(v string) (any, error) { result := UNKNOWN_CLOUDPCREMOTEACTIONNAME @@ -44,6 +48,14 @@ func ParseCloudPcRemoteActionName(v string) (any, error) { result = PLACEUNDERREVIEW_CLOUDPCREMOTEACTIONNAME case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_CLOUDPCREMOTEACTIONNAME + case "createSnapshot": + result = CREATESNAPSHOT_CLOUDPCREMOTEACTIONNAME + case "powerOn": + result = POWERON_CLOUDPCREMOTEACTIONNAME + case "powerOff": + result = POWEROFF_CLOUDPCREMOTEACTIONNAME + case "moveRegion": + result = MOVEREGION_CLOUDPCREMOTEACTIONNAME default: return 0, errors.New("Unknown CloudPcRemoteActionName value: " + v) } diff --git a/models/cloud_pc_report_name.go b/models/cloud_pc_report_name.go index d3ec97e51ec..d5880c0b10e 100644 --- a/models/cloud_pc_report_name.go +++ b/models/cloud_pc_report_name.go @@ -18,10 +18,11 @@ const ( REMOTECONNECTIONQUALITYREPORTS_CLOUDPCREPORTNAME INACCESSIBLECLOUDPCREPORTS_CLOUDPCREPORTNAME RAWREMOTECONNECTIONREPORTS_CLOUDPCREPORTNAME + CLOUDPCUSAGECATEGORYREPORTS_CLOUDPCREPORTNAME ) func (i CloudPcReportName) String() string { - return []string{"remoteConnectionHistoricalReports", "dailyAggregatedRemoteConnectionReports", "totalAggregatedRemoteConnectionReports", "sharedUseLicenseUsageReport", "sharedUseLicenseUsageRealTimeReport", "unknownFutureValue", "noLicenseAvailableConnectivityFailureReport", "frontlineLicenseUsageReport", "frontlineLicenseUsageRealTimeReport", "remoteConnectionQualityReports", "inaccessibleCloudPcReports", "rawRemoteConnectionReports"}[i] + return []string{"remoteConnectionHistoricalReports", "dailyAggregatedRemoteConnectionReports", "totalAggregatedRemoteConnectionReports", "sharedUseLicenseUsageReport", "sharedUseLicenseUsageRealTimeReport", "unknownFutureValue", "noLicenseAvailableConnectivityFailureReport", "frontlineLicenseUsageReport", "frontlineLicenseUsageRealTimeReport", "remoteConnectionQualityReports", "inaccessibleCloudPcReports", "rawRemoteConnectionReports", "cloudPcUsageCategoryReports"}[i] } func ParseCloudPcReportName(v string) (any, error) { result := REMOTECONNECTIONHISTORICALREPORTS_CLOUDPCREPORTNAME @@ -50,6 +51,8 @@ func ParseCloudPcReportName(v string) (any, error) { result = INACCESSIBLECLOUDPCREPORTS_CLOUDPCREPORTNAME case "rawRemoteConnectionReports": result = RAWREMOTECONNECTIONREPORTS_CLOUDPCREPORTNAME + case "cloudPcUsageCategoryReports": + result = CLOUDPCUSAGECATEGORYREPORTS_CLOUDPCREPORTNAME default: return 0, errors.New("Unknown CloudPcReportName value: " + v) } diff --git a/models/cloud_pc_scoped_permission.go b/models/cloud_pc_scoped_permission.go new file mode 100644 index 00000000000..8f1fa05a1c6 --- /dev/null +++ b/models/cloud_pc_scoped_permission.go @@ -0,0 +1,188 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// CloudPcScopedPermission +type CloudPcScopedPermission struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCloudPcScopedPermission instantiates a new cloudPcScopedPermission and sets the default values. +func NewCloudPcScopedPermission()(*CloudPcScopedPermission) { + m := &CloudPcScopedPermission{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCloudPcScopedPermissionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateCloudPcScopedPermissionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudPcScopedPermission(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CloudPcScopedPermission) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +func (m *CloudPcScopedPermission) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +func (m *CloudPcScopedPermission) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["permission"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPermission(val) + } + return nil + } + res["scopeIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetScopeIds(res) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +func (m *CloudPcScopedPermission) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPermission gets the permission property value. The permission property +func (m *CloudPcScopedPermission) GetPermission()(*string) { + val, err := m.GetBackingStore().Get("permission") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetScopeIds gets the scopeIds property value. The scopeIds property +func (m *CloudPcScopedPermission) GetScopeIds()([]string) { + val, err := m.GetBackingStore().Get("scopeIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudPcScopedPermission) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("permission", m.GetPermission()) + if err != nil { + return err + } + } + if m.GetScopeIds() != nil { + err := writer.WriteCollectionOfStringValues("scopeIds", m.GetScopeIds()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CloudPcScopedPermission) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CloudPcScopedPermission) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CloudPcScopedPermission) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPermission sets the permission property value. The permission property +func (m *CloudPcScopedPermission) SetPermission(value *string)() { + err := m.GetBackingStore().Set("permission", value) + if err != nil { + panic(err) + } +} +// SetScopeIds sets the scopeIds property value. The scopeIds property +func (m *CloudPcScopedPermission) SetScopeIds(value []string)() { + err := m.GetBackingStore().Set("scopeIds", value) + if err != nil { + panic(err) + } +} +// CloudPcScopedPermissionable +type CloudPcScopedPermissionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetPermission()(*string) + GetScopeIds()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetPermission(value *string)() + SetScopeIds(value []string)() +} diff --git a/models/cloud_pc_tenant_encryption_setting.go b/models/cloud_pc_tenant_encryption_setting.go new file mode 100644 index 00000000000..828c75cf7a3 --- /dev/null +++ b/models/cloud_pc_tenant_encryption_setting.go @@ -0,0 +1,184 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// CloudPcTenantEncryptionSetting +type CloudPcTenantEncryptionSetting struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCloudPcTenantEncryptionSetting instantiates a new cloudPcTenantEncryptionSetting and sets the default values. +func NewCloudPcTenantEncryptionSetting()(*CloudPcTenantEncryptionSetting) { + m := &CloudPcTenantEncryptionSetting{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCloudPcTenantEncryptionSettingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateCloudPcTenantEncryptionSettingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudPcTenantEncryptionSetting(), nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CloudPcTenantEncryptionSetting) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +func (m *CloudPcTenantEncryptionSetting) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +func (m *CloudPcTenantEncryptionSetting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["lastSyncDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastSyncDateTime(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["tenantDiskEncryptionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudPcDiskEncryptionType) + if err != nil { + return err + } + if val != nil { + m.SetTenantDiskEncryptionType(val.(*CloudPcDiskEncryptionType)) + } + return nil + } + return res +} +// GetLastSyncDateTime gets the lastSyncDateTime property value. The lastSyncDateTime property +func (m *CloudPcTenantEncryptionSetting) GetLastSyncDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastSyncDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +func (m *CloudPcTenantEncryptionSetting) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTenantDiskEncryptionType gets the tenantDiskEncryptionType property value. The tenantDiskEncryptionType property +func (m *CloudPcTenantEncryptionSetting) GetTenantDiskEncryptionType()(*CloudPcDiskEncryptionType) { + val, err := m.GetBackingStore().Get("tenantDiskEncryptionType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudPcDiskEncryptionType) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudPcTenantEncryptionSetting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("lastSyncDateTime", m.GetLastSyncDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetTenantDiskEncryptionType() != nil { + cast := (*m.GetTenantDiskEncryptionType()).String() + err := writer.WriteStringValue("tenantDiskEncryptionType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *CloudPcTenantEncryptionSetting) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CloudPcTenantEncryptionSetting) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLastSyncDateTime sets the lastSyncDateTime property value. The lastSyncDateTime property +func (m *CloudPcTenantEncryptionSetting) SetLastSyncDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastSyncDateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CloudPcTenantEncryptionSetting) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTenantDiskEncryptionType sets the tenantDiskEncryptionType property value. The tenantDiskEncryptionType property +func (m *CloudPcTenantEncryptionSetting) SetTenantDiskEncryptionType(value *CloudPcDiskEncryptionType)() { + err := m.GetBackingStore().Set("tenantDiskEncryptionType", value) + if err != nil { + panic(err) + } +} +// CloudPcTenantEncryptionSettingable +type CloudPcTenantEncryptionSettingable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLastSyncDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + GetTenantDiskEncryptionType()(*CloudPcDiskEncryptionType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLastSyncDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() + SetTenantDiskEncryptionType(value *CloudPcDiskEncryptionType)() +} diff --git a/models/comms_operation.go b/models/comms_operation.go index 5a4cd84b80b..5c2fdcd19a1 100644 --- a/models/comms_operation.go +++ b/models/comms_operation.go @@ -43,6 +43,8 @@ func CreateCommsOperationFromDiscriminatorValue(parseNode i878a80d2330e89d268963 return NewPlayPromptOperation(), nil case "#microsoft.graph.recordOperation": return NewRecordOperation(), nil + case "#microsoft.graph.sendDtmfTonesOperation": + return NewSendDtmfTonesOperation(), nil case "#microsoft.graph.startHoldMusicOperation": return NewStartHoldMusicOperation(), nil case "#microsoft.graph.stopHoldMusicOperation": diff --git a/models/day_note.go b/models/day_note.go new file mode 100644 index 00000000000..6a5f230db39 --- /dev/null +++ b/models/day_note.go @@ -0,0 +1,149 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// DayNote +type DayNote struct { + ChangeTrackedEntity +} +// NewDayNote instantiates a new dayNote and sets the default values. +func NewDayNote()(*DayNote) { + m := &DayNote{ + ChangeTrackedEntity: *NewChangeTrackedEntity(), + } + odataTypeValue := "#microsoft.graph.dayNote" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateDayNoteFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateDayNoteFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDayNote(), nil +} +// GetDayNoteDate gets the dayNoteDate property value. The dayNoteDate property +func (m *DayNote) GetDayNoteDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) { + val, err := m.GetBackingStore().Get("dayNoteDate") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + } + return nil +} +// GetDraftDayNote gets the draftDayNote property value. The draftDayNote property +func (m *DayNote) GetDraftDayNote()(ItemBodyable) { + val, err := m.GetBackingStore().Get("draftDayNote") + if err != nil { + panic(err) + } + if val != nil { + return val.(ItemBodyable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *DayNote) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ChangeTrackedEntity.GetFieldDeserializers() + res["dayNoteDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetDateOnlyValue() + if err != nil { + return err + } + if val != nil { + m.SetDayNoteDate(val) + } + return nil + } + res["draftDayNote"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateItemBodyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDraftDayNote(val.(ItemBodyable)) + } + return nil + } + res["sharedDayNote"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateItemBodyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSharedDayNote(val.(ItemBodyable)) + } + return nil + } + return res +} +// GetSharedDayNote gets the sharedDayNote property value. The sharedDayNote property +func (m *DayNote) GetSharedDayNote()(ItemBodyable) { + val, err := m.GetBackingStore().Get("sharedDayNote") + if err != nil { + panic(err) + } + if val != nil { + return val.(ItemBodyable) + } + return nil +} +// Serialize serializes information the current object +func (m *DayNote) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ChangeTrackedEntity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteDateOnlyValue("dayNoteDate", m.GetDayNoteDate()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("draftDayNote", m.GetDraftDayNote()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("sharedDayNote", m.GetSharedDayNote()) + if err != nil { + return err + } + } + return nil +} +// SetDayNoteDate sets the dayNoteDate property value. The dayNoteDate property +func (m *DayNote) SetDayNoteDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() { + err := m.GetBackingStore().Set("dayNoteDate", value) + if err != nil { + panic(err) + } +} +// SetDraftDayNote sets the draftDayNote property value. The draftDayNote property +func (m *DayNote) SetDraftDayNote(value ItemBodyable)() { + err := m.GetBackingStore().Set("draftDayNote", value) + if err != nil { + panic(err) + } +} +// SetSharedDayNote sets the sharedDayNote property value. The sharedDayNote property +func (m *DayNote) SetSharedDayNote(value ItemBodyable)() { + err := m.GetBackingStore().Set("sharedDayNote", value) + if err != nil { + panic(err) + } +} +// DayNoteable +type DayNoteable interface { + ChangeTrackedEntityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDayNoteDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + GetDraftDayNote()(ItemBodyable) + GetSharedDayNote()(ItemBodyable) + SetDayNoteDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() + SetDraftDayNote(value ItemBodyable)() + SetSharedDayNote(value ItemBodyable)() +} diff --git a/models/day_note_collection_response.go b/models/day_note_collection_response.go new file mode 100644 index 00000000000..eca6c28f96a --- /dev/null +++ b/models/day_note_collection_response.go @@ -0,0 +1,87 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// DayNoteCollectionResponse +type DayNoteCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewDayNoteCollectionResponse instantiates a new dayNoteCollectionResponse and sets the default values. +func NewDayNoteCollectionResponse()(*DayNoteCollectionResponse) { + m := &DayNoteCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDayNoteCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateDayNoteCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDayNoteCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *DayNoteCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDayNoteFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DayNoteable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DayNoteable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +func (m *DayNoteCollectionResponse) GetValue()([]DayNoteable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DayNoteable) + } + return nil +} +// Serialize serializes information the current object +func (m *DayNoteCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *DayNoteCollectionResponse) SetValue(value []DayNoteable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +// DayNoteCollectionResponseable +type DayNoteCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]DayNoteable) + SetValue(value []DayNoteable)() +} diff --git a/models/device_management_configuration_choice_setting_definition.go b/models/device_management_configuration_choice_setting_definition.go index f1383c844ac..10d1fcf6fbe 100644 --- a/models/device_management_configuration_choice_setting_definition.go +++ b/models/device_management_configuration_choice_setting_definition.go @@ -37,7 +37,7 @@ func CreateDeviceManagementConfigurationChoiceSettingDefinitionFromDiscriminator } return NewDeviceManagementConfigurationChoiceSettingDefinition(), nil } -// GetDefaultOptionId gets the defaultOptionId property value. Default option for choice setting +// GetDefaultOptionId gets the defaultOptionId property value. Default option for the choice setting. func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetDefaultOptionId()(*string) { val, err := m.GetBackingStore().Get("defaultOptionId") if err != nil { @@ -79,7 +79,7 @@ func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetFieldDeseriali } return res } -// GetOptions gets the options property value. Options for the setting that can be selected +// GetOptions gets the options property value. Options for the setting that can be selected. func (m *DeviceManagementConfigurationChoiceSettingDefinition) GetOptions()([]DeviceManagementConfigurationOptionDefinitionable) { val, err := m.GetBackingStore().Get("options") if err != nil { @@ -116,14 +116,14 @@ func (m *DeviceManagementConfigurationChoiceSettingDefinition) Serialize(writer } return nil } -// SetDefaultOptionId sets the defaultOptionId property value. Default option for choice setting +// SetDefaultOptionId sets the defaultOptionId property value. Default option for the choice setting. func (m *DeviceManagementConfigurationChoiceSettingDefinition) SetDefaultOptionId(value *string)() { err := m.GetBackingStore().Set("defaultOptionId", value) if err != nil { panic(err) } } -// SetOptions sets the options property value. Options for the setting that can be selected +// SetOptions sets the options property value. Options for the setting that can be selected. func (m *DeviceManagementConfigurationChoiceSettingDefinition) SetOptions(value []DeviceManagementConfigurationOptionDefinitionable)() { err := m.GetBackingStore().Set("options", value) if err != nil { diff --git a/models/device_management_configuration_referred_setting_information.go b/models/device_management_configuration_referred_setting_information.go index 8fddbb0e965..32aedc01dab 100644 --- a/models/device_management_configuration_referred_setting_information.go +++ b/models/device_management_configuration_referred_setting_information.go @@ -74,7 +74,7 @@ func (m *DeviceManagementConfigurationReferredSettingInformation) GetOdataType() } return nil } -// GetSettingDefinitionId gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting +// GetSettingDefinitionId gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. func (m *DeviceManagementConfigurationReferredSettingInformation) GetSettingDefinitionId()(*string) { val, err := m.GetBackingStore().Get("settingDefinitionId") if err != nil { @@ -125,7 +125,7 @@ func (m *DeviceManagementConfigurationReferredSettingInformation) SetOdataType(v panic(err) } } -// SetSettingDefinitionId sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting +// SetSettingDefinitionId sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. func (m *DeviceManagementConfigurationReferredSettingInformation) SetSettingDefinitionId(value *string)() { err := m.GetBackingStore().Set("settingDefinitionId", value) if err != nil { diff --git a/models/device_management_configuration_setting_group_collection_definition.go b/models/device_management_configuration_setting_group_collection_definition.go index 1b640305b33..7702cbf6faf 100644 --- a/models/device_management_configuration_setting_group_collection_definition.go +++ b/models/device_management_configuration_setting_group_collection_definition.go @@ -44,7 +44,7 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetField } return res } -// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 +// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMaximumCount()(*int32) { val, err := m.GetBackingStore().Get("maximumCount") if err != nil { @@ -55,7 +55,7 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMaxim } return nil } -// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 +// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMinimumCount()(*int32) { val, err := m.GetBackingStore().Get("minimumCount") if err != nil { @@ -86,14 +86,14 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) Serializ } return nil } -// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 +// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMaximumCount(value *int32)() { err := m.GetBackingStore().Set("maximumCount", value) if err != nil { panic(err) } } -// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 +// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMinimumCount(value *int32)() { err := m.GetBackingStore().Set("minimumCount", value) if err != nil { diff --git a/models/device_management_configuration_setting_group_definition.go b/models/device_management_configuration_setting_group_definition.go index 903241e4d89..bd3bc86750e 100644 --- a/models/device_management_configuration_setting_group_definition.go +++ b/models/device_management_configuration_setting_group_definition.go @@ -37,7 +37,7 @@ func CreateDeviceManagementConfigurationSettingGroupDefinitionFromDiscriminatorV } return NewDeviceManagementConfigurationSettingGroupDefinition(), nil } -// GetChildIds gets the childIds property value. Dependent child settings to this group of settings. +// GetChildIds gets the childIds property value. Dependent child settings to this group of settings func (m *DeviceManagementConfigurationSettingGroupDefinition) GetChildIds()([]string) { val, err := m.GetBackingStore().Get("childIds") if err != nil { @@ -161,7 +161,7 @@ func (m *DeviceManagementConfigurationSettingGroupDefinition) Serialize(writer i } return nil } -// SetChildIds sets the childIds property value. Dependent child settings to this group of settings. +// SetChildIds sets the childIds property value. Dependent child settings to this group of settings func (m *DeviceManagementConfigurationSettingGroupDefinition) SetChildIds(value []string)() { err := m.GetBackingStore().Set("childIds", value) if err != nil { diff --git a/models/devicemanagement/alert_rule.go b/models/devicemanagement/alert_rule.go index 057eb1d30e3..c3050a9fede 100644 --- a/models/devicemanagement/alert_rule.go +++ b/models/devicemanagement/alert_rule.go @@ -20,7 +20,7 @@ func NewAlertRule()(*AlertRule) { func CreateAlertRuleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewAlertRule(), nil } -// GetAlertRuleTemplate gets the alertRuleTemplate property value. 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. +// GetAlertRuleTemplate gets the alertRuleTemplate property value. 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. func (m *AlertRule) GetAlertRuleTemplate()(*AlertRuleTemplate) { val, err := m.GetBackingStore().Get("alertRuleTemplate") if err != nil { @@ -155,7 +155,7 @@ func (m *AlertRule) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 } return res } -// GetIsSystemRule gets the isSystemRule property value. 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. +// GetIsSystemRule gets the isSystemRule property value. 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. func (m *AlertRule) GetIsSystemRule()(*bool) { val, err := m.GetBackingStore().Get("isSystemRule") if err != nil { @@ -188,7 +188,7 @@ func (m *AlertRule) GetSeverity()(*RuleSeverityType) { } return nil } -// GetThreshold gets the threshold property value. The conditions to send alerts. For example, send alert when provisioning has failed for greater than or equal to 6 Cloud PCs. +// GetThreshold gets the threshold property value. 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. func (m *AlertRule) GetThreshold()(RuleThresholdable) { val, err := m.GetBackingStore().Get("threshold") if err != nil { @@ -263,7 +263,7 @@ func (m *AlertRule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 } return nil } -// SetAlertRuleTemplate sets the alertRuleTemplate property value. 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. +// SetAlertRuleTemplate sets the alertRuleTemplate property value. 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. func (m *AlertRule) SetAlertRuleTemplate(value *AlertRuleTemplate)() { err := m.GetBackingStore().Set("alertRuleTemplate", value) if err != nil { @@ -291,7 +291,7 @@ func (m *AlertRule) SetEnabled(value *bool)() { panic(err) } } -// SetIsSystemRule sets the isSystemRule property value. 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. +// SetIsSystemRule sets the isSystemRule property value. 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. func (m *AlertRule) SetIsSystemRule(value *bool)() { err := m.GetBackingStore().Set("isSystemRule", value) if err != nil { @@ -312,7 +312,7 @@ func (m *AlertRule) SetSeverity(value *RuleSeverityType)() { panic(err) } } -// SetThreshold sets the threshold property value. The conditions to send alerts. For example, send alert when provisioning has failed for greater than or equal to 6 Cloud PCs. +// SetThreshold sets the threshold property value. 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. func (m *AlertRule) SetThreshold(value RuleThresholdable)() { err := m.GetBackingStore().Set("threshold", value) if err != nil { diff --git a/models/entity.go b/models/entity.go index 98b316db5f2..ae3ec681e9b 100644 --- a/models/entity.go +++ b/models/entity.go @@ -748,6 +748,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewDataPolicyOperation(), nil case "#microsoft.graph.dataSharingConsent": return NewDataSharingConsent(), nil + case "#microsoft.graph.dayNote": + return NewDayNote(), nil case "#microsoft.graph.defaultDeviceCompliancePolicy": return NewDefaultDeviceCompliancePolicy(), nil case "#microsoft.graph.defaultManagedAppProtection": @@ -1892,6 +1894,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewOnInteractiveAuthFlowStartListener(), nil case "#microsoft.graph.onlineMeeting": return NewOnlineMeeting(), nil + case "#microsoft.graph.onlineMeetingBase": + return NewOnlineMeetingBase(), nil case "#microsoft.graph.onPremisesAgent": return NewOnPremisesAgent(), nil case "#microsoft.graph.onPremisesAgentGroup": @@ -2336,6 +2340,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewSecurityToolAwsServerlessFunctionAdministratorFinding(), nil case "#microsoft.graph.securityToolAwsUserAdministratorFinding": return NewSecurityToolAwsUserAdministratorFinding(), nil + case "#microsoft.graph.sendDtmfTonesOperation": + return NewSendDtmfTonesOperation(), nil case "#microsoft.graph.sensitiveType": return NewSensitiveType(), nil case "#microsoft.graph.sensitivityLabel": @@ -2830,6 +2836,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewVirtualEventSession(), nil case "#microsoft.graph.virtualEventsRoot": return NewVirtualEventsRoot(), nil + case "#microsoft.graph.virtualEventTownhall": + return NewVirtualEventTownhall(), nil case "#microsoft.graph.virtualEventWebinar": return NewVirtualEventWebinar(), nil case "#microsoft.graph.virtualEventWebinarRegistrationConfiguration": diff --git a/models/identity_set.go b/models/identity_set.go index f5b33a196fa..d99555f2f66 100644 --- a/models/identity_set.go +++ b/models/identity_set.go @@ -60,7 +60,7 @@ func (m *IdentitySet) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetApplication gets the application property value. Optional. The application associated with this action. +// GetApplication gets the application property value. The Identity of the Application. This property is read-only. func (m *IdentitySet) GetApplication()(Identityable) { val, err := m.GetBackingStore().Get("application") if err != nil { @@ -75,7 +75,7 @@ func (m *IdentitySet) GetApplication()(Identityable) { func (m *IdentitySet) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDevice gets the device property value. Optional. The device associated with this action. +// GetDevice gets the device property value. The Identity of the Device. This property is read-only. func (m *IdentitySet) GetDevice()(Identityable) { val, err := m.GetBackingStore().Get("device") if err != nil { @@ -142,7 +142,7 @@ func (m *IdentitySet) GetOdataType()(*string) { } return nil } -// GetUser gets the user property value. Optional. The user associated with this action. +// GetUser gets the user property value. The Identity of the User. This property is read-only. func (m *IdentitySet) GetUser()(Identityable) { val, err := m.GetBackingStore().Get("user") if err != nil { @@ -194,7 +194,7 @@ func (m *IdentitySet) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetApplication sets the application property value. Optional. The application associated with this action. +// SetApplication sets the application property value. The Identity of the Application. This property is read-only. func (m *IdentitySet) SetApplication(value Identityable)() { err := m.GetBackingStore().Set("application", value) if err != nil { @@ -205,7 +205,7 @@ func (m *IdentitySet) SetApplication(value Identityable)() { func (m *IdentitySet) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDevice sets the device property value. Optional. The device associated with this action. +// SetDevice sets the device property value. The Identity of the Device. This property is read-only. func (m *IdentitySet) SetDevice(value Identityable)() { err := m.GetBackingStore().Set("device", value) if err != nil { @@ -219,7 +219,7 @@ func (m *IdentitySet) SetOdataType(value *string)() { panic(err) } } -// SetUser sets the user property value. Optional. The user associated with this action. +// SetUser sets the user property value. The Identity of the User. This property is read-only. func (m *IdentitySet) SetUser(value Identityable)() { err := m.GetBackingStore().Set("user", value) if err != nil { diff --git a/models/internal_domain_federation.go b/models/internal_domain_federation.go index 604e4da4cc1..e555b93c22d 100644 --- a/models/internal_domain_federation.go +++ b/models/internal_domain_federation.go @@ -129,7 +129,7 @@ func (m *InternalDomainFederation) GetIsSignedAuthenticationRequestRequired()(*b } return nil } -// GetNextSigningCertificate gets the nextSigningCertificate property value. 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. +// GetNextSigningCertificate gets the nextSigningCertificate property value. 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. func (m *InternalDomainFederation) GetNextSigningCertificate()(*string) { val, err := m.GetBackingStore().Get("nextSigningCertificate") if err != nil { @@ -246,7 +246,7 @@ func (m *InternalDomainFederation) SetIsSignedAuthenticationRequestRequired(valu panic(err) } } -// SetNextSigningCertificate sets the nextSigningCertificate property value. 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. +// SetNextSigningCertificate sets the nextSigningCertificate property value. 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. func (m *InternalDomainFederation) SetNextSigningCertificate(value *string)() { err := m.GetBackingStore().Set("nextSigningCertificate", value) if err != nil { diff --git a/models/mac_os_lob_app_assignment_settings.go b/models/mac_os_lob_app_assignment_settings.go index 3f00c04ddb3..1ef77798b5e 100644 --- a/models/mac_os_lob_app_assignment_settings.go +++ b/models/mac_os_lob_app_assignment_settings.go @@ -36,7 +36,7 @@ func (m *MacOsLobAppAssignmentSettings) GetFieldDeserializers()(map[string]func( } return res } -// GetUninstallOnDeviceRemoval gets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. +// GetUninstallOnDeviceRemoval gets the uninstallOnDeviceRemoval property value. 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. func (m *MacOsLobAppAssignmentSettings) GetUninstallOnDeviceRemoval()(*bool) { val, err := m.GetBackingStore().Get("uninstallOnDeviceRemoval") if err != nil { @@ -61,7 +61,7 @@ func (m *MacOsLobAppAssignmentSettings) Serialize(writer i878a80d2330e89d2689638 } return nil } -// SetUninstallOnDeviceRemoval sets the uninstallOnDeviceRemoval property value. Whether or not to uninstall the app when device is removed from Intune. +// SetUninstallOnDeviceRemoval sets the uninstallOnDeviceRemoval property value. 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. func (m *MacOsLobAppAssignmentSettings) SetUninstallOnDeviceRemoval(value *bool)() { err := m.GetBackingStore().Set("uninstallOnDeviceRemoval", value) if err != nil { diff --git a/models/online_meeting.go b/models/online_meeting.go index d12cfe78db4..c6298f4e8b1 100644 --- a/models/online_meeting.go +++ b/models/online_meeting.go @@ -7,125 +7,21 @@ import ( // OnlineMeeting type OnlineMeeting struct { - Entity + OnlineMeetingBase } // NewOnlineMeeting instantiates a new onlineMeeting and sets the default values. func NewOnlineMeeting()(*OnlineMeeting) { m := &OnlineMeeting{ - Entity: *NewEntity(), + OnlineMeetingBase: *NewOnlineMeetingBase(), } + odataTypeValue := "#microsoft.graph.onlineMeeting" + m.SetOdataType(&odataTypeValue) return m } // CreateOnlineMeetingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value func CreateOnlineMeetingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - if parseNode != nil { - mappingValueNode, err := parseNode.GetChildNode("@odata.type") - if err != nil { - return nil, err - } - if mappingValueNode != nil { - mappingValue, err := mappingValueNode.GetStringValue() - if err != nil { - return nil, err - } - if mappingValue != nil { - switch *mappingValue { - case "#microsoft.graph.virtualEventSession": - return NewVirtualEventSession(), nil - } - } - } - } return NewOnlineMeeting(), nil } -// GetAllowAttendeeToEnableCamera gets the allowAttendeeToEnableCamera property value. Indicates whether attendees can turn on their camera. -func (m *OnlineMeeting) GetAllowAttendeeToEnableCamera()(*bool) { - val, err := m.GetBackingStore().Get("allowAttendeeToEnableCamera") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetAllowAttendeeToEnableMic gets the allowAttendeeToEnableMic property value. Indicates whether attendees can turn on their microphone. -func (m *OnlineMeeting) GetAllowAttendeeToEnableMic()(*bool) { - val, err := m.GetBackingStore().Get("allowAttendeeToEnableMic") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetAllowedPresenters gets the allowedPresenters property value. Specifies who can be a presenter in a meeting. -func (m *OnlineMeeting) GetAllowedPresenters()(*OnlineMeetingPresenters) { - val, err := m.GetBackingStore().Get("allowedPresenters") - if err != nil { - panic(err) - } - if val != nil { - return val.(*OnlineMeetingPresenters) - } - return nil -} -// GetAllowMeetingChat gets the allowMeetingChat property value. Specifies the mode of meeting chat. -func (m *OnlineMeeting) GetAllowMeetingChat()(*MeetingChatMode) { - val, err := m.GetBackingStore().Get("allowMeetingChat") - if err != nil { - panic(err) - } - if val != nil { - return val.(*MeetingChatMode) - } - return nil -} -// GetAllowParticipantsToChangeName gets the allowParticipantsToChangeName property value. Specifies if participants are allowed to rename themselves in an instance of the meeting. -func (m *OnlineMeeting) GetAllowParticipantsToChangeName()(*bool) { - val, err := m.GetBackingStore().Get("allowParticipantsToChangeName") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetAllowRecording gets the allowRecording property value. Indicates whether recording is enabled for the meeting. -func (m *OnlineMeeting) GetAllowRecording()(*bool) { - val, err := m.GetBackingStore().Get("allowRecording") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetAllowTeamworkReactions gets the allowTeamworkReactions property value. Indicates if Teams reactions are enabled for the meeting. -func (m *OnlineMeeting) GetAllowTeamworkReactions()(*bool) { - val, err := m.GetBackingStore().Get("allowTeamworkReactions") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetAllowTranscription gets the allowTranscription property value. Indicates whether transcription is enabled for the meeting. -func (m *OnlineMeeting) GetAllowTranscription()(*bool) { - val, err := m.GetBackingStore().Get("allowTranscription") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} // GetAlternativeRecording gets the alternativeRecording property value. The alternativeRecording property func (m *OnlineMeeting) GetAlternativeRecording()([]byte) { val, err := m.GetBackingStore().Get("alternativeRecording") @@ -137,28 +33,6 @@ func (m *OnlineMeeting) GetAlternativeRecording()([]byte) { } return nil } -// GetAnonymizeIdentityForRoles gets the anonymizeIdentityForRoles property value. 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. -func (m *OnlineMeeting) GetAnonymizeIdentityForRoles()([]OnlineMeetingRole) { - val, err := m.GetBackingStore().Get("anonymizeIdentityForRoles") - if err != nil { - panic(err) - } - if val != nil { - return val.([]OnlineMeetingRole) - } - return nil -} -// GetAttendanceReports gets the attendanceReports property value. The attendance reports of an online meeting. Read-only. -func (m *OnlineMeeting) GetAttendanceReports()([]MeetingAttendanceReportable) { - val, err := m.GetBackingStore().Get("attendanceReports") - if err != nil { - panic(err) - } - if val != nil { - return val.([]MeetingAttendanceReportable) - } - return nil -} // GetAttendeeReport gets the attendeeReport property value. The attendeeReport property func (m *OnlineMeeting) GetAttendeeReport()([]byte) { val, err := m.GetBackingStore().Get("attendeeReport") @@ -170,17 +44,6 @@ func (m *OnlineMeeting) GetAttendeeReport()([]byte) { } return nil } -// GetAudioConferencing gets the audioConferencing property value. The phone access (dial-in) information for an online meeting. Read-only. -func (m *OnlineMeeting) GetAudioConferencing()(AudioConferencingable) { - val, err := m.GetBackingStore().Get("audioConferencing") - if err != nil { - panic(err) - } - if val != nil { - return val.(AudioConferencingable) - } - return nil -} // GetBroadcastRecording gets the broadcastRecording property value. The broadcastRecording property func (m *OnlineMeeting) GetBroadcastRecording()([]byte) { val, err := m.GetBackingStore().Get("broadcastRecording") @@ -214,28 +77,6 @@ func (m *OnlineMeeting) GetCapabilities()([]MeetingCapabilities) { } return nil } -// GetChatInfo gets the chatInfo property value. The chat information associated with this online meeting. -func (m *OnlineMeeting) GetChatInfo()(ChatInfoable) { - val, err := m.GetBackingStore().Get("chatInfo") - if err != nil { - panic(err) - } - if val != nil { - return val.(ChatInfoable) - } - return nil -} -// GetChatRestrictions gets the chatRestrictions property value. The chatRestrictions property -func (m *OnlineMeeting) GetChatRestrictions()(ChatRestrictionsable) { - val, err := m.GetBackingStore().Get("chatRestrictions") - if err != nil { - panic(err) - } - if val != nil { - return val.(ChatRestrictionsable) - } - return nil -} // GetCreationDateTime gets the creationDateTime property value. The meeting creation time in UTC. Read-only. func (m *OnlineMeeting) GetCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("creationDateTime") @@ -271,87 +112,7 @@ func (m *OnlineMeeting) GetExternalId()(*string) { } // GetFieldDeserializers the deserialization information for the current model func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.Entity.GetFieldDeserializers() - res["allowAttendeeToEnableCamera"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetAllowAttendeeToEnableCamera(val) - } - return nil - } - res["allowAttendeeToEnableMic"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetAllowAttendeeToEnableMic(val) - } - return nil - } - res["allowedPresenters"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetEnumValue(ParseOnlineMeetingPresenters) - if err != nil { - return err - } - if val != nil { - m.SetAllowedPresenters(val.(*OnlineMeetingPresenters)) - } - return nil - } - res["allowMeetingChat"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetEnumValue(ParseMeetingChatMode) - if err != nil { - return err - } - if val != nil { - m.SetAllowMeetingChat(val.(*MeetingChatMode)) - } - return nil - } - res["allowParticipantsToChangeName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetAllowParticipantsToChangeName(val) - } - return nil - } - res["allowRecording"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetAllowRecording(val) - } - return nil - } - res["allowTeamworkReactions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetAllowTeamworkReactions(val) - } - return nil - } - res["allowTranscription"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetAllowTranscription(val) - } - return nil - } + res := m.OnlineMeetingBase.GetFieldDeserializers() res["alternativeRecording"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetByteArrayValue() if err != nil { @@ -362,38 +123,6 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } - res["anonymizeIdentityForRoles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfEnumValues(ParseOnlineMeetingRole) - if err != nil { - return err - } - if val != nil { - res := make([]OnlineMeetingRole, len(val)) - for i, v := range val { - if v != nil { - res[i] = *(v.(*OnlineMeetingRole)) - } - } - m.SetAnonymizeIdentityForRoles(res) - } - return nil - } - res["attendanceReports"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(CreateMeetingAttendanceReportFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - res := make([]MeetingAttendanceReportable, len(val)) - for i, v := range val { - if v != nil { - res[i] = v.(MeetingAttendanceReportable) - } - } - m.SetAttendanceReports(res) - } - return nil - } res["attendeeReport"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetByteArrayValue() if err != nil { @@ -404,16 +133,6 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } - res["audioConferencing"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateAudioConferencingFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetAudioConferencing(val.(AudioConferencingable)) - } - return nil - } res["broadcastRecording"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetByteArrayValue() if err != nil { @@ -450,26 +169,6 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } - res["chatInfo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateChatInfoFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetChatInfo(val.(ChatInfoable)) - } - return nil - } - res["chatRestrictions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateChatRestrictionsFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetChatRestrictions(val.(ChatRestrictionsable)) - } - return nil - } res["creationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -510,46 +209,6 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } - res["isEndToEndEncryptionEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetIsEndToEndEncryptionEnabled(val) - } - return nil - } - res["isEntryExitAnnounced"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetIsEntryExitAnnounced(val) - } - return nil - } - res["joinInformation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateItemBodyFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetJoinInformation(val.(ItemBodyable)) - } - return nil - } - res["joinMeetingIdSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateJoinMeetingIdSettingsFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetJoinMeetingIdSettings(val.(JoinMeetingIdSettingsable)) - } - return nil - } res["joinUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -560,26 +219,6 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } - res["joinWebUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetJoinWebUrl(val) - } - return nil - } - res["lobbyBypassSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateLobbyBypassSettingsFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetLobbyBypassSettings(val.(LobbyBypassSettingsable)) - } - return nil - } res["meetingAttendanceReport"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateMeetingAttendanceReportFromDiscriminatorValue) if err != nil { @@ -600,16 +239,6 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } - res["recordAutomatically"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetRecordAutomatically(val) - } - return nil - } res["recording"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetByteArrayValue() if err != nil { @@ -646,16 +275,6 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } - res["shareMeetingChatHistoryDefault"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetEnumValue(ParseMeetingChatHistoryDefaultMode) - if err != nil { - return err - } - if val != nil { - m.SetShareMeetingChatHistoryDefault(val.(*MeetingChatHistoryDefaultMode)) - } - return nil - } res["startDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -666,16 +285,6 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } - res["subject"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetSubject(val) - } - return nil - } res["transcripts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateCallTranscriptFromDiscriminatorValue) if err != nil { @@ -692,26 +301,6 @@ func (m *OnlineMeeting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } - res["videoTeleconferenceId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetVideoTeleconferenceId(val) - } - return nil - } - res["watermarkProtection"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateWatermarkProtectionValuesFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetWatermarkProtection(val.(WatermarkProtectionValuesable)) - } - return nil - } return res } // GetIsBroadcast gets the isBroadcast property value. The isBroadcast property @@ -725,80 +314,14 @@ func (m *OnlineMeeting) GetIsBroadcast()(*bool) { } return nil } -// GetIsEndToEndEncryptionEnabled gets the isEndToEndEncryptionEnabled property value. The isEndToEndEncryptionEnabled property -func (m *OnlineMeeting) GetIsEndToEndEncryptionEnabled()(*bool) { - val, err := m.GetBackingStore().Get("isEndToEndEncryptionEnabled") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetIsEntryExitAnnounced gets the isEntryExitAnnounced property value. Indicates whether to announce when callers join or leave. -func (m *OnlineMeeting) GetIsEntryExitAnnounced()(*bool) { - val, err := m.GetBackingStore().Get("isEntryExitAnnounced") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetJoinInformation gets the joinInformation property value. The join information in the language and locale variant specified in 'Accept-Language' request HTTP header. Read-only. -func (m *OnlineMeeting) GetJoinInformation()(ItemBodyable) { - val, err := m.GetBackingStore().Get("joinInformation") - if err != nil { - panic(err) - } - if val != nil { - return val.(ItemBodyable) - } - return nil -} -// GetJoinMeetingIdSettings gets the joinMeetingIdSettings property value. 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. -func (m *OnlineMeeting) GetJoinMeetingIdSettings()(JoinMeetingIdSettingsable) { - val, err := m.GetBackingStore().Get("joinMeetingIdSettings") - if err != nil { - panic(err) - } - if val != nil { - return val.(JoinMeetingIdSettingsable) - } - return nil -} // GetJoinUrl gets the joinUrl property value. The joinUrl property -func (m *OnlineMeeting) GetJoinUrl()(*string) { - val, err := m.GetBackingStore().Get("joinUrl") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetJoinWebUrl gets the joinWebUrl property value. The join URL of the online meeting. Read-only. -func (m *OnlineMeeting) GetJoinWebUrl()(*string) { - val, err := m.GetBackingStore().Get("joinWebUrl") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetLobbyBypassSettings gets the lobbyBypassSettings property value. Specifies which participants can bypass the meeting lobby. -func (m *OnlineMeeting) GetLobbyBypassSettings()(LobbyBypassSettingsable) { - val, err := m.GetBackingStore().Get("lobbyBypassSettings") +func (m *OnlineMeeting) GetJoinUrl()(*string) { + val, err := m.GetBackingStore().Get("joinUrl") if err != nil { panic(err) } if val != nil { - return val.(LobbyBypassSettingsable) + return val.(*string) } return nil } @@ -824,17 +347,6 @@ func (m *OnlineMeeting) GetParticipants()(MeetingParticipantsable) { } return nil } -// GetRecordAutomatically gets the recordAutomatically property value. Indicates whether to record the meeting automatically. -func (m *OnlineMeeting) GetRecordAutomatically()(*bool) { - val, err := m.GetBackingStore().Get("recordAutomatically") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} // GetRecording gets the recording property value. The recording property func (m *OnlineMeeting) GetRecording()([]byte) { val, err := m.GetBackingStore().Get("recording") @@ -868,17 +380,6 @@ func (m *OnlineMeeting) GetRegistration()(MeetingRegistrationable) { } return nil } -// GetShareMeetingChatHistoryDefault gets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. -func (m *OnlineMeeting) GetShareMeetingChatHistoryDefault()(*MeetingChatHistoryDefaultMode) { - val, err := m.GetBackingStore().Get("shareMeetingChatHistoryDefault") - if err != nil { - panic(err) - } - if val != nil { - return val.(*MeetingChatHistoryDefaultMode) - } - return nil -} // GetStartDateTime gets the startDateTime property value. The meeting start time in UTC. func (m *OnlineMeeting) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("startDateTime") @@ -890,17 +391,6 @@ func (m *OnlineMeeting) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f } return nil } -// GetSubject gets the subject property value. The subject of the online meeting. -func (m *OnlineMeeting) GetSubject()(*string) { - val, err := m.GetBackingStore().Get("subject") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} // GetTranscripts gets the transcripts property value. The transcripts of an online meeting. Read-only. func (m *OnlineMeeting) GetTranscripts()([]CallTranscriptable) { val, err := m.GetBackingStore().Get("transcripts") @@ -912,120 +402,24 @@ func (m *OnlineMeeting) GetTranscripts()([]CallTranscriptable) { } return nil } -// GetVideoTeleconferenceId gets the videoTeleconferenceId property value. The video teleconferencing ID. Read-only. -func (m *OnlineMeeting) GetVideoTeleconferenceId()(*string) { - val, err := m.GetBackingStore().Get("videoTeleconferenceId") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetWatermarkProtection gets the watermarkProtection property value. Specifies whether a watermark should be applied to a content type by the client application. -func (m *OnlineMeeting) GetWatermarkProtection()(WatermarkProtectionValuesable) { - val, err := m.GetBackingStore().Get("watermarkProtection") - if err != nil { - panic(err) - } - if val != nil { - return val.(WatermarkProtectionValuesable) - } - return nil -} // Serialize serializes information the current object func (m *OnlineMeeting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.Entity.Serialize(writer) + err := m.OnlineMeetingBase.Serialize(writer) if err != nil { return err } - { - err = writer.WriteBoolValue("allowAttendeeToEnableCamera", m.GetAllowAttendeeToEnableCamera()) - if err != nil { - return err - } - } - { - err = writer.WriteBoolValue("allowAttendeeToEnableMic", m.GetAllowAttendeeToEnableMic()) - if err != nil { - return err - } - } - if m.GetAllowedPresenters() != nil { - cast := (*m.GetAllowedPresenters()).String() - err = writer.WriteStringValue("allowedPresenters", &cast) - if err != nil { - return err - } - } - if m.GetAllowMeetingChat() != nil { - cast := (*m.GetAllowMeetingChat()).String() - err = writer.WriteStringValue("allowMeetingChat", &cast) - if err != nil { - return err - } - } - { - err = writer.WriteBoolValue("allowParticipantsToChangeName", m.GetAllowParticipantsToChangeName()) - if err != nil { - return err - } - } - { - err = writer.WriteBoolValue("allowRecording", m.GetAllowRecording()) - if err != nil { - return err - } - } - { - err = writer.WriteBoolValue("allowTeamworkReactions", m.GetAllowTeamworkReactions()) - if err != nil { - return err - } - } - { - err = writer.WriteBoolValue("allowTranscription", m.GetAllowTranscription()) - if err != nil { - return err - } - } { err = writer.WriteByteArrayValue("alternativeRecording", m.GetAlternativeRecording()) if err != nil { return err } } - if m.GetAnonymizeIdentityForRoles() != nil { - err = writer.WriteCollectionOfStringValues("anonymizeIdentityForRoles", SerializeOnlineMeetingRole(m.GetAnonymizeIdentityForRoles())) - if err != nil { - return err - } - } - if m.GetAttendanceReports() != nil { - cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAttendanceReports())) - for i, v := range m.GetAttendanceReports() { - if v != nil { - cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) - } - } - err = writer.WriteCollectionOfObjectValues("attendanceReports", cast) - if err != nil { - return err - } - } { err = writer.WriteByteArrayValue("attendeeReport", m.GetAttendeeReport()) if err != nil { return err } } - { - err = writer.WriteObjectValue("audioConferencing", m.GetAudioConferencing()) - if err != nil { - return err - } - } { err = writer.WriteByteArrayValue("broadcastRecording", m.GetBroadcastRecording()) if err != nil { @@ -1044,18 +438,6 @@ func (m *OnlineMeeting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 return err } } - { - err = writer.WriteObjectValue("chatInfo", m.GetChatInfo()) - if err != nil { - return err - } - } - { - err = writer.WriteObjectValue("chatRestrictions", m.GetChatRestrictions()) - if err != nil { - return err - } - } { err = writer.WriteTimeValue("creationDateTime", m.GetCreationDateTime()) if err != nil { @@ -1080,48 +462,12 @@ func (m *OnlineMeeting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 return err } } - { - err = writer.WriteBoolValue("isEndToEndEncryptionEnabled", m.GetIsEndToEndEncryptionEnabled()) - if err != nil { - return err - } - } - { - err = writer.WriteBoolValue("isEntryExitAnnounced", m.GetIsEntryExitAnnounced()) - if err != nil { - return err - } - } - { - err = writer.WriteObjectValue("joinInformation", m.GetJoinInformation()) - if err != nil { - return err - } - } - { - err = writer.WriteObjectValue("joinMeetingIdSettings", m.GetJoinMeetingIdSettings()) - if err != nil { - return err - } - } { err = writer.WriteStringValue("joinUrl", m.GetJoinUrl()) if err != nil { return err } } - { - err = writer.WriteStringValue("joinWebUrl", m.GetJoinWebUrl()) - if err != nil { - return err - } - } - { - err = writer.WriteObjectValue("lobbyBypassSettings", m.GetLobbyBypassSettings()) - if err != nil { - return err - } - } { err = writer.WriteObjectValue("meetingAttendanceReport", m.GetMeetingAttendanceReport()) if err != nil { @@ -1134,12 +480,6 @@ func (m *OnlineMeeting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 return err } } - { - err = writer.WriteBoolValue("recordAutomatically", m.GetRecordAutomatically()) - if err != nil { - return err - } - } { err = writer.WriteByteArrayValue("recording", m.GetRecording()) if err != nil { @@ -1164,25 +504,12 @@ func (m *OnlineMeeting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 return err } } - if m.GetShareMeetingChatHistoryDefault() != nil { - cast := (*m.GetShareMeetingChatHistoryDefault()).String() - err = writer.WriteStringValue("shareMeetingChatHistoryDefault", &cast) - if err != nil { - return err - } - } { err = writer.WriteTimeValue("startDateTime", m.GetStartDateTime()) if err != nil { return err } } - { - err = writer.WriteStringValue("subject", m.GetSubject()) - if err != nil { - return err - } - } if m.GetTranscripts() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetTranscripts())) for i, v := range m.GetTranscripts() { @@ -1195,76 +522,8 @@ func (m *OnlineMeeting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 return err } } - { - err = writer.WriteStringValue("videoTeleconferenceId", m.GetVideoTeleconferenceId()) - if err != nil { - return err - } - } - { - err = writer.WriteObjectValue("watermarkProtection", m.GetWatermarkProtection()) - if err != nil { - return err - } - } return nil } -// SetAllowAttendeeToEnableCamera sets the allowAttendeeToEnableCamera property value. Indicates whether attendees can turn on their camera. -func (m *OnlineMeeting) SetAllowAttendeeToEnableCamera(value *bool)() { - err := m.GetBackingStore().Set("allowAttendeeToEnableCamera", value) - if err != nil { - panic(err) - } -} -// SetAllowAttendeeToEnableMic sets the allowAttendeeToEnableMic property value. Indicates whether attendees can turn on their microphone. -func (m *OnlineMeeting) SetAllowAttendeeToEnableMic(value *bool)() { - err := m.GetBackingStore().Set("allowAttendeeToEnableMic", value) - if err != nil { - panic(err) - } -} -// SetAllowedPresenters sets the allowedPresenters property value. Specifies who can be a presenter in a meeting. -func (m *OnlineMeeting) SetAllowedPresenters(value *OnlineMeetingPresenters)() { - err := m.GetBackingStore().Set("allowedPresenters", value) - if err != nil { - panic(err) - } -} -// SetAllowMeetingChat sets the allowMeetingChat property value. Specifies the mode of meeting chat. -func (m *OnlineMeeting) SetAllowMeetingChat(value *MeetingChatMode)() { - err := m.GetBackingStore().Set("allowMeetingChat", value) - if err != nil { - panic(err) - } -} -// SetAllowParticipantsToChangeName sets the allowParticipantsToChangeName property value. Specifies if participants are allowed to rename themselves in an instance of the meeting. -func (m *OnlineMeeting) SetAllowParticipantsToChangeName(value *bool)() { - err := m.GetBackingStore().Set("allowParticipantsToChangeName", value) - if err != nil { - panic(err) - } -} -// SetAllowRecording sets the allowRecording property value. Indicates whether recording is enabled for the meeting. -func (m *OnlineMeeting) SetAllowRecording(value *bool)() { - err := m.GetBackingStore().Set("allowRecording", value) - if err != nil { - panic(err) - } -} -// SetAllowTeamworkReactions sets the allowTeamworkReactions property value. Indicates if Teams reactions are enabled for the meeting. -func (m *OnlineMeeting) SetAllowTeamworkReactions(value *bool)() { - err := m.GetBackingStore().Set("allowTeamworkReactions", value) - if err != nil { - panic(err) - } -} -// SetAllowTranscription sets the allowTranscription property value. Indicates whether transcription is enabled for the meeting. -func (m *OnlineMeeting) SetAllowTranscription(value *bool)() { - err := m.GetBackingStore().Set("allowTranscription", value) - if err != nil { - panic(err) - } -} // SetAlternativeRecording sets the alternativeRecording property value. The alternativeRecording property func (m *OnlineMeeting) SetAlternativeRecording(value []byte)() { err := m.GetBackingStore().Set("alternativeRecording", value) @@ -1272,20 +531,6 @@ func (m *OnlineMeeting) SetAlternativeRecording(value []byte)() { panic(err) } } -// SetAnonymizeIdentityForRoles sets the anonymizeIdentityForRoles property value. 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. -func (m *OnlineMeeting) SetAnonymizeIdentityForRoles(value []OnlineMeetingRole)() { - err := m.GetBackingStore().Set("anonymizeIdentityForRoles", value) - if err != nil { - panic(err) - } -} -// SetAttendanceReports sets the attendanceReports property value. The attendance reports of an online meeting. Read-only. -func (m *OnlineMeeting) SetAttendanceReports(value []MeetingAttendanceReportable)() { - err := m.GetBackingStore().Set("attendanceReports", value) - if err != nil { - panic(err) - } -} // SetAttendeeReport sets the attendeeReport property value. The attendeeReport property func (m *OnlineMeeting) SetAttendeeReport(value []byte)() { err := m.GetBackingStore().Set("attendeeReport", value) @@ -1293,13 +538,6 @@ func (m *OnlineMeeting) SetAttendeeReport(value []byte)() { panic(err) } } -// SetAudioConferencing sets the audioConferencing property value. The phone access (dial-in) information for an online meeting. Read-only. -func (m *OnlineMeeting) SetAudioConferencing(value AudioConferencingable)() { - err := m.GetBackingStore().Set("audioConferencing", value) - if err != nil { - panic(err) - } -} // SetBroadcastRecording sets the broadcastRecording property value. The broadcastRecording property func (m *OnlineMeeting) SetBroadcastRecording(value []byte)() { err := m.GetBackingStore().Set("broadcastRecording", value) @@ -1321,20 +559,6 @@ func (m *OnlineMeeting) SetCapabilities(value []MeetingCapabilities)() { panic(err) } } -// SetChatInfo sets the chatInfo property value. The chat information associated with this online meeting. -func (m *OnlineMeeting) SetChatInfo(value ChatInfoable)() { - err := m.GetBackingStore().Set("chatInfo", value) - if err != nil { - panic(err) - } -} -// SetChatRestrictions sets the chatRestrictions property value. The chatRestrictions property -func (m *OnlineMeeting) SetChatRestrictions(value ChatRestrictionsable)() { - err := m.GetBackingStore().Set("chatRestrictions", value) - if err != nil { - panic(err) - } -} // SetCreationDateTime sets the creationDateTime property value. The meeting creation time in UTC. Read-only. func (m *OnlineMeeting) SetCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("creationDateTime", value) @@ -1363,34 +587,6 @@ func (m *OnlineMeeting) SetIsBroadcast(value *bool)() { panic(err) } } -// SetIsEndToEndEncryptionEnabled sets the isEndToEndEncryptionEnabled property value. The isEndToEndEncryptionEnabled property -func (m *OnlineMeeting) SetIsEndToEndEncryptionEnabled(value *bool)() { - err := m.GetBackingStore().Set("isEndToEndEncryptionEnabled", value) - if err != nil { - panic(err) - } -} -// SetIsEntryExitAnnounced sets the isEntryExitAnnounced property value. Indicates whether to announce when callers join or leave. -func (m *OnlineMeeting) SetIsEntryExitAnnounced(value *bool)() { - err := m.GetBackingStore().Set("isEntryExitAnnounced", value) - if err != nil { - panic(err) - } -} -// SetJoinInformation sets the joinInformation property value. The join information in the language and locale variant specified in 'Accept-Language' request HTTP header. Read-only. -func (m *OnlineMeeting) SetJoinInformation(value ItemBodyable)() { - err := m.GetBackingStore().Set("joinInformation", value) - if err != nil { - panic(err) - } -} -// SetJoinMeetingIdSettings sets the joinMeetingIdSettings property value. 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. -func (m *OnlineMeeting) SetJoinMeetingIdSettings(value JoinMeetingIdSettingsable)() { - err := m.GetBackingStore().Set("joinMeetingIdSettings", value) - if err != nil { - panic(err) - } -} // SetJoinUrl sets the joinUrl property value. The joinUrl property func (m *OnlineMeeting) SetJoinUrl(value *string)() { err := m.GetBackingStore().Set("joinUrl", value) @@ -1398,20 +594,6 @@ func (m *OnlineMeeting) SetJoinUrl(value *string)() { panic(err) } } -// SetJoinWebUrl sets the joinWebUrl property value. The join URL of the online meeting. Read-only. -func (m *OnlineMeeting) SetJoinWebUrl(value *string)() { - err := m.GetBackingStore().Set("joinWebUrl", value) - if err != nil { - panic(err) - } -} -// SetLobbyBypassSettings sets the lobbyBypassSettings property value. Specifies which participants can bypass the meeting lobby. -func (m *OnlineMeeting) SetLobbyBypassSettings(value LobbyBypassSettingsable)() { - err := m.GetBackingStore().Set("lobbyBypassSettings", value) - if err != nil { - panic(err) - } -} // SetMeetingAttendanceReport sets the meetingAttendanceReport property value. The meetingAttendanceReport property func (m *OnlineMeeting) SetMeetingAttendanceReport(value MeetingAttendanceReportable)() { err := m.GetBackingStore().Set("meetingAttendanceReport", value) @@ -1426,13 +608,6 @@ func (m *OnlineMeeting) SetParticipants(value MeetingParticipantsable)() { panic(err) } } -// SetRecordAutomatically sets the recordAutomatically property value. Indicates whether to record the meeting automatically. -func (m *OnlineMeeting) SetRecordAutomatically(value *bool)() { - err := m.GetBackingStore().Set("recordAutomatically", value) - if err != nil { - panic(err) - } -} // SetRecording sets the recording property value. The recording property func (m *OnlineMeeting) SetRecording(value []byte)() { err := m.GetBackingStore().Set("recording", value) @@ -1454,13 +629,6 @@ func (m *OnlineMeeting) SetRegistration(value MeetingRegistrationable)() { panic(err) } } -// SetShareMeetingChatHistoryDefault sets the shareMeetingChatHistoryDefault property value. Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. -func (m *OnlineMeeting) SetShareMeetingChatHistoryDefault(value *MeetingChatHistoryDefaultMode)() { - err := m.GetBackingStore().Set("shareMeetingChatHistoryDefault", value) - if err != nil { - panic(err) - } -} // SetStartDateTime sets the startDateTime property value. The meeting start time in UTC. func (m *OnlineMeeting) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("startDateTime", value) @@ -1468,13 +636,6 @@ func (m *OnlineMeeting) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a panic(err) } } -// SetSubject sets the subject property value. The subject of the online meeting. -func (m *OnlineMeeting) SetSubject(value *string)() { - err := m.GetBackingStore().Set("subject", value) - if err != nil { - panic(err) - } -} // SetTranscripts sets the transcripts property value. The transcripts of an online meeting. Read-only. func (m *OnlineMeeting) SetTranscripts(value []CallTranscriptable)() { err := m.GetBackingStore().Set("transcripts", value) @@ -1482,104 +643,42 @@ func (m *OnlineMeeting) SetTranscripts(value []CallTranscriptable)() { panic(err) } } -// SetVideoTeleconferenceId sets the videoTeleconferenceId property value. The video teleconferencing ID. Read-only. -func (m *OnlineMeeting) SetVideoTeleconferenceId(value *string)() { - err := m.GetBackingStore().Set("videoTeleconferenceId", value) - if err != nil { - panic(err) - } -} -// SetWatermarkProtection sets the watermarkProtection property value. Specifies whether a watermark should be applied to a content type by the client application. -func (m *OnlineMeeting) SetWatermarkProtection(value WatermarkProtectionValuesable)() { - err := m.GetBackingStore().Set("watermarkProtection", value) - if err != nil { - panic(err) - } -} // OnlineMeetingable type OnlineMeetingable interface { - Entityable + OnlineMeetingBaseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAllowAttendeeToEnableCamera()(*bool) - GetAllowAttendeeToEnableMic()(*bool) - GetAllowedPresenters()(*OnlineMeetingPresenters) - GetAllowMeetingChat()(*MeetingChatMode) - GetAllowParticipantsToChangeName()(*bool) - GetAllowRecording()(*bool) - GetAllowTeamworkReactions()(*bool) - GetAllowTranscription()(*bool) GetAlternativeRecording()([]byte) - GetAnonymizeIdentityForRoles()([]OnlineMeetingRole) - GetAttendanceReports()([]MeetingAttendanceReportable) GetAttendeeReport()([]byte) - GetAudioConferencing()(AudioConferencingable) GetBroadcastRecording()([]byte) GetBroadcastSettings()(BroadcastMeetingSettingsable) GetCapabilities()([]MeetingCapabilities) - GetChatInfo()(ChatInfoable) - GetChatRestrictions()(ChatRestrictionsable) GetCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetExternalId()(*string) GetIsBroadcast()(*bool) - GetIsEndToEndEncryptionEnabled()(*bool) - GetIsEntryExitAnnounced()(*bool) - GetJoinInformation()(ItemBodyable) - GetJoinMeetingIdSettings()(JoinMeetingIdSettingsable) GetJoinUrl()(*string) - GetJoinWebUrl()(*string) - GetLobbyBypassSettings()(LobbyBypassSettingsable) GetMeetingAttendanceReport()(MeetingAttendanceReportable) GetParticipants()(MeetingParticipantsable) - GetRecordAutomatically()(*bool) GetRecording()([]byte) GetRecordings()([]CallRecordingable) GetRegistration()(MeetingRegistrationable) - GetShareMeetingChatHistoryDefault()(*MeetingChatHistoryDefaultMode) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - GetSubject()(*string) GetTranscripts()([]CallTranscriptable) - GetVideoTeleconferenceId()(*string) - GetWatermarkProtection()(WatermarkProtectionValuesable) - SetAllowAttendeeToEnableCamera(value *bool)() - SetAllowAttendeeToEnableMic(value *bool)() - SetAllowedPresenters(value *OnlineMeetingPresenters)() - SetAllowMeetingChat(value *MeetingChatMode)() - SetAllowParticipantsToChangeName(value *bool)() - SetAllowRecording(value *bool)() - SetAllowTeamworkReactions(value *bool)() - SetAllowTranscription(value *bool)() SetAlternativeRecording(value []byte)() - SetAnonymizeIdentityForRoles(value []OnlineMeetingRole)() - SetAttendanceReports(value []MeetingAttendanceReportable)() SetAttendeeReport(value []byte)() - SetAudioConferencing(value AudioConferencingable)() SetBroadcastRecording(value []byte)() SetBroadcastSettings(value BroadcastMeetingSettingsable)() SetCapabilities(value []MeetingCapabilities)() - SetChatInfo(value ChatInfoable)() - SetChatRestrictions(value ChatRestrictionsable)() SetCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetExternalId(value *string)() SetIsBroadcast(value *bool)() - SetIsEndToEndEncryptionEnabled(value *bool)() - SetIsEntryExitAnnounced(value *bool)() - SetJoinInformation(value ItemBodyable)() - SetJoinMeetingIdSettings(value JoinMeetingIdSettingsable)() SetJoinUrl(value *string)() - SetJoinWebUrl(value *string)() - SetLobbyBypassSettings(value LobbyBypassSettingsable)() SetMeetingAttendanceReport(value MeetingAttendanceReportable)() SetParticipants(value MeetingParticipantsable)() - SetRecordAutomatically(value *bool)() SetRecording(value []byte)() SetRecordings(value []CallRecordingable)() SetRegistration(value MeetingRegistrationable)() - SetShareMeetingChatHistoryDefault(value *MeetingChatHistoryDefaultMode)() SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() - SetSubject(value *string)() SetTranscripts(value []CallTranscriptable)() - SetVideoTeleconferenceId(value *string)() - SetWatermarkProtection(value WatermarkProtectionValuesable)() } diff --git a/models/online_meeting_base.go b/models/online_meeting_base.go new file mode 100644 index 00000000000..b3482856e46 --- /dev/null +++ b/models/online_meeting_base.go @@ -0,0 +1,944 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// OnlineMeetingBase +type OnlineMeetingBase struct { + Entity +} +// NewOnlineMeetingBase instantiates a new onlineMeetingBase and sets the default values. +func NewOnlineMeetingBase()(*OnlineMeetingBase) { + m := &OnlineMeetingBase{ + Entity: *NewEntity(), + } + return m +} +// CreateOnlineMeetingBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateOnlineMeetingBaseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.onlineMeeting": + return NewOnlineMeeting(), nil + case "#microsoft.graph.virtualEventSession": + return NewVirtualEventSession(), nil + } + } + } + } + return NewOnlineMeetingBase(), nil +} +// GetAllowAttendeeToEnableCamera gets the allowAttendeeToEnableCamera property value. The allowAttendeeToEnableCamera property +func (m *OnlineMeetingBase) GetAllowAttendeeToEnableCamera()(*bool) { + val, err := m.GetBackingStore().Get("allowAttendeeToEnableCamera") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetAllowAttendeeToEnableMic gets the allowAttendeeToEnableMic property value. The allowAttendeeToEnableMic property +func (m *OnlineMeetingBase) GetAllowAttendeeToEnableMic()(*bool) { + val, err := m.GetBackingStore().Get("allowAttendeeToEnableMic") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetAllowedPresenters gets the allowedPresenters property value. The allowedPresenters property +func (m *OnlineMeetingBase) GetAllowedPresenters()(*OnlineMeetingPresenters) { + val, err := m.GetBackingStore().Get("allowedPresenters") + if err != nil { + panic(err) + } + if val != nil { + return val.(*OnlineMeetingPresenters) + } + return nil +} +// GetAllowMeetingChat gets the allowMeetingChat property value. The allowMeetingChat property +func (m *OnlineMeetingBase) GetAllowMeetingChat()(*MeetingChatMode) { + val, err := m.GetBackingStore().Get("allowMeetingChat") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MeetingChatMode) + } + return nil +} +// GetAllowParticipantsToChangeName gets the allowParticipantsToChangeName property value. The allowParticipantsToChangeName property +func (m *OnlineMeetingBase) GetAllowParticipantsToChangeName()(*bool) { + val, err := m.GetBackingStore().Get("allowParticipantsToChangeName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetAllowRecording gets the allowRecording property value. The allowRecording property +func (m *OnlineMeetingBase) GetAllowRecording()(*bool) { + val, err := m.GetBackingStore().Get("allowRecording") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetAllowTeamworkReactions gets the allowTeamworkReactions property value. The allowTeamworkReactions property +func (m *OnlineMeetingBase) GetAllowTeamworkReactions()(*bool) { + val, err := m.GetBackingStore().Get("allowTeamworkReactions") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetAllowTranscription gets the allowTranscription property value. The allowTranscription property +func (m *OnlineMeetingBase) GetAllowTranscription()(*bool) { + val, err := m.GetBackingStore().Get("allowTranscription") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetAnonymizeIdentityForRoles gets the anonymizeIdentityForRoles property value. The anonymizeIdentityForRoles property +func (m *OnlineMeetingBase) GetAnonymizeIdentityForRoles()([]OnlineMeetingRole) { + val, err := m.GetBackingStore().Get("anonymizeIdentityForRoles") + if err != nil { + panic(err) + } + if val != nil { + return val.([]OnlineMeetingRole) + } + return nil +} +// GetAttendanceReports gets the attendanceReports property value. The attendanceReports property +func (m *OnlineMeetingBase) GetAttendanceReports()([]MeetingAttendanceReportable) { + val, err := m.GetBackingStore().Get("attendanceReports") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MeetingAttendanceReportable) + } + return nil +} +// GetAudioConferencing gets the audioConferencing property value. The audioConferencing property +func (m *OnlineMeetingBase) GetAudioConferencing()(AudioConferencingable) { + val, err := m.GetBackingStore().Get("audioConferencing") + if err != nil { + panic(err) + } + if val != nil { + return val.(AudioConferencingable) + } + return nil +} +// GetChatInfo gets the chatInfo property value. The chatInfo property +func (m *OnlineMeetingBase) GetChatInfo()(ChatInfoable) { + val, err := m.GetBackingStore().Get("chatInfo") + if err != nil { + panic(err) + } + if val != nil { + return val.(ChatInfoable) + } + return nil +} +// GetChatRestrictions gets the chatRestrictions property value. The chatRestrictions property +func (m *OnlineMeetingBase) GetChatRestrictions()(ChatRestrictionsable) { + val, err := m.GetBackingStore().Get("chatRestrictions") + if err != nil { + panic(err) + } + if val != nil { + return val.(ChatRestrictionsable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *OnlineMeetingBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["allowAttendeeToEnableCamera"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowAttendeeToEnableCamera(val) + } + return nil + } + res["allowAttendeeToEnableMic"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowAttendeeToEnableMic(val) + } + return nil + } + res["allowedPresenters"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseOnlineMeetingPresenters) + if err != nil { + return err + } + if val != nil { + m.SetAllowedPresenters(val.(*OnlineMeetingPresenters)) + } + return nil + } + res["allowMeetingChat"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseMeetingChatMode) + if err != nil { + return err + } + if val != nil { + m.SetAllowMeetingChat(val.(*MeetingChatMode)) + } + return nil + } + res["allowParticipantsToChangeName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowParticipantsToChangeName(val) + } + return nil + } + res["allowRecording"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowRecording(val) + } + return nil + } + res["allowTeamworkReactions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowTeamworkReactions(val) + } + return nil + } + res["allowTranscription"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAllowTranscription(val) + } + return nil + } + res["anonymizeIdentityForRoles"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseOnlineMeetingRole) + if err != nil { + return err + } + if val != nil { + res := make([]OnlineMeetingRole, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*OnlineMeetingRole)) + } + } + m.SetAnonymizeIdentityForRoles(res) + } + return nil + } + res["attendanceReports"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMeetingAttendanceReportFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MeetingAttendanceReportable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MeetingAttendanceReportable) + } + } + m.SetAttendanceReports(res) + } + return nil + } + res["audioConferencing"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAudioConferencingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAudioConferencing(val.(AudioConferencingable)) + } + return nil + } + res["chatInfo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateChatInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetChatInfo(val.(ChatInfoable)) + } + return nil + } + res["chatRestrictions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateChatRestrictionsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetChatRestrictions(val.(ChatRestrictionsable)) + } + return nil + } + res["isEndToEndEncryptionEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEndToEndEncryptionEnabled(val) + } + return nil + } + res["isEntryExitAnnounced"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEntryExitAnnounced(val) + } + return nil + } + res["joinInformation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateItemBodyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetJoinInformation(val.(ItemBodyable)) + } + return nil + } + res["joinMeetingIdSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateJoinMeetingIdSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetJoinMeetingIdSettings(val.(JoinMeetingIdSettingsable)) + } + return nil + } + res["joinWebUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetJoinWebUrl(val) + } + return nil + } + res["lobbyBypassSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateLobbyBypassSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetLobbyBypassSettings(val.(LobbyBypassSettingsable)) + } + return nil + } + res["recordAutomatically"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetRecordAutomatically(val) + } + return nil + } + res["shareMeetingChatHistoryDefault"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseMeetingChatHistoryDefaultMode) + if err != nil { + return err + } + if val != nil { + m.SetShareMeetingChatHistoryDefault(val.(*MeetingChatHistoryDefaultMode)) + } + return nil + } + res["subject"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSubject(val) + } + return nil + } + res["videoTeleconferenceId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVideoTeleconferenceId(val) + } + return nil + } + res["watermarkProtection"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWatermarkProtectionValuesFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetWatermarkProtection(val.(WatermarkProtectionValuesable)) + } + return nil + } + return res +} +// GetIsEndToEndEncryptionEnabled gets the isEndToEndEncryptionEnabled property value. The isEndToEndEncryptionEnabled property +func (m *OnlineMeetingBase) GetIsEndToEndEncryptionEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isEndToEndEncryptionEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetIsEntryExitAnnounced gets the isEntryExitAnnounced property value. The isEntryExitAnnounced property +func (m *OnlineMeetingBase) GetIsEntryExitAnnounced()(*bool) { + val, err := m.GetBackingStore().Get("isEntryExitAnnounced") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetJoinInformation gets the joinInformation property value. The joinInformation property +func (m *OnlineMeetingBase) GetJoinInformation()(ItemBodyable) { + val, err := m.GetBackingStore().Get("joinInformation") + if err != nil { + panic(err) + } + if val != nil { + return val.(ItemBodyable) + } + return nil +} +// GetJoinMeetingIdSettings gets the joinMeetingIdSettings property value. The joinMeetingIdSettings property +func (m *OnlineMeetingBase) GetJoinMeetingIdSettings()(JoinMeetingIdSettingsable) { + val, err := m.GetBackingStore().Get("joinMeetingIdSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(JoinMeetingIdSettingsable) + } + return nil +} +// GetJoinWebUrl gets the joinWebUrl property value. The joinWebUrl property +func (m *OnlineMeetingBase) GetJoinWebUrl()(*string) { + val, err := m.GetBackingStore().Get("joinWebUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetLobbyBypassSettings gets the lobbyBypassSettings property value. The lobbyBypassSettings property +func (m *OnlineMeetingBase) GetLobbyBypassSettings()(LobbyBypassSettingsable) { + val, err := m.GetBackingStore().Get("lobbyBypassSettings") + if err != nil { + panic(err) + } + if val != nil { + return val.(LobbyBypassSettingsable) + } + return nil +} +// GetRecordAutomatically gets the recordAutomatically property value. The recordAutomatically property +func (m *OnlineMeetingBase) GetRecordAutomatically()(*bool) { + val, err := m.GetBackingStore().Get("recordAutomatically") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetShareMeetingChatHistoryDefault gets the shareMeetingChatHistoryDefault property value. The shareMeetingChatHistoryDefault property +func (m *OnlineMeetingBase) GetShareMeetingChatHistoryDefault()(*MeetingChatHistoryDefaultMode) { + val, err := m.GetBackingStore().Get("shareMeetingChatHistoryDefault") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MeetingChatHistoryDefaultMode) + } + return nil +} +// GetSubject gets the subject property value. The subject property +func (m *OnlineMeetingBase) GetSubject()(*string) { + val, err := m.GetBackingStore().Get("subject") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetVideoTeleconferenceId gets the videoTeleconferenceId property value. The videoTeleconferenceId property +func (m *OnlineMeetingBase) GetVideoTeleconferenceId()(*string) { + val, err := m.GetBackingStore().Get("videoTeleconferenceId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWatermarkProtection gets the watermarkProtection property value. The watermarkProtection property +func (m *OnlineMeetingBase) GetWatermarkProtection()(WatermarkProtectionValuesable) { + val, err := m.GetBackingStore().Get("watermarkProtection") + if err != nil { + panic(err) + } + if val != nil { + return val.(WatermarkProtectionValuesable) + } + return nil +} +// Serialize serializes information the current object +func (m *OnlineMeetingBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("allowAttendeeToEnableCamera", m.GetAllowAttendeeToEnableCamera()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("allowAttendeeToEnableMic", m.GetAllowAttendeeToEnableMic()) + if err != nil { + return err + } + } + if m.GetAllowedPresenters() != nil { + cast := (*m.GetAllowedPresenters()).String() + err = writer.WriteStringValue("allowedPresenters", &cast) + if err != nil { + return err + } + } + if m.GetAllowMeetingChat() != nil { + cast := (*m.GetAllowMeetingChat()).String() + err = writer.WriteStringValue("allowMeetingChat", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("allowParticipantsToChangeName", m.GetAllowParticipantsToChangeName()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("allowRecording", m.GetAllowRecording()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("allowTeamworkReactions", m.GetAllowTeamworkReactions()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("allowTranscription", m.GetAllowTranscription()) + if err != nil { + return err + } + } + if m.GetAnonymizeIdentityForRoles() != nil { + err = writer.WriteCollectionOfStringValues("anonymizeIdentityForRoles", SerializeOnlineMeetingRole(m.GetAnonymizeIdentityForRoles())) + if err != nil { + return err + } + } + if m.GetAttendanceReports() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAttendanceReports())) + for i, v := range m.GetAttendanceReports() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("attendanceReports", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("audioConferencing", m.GetAudioConferencing()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("chatInfo", m.GetChatInfo()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("chatRestrictions", m.GetChatRestrictions()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isEndToEndEncryptionEnabled", m.GetIsEndToEndEncryptionEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isEntryExitAnnounced", m.GetIsEntryExitAnnounced()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("joinInformation", m.GetJoinInformation()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("joinMeetingIdSettings", m.GetJoinMeetingIdSettings()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("joinWebUrl", m.GetJoinWebUrl()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("lobbyBypassSettings", m.GetLobbyBypassSettings()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("recordAutomatically", m.GetRecordAutomatically()) + if err != nil { + return err + } + } + if m.GetShareMeetingChatHistoryDefault() != nil { + cast := (*m.GetShareMeetingChatHistoryDefault()).String() + err = writer.WriteStringValue("shareMeetingChatHistoryDefault", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("subject", m.GetSubject()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("videoTeleconferenceId", m.GetVideoTeleconferenceId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("watermarkProtection", m.GetWatermarkProtection()) + if err != nil { + return err + } + } + return nil +} +// SetAllowAttendeeToEnableCamera sets the allowAttendeeToEnableCamera property value. The allowAttendeeToEnableCamera property +func (m *OnlineMeetingBase) SetAllowAttendeeToEnableCamera(value *bool)() { + err := m.GetBackingStore().Set("allowAttendeeToEnableCamera", value) + if err != nil { + panic(err) + } +} +// SetAllowAttendeeToEnableMic sets the allowAttendeeToEnableMic property value. The allowAttendeeToEnableMic property +func (m *OnlineMeetingBase) SetAllowAttendeeToEnableMic(value *bool)() { + err := m.GetBackingStore().Set("allowAttendeeToEnableMic", value) + if err != nil { + panic(err) + } +} +// SetAllowedPresenters sets the allowedPresenters property value. The allowedPresenters property +func (m *OnlineMeetingBase) SetAllowedPresenters(value *OnlineMeetingPresenters)() { + err := m.GetBackingStore().Set("allowedPresenters", value) + if err != nil { + panic(err) + } +} +// SetAllowMeetingChat sets the allowMeetingChat property value. The allowMeetingChat property +func (m *OnlineMeetingBase) SetAllowMeetingChat(value *MeetingChatMode)() { + err := m.GetBackingStore().Set("allowMeetingChat", value) + if err != nil { + panic(err) + } +} +// SetAllowParticipantsToChangeName sets the allowParticipantsToChangeName property value. The allowParticipantsToChangeName property +func (m *OnlineMeetingBase) SetAllowParticipantsToChangeName(value *bool)() { + err := m.GetBackingStore().Set("allowParticipantsToChangeName", value) + if err != nil { + panic(err) + } +} +// SetAllowRecording sets the allowRecording property value. The allowRecording property +func (m *OnlineMeetingBase) SetAllowRecording(value *bool)() { + err := m.GetBackingStore().Set("allowRecording", value) + if err != nil { + panic(err) + } +} +// SetAllowTeamworkReactions sets the allowTeamworkReactions property value. The allowTeamworkReactions property +func (m *OnlineMeetingBase) SetAllowTeamworkReactions(value *bool)() { + err := m.GetBackingStore().Set("allowTeamworkReactions", value) + if err != nil { + panic(err) + } +} +// SetAllowTranscription sets the allowTranscription property value. The allowTranscription property +func (m *OnlineMeetingBase) SetAllowTranscription(value *bool)() { + err := m.GetBackingStore().Set("allowTranscription", value) + if err != nil { + panic(err) + } +} +// SetAnonymizeIdentityForRoles sets the anonymizeIdentityForRoles property value. The anonymizeIdentityForRoles property +func (m *OnlineMeetingBase) SetAnonymizeIdentityForRoles(value []OnlineMeetingRole)() { + err := m.GetBackingStore().Set("anonymizeIdentityForRoles", value) + if err != nil { + panic(err) + } +} +// SetAttendanceReports sets the attendanceReports property value. The attendanceReports property +func (m *OnlineMeetingBase) SetAttendanceReports(value []MeetingAttendanceReportable)() { + err := m.GetBackingStore().Set("attendanceReports", value) + if err != nil { + panic(err) + } +} +// SetAudioConferencing sets the audioConferencing property value. The audioConferencing property +func (m *OnlineMeetingBase) SetAudioConferencing(value AudioConferencingable)() { + err := m.GetBackingStore().Set("audioConferencing", value) + if err != nil { + panic(err) + } +} +// SetChatInfo sets the chatInfo property value. The chatInfo property +func (m *OnlineMeetingBase) SetChatInfo(value ChatInfoable)() { + err := m.GetBackingStore().Set("chatInfo", value) + if err != nil { + panic(err) + } +} +// SetChatRestrictions sets the chatRestrictions property value. The chatRestrictions property +func (m *OnlineMeetingBase) SetChatRestrictions(value ChatRestrictionsable)() { + err := m.GetBackingStore().Set("chatRestrictions", value) + if err != nil { + panic(err) + } +} +// SetIsEndToEndEncryptionEnabled sets the isEndToEndEncryptionEnabled property value. The isEndToEndEncryptionEnabled property +func (m *OnlineMeetingBase) SetIsEndToEndEncryptionEnabled(value *bool)() { + err := m.GetBackingStore().Set("isEndToEndEncryptionEnabled", value) + if err != nil { + panic(err) + } +} +// SetIsEntryExitAnnounced sets the isEntryExitAnnounced property value. The isEntryExitAnnounced property +func (m *OnlineMeetingBase) SetIsEntryExitAnnounced(value *bool)() { + err := m.GetBackingStore().Set("isEntryExitAnnounced", value) + if err != nil { + panic(err) + } +} +// SetJoinInformation sets the joinInformation property value. The joinInformation property +func (m *OnlineMeetingBase) SetJoinInformation(value ItemBodyable)() { + err := m.GetBackingStore().Set("joinInformation", value) + if err != nil { + panic(err) + } +} +// SetJoinMeetingIdSettings sets the joinMeetingIdSettings property value. The joinMeetingIdSettings property +func (m *OnlineMeetingBase) SetJoinMeetingIdSettings(value JoinMeetingIdSettingsable)() { + err := m.GetBackingStore().Set("joinMeetingIdSettings", value) + if err != nil { + panic(err) + } +} +// SetJoinWebUrl sets the joinWebUrl property value. The joinWebUrl property +func (m *OnlineMeetingBase) SetJoinWebUrl(value *string)() { + err := m.GetBackingStore().Set("joinWebUrl", value) + if err != nil { + panic(err) + } +} +// SetLobbyBypassSettings sets the lobbyBypassSettings property value. The lobbyBypassSettings property +func (m *OnlineMeetingBase) SetLobbyBypassSettings(value LobbyBypassSettingsable)() { + err := m.GetBackingStore().Set("lobbyBypassSettings", value) + if err != nil { + panic(err) + } +} +// SetRecordAutomatically sets the recordAutomatically property value. The recordAutomatically property +func (m *OnlineMeetingBase) SetRecordAutomatically(value *bool)() { + err := m.GetBackingStore().Set("recordAutomatically", value) + if err != nil { + panic(err) + } +} +// SetShareMeetingChatHistoryDefault sets the shareMeetingChatHistoryDefault property value. The shareMeetingChatHistoryDefault property +func (m *OnlineMeetingBase) SetShareMeetingChatHistoryDefault(value *MeetingChatHistoryDefaultMode)() { + err := m.GetBackingStore().Set("shareMeetingChatHistoryDefault", value) + if err != nil { + panic(err) + } +} +// SetSubject sets the subject property value. The subject property +func (m *OnlineMeetingBase) SetSubject(value *string)() { + err := m.GetBackingStore().Set("subject", value) + if err != nil { + panic(err) + } +} +// SetVideoTeleconferenceId sets the videoTeleconferenceId property value. The videoTeleconferenceId property +func (m *OnlineMeetingBase) SetVideoTeleconferenceId(value *string)() { + err := m.GetBackingStore().Set("videoTeleconferenceId", value) + if err != nil { + panic(err) + } +} +// SetWatermarkProtection sets the watermarkProtection property value. The watermarkProtection property +func (m *OnlineMeetingBase) SetWatermarkProtection(value WatermarkProtectionValuesable)() { + err := m.GetBackingStore().Set("watermarkProtection", value) + if err != nil { + panic(err) + } +} +// OnlineMeetingBaseable +type OnlineMeetingBaseable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllowAttendeeToEnableCamera()(*bool) + GetAllowAttendeeToEnableMic()(*bool) + GetAllowedPresenters()(*OnlineMeetingPresenters) + GetAllowMeetingChat()(*MeetingChatMode) + GetAllowParticipantsToChangeName()(*bool) + GetAllowRecording()(*bool) + GetAllowTeamworkReactions()(*bool) + GetAllowTranscription()(*bool) + GetAnonymizeIdentityForRoles()([]OnlineMeetingRole) + GetAttendanceReports()([]MeetingAttendanceReportable) + GetAudioConferencing()(AudioConferencingable) + GetChatInfo()(ChatInfoable) + GetChatRestrictions()(ChatRestrictionsable) + GetIsEndToEndEncryptionEnabled()(*bool) + GetIsEntryExitAnnounced()(*bool) + GetJoinInformation()(ItemBodyable) + GetJoinMeetingIdSettings()(JoinMeetingIdSettingsable) + GetJoinWebUrl()(*string) + GetLobbyBypassSettings()(LobbyBypassSettingsable) + GetRecordAutomatically()(*bool) + GetShareMeetingChatHistoryDefault()(*MeetingChatHistoryDefaultMode) + GetSubject()(*string) + GetVideoTeleconferenceId()(*string) + GetWatermarkProtection()(WatermarkProtectionValuesable) + SetAllowAttendeeToEnableCamera(value *bool)() + SetAllowAttendeeToEnableMic(value *bool)() + SetAllowedPresenters(value *OnlineMeetingPresenters)() + SetAllowMeetingChat(value *MeetingChatMode)() + SetAllowParticipantsToChangeName(value *bool)() + SetAllowRecording(value *bool)() + SetAllowTeamworkReactions(value *bool)() + SetAllowTranscription(value *bool)() + SetAnonymizeIdentityForRoles(value []OnlineMeetingRole)() + SetAttendanceReports(value []MeetingAttendanceReportable)() + SetAudioConferencing(value AudioConferencingable)() + SetChatInfo(value ChatInfoable)() + SetChatRestrictions(value ChatRestrictionsable)() + SetIsEndToEndEncryptionEnabled(value *bool)() + SetIsEntryExitAnnounced(value *bool)() + SetJoinInformation(value ItemBodyable)() + SetJoinMeetingIdSettings(value JoinMeetingIdSettingsable)() + SetJoinWebUrl(value *string)() + SetLobbyBypassSettings(value LobbyBypassSettingsable)() + SetRecordAutomatically(value *bool)() + SetShareMeetingChatHistoryDefault(value *MeetingChatHistoryDefaultMode)() + SetSubject(value *string)() + SetVideoTeleconferenceId(value *string)() + SetWatermarkProtection(value WatermarkProtectionValuesable)() +} diff --git a/models/position_detail.go b/models/position_detail.go index 9d938971895..a4ebf2ed245 100644 --- a/models/position_detail.go +++ b/models/position_detail.go @@ -187,7 +187,7 @@ func (m *PositionDetail) GetJobTitle()(*string) { } return nil } -// GetLayer gets the layer property value. The layer property +// GetLayer gets the layer property value. The place where the employee is within the organizational hierarchy. func (m *PositionDetail) GetLayer()(*int32) { val, err := m.GetBackingStore().Get("layer") if err != nil { @@ -198,7 +198,7 @@ func (m *PositionDetail) GetLayer()(*int32) { } return nil } -// GetLevel gets the level property value. The level property +// GetLevel gets the level property value. The employee’s experience or management level. func (m *PositionDetail) GetLevel()(*string) { val, err := m.GetBackingStore().Get("level") if err != nil { @@ -242,7 +242,7 @@ func (m *PositionDetail) GetStartMonthYear()(*i878a80d2330e89d26896388a3f487eef2 } return nil } -// GetSummary gets the summary property value. Short summary of the position. +// GetSummary gets the summary property value. summary of the position. func (m *PositionDetail) GetSummary()(*string) { val, err := m.GetBackingStore().Get("summary") if err != nil { @@ -362,14 +362,14 @@ func (m *PositionDetail) SetJobTitle(value *string)() { panic(err) } } -// SetLayer sets the layer property value. The layer property +// SetLayer sets the layer property value. The place where the employee is within the organizational hierarchy. func (m *PositionDetail) SetLayer(value *int32)() { err := m.GetBackingStore().Set("layer", value) if err != nil { panic(err) } } -// SetLevel sets the level property value. The level property +// SetLevel sets the level property value. The employee’s experience or management level. func (m *PositionDetail) SetLevel(value *string)() { err := m.GetBackingStore().Set("level", value) if err != nil { @@ -397,7 +397,7 @@ func (m *PositionDetail) SetStartMonthYear(value *i878a80d2330e89d26896388a3f487 panic(err) } } -// SetSummary sets the summary property value. Short summary of the position. +// SetSummary sets the summary property value. summary of the position. func (m *PositionDetail) SetSummary(value *string)() { err := m.GetBackingStore().Set("summary", value) if err != nil { diff --git a/models/recommendation_type.go b/models/recommendation_type.go index 3d66fd6323c..0b4f9bd59df 100644 --- a/models/recommendation_type.go +++ b/models/recommendation_type.go @@ -38,10 +38,15 @@ const ( MANAGEDIDENTITY_RECOMMENDATIONTYPE OVERPRIVILEGEDAPPS_RECOMMENDATIONTYPE UNKNOWNFUTUREVALUE_RECOMMENDATIONTYPE + LONGLIVEDCREDENTIALS_RECOMMENDATIONTYPE + AADCONNECTDEPRECATED_RECOMMENDATIONTYPE + ADALTOMSALMIGRATION_RECOMMENDATIONTYPE + OWNERLESSAPPS_RECOMMENDATIONTYPE + INACTIVEGUESTS_RECOMMENDATIONTYPE ) func (i RecommendationType) String() string { - return []string{"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"}[i] + return []string{"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"}[i] } func ParseRecommendationType(v string) (any, error) { result := ADFSAPPSMIGRATION_RECOMMENDATIONTYPE @@ -110,6 +115,16 @@ func ParseRecommendationType(v string) (any, error) { result = OVERPRIVILEGEDAPPS_RECOMMENDATIONTYPE case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_RECOMMENDATIONTYPE + case "longLivedCredentials": + result = LONGLIVEDCREDENTIALS_RECOMMENDATIONTYPE + case "aadConnectDeprecated": + result = AADCONNECTDEPRECATED_RECOMMENDATIONTYPE + case "adalToMsalMigration": + result = ADALTOMSALMIGRATION_RECOMMENDATIONTYPE + case "ownerlessApps": + result = OWNERLESSAPPS_RECOMMENDATIONTYPE + case "inactiveGuests": + result = INACTIVEGUESTS_RECOMMENDATIONTYPE default: return 0, errors.New("Unknown RecommendationType value: " + v) } diff --git a/models/related_person.go b/models/related_person.go index 0ba1e1d666c..ab8cc536505 100644 --- a/models/related_person.go +++ b/models/related_person.go @@ -126,7 +126,7 @@ func (m *RelatedPerson) GetRelationship()(*PersonRelationship) { } return nil } -// GetUserId gets the userId property value. The userId property +// GetUserId gets the userId property value. The user's directory object ID (Microsoft Entra ID or CID). func (m *RelatedPerson) GetUserId()(*string) { val, err := m.GetBackingStore().Get("userId") if err != nil { @@ -137,7 +137,7 @@ func (m *RelatedPerson) GetUserId()(*string) { } return nil } -// GetUserPrincipalName gets the userPrincipalName property value. Email address or reference to person within organization. +// GetUserPrincipalName gets the userPrincipalName property value. Email address or reference to person within the organization. func (m *RelatedPerson) GetUserPrincipalName()(*string) { val, err := m.GetBackingStore().Get("userPrincipalName") if err != nil { @@ -221,14 +221,14 @@ func (m *RelatedPerson) SetRelationship(value *PersonRelationship)() { panic(err) } } -// SetUserId sets the userId property value. The userId property +// SetUserId sets the userId property value. The user's directory object ID (Microsoft Entra ID or CID). func (m *RelatedPerson) SetUserId(value *string)() { err := m.GetBackingStore().Set("userId", value) if err != nil { panic(err) } } -// SetUserPrincipalName sets the userPrincipalName property value. Email address or reference to person within organization. +// SetUserPrincipalName sets the userPrincipalName property value. Email address or reference to person within the organization. func (m *RelatedPerson) SetUserPrincipalName(value *string)() { err := m.GetBackingStore().Set("userPrincipalName", value) if err != nil { diff --git a/models/schedule.go b/models/schedule.go index 6726b3f50d9..85231a2ec26 100644 --- a/models/schedule.go +++ b/models/schedule.go @@ -19,6 +19,17 @@ func NewSchedule()(*Schedule) { func CreateScheduleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSchedule(), nil } +// GetDayNotes gets the dayNotes property value. The dayNotes property +func (m *Schedule) GetDayNotes()([]DayNoteable) { + val, err := m.GetBackingStore().Get("dayNotes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DayNoteable) + } + return nil +} // GetEnabled gets the enabled property value. Indicates whether the schedule is enabled for the team. Required. func (m *Schedule) GetEnabled()(*bool) { val, err := m.GetBackingStore().Get("enabled") @@ -33,6 +44,22 @@ func (m *Schedule) GetEnabled()(*bool) { // GetFieldDeserializers the deserialization information for the current model func (m *Schedule) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["dayNotes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDayNoteFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DayNoteable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DayNoteable) + } + } + m.SetDayNotes(res) + } + return nil + } res["enabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -537,6 +564,18 @@ func (m *Schedule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 if err != nil { return err } + if m.GetDayNotes() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDayNotes())) + for i, v := range m.GetDayNotes() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("dayNotes", cast) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("enabled", m.GetEnabled()) if err != nil { @@ -713,6 +752,13 @@ func (m *Schedule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 } return nil } +// SetDayNotes sets the dayNotes property value. The dayNotes property +func (m *Schedule) SetDayNotes(value []DayNoteable)() { + err := m.GetBackingStore().Set("dayNotes", value) + if err != nil { + panic(err) + } +} // SetEnabled sets the enabled property value. Indicates whether the schedule is enabled for the team. Required. func (m *Schedule) SetEnabled(value *bool)() { err := m.GetBackingStore().Set("enabled", value) @@ -864,6 +910,7 @@ func (m *Schedule) SetWorkforceIntegrationIds(value []string)() { type Scheduleable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDayNotes()([]DayNoteable) GetEnabled()(*bool) GetOfferShiftRequests()([]OfferShiftRequestable) GetOfferShiftRequestsEnabled()(*bool) @@ -885,6 +932,7 @@ type Scheduleable interface { GetTimesOff()([]TimeOffable) GetTimeZone()(*string) GetWorkforceIntegrationIds()([]string) + SetDayNotes(value []DayNoteable)() SetEnabled(value *bool)() SetOfferShiftRequests(value []OfferShiftRequestable)() SetOfferShiftRequestsEnabled(value *bool)() diff --git a/models/search_hit.go b/models/search_hit.go index 3a867524b19..4cf8a2947db 100644 --- a/models/search_hit.go +++ b/models/search_hit.go @@ -22,17 +22,6 @@ func NewSearchHit()(*SearchHit) { func CreateSearchHitFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSearchHit(), nil } -// Get_summary gets the _summary property value. The _summary property -func (m *SearchHit) Get_summary()(*string) { - val, err := m.GetBackingStore().Get("_summary") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} // GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. func (m *SearchHit) GetAdditionalData()(map[string]any) { val , err := m.backingStore.Get("additionalData") @@ -93,16 +82,6 @@ func (m *SearchHit) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 } return nil } - res["_summary"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.Set_summary(val) - } - return nil - } res["contentSource"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -363,12 +342,6 @@ func (m *SearchHit) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 return err } } - { - err := writer.WriteStringValue("_summary", m.Get_summary()) - if err != nil { - return err - } - } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -377,13 +350,6 @@ func (m *SearchHit) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 } return nil } -// Set_summary sets the _summary property value. The _summary property -func (m *SearchHit) Set_summary(value *string)() { - err := m.GetBackingStore().Set("_summary", value) - if err != nil { - panic(err) - } -} // SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. func (m *SearchHit) SetAdditionalData(value map[string]any)() { err := m.GetBackingStore().Set("additionalData", value) @@ -477,7 +443,6 @@ type SearchHitable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - Get_summary()(*string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetContentSource()(*string) GetHitId()(*string) @@ -490,7 +455,6 @@ type SearchHitable interface { GetScore()(*int32) GetSource()(Entityable) GetSummary()(*string) - Set_summary(value *string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetContentSource(value *string)() SetHitId(value *string)() diff --git a/models/security/alert.go b/models/security/alert.go index e3e4d13ea25..d8ea98a1560 100644 --- a/models/security/alert.go +++ b/models/security/alert.go @@ -120,7 +120,7 @@ func (m *Alert) GetDescription()(*string) { } return nil } -// GetDetectionSource gets the detectionSource property value. 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. +// GetDetectionSource gets the detectionSource property value. 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. func (m *Alert) GetDetectionSource()(*DetectionSource) { val, err := m.GetBackingStore().Get("detectionSource") if err != nil { @@ -976,7 +976,7 @@ func (m *Alert) SetDescription(value *string)() { panic(err) } } -// SetDetectionSource sets the detectionSource property value. 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. +// SetDetectionSource sets the detectionSource property value. 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. func (m *Alert) SetDetectionSource(value *DetectionSource)() { err := m.GetBackingStore().Set("detectionSource", value) if err != nil { diff --git a/models/send_dtmf_completion_reason.go b/models/send_dtmf_completion_reason.go new file mode 100644 index 00000000000..bf693deb510 --- /dev/null +++ b/models/send_dtmf_completion_reason.go @@ -0,0 +1,43 @@ +package models +import ( + "errors" +) +// +type SendDtmfCompletionReason int + +const ( + UNKNOWN_SENDDTMFCOMPLETIONREASON SendDtmfCompletionReason = iota + COMPLETEDSUCCESSFULLY_SENDDTMFCOMPLETIONREASON + MEDIAOPERATIONCANCELED_SENDDTMFCOMPLETIONREASON + UNKNOWNFUTUREVALUE_SENDDTMFCOMPLETIONREASON +) + +func (i SendDtmfCompletionReason) String() string { + return []string{"unknown", "completedSuccessfully", "mediaOperationCanceled", "unknownFutureValue"}[i] +} +func ParseSendDtmfCompletionReason(v string) (any, error) { + result := UNKNOWN_SENDDTMFCOMPLETIONREASON + switch v { + case "unknown": + result = UNKNOWN_SENDDTMFCOMPLETIONREASON + case "completedSuccessfully": + result = COMPLETEDSUCCESSFULLY_SENDDTMFCOMPLETIONREASON + case "mediaOperationCanceled": + result = MEDIAOPERATIONCANCELED_SENDDTMFCOMPLETIONREASON + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SENDDTMFCOMPLETIONREASON + default: + return 0, errors.New("Unknown SendDtmfCompletionReason value: " + v) + } + return &result, nil +} +func SerializeSendDtmfCompletionReason(values []SendDtmfCompletionReason) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SendDtmfCompletionReason) isMultiValue() bool { + return false +} diff --git a/models/send_dtmf_tones_operation.go b/models/send_dtmf_tones_operation.go new file mode 100644 index 00000000000..a907a0fea2f --- /dev/null +++ b/models/send_dtmf_tones_operation.go @@ -0,0 +1,76 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// SendDtmfTonesOperation +type SendDtmfTonesOperation struct { + CommsOperation +} +// NewSendDtmfTonesOperation instantiates a new sendDtmfTonesOperation and sets the default values. +func NewSendDtmfTonesOperation()(*SendDtmfTonesOperation) { + m := &SendDtmfTonesOperation{ + CommsOperation: *NewCommsOperation(), + } + return m +} +// CreateSendDtmfTonesOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateSendDtmfTonesOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSendDtmfTonesOperation(), nil +} +// GetCompletionReason gets the completionReason property value. The results of the action. Possible values are: unknown, completedSuccessfully, mediaOperationCanceled, unknownfutureValue. +func (m *SendDtmfTonesOperation) GetCompletionReason()(*SendDtmfCompletionReason) { + val, err := m.GetBackingStore().Get("completionReason") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SendDtmfCompletionReason) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *SendDtmfTonesOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CommsOperation.GetFieldDeserializers() + res["completionReason"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSendDtmfCompletionReason) + if err != nil { + return err + } + if val != nil { + m.SetCompletionReason(val.(*SendDtmfCompletionReason)) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *SendDtmfTonesOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CommsOperation.Serialize(writer) + if err != nil { + return err + } + if m.GetCompletionReason() != nil { + cast := (*m.GetCompletionReason()).String() + err = writer.WriteStringValue("completionReason", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCompletionReason sets the completionReason property value. The results of the action. Possible values are: unknown, completedSuccessfully, mediaOperationCanceled, unknownfutureValue. +func (m *SendDtmfTonesOperation) SetCompletionReason(value *SendDtmfCompletionReason)() { + err := m.GetBackingStore().Set("completionReason", value) + if err != nil { + panic(err) + } +} +// SendDtmfTonesOperationable +type SendDtmfTonesOperationable interface { + CommsOperationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCompletionReason()(*SendDtmfCompletionReason) + SetCompletionReason(value *SendDtmfCompletionReason)() +} diff --git a/models/user.go b/models/user.go index 62837a20ed7..d9bcaa670b8 100644 --- a/models/user.go +++ b/models/user.go @@ -3374,7 +3374,7 @@ func (m *User) GetSecurityIdentifier()(*string) { } return nil } -// GetServiceProvisioningErrors gets the serviceProvisioningErrors property value. 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). +// GetServiceProvisioningErrors gets the serviceProvisioningErrors property value. Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *User) GetServiceProvisioningErrors()([]ServiceProvisioningErrorable) { val, err := m.GetBackingStore().Get("serviceProvisioningErrors") if err != nil { @@ -5761,7 +5761,7 @@ func (m *User) SetSecurityIdentifier(value *string)() { panic(err) } } -// SetServiceProvisioningErrors sets the serviceProvisioningErrors property value. 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). +// SetServiceProvisioningErrors sets the serviceProvisioningErrors property value. Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *User) SetServiceProvisioningErrors(value []ServiceProvisioningErrorable)() { err := m.GetBackingStore().Set("serviceProvisioningErrors", value) if err != nil { diff --git a/models/vendor_escaped.go b/models/vendor_escaped.go index 8469573bc38..376368c87f7 100644 --- a/models/vendor_escaped.go +++ b/models/vendor_escaped.go @@ -792,3 +792,53 @@ func (m *VendorEscaped) SetWebsite(value *string)() { panic(err) } } +// VendorEscapedable +type VendorEscapedable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAddress()(PostalAddressTypeable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBalance()(*float64) + GetBlocked()(*string) + GetCurrency()(Currencyable) + GetCurrencyCode()(*string) + GetCurrencyId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetDisplayName()(*string) + GetEmail()(*string) + GetId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetNumber()(*string) + GetOdataType()(*string) + GetPaymentMethod()(PaymentMethodable) + GetPaymentMethodId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetPaymentTerm()(PaymentTermable) + GetPaymentTermsId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetPhoneNumber()(*string) + GetPicture()([]Pictureable) + GetTaxLiable()(*bool) + GetTaxRegistrationNumber()(*string) + GetWebsite()(*string) + SetAddress(value PostalAddressTypeable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBalance(value *float64)() + SetBlocked(value *string)() + SetCurrency(value Currencyable)() + SetCurrencyCode(value *string)() + SetCurrencyId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetDisplayName(value *string)() + SetEmail(value *string)() + SetId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetNumber(value *string)() + SetOdataType(value *string)() + SetPaymentMethod(value PaymentMethodable)() + SetPaymentMethodId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetPaymentTerm(value PaymentTermable)() + SetPaymentTermsId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetPhoneNumber(value *string)() + SetPicture(value []Pictureable)() + SetTaxLiable(value *bool)() + SetTaxRegistrationNumber(value *string)() + SetWebsite(value *string)() +} diff --git a/models/vendor_escapedable.go b/models/vendor_escapedable.go deleted file mode 100644 index 54b10410140..00000000000 --- a/models/vendor_escapedable.go +++ /dev/null @@ -1,59 +0,0 @@ -package models - -import ( - i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" - i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22 "github.com/google/uuid" - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" -) - -// VendorEscapedable -type VendorEscapedable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder - ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAddress()(PostalAddressTypeable) - GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetBalance()(*float64) - GetBlocked()(*string) - GetCurrency()(Currencyable) - GetCurrencyCode()(*string) - GetCurrencyId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) - GetDisplayName()(*string) - GetEmail()(*string) - GetId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) - GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - GetNumber()(*string) - GetOdataType()(*string) - GetPaymentMethod()(PaymentMethodable) - GetPaymentMethodId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) - GetPaymentTerm()(PaymentTermable) - GetPaymentTermsId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) - GetPhoneNumber()(*string) - GetPicture()([]Pictureable) - GetTaxLiable()(*bool) - GetTaxRegistrationNumber()(*string) - GetWebsite()(*string) - SetAddress(value PostalAddressTypeable)() - SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetBalance(value *float64)() - SetBlocked(value *string)() - SetCurrency(value Currencyable)() - SetCurrencyCode(value *string)() - SetCurrencyId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() - SetDisplayName(value *string)() - SetEmail(value *string)() - SetId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() - SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() - SetNumber(value *string)() - SetOdataType(value *string)() - SetPaymentMethod(value PaymentMethodable)() - SetPaymentMethodId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() - SetPaymentTerm(value PaymentTermable)() - SetPaymentTermsId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() - SetPhoneNumber(value *string)() - SetPicture(value []Pictureable)() - SetTaxLiable(value *bool)() - SetTaxRegistrationNumber(value *string)() - SetWebsite(value *string)() -} diff --git a/models/virtual_event.go b/models/virtual_event.go index 851843bba70..e70bf0c53a4 100644 --- a/models/virtual_event.go +++ b/models/virtual_event.go @@ -29,6 +29,8 @@ func CreateVirtualEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388 } if mappingValue != nil { switch *mappingValue { + case "#microsoft.graph.virtualEventTownhall": + return NewVirtualEventTownhall(), nil case "#microsoft.graph.virtualEventWebinar": return NewVirtualEventWebinar(), nil } @@ -49,13 +51,13 @@ func (m *VirtualEvent) GetCreatedBy()(CommunicationsIdentitySetable) { return nil } // GetDescription gets the description property value. Description of the virtual event. -func (m *VirtualEvent) GetDescription()(*string) { +func (m *VirtualEvent) GetDescription()(ItemBodyable) { val, err := m.GetBackingStore().Get("description") if err != nil { panic(err) } if val != nil { - return val.(*string) + return val.(ItemBodyable) } return nil } @@ -95,12 +97,12 @@ func (m *VirtualEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 return nil } res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() + val, err := n.GetObjectValue(CreateItemBodyFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetDescription(val) + m.SetDescription(val.(ItemBodyable)) } return nil } @@ -235,7 +237,7 @@ func (m *VirtualEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e } } { - err = writer.WriteStringValue("description", m.GetDescription()) + err = writer.WriteObjectValue("description", m.GetDescription()) if err != nil { return err } @@ -299,7 +301,7 @@ func (m *VirtualEvent) SetCreatedBy(value CommunicationsIdentitySetable)() { } } // SetDescription sets the description property value. Description of the virtual event. -func (m *VirtualEvent) SetDescription(value *string)() { +func (m *VirtualEvent) SetDescription(value ItemBodyable)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) @@ -352,7 +354,7 @@ type VirtualEventable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCreatedBy()(CommunicationsIdentitySetable) - GetDescription()(*string) + GetDescription()(ItemBodyable) GetDisplayName()(*string) GetEndDateTime()(DateTimeTimeZoneable) GetPresenters()([]VirtualEventPresenterable) @@ -360,7 +362,7 @@ type VirtualEventable interface { GetStartDateTime()(DateTimeTimeZoneable) GetStatus()(*VirtualEventStatus) SetCreatedBy(value CommunicationsIdentitySetable)() - SetDescription(value *string)() + SetDescription(value ItemBodyable)() SetDisplayName(value *string)() SetEndDateTime(value DateTimeTimeZoneable)() SetPresenters(value []VirtualEventPresenterable)() diff --git a/models/virtual_event_presenter.go b/models/virtual_event_presenter.go index 3344545ec10..04e79798373 100644 --- a/models/virtual_event_presenter.go +++ b/models/virtual_event_presenter.go @@ -63,6 +63,32 @@ func (m *VirtualEventPresenter) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["profilePhoto"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetByteArrayValue() + if err != nil { + return err + } + if val != nil { + m.SetProfilePhoto(val) + } + return nil + } + res["sessions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateVirtualEventSessionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]VirtualEventSessionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(VirtualEventSessionable) + } + } + m.SetSessions(res) + } + return nil + } return res } // GetIdentity gets the identity property value. Identity information of the presenter. @@ -87,6 +113,28 @@ func (m *VirtualEventPresenter) GetPresenterDetails()(VirtualEventPresenterDetai } return nil } +// GetProfilePhoto gets the profilePhoto property value. The profilePhoto property +func (m *VirtualEventPresenter) GetProfilePhoto()([]byte) { + val, err := m.GetBackingStore().Get("profilePhoto") + if err != nil { + panic(err) + } + if val != nil { + return val.([]byte) + } + return nil +} +// GetSessions gets the sessions property value. The sessions property +func (m *VirtualEventPresenter) GetSessions()([]VirtualEventSessionable) { + val, err := m.GetBackingStore().Get("sessions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]VirtualEventSessionable) + } + return nil +} // Serialize serializes information the current object func (m *VirtualEventPresenter) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -111,6 +159,24 @@ func (m *VirtualEventPresenter) Serialize(writer i878a80d2330e89d26896388a3f487e return err } } + { + err = writer.WriteByteArrayValue("profilePhoto", m.GetProfilePhoto()) + if err != nil { + return err + } + } + if m.GetSessions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSessions())) + for i, v := range m.GetSessions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("sessions", cast) + if err != nil { + return err + } + } return nil } // SetEmail sets the email property value. Email address of the presenter. @@ -134,6 +200,20 @@ func (m *VirtualEventPresenter) SetPresenterDetails(value VirtualEventPresenterD panic(err) } } +// SetProfilePhoto sets the profilePhoto property value. The profilePhoto property +func (m *VirtualEventPresenter) SetProfilePhoto(value []byte)() { + err := m.GetBackingStore().Set("profilePhoto", value) + if err != nil { + panic(err) + } +} +// SetSessions sets the sessions property value. The sessions property +func (m *VirtualEventPresenter) SetSessions(value []VirtualEventSessionable)() { + err := m.GetBackingStore().Set("sessions", value) + if err != nil { + panic(err) + } +} // VirtualEventPresenterable type VirtualEventPresenterable interface { Entityable @@ -141,7 +221,11 @@ type VirtualEventPresenterable interface { GetEmail()(*string) GetIdentity()(CommunicationsUserIdentityable) GetPresenterDetails()(VirtualEventPresenterDetailsable) + GetProfilePhoto()([]byte) + GetSessions()([]VirtualEventSessionable) SetEmail(value *string)() SetIdentity(value CommunicationsUserIdentityable)() SetPresenterDetails(value VirtualEventPresenterDetailsable)() + SetProfilePhoto(value []byte)() + SetSessions(value []VirtualEventSessionable)() } diff --git a/models/virtual_event_session.go b/models/virtual_event_session.go index 9415f193d72..f20ac51df7c 100644 --- a/models/virtual_event_session.go +++ b/models/virtual_event_session.go @@ -6,22 +6,61 @@ import ( // VirtualEventSession type VirtualEventSession struct { - OnlineMeeting + OnlineMeetingBase } // NewVirtualEventSession instantiates a new virtualEventSession and sets the default values. func NewVirtualEventSession()(*VirtualEventSession) { m := &VirtualEventSession{ - OnlineMeeting: *NewOnlineMeeting(), + OnlineMeetingBase: *NewOnlineMeetingBase(), } + odataTypeValue := "#microsoft.graph.virtualEventSession" + m.SetOdataType(&odataTypeValue) return m } // CreateVirtualEventSessionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value func CreateVirtualEventSessionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewVirtualEventSession(), nil } +// GetEndDateTime gets the endDateTime property value. The endDateTime property +func (m *VirtualEventSession) GetEndDateTime()(DateTimeTimeZoneable) { + val, err := m.GetBackingStore().Get("endDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(DateTimeTimeZoneable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model func (m *VirtualEventSession) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.OnlineMeeting.GetFieldDeserializers() + res := m.OnlineMeetingBase.GetFieldDeserializers() + res["endDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDateTimeTimeZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetEndDateTime(val.(DateTimeTimeZoneable)) + } + return nil + } + res["presenters"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateVirtualEventPresenterFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]VirtualEventPresenterable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(VirtualEventPresenterable) + } + } + m.SetPresenters(res) + } + return nil + } res["registrations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateVirtualEventRegistrationFromDiscriminatorValue) if err != nil { @@ -38,8 +77,29 @@ func (m *VirtualEventSession) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["startDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDateTimeTimeZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetStartDateTime(val.(DateTimeTimeZoneable)) + } + return nil + } return res } +// GetPresenters gets the presenters property value. The presenters property +func (m *VirtualEventSession) GetPresenters()([]VirtualEventPresenterable) { + val, err := m.GetBackingStore().Get("presenters") + if err != nil { + panic(err) + } + if val != nil { + return val.([]VirtualEventPresenterable) + } + return nil +} // GetRegistrations gets the registrations property value. Registration records of this virtual event session. func (m *VirtualEventSession) GetRegistrations()([]VirtualEventRegistrationable) { val, err := m.GetBackingStore().Get("registrations") @@ -51,12 +111,41 @@ func (m *VirtualEventSession) GetRegistrations()([]VirtualEventRegistrationable) } return nil } +// GetStartDateTime gets the startDateTime property value. The startDateTime property +func (m *VirtualEventSession) GetStartDateTime()(DateTimeTimeZoneable) { + val, err := m.GetBackingStore().Get("startDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(DateTimeTimeZoneable) + } + return nil +} // Serialize serializes information the current object func (m *VirtualEventSession) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.OnlineMeeting.Serialize(writer) + err := m.OnlineMeetingBase.Serialize(writer) if err != nil { return err } + { + err = writer.WriteObjectValue("endDateTime", m.GetEndDateTime()) + if err != nil { + return err + } + } + if m.GetPresenters() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPresenters())) + for i, v := range m.GetPresenters() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("presenters", cast) + if err != nil { + return err + } + } if m.GetRegistrations() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRegistrations())) for i, v := range m.GetRegistrations() { @@ -69,8 +158,28 @@ func (m *VirtualEventSession) Serialize(writer i878a80d2330e89d26896388a3f487eef return err } } + { + err = writer.WriteObjectValue("startDateTime", m.GetStartDateTime()) + if err != nil { + return err + } + } return nil } +// SetEndDateTime sets the endDateTime property value. The endDateTime property +func (m *VirtualEventSession) SetEndDateTime(value DateTimeTimeZoneable)() { + err := m.GetBackingStore().Set("endDateTime", value) + if err != nil { + panic(err) + } +} +// SetPresenters sets the presenters property value. The presenters property +func (m *VirtualEventSession) SetPresenters(value []VirtualEventPresenterable)() { + err := m.GetBackingStore().Set("presenters", value) + if err != nil { + panic(err) + } +} // SetRegistrations sets the registrations property value. Registration records of this virtual event session. func (m *VirtualEventSession) SetRegistrations(value []VirtualEventRegistrationable)() { err := m.GetBackingStore().Set("registrations", value) @@ -78,10 +187,23 @@ func (m *VirtualEventSession) SetRegistrations(value []VirtualEventRegistrationa panic(err) } } +// SetStartDateTime sets the startDateTime property value. The startDateTime property +func (m *VirtualEventSession) SetStartDateTime(value DateTimeTimeZoneable)() { + err := m.GetBackingStore().Set("startDateTime", value) + if err != nil { + panic(err) + } +} // VirtualEventSessionable type VirtualEventSessionable interface { - OnlineMeetingable + OnlineMeetingBaseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetEndDateTime()(DateTimeTimeZoneable) + GetPresenters()([]VirtualEventPresenterable) GetRegistrations()([]VirtualEventRegistrationable) + GetStartDateTime()(DateTimeTimeZoneable) + SetEndDateTime(value DateTimeTimeZoneable)() + SetPresenters(value []VirtualEventPresenterable)() SetRegistrations(value []VirtualEventRegistrationable)() + SetStartDateTime(value DateTimeTimeZoneable)() } diff --git a/models/virtual_event_townhall.go b/models/virtual_event_townhall.go new file mode 100644 index 00000000000..fd6dc66b1b5 --- /dev/null +++ b/models/virtual_event_townhall.go @@ -0,0 +1,208 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// VirtualEventTownhall +type VirtualEventTownhall struct { + VirtualEvent +} +// NewVirtualEventTownhall instantiates a new virtualEventTownhall and sets the default values. +func NewVirtualEventTownhall()(*VirtualEventTownhall) { + m := &VirtualEventTownhall{ + VirtualEvent: *NewVirtualEvent(), + } + return m +} +// CreateVirtualEventTownhallFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +func CreateVirtualEventTownhallFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventTownhall(), nil +} +// GetAudience gets the audience property value. The audience property +func (m *VirtualEventTownhall) GetAudience()(*MeetingAudience) { + val, err := m.GetBackingStore().Get("audience") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MeetingAudience) + } + return nil +} +// GetCoOrganizers gets the coOrganizers property value. The coOrganizers property +func (m *VirtualEventTownhall) GetCoOrganizers()([]CommunicationsUserIdentityable) { + val, err := m.GetBackingStore().Get("coOrganizers") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CommunicationsUserIdentityable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +func (m *VirtualEventTownhall) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.VirtualEvent.GetFieldDeserializers() + res["audience"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseMeetingAudience) + if err != nil { + return err + } + if val != nil { + m.SetAudience(val.(*MeetingAudience)) + } + return nil + } + res["coOrganizers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCommunicationsUserIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CommunicationsUserIdentityable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CommunicationsUserIdentityable) + } + } + m.SetCoOrganizers(res) + } + return nil + } + res["invitedAttendees"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCommunicationsUserIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CommunicationsUserIdentityable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CommunicationsUserIdentityable) + } + } + m.SetInvitedAttendees(res) + } + return nil + } + res["isInviteOnly"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsInviteOnly(val) + } + return nil + } + return res +} +// GetInvitedAttendees gets the invitedAttendees property value. The invitedAttendees property +func (m *VirtualEventTownhall) GetInvitedAttendees()([]CommunicationsUserIdentityable) { + val, err := m.GetBackingStore().Get("invitedAttendees") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CommunicationsUserIdentityable) + } + return nil +} +// GetIsInviteOnly gets the isInviteOnly property value. The isInviteOnly property +func (m *VirtualEventTownhall) GetIsInviteOnly()(*bool) { + val, err := m.GetBackingStore().Get("isInviteOnly") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEventTownhall) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.VirtualEvent.Serialize(writer) + if err != nil { + return err + } + if m.GetAudience() != nil { + cast := (*m.GetAudience()).String() + err = writer.WriteStringValue("audience", &cast) + if err != nil { + return err + } + } + if m.GetCoOrganizers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCoOrganizers())) + for i, v := range m.GetCoOrganizers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("coOrganizers", cast) + if err != nil { + return err + } + } + if m.GetInvitedAttendees() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetInvitedAttendees())) + for i, v := range m.GetInvitedAttendees() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("invitedAttendees", cast) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isInviteOnly", m.GetIsInviteOnly()) + if err != nil { + return err + } + } + return nil +} +// SetAudience sets the audience property value. The audience property +func (m *VirtualEventTownhall) SetAudience(value *MeetingAudience)() { + err := m.GetBackingStore().Set("audience", value) + if err != nil { + panic(err) + } +} +// SetCoOrganizers sets the coOrganizers property value. The coOrganizers property +func (m *VirtualEventTownhall) SetCoOrganizers(value []CommunicationsUserIdentityable)() { + err := m.GetBackingStore().Set("coOrganizers", value) + if err != nil { + panic(err) + } +} +// SetInvitedAttendees sets the invitedAttendees property value. The invitedAttendees property +func (m *VirtualEventTownhall) SetInvitedAttendees(value []CommunicationsUserIdentityable)() { + err := m.GetBackingStore().Set("invitedAttendees", value) + if err != nil { + panic(err) + } +} +// SetIsInviteOnly sets the isInviteOnly property value. The isInviteOnly property +func (m *VirtualEventTownhall) SetIsInviteOnly(value *bool)() { + err := m.GetBackingStore().Set("isInviteOnly", value) + if err != nil { + panic(err) + } +} +// VirtualEventTownhallable +type VirtualEventTownhallable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + VirtualEventable + GetAudience()(*MeetingAudience) + GetCoOrganizers()([]CommunicationsUserIdentityable) + GetInvitedAttendees()([]CommunicationsUserIdentityable) + GetIsInviteOnly()(*bool) + SetAudience(value *MeetingAudience)() + SetCoOrganizers(value []CommunicationsUserIdentityable)() + SetInvitedAttendees(value []CommunicationsUserIdentityable)() + SetIsInviteOnly(value *bool)() +} diff --git a/models/windows_app_x_app_assignment_settings.go b/models/windows_app_x_app_assignment_settings.go index f38f5bee38d..fe04ee9a3f9 100644 --- a/models/windows_app_x_app_assignment_settings.go +++ b/models/windows_app_x_app_assignment_settings.go @@ -36,7 +36,7 @@ func (m *WindowsAppXAppAssignmentSettings) GetFieldDeserializers()(map[string]fu } return res } -// GetUseDeviceContext gets the useDeviceContext property value. 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. +// GetUseDeviceContext gets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. func (m *WindowsAppXAppAssignmentSettings) GetUseDeviceContext()(*bool) { val, err := m.GetBackingStore().Get("useDeviceContext") if err != nil { @@ -61,7 +61,7 @@ func (m *WindowsAppXAppAssignmentSettings) Serialize(writer i878a80d2330e89d2689 } return nil } -// SetUseDeviceContext sets the useDeviceContext property value. 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. +// SetUseDeviceContext sets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. func (m *WindowsAppXAppAssignmentSettings) SetUseDeviceContext(value *bool)() { err := m.GetBackingStore().Set("useDeviceContext", value) if err != nil { diff --git a/monitoring/alert_records_alert_record_item_request_builder.go b/monitoring/alert_records_alert_record_item_request_builder.go index ef9bda86cf5..dc564492995 100644 --- a/monitoring/alert_records_alert_record_item_request_builder.go +++ b/monitoring/alert_records_alert_record_item_request_builder.go @@ -125,7 +125,7 @@ func (m *AlertRecordsAlertRecordItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an alertRecord object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *AlertRecordsAlertRecordItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property alertRecords in monitoring @@ -154,7 +154,7 @@ func (m *AlertRecordsAlertRecordItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go b/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go index eb4157522cb..b33ecc10b5d 100644 --- a/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go +++ b/monitoring/alert_records_item_microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.go @@ -59,7 +59,7 @@ func (m *AlertRecordsItemMicrosoftGraphDeviceManagementSetPortalNotificationAsSe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/monitoring/alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go b/monitoring/alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go index fab4c1ef723..0287ff19327 100644 --- a/monitoring/alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go +++ b/monitoring/alert_records_microsoft_graph_device_management_get_portal_notifications_request_builder.go @@ -97,7 +97,7 @@ func (m *AlertRecordsMicrosoftGraphDeviceManagementGetPortalNotificationsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/monitoring/alert_records_request_builder.go b/monitoring/alert_records_request_builder.go index ea37db653fb..aa571ac2fb6 100644 --- a/monitoring/alert_records_request_builder.go +++ b/monitoring/alert_records_request_builder.go @@ -132,7 +132,7 @@ func (m *AlertRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to alertRecords for monitoring @@ -145,7 +145,7 @@ func (m *AlertRecordsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/monitoring/alert_rules_alert_rule_item_request_builder.go b/monitoring/alert_rules_alert_rule_item_request_builder.go index 1ffacece845..8e908ea8dd0 100644 --- a/monitoring/alert_rules_alert_rule_item_request_builder.go +++ b/monitoring/alert_rules_alert_rule_item_request_builder.go @@ -124,7 +124,7 @@ func (m *AlertRulesAlertRuleItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an alertRule object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *AlertRulesAlertRuleItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an alertRule object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *AlertRulesAlertRuleItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/monitoring/alert_rules_request_builder.go b/monitoring/alert_rules_request_builder.go index eb67c0721f3..c1fc26db481 100644 --- a/monitoring/alert_rules_request_builder.go +++ b/monitoring/alert_rules_request_builder.go @@ -131,7 +131,7 @@ func (m *AlertRulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an alertRule object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *AlertRulesRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/monitoring/monitoring_request_builder.go b/monitoring/monitoring_request_builder.go index 9ed13beeb9e..b650992deb3 100644 --- a/monitoring/monitoring_request_builder.go +++ b/monitoring/monitoring_request_builder.go @@ -106,7 +106,7 @@ func (m *MonitoringRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update monitoring @@ -119,7 +119,7 @@ func (m *MonitoringRequestBuilder) ToPatchRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_branch_site_item_request_builder.go b/networkaccess/connectivity_branches_branch_site_item_request_builder.go index ea0a08d8373..e85e93fe9de 100644 --- a/networkaccess/connectivity_branches_branch_site_item_request_builder.go +++ b/networkaccess/connectivity_branches_branch_site_item_request_builder.go @@ -139,7 +139,7 @@ func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve information about a specific branch. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the configuration or properties of a specific branch. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *ConnectivityBranchesBranchSiteItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_item_connectivity_configuration_links_connectivity_configuration_link_item_request_builder.go b/networkaccess/connectivity_branches_item_connectivity_configuration_links_connectivity_configuration_link_item_request_builder.go index a4c1bb94ad3..047d80cc819 100644 --- a/networkaccess/connectivity_branches_item_connectivity_configuration_links_connectivity_configuration_link_item_request_builder.go +++ b/networkaccess/connectivity_branches_item_connectivity_configuration_links_connectivity_configuration_link_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationLinksConnectivityConfi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of connectivity configurations for deviceLink objects. @@ -134,7 +134,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationLinksConnectivityConfi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property links in networkAccess @@ -147,7 +147,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationLinksConnectivityConfi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_item_connectivity_configuration_links_request_builder.go b/networkaccess/connectivity_branches_item_connectivity_configuration_links_request_builder.go index 8b5439b622c..d9b9a6ea74d 100644 --- a/networkaccess/connectivity_branches_item_connectivity_configuration_links_request_builder.go +++ b/networkaccess/connectivity_branches_item_connectivity_configuration_links_request_builder.go @@ -125,7 +125,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationLinksRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to links for networkAccess @@ -138,7 +138,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationLinksRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go b/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go index 4a644ff1f1a..c7c648eb456 100644 --- a/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go +++ b/networkaccess/connectivity_branches_item_connectivity_configuration_request_builder.go @@ -125,7 +125,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property connectivityConfiguration in networkAccess @@ -154,7 +154,7 @@ func (m *ConnectivityBranchesItemConnectivityConfigurationRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go b/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go index de9e8cb5e5e..ce4735331b9 100644 --- a/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go +++ b/networkaccess/connectivity_branches_item_device_links_device_link_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the device link associated with a specific branch. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the device link associated with a specific branch. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ConnectivityBranchesItemDeviceLinksDeviceLinkItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_item_device_links_request_builder.go b/networkaccess/connectivity_branches_item_device_links_request_builder.go index 0151c95f546..8e465a222cc 100644 --- a/networkaccess/connectivity_branches_item_device_links_request_builder.go +++ b/networkaccess/connectivity_branches_item_device_links_request_builder.go @@ -131,7 +131,7 @@ func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a branch site with associated device links. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ConnectivityBranchesItemDeviceLinksRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_forwarding_profile_item_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_forwarding_profile_item_request_builder.go index b0ca82c3dc9..d2a9d4194f8 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_forwarding_profile_item_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_forwarding_profile_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesForwardingProfileItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation each forwarding profile associated with a branch site is specified. Supports $expand. @@ -138,7 +138,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesForwardingProfileItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property forwardingProfiles in networkAccess @@ -151,7 +151,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesForwardingProfileItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_item_policy_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_item_policy_request_builder.go index 9acb2b4b1c6..20e73020715 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_item_policy_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_item_policy_request_builder.go @@ -72,7 +72,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesItemPolicyRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go index f693b0d29ad..002383056c4 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_policy_link_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation traffic forwarding policies associated with this profile. @@ -138,7 +138,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policies in networkAccess @@ -151,7 +151,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesPolicyLinkItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go index 14075dc0926..7283066b6e1 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_item_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to policies for networkAccess @@ -138,7 +138,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesItemPoliciesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go b/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go index 567b9a51d6b..c4c09a427ad 100644 --- a/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go +++ b/networkaccess/connectivity_branches_item_forwarding_profiles_request_builder.go @@ -128,7 +128,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to forwardingProfiles for networkAccess @@ -141,7 +141,7 @@ func (m *ConnectivityBranchesItemForwardingProfilesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_branches_request_builder.go b/networkaccess/connectivity_branches_request_builder.go index 2f22d4f65c3..ea6b37fa600 100644 --- a/networkaccess/connectivity_branches_request_builder.go +++ b/networkaccess/connectivity_branches_request_builder.go @@ -131,7 +131,7 @@ func (m *ConnectivityBranchesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new branch. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ConnectivityBranchesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/connectivity_request_builder.go b/networkaccess/connectivity_request_builder.go index 0c7a9c4d987..0d8c804369a 100644 --- a/networkaccess/connectivity_request_builder.go +++ b/networkaccess/connectivity_request_builder.go @@ -122,7 +122,7 @@ func (m *ConnectivityRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation connectivity represents all the connectivity components in Global Secure Access. @@ -138,7 +138,7 @@ func (m *ConnectivityRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property connectivity in networkAccess @@ -151,7 +151,7 @@ func (m *ConnectivityRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go b/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go index f4cf9249302..82abc1ead41 100644 --- a/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go +++ b/networkaccess/forwarding_policies_forwarding_policy_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ForwardingPoliciesForwardingPolicyItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve information about a specific forwarding policy. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ForwardingPoliciesForwardingPolicyItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property forwardingPolicies in networkAccess @@ -158,7 +158,7 @@ func (m *ForwardingPoliciesForwardingPolicyItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go b/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go index 63558f31599..04c2cf548e1 100644 --- a/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go +++ b/networkaccess/forwarding_policies_item_microsoft_graph_networkaccess_update_policy_rules_request_builder.go @@ -59,7 +59,7 @@ func (m *ForwardingPoliciesItemMicrosoftGraphNetworkaccessUpdatePolicyRulesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/forwarding_policies_item_policy_rules_policy_rule_item_request_builder.go b/networkaccess/forwarding_policies_item_policy_rules_policy_rule_item_request_builder.go index 7ab6d3184f1..163bf2c2204 100644 --- a/networkaccess/forwarding_policies_item_policy_rules_policy_rule_item_request_builder.go +++ b/networkaccess/forwarding_policies_item_policy_rules_policy_rule_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ForwardingPoliciesItemPolicyRulesPolicyRuleItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the definition of the policy ruleset that makes up the core definition of a policy. @@ -134,7 +134,7 @@ func (m *ForwardingPoliciesItemPolicyRulesPolicyRuleItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policyRules in networkAccess @@ -147,7 +147,7 @@ func (m *ForwardingPoliciesItemPolicyRulesPolicyRuleItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/forwarding_policies_item_policy_rules_request_builder.go b/networkaccess/forwarding_policies_item_policy_rules_request_builder.go index cc23f7fcac5..fee216b2387 100644 --- a/networkaccess/forwarding_policies_item_policy_rules_request_builder.go +++ b/networkaccess/forwarding_policies_item_policy_rules_request_builder.go @@ -125,7 +125,7 @@ func (m *ForwardingPoliciesItemPolicyRulesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to policyRules for networkAccess @@ -138,7 +138,7 @@ func (m *ForwardingPoliciesItemPolicyRulesRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/forwarding_policies_request_builder.go b/networkaccess/forwarding_policies_request_builder.go index 017c3e72aa9..91ab18c5e71 100644 --- a/networkaccess/forwarding_policies_request_builder.go +++ b/networkaccess/forwarding_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ForwardingPoliciesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to forwardingPolicies for networkAccess @@ -138,7 +138,7 @@ func (m *ForwardingPoliciesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go b/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go index d53b886f45e..04e873ecc18 100644 --- a/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go +++ b/networkaccess/forwarding_profiles_forwarding_profile_item_request_builder.go @@ -128,7 +128,7 @@ func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve information about a specific forwarding profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update an existing forwarding profile. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ForwardingProfilesForwardingProfileItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/forwarding_profiles_item_policies_item_policy_request_builder.go b/networkaccess/forwarding_profiles_item_policies_item_policy_request_builder.go index 7429267bb35..9d37a29ace1 100644 --- a/networkaccess/forwarding_profiles_item_policies_item_policy_request_builder.go +++ b/networkaccess/forwarding_profiles_item_policies_item_policy_request_builder.go @@ -72,7 +72,7 @@ func (m *ForwardingProfilesItemPoliciesItemPolicyRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/forwarding_profiles_item_policies_policy_link_item_request_builder.go b/networkaccess/forwarding_profiles_item_policies_policy_link_item_request_builder.go index 0265f16f81f..774fb168ebb 100644 --- a/networkaccess/forwarding_profiles_item_policies_policy_link_item_request_builder.go +++ b/networkaccess/forwarding_profiles_item_policies_policy_link_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation traffic forwarding policies associated with this profile. @@ -138,7 +138,7 @@ func (m *ForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policies in networkAccess @@ -151,7 +151,7 @@ func (m *ForwardingProfilesItemPoliciesPolicyLinkItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/forwarding_profiles_item_policies_request_builder.go b/networkaccess/forwarding_profiles_item_policies_request_builder.go index 5028f8c4632..2e381a40021 100644 --- a/networkaccess/forwarding_profiles_item_policies_request_builder.go +++ b/networkaccess/forwarding_profiles_item_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ForwardingProfilesItemPoliciesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to policies for networkAccess @@ -138,7 +138,7 @@ func (m *ForwardingProfilesItemPoliciesRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/forwarding_profiles_request_builder.go b/networkaccess/forwarding_profiles_request_builder.go index 562946b3cf4..80a3b98ca45 100644 --- a/networkaccess/forwarding_profiles_request_builder.go +++ b/networkaccess/forwarding_profiles_request_builder.go @@ -128,7 +128,7 @@ func (m *ForwardingProfilesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to forwardingProfiles for networkAccess @@ -141,7 +141,7 @@ func (m *ForwardingProfilesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/logs_request_builder.go b/networkaccess/logs_request_builder.go index 927e230dded..c6eb8be4909 100644 --- a/networkaccess/logs_request_builder.go +++ b/networkaccess/logs_request_builder.go @@ -118,7 +118,7 @@ func (m *LogsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents network connections that are routed through Global Secure Access. @@ -134,7 +134,7 @@ func (m *LogsRequestBuilder) ToGetRequestInformation(ctx context.Context, reques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property logs in networkAccess @@ -147,7 +147,7 @@ func (m *LogsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/logs_traffic_network_access_traffic_transaction_item_request_builder.go b/networkaccess/logs_traffic_network_access_traffic_transaction_item_request_builder.go index 7b7d7418491..4e471b4a5eb 100644 --- a/networkaccess/logs_traffic_network_access_traffic_transaction_item_request_builder.go +++ b/networkaccess/logs_traffic_network_access_traffic_transaction_item_request_builder.go @@ -118,7 +118,7 @@ func (m *LogsTrafficNetworkAccessTrafficTransactionItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents a collection of log entries in the network access traffic log. @@ -134,7 +134,7 @@ func (m *LogsTrafficNetworkAccessTrafficTransactionItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property traffic in networkAccess @@ -147,7 +147,7 @@ func (m *LogsTrafficNetworkAccessTrafficTransactionItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/logs_traffic_request_builder.go b/networkaccess/logs_traffic_request_builder.go index 508d955de3f..ee6f98e0df3 100644 --- a/networkaccess/logs_traffic_request_builder.go +++ b/networkaccess/logs_traffic_request_builder.go @@ -128,7 +128,7 @@ func (m *LogsTrafficRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to traffic for networkAccess @@ -141,7 +141,7 @@ func (m *LogsTrafficRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/microsoft_graph_networkaccess_onboard_request_builder.go b/networkaccess/microsoft_graph_networkaccess_onboard_request_builder.go index b7c49881308..2b88dc1aa81 100644 --- a/networkaccess/microsoft_graph_networkaccess_onboard_request_builder.go +++ b/networkaccess/microsoft_graph_networkaccess_onboard_request_builder.go @@ -56,7 +56,7 @@ func (m *MicrosoftGraphNetworkaccessOnboardRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/network_access_request_builder.go b/networkaccess/network_access_request_builder.go index 6ad8134bbe5..4c6889f54d5 100644 --- a/networkaccess/network_access_request_builder.go +++ b/networkaccess/network_access_request_builder.go @@ -130,7 +130,7 @@ func (m *NetworkAccessRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update networkAccess @@ -143,7 +143,7 @@ func (m *NetworkAccessRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/reports_microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time_request_builder.go index a73ffc315af..d4f5a36f60a 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time_request_builder.go index ef9589ee81c..ef8fc9ff8ca 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time_request_builder.go index 6a9c0d960e7..9c7e4a9e7a4 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go index 3b2360af77a..233e4b06f6a 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.go index a5b6b1c6531..43317c79d2b 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.go @@ -70,7 +70,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTim requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.go index 91e512e7660..647e5b26bf7 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.go @@ -107,7 +107,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.go index 92929133c13..87e7b7170fd 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.go @@ -70,7 +70,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTim requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time_request_builder.go index 13d0eb113e4..ec95d5bdd15 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeW requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go index 1b4be385fba..4d8c5e20969 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTime requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time_request_builder.go index e9224fb6502..7850ae3954d 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time_request_builder.go b/networkaccess/reports_microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time_request_builder.go index 54d55c81ab1..5c7d7b347a0 100644 --- a/networkaccess/reports_microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time_request_builder.go +++ b/networkaccess/reports_microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time_request_builder.go @@ -104,7 +104,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/networkaccess/reports_request_builder.go b/networkaccess/reports_request_builder.go index 8aff3e11756..c90ce8ac8cc 100644 --- a/networkaccess/reports_request_builder.go +++ b/networkaccess/reports_request_builder.go @@ -163,7 +163,7 @@ func (m *ReportsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the status of the Global Secure Access services for the tenant. @@ -179,7 +179,7 @@ func (m *ReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property reports in networkAccess @@ -192,7 +192,7 @@ func (m *ReportsRequestBuilder) ToPatchRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/settings_conditional_access_request_builder.go b/networkaccess/settings_conditional_access_request_builder.go index 5a73e71472d..2e50278f4ed 100644 --- a/networkaccess/settings_conditional_access_request_builder.go +++ b/networkaccess/settings_conditional_access_request_builder.go @@ -124,7 +124,7 @@ func (m *SettingsConditionalAccessRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *SettingsConditionalAccessRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *SettingsConditionalAccessRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/settings_cross_tenant_access_request_builder.go b/networkaccess/settings_cross_tenant_access_request_builder.go index 85cc506a159..3eb2cb5ec20 100644 --- a/networkaccess/settings_cross_tenant_access_request_builder.go +++ b/networkaccess/settings_cross_tenant_access_request_builder.go @@ -124,7 +124,7 @@ func (m *SettingsCrossTenantAccessRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *SettingsCrossTenantAccessRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *SettingsCrossTenantAccessRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/settings_enriched_audit_logs_request_builder.go b/networkaccess/settings_enriched_audit_logs_request_builder.go index 3539d1632d1..6a1b7676b84 100644 --- a/networkaccess/settings_enriched_audit_logs_request_builder.go +++ b/networkaccess/settings_enriched_audit_logs_request_builder.go @@ -121,7 +121,7 @@ func (m *SettingsEnrichedAuditLogsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get enrichedAuditLogs from networkAccess @@ -137,7 +137,7 @@ func (m *SettingsEnrichedAuditLogsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -150,7 +150,7 @@ func (m *SettingsEnrichedAuditLogsRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/settings_forwarding_options_request_builder.go b/networkaccess/settings_forwarding_options_request_builder.go index 45eac0f3776..5897086dc73 100644 --- a/networkaccess/settings_forwarding_options_request_builder.go +++ b/networkaccess/settings_forwarding_options_request_builder.go @@ -124,7 +124,7 @@ func (m *SettingsForwardingOptionsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *SettingsForwardingOptionsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *SettingsForwardingOptionsRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/settings_request_builder.go b/networkaccess/settings_request_builder.go index 3380fc41a18..3498699b886 100644 --- a/networkaccess/settings_request_builder.go +++ b/networkaccess/settings_request_builder.go @@ -134,7 +134,7 @@ func (m *SettingsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation global Secure Access settings. @@ -150,7 +150,7 @@ func (m *SettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in networkAccess @@ -163,7 +163,7 @@ func (m *SettingsRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/networkaccess/tenant_status_request_builder.go b/networkaccess/tenant_status_request_builder.go index 78963621c6d..35c1af7371f 100644 --- a/networkaccess/tenant_status_request_builder.go +++ b/networkaccess/tenant_status_request_builder.go @@ -121,7 +121,7 @@ func (m *TenantStatusRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the onboarding status of a specific tenant. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *TenantStatusRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tenantStatus in networkAccess @@ -150,7 +150,7 @@ func (m *TenantStatusRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/oauth2permissiongrants/delta_request_builder.go b/oauth2permissiongrants/delta_request_builder.go index 28ee4973f9d..6c636cdba88 100644 --- a/oauth2permissiongrants/delta_request_builder.go +++ b/oauth2permissiongrants/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go b/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go index 841bb8a04ea..21e3dee9402 100644 --- a/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go +++ b/oauth2permissiongrants/o_auth2_permission_grant_item_request_builder.go @@ -127,7 +127,7 @@ func (m *OAuth2PermissionGrantItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *OAuth2PermissionGrantItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *OAuth2PermissionGrantItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/oauth2permissiongrants/oauth2_permission_grants_request_builder.go b/oauth2permissiongrants/oauth2_permission_grants_request_builder.go index 814e7c2a8ba..7d30a18f04f 100644 --- a/oauth2permissiongrants/oauth2_permission_grants_request_builder.go +++ b/oauth2permissiongrants/oauth2_permission_grants_request_builder.go @@ -135,7 +135,7 @@ func (m *Oauth2PermissionGrantsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *Oauth2PermissionGrantsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_item_ref_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_item_ref_request_builder.go index cc38b820505..e3844ce2009 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *ItemAgentGroupsItemAgentsItemAgentGroupsItemRefRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_ref_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_ref_request_builder.go index 03475eccfee..3dd0694de6d 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_ref_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemAgentGroupsItemAgentsItemAgentGroupsRefRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to agentGroups for onPremisesPublishingProfiles @@ -116,7 +116,7 @@ func (m *ItemAgentGroupsItemAgentsItemAgentGroupsRefRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_request_builder.go index a23e0101967..9119346bbc8 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_item_agent_groups_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemAgentGroupsItemAgentsItemAgentGroupsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_on_premises_agent_item_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_on_premises_agent_item_request_builder.go index ea75d1a0b25..e8ecad017ea 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_on_premises_agent_item_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_on_premises_agent_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemAgentGroupsItemAgentsOnPremisesAgentItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of onPremisesAgent that are assigned to an onPremisesAgentGroup. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemAgentGroupsItemAgentsOnPremisesAgentItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property agents in onPremisesPublishingProfiles @@ -151,7 +151,7 @@ func (m *ItemAgentGroupsItemAgentsOnPremisesAgentItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agent_groups_item_agents_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_agents_request_builder.go index af0db190a1d..32975f334b4 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_agents_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_agents_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemAgentGroupsItemAgentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to agents for onPremisesPublishingProfiles @@ -138,7 +138,7 @@ func (m *ItemAgentGroupsItemAgentsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_item_ref_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_item_ref_request_builder.go index c0b56d24697..16cd0966f56 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsItemRefRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_ref_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_ref_request_builder.go index 1158a447796..009bf033f15 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_ref_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRefRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to agentGroups for onPremisesPublishingProfiles @@ -116,7 +116,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRefRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_request_builder.go index aa825b00d40..9ee8eec8018 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_item_agent_groups_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to agentGroups for onPremisesPublishingProfiles @@ -142,7 +142,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesItemAgentGroupsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_published_resource_item_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_published_resource_item_request_builder.go index 2581c785392..ad187930b78 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_published_resource_item_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_published_resource_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesPublishedResourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of publishedResource that are assigned to an onPremisesAgentGroup. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesPublishedResourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property publishedResources in onPremisesPublishingProfiles @@ -151,7 +151,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesPublishedResourceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_request_builder.go index 2935429b819..7950f9afb98 100644 --- a/onpremisespublishingprofiles/item_agent_groups_item_published_resources_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_item_published_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to publishedResources for onPremisesPublishingProfiles @@ -138,7 +138,7 @@ func (m *ItemAgentGroupsItemPublishedResourcesRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go index 850e3deae2f..dcb85280f8f 100644 --- a/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_on_premises_agent_group_item_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an onPremisesAgentGroup object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an onPremisesAgentGroup object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *ItemAgentGroupsOnPremisesAgentGroupItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_agent_groups_request_builder.go index 5131527716f..cdadbb3a55b 100644 --- a/onpremisespublishingprofiles/item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_agent_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemAgentGroupsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new onPremisesAgentGroup object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemAgentGroupsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agents_item_agent_groups_item_ref_request_builder.go b/onpremisespublishingprofiles/item_agents_item_agent_groups_item_ref_request_builder.go index b39d4e52ad7..1371d9c73ea 100644 --- a/onpremisespublishingprofiles/item_agents_item_agent_groups_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_item_agent_groups_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *ItemAgentsItemAgentGroupsItemRefRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_agents_item_agent_groups_ref_request_builder.go b/onpremisespublishingprofiles/item_agents_item_agent_groups_ref_request_builder.go index 9da185efa06..22227c89479 100644 --- a/onpremisespublishingprofiles/item_agents_item_agent_groups_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_item_agent_groups_ref_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemAgentsItemAgentGroupsRefRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to agentGroups for onPremisesPublishingProfiles @@ -116,7 +116,7 @@ func (m *ItemAgentsItemAgentGroupsRefRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agents_item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_agents_item_agent_groups_request_builder.go index 8674b7cf19b..372193c9558 100644 --- a/onpremisespublishingprofiles/item_agents_item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_item_agent_groups_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemAgentsItemAgentGroupsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go b/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go index 8de5698e149..7d250539361 100644 --- a/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_on_premises_agent_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemAgentsOnPremisesAgentItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an onPremisesAgent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemAgentsOnPremisesAgentItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property agents in onPremisesPublishingProfiles @@ -154,7 +154,7 @@ func (m *ItemAgentsOnPremisesAgentItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_agents_request_builder.go b/onpremisespublishingprofiles/item_agents_request_builder.go index bfc62594b74..33692e13e76 100644 --- a/onpremisespublishingprofiles/item_agents_request_builder.go +++ b/onpremisespublishingprofiles/item_agents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemAgentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to agents for onPremisesPublishingProfiles @@ -141,7 +141,7 @@ func (m *ItemAgentsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go index 3b7fdba86d6..a5f2effb8b5 100644 --- a/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_connector_group_item_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of a connectorGroup. @@ -151,7 +151,7 @@ func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a connectorGroup object. @@ -164,7 +164,7 @@ func (m *ItemConnectorGroupsConnectorGroupItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_connector_groups_item_applications_application_item_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_applications_application_item_request_builder.go index e5aaaa578df..1cdaec2719d 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_applications_application_item_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_applications_application_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemConnectorGroupsItemApplicationsApplicationItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_connector_groups_item_applications_item_logo_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_applications_item_logo_request_builder.go index d86e8a87bbe..d8e213f3da4 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_applications_item_logo_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_applications_item_logo_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemConnectorGroupsItemApplicationsItemLogoRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the main logo for the application. Not nullable. @@ -98,7 +98,7 @@ func (m *ItemConnectorGroupsItemApplicationsItemLogoRequestBuilder) ToPutRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/onpremisespublishingprofiles/item_connector_groups_item_applications_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_applications_request_builder.go index 34f47b094cb..6b1817c7c6d 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_applications_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_applications_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemConnectorGroupsItemApplicationsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_connector_groups_item_members_item_ref_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_members_item_ref_request_builder.go index c92d7a7ab4e..e2e0d59558e 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_members_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_members_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *ItemConnectorGroupsItemMembersItemRefRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_connector_groups_item_members_ref_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_members_ref_request_builder.go index 964a2fd3069..89da59198f2 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_members_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_members_ref_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemConnectorGroupsItemMembersRefRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to members for onPremisesPublishingProfiles @@ -116,7 +116,7 @@ func (m *ItemConnectorGroupsItemMembersRefRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_connector_groups_item_members_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_item_members_request_builder.go index 3c0490da0ac..dace4fced98 100644 --- a/onpremisespublishingprofiles/item_connector_groups_item_members_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_item_members_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemConnectorGroupsItemMembersRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_connector_groups_request_builder.go b/onpremisespublishingprofiles/item_connector_groups_request_builder.go index 8436922c4a8..0deea0eefa8 100644 --- a/onpremisespublishingprofiles/item_connector_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_connector_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemConnectorGroupsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a connectorGroup object. @@ -144,7 +144,7 @@ func (m *ItemConnectorGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go b/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go index bf51fadc792..1f786abfae1 100644 --- a/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_connector_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemConnectorsConnectorItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a connector object. @@ -141,7 +141,7 @@ func (m *ItemConnectorsConnectorItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property connectors in onPremisesPublishingProfiles @@ -154,7 +154,7 @@ func (m *ItemConnectorsConnectorItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_connectors_item_member_of_item_ref_request_builder.go b/onpremisespublishingprofiles/item_connectors_item_member_of_item_ref_request_builder.go index cda5877110e..a8dfb2f11ba 100644 --- a/onpremisespublishingprofiles/item_connectors_item_member_of_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_item_member_of_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *ItemConnectorsItemMemberOfItemRefRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_connectors_item_member_of_ref_request_builder.go b/onpremisespublishingprofiles/item_connectors_item_member_of_ref_request_builder.go index a16b804e7a5..b5edf8a69b0 100644 --- a/onpremisespublishingprofiles/item_connectors_item_member_of_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_item_member_of_ref_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemConnectorsItemMemberOfRefRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to memberOf for onPremisesPublishingProfiles @@ -116,7 +116,7 @@ func (m *ItemConnectorsItemMemberOfRefRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_connectors_item_member_of_request_builder.go b/onpremisespublishingprofiles/item_connectors_item_member_of_request_builder.go index 8f5c20c0d6d..9cbb7fecd56 100644 --- a/onpremisespublishingprofiles/item_connectors_item_member_of_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_item_member_of_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemConnectorsItemMemberOfRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_connectors_request_builder.go b/onpremisespublishingprofiles/item_connectors_request_builder.go index 477cd352bb9..db3638125b8 100644 --- a/onpremisespublishingprofiles/item_connectors_request_builder.go +++ b/onpremisespublishingprofiles/item_connectors_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to connectors for onPremisesPublishingProfiles @@ -141,7 +141,7 @@ func (m *ItemConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_item_ref_request_builder.go b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_item_ref_request_builder.go index e93eb6f7942..0b3197b15ac 100644 --- a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_item_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_item_ref_request_builder.go @@ -66,7 +66,7 @@ func (m *ItemPublishedResourcesItemAgentGroupsItemRefRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_ref_request_builder.go b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_ref_request_builder.go index 16f0065627b..49121e90fe6 100644 --- a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_ref_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_ref_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemPublishedResourcesItemAgentGroupsRefRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property ref to agentGroups for onPremisesPublishingProfiles @@ -116,7 +116,7 @@ func (m *ItemPublishedResourcesItemAgentGroupsRefRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_request_builder.go b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_request_builder.go index 6813b32eacc..3dfe0256c7c 100644 --- a/onpremisespublishingprofiles/item_published_resources_item_agent_groups_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_item_agent_groups_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemPublishedResourcesItemAgentGroupsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to agentGroups for onPremisesPublishingProfiles @@ -142,7 +142,7 @@ func (m *ItemPublishedResourcesItemAgentGroupsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go b/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go index 17e8bbbcf7a..2ebaf63448f 100644 --- a/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_published_resource_item_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of publishedResource object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of published resource publishedResource object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemPublishedResourcesPublishedResourceItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/item_published_resources_request_builder.go b/onpremisespublishingprofiles/item_published_resources_request_builder.go index e3d480c0786..465fc3e81a0 100644 --- a/onpremisespublishingprofiles/item_published_resources_request_builder.go +++ b/onpremisespublishingprofiles/item_published_resources_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemPublishedResourcesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new publishedResource object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemPublishedResourcesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go b/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go index bf6c846cc4b..e8156c6ea3e 100644 --- a/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go +++ b/onpremisespublishingprofiles/on_premises_publishing_profile_item_request_builder.go @@ -138,7 +138,7 @@ func (m *OnPremisesPublishingProfileItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from onPremisesPublishingProfiles by key @@ -154,7 +154,7 @@ func (m *OnPremisesPublishingProfileItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in onPremisesPublishingProfiles @@ -167,7 +167,7 @@ func (m *OnPremisesPublishingProfileItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/onpremisespublishingprofiles/on_premises_publishing_profiles_request_builder.go b/onpremisespublishingprofiles/on_premises_publishing_profiles_request_builder.go index 2118d7feaf8..ccf136683f1 100644 --- a/onpremisespublishingprofiles/on_premises_publishing_profiles_request_builder.go +++ b/onpremisespublishingprofiles/on_premises_publishing_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *OnPremisesPublishingProfilesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to onPremisesPublishingProfiles @@ -138,7 +138,7 @@ func (m *OnPremisesPublishingProfilesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/delta_request_builder.go b/organization/delta_request_builder.go index 45e13a5dffa..a2593237d82 100644 --- a/organization/delta_request_builder.go +++ b/organization/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/organization/get_by_ids_request_builder.go b/organization/get_by_ids_request_builder.go index c6745e63fc0..5dd59e3418d 100644 --- a/organization/get_by_ids_request_builder.go +++ b/organization/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/get_user_owned_objects_request_builder.go b/organization/get_user_owned_objects_request_builder.go index 2bf8c6c50ef..8ba5da9d747 100644 --- a/organization/get_user_owned_objects_request_builder.go +++ b/organization/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_branding_background_image_request_builder.go b/organization/item_branding_background_image_request_builder.go index 696c953c18b..6265e42a6a1 100644 --- a/organization/item_branding_background_image_request_builder.go +++ b/organization/item_branding_background_image_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingBackgroundImageRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation 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. @@ -101,7 +101,7 @@ func (m *ItemBrandingBackgroundImageRequestBuilder) ToPutRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_banner_logo_request_builder.go b/organization/item_branding_banner_logo_request_builder.go index bb90624e447..ce5a108c77d 100644 --- a/organization/item_branding_banner_logo_request_builder.go +++ b/organization/item_branding_banner_logo_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingBannerLogoRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation 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. @@ -101,7 +101,7 @@ func (m *ItemBrandingBannerLogoRequestBuilder) ToPutRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_custom_c_s_s_request_builder.go b/organization/item_branding_custom_c_s_s_request_builder.go index da515f4824a..3a39e005b0a 100644 --- a/organization/item_branding_custom_c_s_s_request_builder.go +++ b/organization/item_branding_custom_c_s_s_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingCustomCSSRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation cSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. @@ -101,7 +101,7 @@ func (m *ItemBrandingCustomCSSRequestBuilder) ToPutRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_favicon_request_builder.go b/organization/item_branding_favicon_request_builder.go index 4cc50985749..212ef4965af 100644 --- a/organization/item_branding_favicon_request_builder.go +++ b/organization/item_branding_favicon_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingFaviconRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation a custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. @@ -101,7 +101,7 @@ func (m *ItemBrandingFaviconRequestBuilder) ToPutRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_header_logo_request_builder.go b/organization/item_branding_header_logo_request_builder.go index 8c3292a5680..b443f341f70 100644 --- a/organization/item_branding_header_logo_request_builder.go +++ b/organization/item_branding_header_logo_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingHeaderLogoRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation 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. @@ -101,7 +101,7 @@ func (m *ItemBrandingHeaderLogoRequestBuilder) ToPutRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_localizations_item_background_image_request_builder.go b/organization/item_branding_localizations_item_background_image_request_builder.go index 869d54a46a0..047eabb4ab5 100644 --- a/organization/item_branding_localizations_item_background_image_request_builder.go +++ b/organization/item_branding_localizations_item_background_image_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingLocalizationsItemBackgroundImageRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation 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. @@ -101,7 +101,7 @@ func (m *ItemBrandingLocalizationsItemBackgroundImageRequestBuilder) ToPutReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_localizations_item_banner_logo_request_builder.go b/organization/item_branding_localizations_item_banner_logo_request_builder.go index b52415f6794..79425f1358f 100644 --- a/organization/item_branding_localizations_item_banner_logo_request_builder.go +++ b/organization/item_branding_localizations_item_banner_logo_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation 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. @@ -101,7 +101,7 @@ func (m *ItemBrandingLocalizationsItemBannerLogoRequestBuilder) ToPutRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go b/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go index da57189f007..fc000bb8974 100644 --- a/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go +++ b/organization/item_branding_localizations_item_custom_c_s_s_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingLocalizationsItemCustomCSSRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation cSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. @@ -101,7 +101,7 @@ func (m *ItemBrandingLocalizationsItemCustomCSSRequestBuilder) ToPutRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_localizations_item_favicon_request_builder.go b/organization/item_branding_localizations_item_favicon_request_builder.go index cd3d133aa03..075413097be 100644 --- a/organization/item_branding_localizations_item_favicon_request_builder.go +++ b/organization/item_branding_localizations_item_favicon_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingLocalizationsItemFaviconRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation a custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. @@ -101,7 +101,7 @@ func (m *ItemBrandingLocalizationsItemFaviconRequestBuilder) ToPutRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_localizations_item_header_logo_request_builder.go b/organization/item_branding_localizations_item_header_logo_request_builder.go index 0be6fd79954..d77ba6ad568 100644 --- a/organization/item_branding_localizations_item_header_logo_request_builder.go +++ b/organization/item_branding_localizations_item_header_logo_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingLocalizationsItemHeaderLogoRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation 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. @@ -101,7 +101,7 @@ func (m *ItemBrandingLocalizationsItemHeaderLogoRequestBuilder) ToPutRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_localizations_item_square_logo_dark_request_builder.go b/organization/item_branding_localizations_item_square_logo_dark_request_builder.go index 2f0b2cd3e16..63b3e6e260b 100644 --- a/organization/item_branding_localizations_item_square_logo_dark_request_builder.go +++ b/organization/item_branding_localizations_item_square_logo_dark_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingLocalizationsItemSquareLogoDarkRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation 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. @@ -101,7 +101,7 @@ func (m *ItemBrandingLocalizationsItemSquareLogoDarkRequestBuilder) ToPutRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_localizations_item_square_logo_request_builder.go b/organization/item_branding_localizations_item_square_logo_request_builder.go index f686b9f817f..a7f658ab9d7 100644 --- a/organization/item_branding_localizations_item_square_logo_request_builder.go +++ b/organization/item_branding_localizations_item_square_logo_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingLocalizationsItemSquareLogoRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation 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. @@ -101,7 +101,7 @@ func (m *ItemBrandingLocalizationsItemSquareLogoRequestBuilder) ToPutRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go b/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go index 6ad6f45a328..a83b993303c 100644 --- a/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go +++ b/organization/item_branding_localizations_organizational_branding_localization_item_request_builder.go @@ -155,7 +155,7 @@ func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -171,7 +171,7 @@ func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an organizationalBrandingLocalization object for a specific localization. This API is available in the following national cloud deployments. @@ -184,7 +184,7 @@ func (m *ItemBrandingLocalizationsOrganizationalBrandingLocalizationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_branding_localizations_request_builder.go b/organization/item_branding_localizations_request_builder.go index 40db0d91469..e717291eb1a 100644 --- a/organization/item_branding_localizations_request_builder.go +++ b/organization/item_branding_localizations_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemBrandingLocalizationsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemBrandingLocalizationsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_branding_request_builder.go b/organization/item_branding_request_builder.go index 2cd96a30a7e..9e07871ab7d 100644 --- a/organization/item_branding_request_builder.go +++ b/organization/item_branding_request_builder.go @@ -159,7 +159,7 @@ func (m *ItemBrandingRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -175,7 +175,7 @@ func (m *ItemBrandingRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of the default branding object specified by the organizationalBranding resource. This API is available in the following national cloud deployments. @@ -188,7 +188,7 @@ func (m *ItemBrandingRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_branding_square_logo_dark_request_builder.go b/organization/item_branding_square_logo_dark_request_builder.go index 4470b7b2146..385b1ab5f69 100644 --- a/organization/item_branding_square_logo_dark_request_builder.go +++ b/organization/item_branding_square_logo_dark_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingSquareLogoDarkRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation 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. @@ -101,7 +101,7 @@ func (m *ItemBrandingSquareLogoDarkRequestBuilder) ToPutRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_branding_square_logo_request_builder.go b/organization/item_branding_square_logo_request_builder.go index bc19361da7e..fc947df2aa1 100644 --- a/organization/item_branding_square_logo_request_builder.go +++ b/organization/item_branding_square_logo_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemBrandingSquareLogoRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return requestInfo, nil } // ToPutRequestInformation 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. @@ -101,7 +101,7 @@ func (m *ItemBrandingSquareLogoRequestBuilder) ToPutRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, contentType) return requestInfo, nil } diff --git a/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go b/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go index 691f70c8c4d..4ea301b7927 100644 --- a/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go +++ b/organization/item_certificate_based_auth_configuration_certificate_based_auth_configuration_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties of a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. @@ -114,7 +114,7 @@ func (m *ItemCertificateBasedAuthConfigurationCertificateBasedAuthConfigurationI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/organization/item_certificate_based_auth_configuration_request_builder.go b/organization/item_certificate_based_auth_configuration_request_builder.go index 02ba866fcc6..32ba7854d0d 100644 --- a/organization/item_certificate_based_auth_configuration_request_builder.go +++ b/organization/item_certificate_based_auth_configuration_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemCertificateBasedAuthConfigurationRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_check_member_groups_request_builder.go b/organization/item_check_member_groups_request_builder.go index c1dc1729146..e2013429535 100644 --- a/organization/item_check_member_groups_request_builder.go +++ b/organization/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_check_member_objects_request_builder.go b/organization/item_check_member_objects_request_builder.go index 3d0dc4b652d..7fb28f09a18 100644 --- a/organization/item_check_member_objects_request_builder.go +++ b/organization/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_extensions_extension_item_request_builder.go b/organization/item_extensions_extension_item_request_builder.go index 819f443b725..877b74fcc1e 100644 --- a/organization/item_extensions_extension_item_request_builder.go +++ b/organization/item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for the organization resource. Nullable. @@ -134,7 +134,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in organization @@ -147,7 +147,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_extensions_request_builder.go b/organization/item_extensions_request_builder.go index 10905716bed..d8a2ad4b9e7 100644 --- a/organization/item_extensions_request_builder.go +++ b/organization/item_extensions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for organization @@ -138,7 +138,7 @@ func (m *ItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_get_member_groups_request_builder.go b/organization/item_get_member_groups_request_builder.go index feae5980a14..173f483dd6a 100644 --- a/organization/item_get_member_groups_request_builder.go +++ b/organization/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_get_member_objects_request_builder.go b/organization/item_get_member_objects_request_builder.go index 6a03f2e8bef..66b9c70bdc5 100644 --- a/organization/item_get_member_objects_request_builder.go +++ b/organization/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_partner_information_request_builder.go b/organization/item_partner_information_request_builder.go index 9b7747872ab..0929f9e9427 100644 --- a/organization/item_partner_information_request_builder.go +++ b/organization/item_partner_information_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPartnerInformationRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get partnerInformation from organization @@ -134,7 +134,7 @@ func (m *ItemPartnerInformationRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property partnerInformation in organization @@ -147,7 +147,7 @@ func (m *ItemPartnerInformationRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_restore_request_builder.go b/organization/item_restore_request_builder.go index 9b28bc6e024..2f53d4904da 100644 --- a/organization/item_restore_request_builder.go +++ b/organization/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/organization/item_set_mobile_device_management_authority_request_builder.go b/organization/item_set_mobile_device_management_authority_request_builder.go index bd830fd0b6a..4ae77a57468 100644 --- a/organization/item_set_mobile_device_management_authority_request_builder.go +++ b/organization/item_set_mobile_device_management_authority_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemSetMobileDeviceManagementAuthorityRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/organization/item_settings_contact_insights_request_builder.go b/organization/item_settings_contact_insights_request_builder.go index 0bdce3f476b..3d2425845d8 100644 --- a/organization/item_settings_contact_insights_request_builder.go +++ b/organization/item_settings_contact_insights_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemSettingsContactInsightsRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemSettingsContactInsightsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *ItemSettingsContactInsightsRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_settings_item_insights_request_builder.go b/organization/item_settings_item_insights_request_builder.go index 4210a832f6c..89116e0d3f8 100644 --- a/organization/item_settings_item_insights_request_builder.go +++ b/organization/item_settings_item_insights_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_settings_microsoft_application_data_access_request_builder.go b/organization/item_settings_microsoft_application_data_access_request_builder.go index 066a84aa609..196b0b7e2d4 100644 --- a/organization/item_settings_microsoft_application_data_access_request_builder.go +++ b/organization/item_settings_microsoft_application_data_access_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *ItemSettingsMicrosoftApplicationDataAccessRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_settings_people_insights_request_builder.go b/organization/item_settings_people_insights_request_builder.go index 61c42caa5d7..8691490b618 100644 --- a/organization/item_settings_people_insights_request_builder.go +++ b/organization/item_settings_people_insights_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *ItemSettingsPeopleInsightsRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/item_settings_request_builder.go b/organization/item_settings_request_builder.go index bab20311846..ad43133b526 100644 --- a/organization/item_settings_request_builder.go +++ b/organization/item_settings_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemSettingsRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of organizationSettings object. Nullable. @@ -150,7 +150,7 @@ func (m *ItemSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in organization @@ -163,7 +163,7 @@ func (m *ItemSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/organization_item_request_builder.go b/organization/organization_item_request_builder.go index 1da8695dc8e..6845fd7189f 100644 --- a/organization/organization_item_request_builder.go +++ b/organization/organization_item_request_builder.go @@ -168,7 +168,7 @@ func (m *OrganizationItemRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -184,7 +184,7 @@ func (m *OrganizationItemRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -197,7 +197,7 @@ func (m *OrganizationItemRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/organization_request_builder.go b/organization/organization_request_builder.go index d18e8564fd5..95a64f3f865 100644 --- a/organization/organization_request_builder.go +++ b/organization/organization_request_builder.go @@ -140,7 +140,7 @@ func (m *OrganizationRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to organization @@ -153,7 +153,7 @@ func (m *OrganizationRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/organization/validate_properties_request_builder.go b/organization/validate_properties_request_builder.go index df6e42dbec2..feb28b8652a 100644 --- a/organization/validate_properties_request_builder.go +++ b/organization/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/payloadresponse/payload_response_item_request_builder.go b/payloadresponse/payload_response_item_request_builder.go index 936ac4a7839..99f922817a8 100644 --- a/payloadresponse/payload_response_item_request_builder.go +++ b/payloadresponse/payload_response_item_request_builder.go @@ -118,7 +118,7 @@ func (m *PayloadResponseItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from payloadResponse by key @@ -134,7 +134,7 @@ func (m *PayloadResponseItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in payloadResponse @@ -147,7 +147,7 @@ func (m *PayloadResponseItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/payloadresponse/payload_response_request_builder.go b/payloadresponse/payload_response_request_builder.go index b0790cdb0b6..ea0ee537b6d 100644 --- a/payloadresponse/payload_response_request_builder.go +++ b/payloadresponse/payload_response_request_builder.go @@ -125,7 +125,7 @@ func (m *PayloadResponseRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to payloadResponse @@ -138,7 +138,7 @@ func (m *PayloadResponseRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/permissiongrants/delta_request_builder.go b/permissiongrants/delta_request_builder.go index 1d14e1582e6..de052303b51 100644 --- a/permissiongrants/delta_request_builder.go +++ b/permissiongrants/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/permissiongrants/get_by_ids_request_builder.go b/permissiongrants/get_by_ids_request_builder.go index 6ce63e72202..17cd75bf73d 100644 --- a/permissiongrants/get_by_ids_request_builder.go +++ b/permissiongrants/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/permissiongrants/get_user_owned_objects_request_builder.go b/permissiongrants/get_user_owned_objects_request_builder.go index c71f86ee8d7..2445c6d1282 100644 --- a/permissiongrants/get_user_owned_objects_request_builder.go +++ b/permissiongrants/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/permissiongrants/item_check_member_groups_request_builder.go b/permissiongrants/item_check_member_groups_request_builder.go index a240ce48ed6..9c9204823a9 100644 --- a/permissiongrants/item_check_member_groups_request_builder.go +++ b/permissiongrants/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/permissiongrants/item_check_member_objects_request_builder.go b/permissiongrants/item_check_member_objects_request_builder.go index d598ac6d692..83b122d0737 100644 --- a/permissiongrants/item_check_member_objects_request_builder.go +++ b/permissiongrants/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/permissiongrants/item_get_member_groups_request_builder.go b/permissiongrants/item_get_member_groups_request_builder.go index 208c81ee315..99a77a647c1 100644 --- a/permissiongrants/item_get_member_groups_request_builder.go +++ b/permissiongrants/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/permissiongrants/item_get_member_objects_request_builder.go b/permissiongrants/item_get_member_objects_request_builder.go index 77ade02e976..88e152c406a 100644 --- a/permissiongrants/item_get_member_objects_request_builder.go +++ b/permissiongrants/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/permissiongrants/item_restore_request_builder.go b/permissiongrants/item_restore_request_builder.go index f428b7b1cdc..822986432fb 100644 --- a/permissiongrants/item_restore_request_builder.go +++ b/permissiongrants/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/permissiongrants/permission_grants_request_builder.go b/permissiongrants/permission_grants_request_builder.go index c4ffac800ce..5f9343e7a05 100644 --- a/permissiongrants/permission_grants_request_builder.go +++ b/permissiongrants/permission_grants_request_builder.go @@ -127,7 +127,7 @@ func (m *PermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to permissionGrants @@ -140,7 +140,7 @@ func (m *PermissionGrantsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/permissiongrants/resource_specific_permission_grant_item_request_builder.go b/permissiongrants/resource_specific_permission_grant_item_request_builder.go index 8f24f365eb6..e1445e953d3 100644 --- a/permissiongrants/resource_specific_permission_grant_item_request_builder.go +++ b/permissiongrants/resource_specific_permission_grant_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ResourceSpecificPermissionGrantItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from permissionGrants by key @@ -154,7 +154,7 @@ func (m *ResourceSpecificPermissionGrantItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in permissionGrants @@ -167,7 +167,7 @@ func (m *ResourceSpecificPermissionGrantItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/permissiongrants/validate_properties_request_builder.go b/permissiongrants/validate_properties_request_builder.go index 3ebc123efe3..5f2af5eb6b1 100644 --- a/permissiongrants/validate_properties_request_builder.go +++ b/permissiongrants/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/places/graph_room_list_request_builder.go b/places/graph_room_list_request_builder.go index 1ca5f43d13e..1c820b37495 100644 --- a/places/graph_room_list_request_builder.go +++ b/places/graph_room_list_request_builder.go @@ -88,7 +88,7 @@ func (m *GraphRoomListRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/places/graph_room_request_builder.go b/places/graph_room_request_builder.go index 8cc7a82dc5d..f29bdc1073f 100644 --- a/places/graph_room_request_builder.go +++ b/places/graph_room_request_builder.go @@ -88,7 +88,7 @@ func (m *GraphRoomRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/places/item_graph_room_list_request_builder.go b/places/item_graph_room_list_request_builder.go index 24cf9f3c184..13314feecc4 100644 --- a/places/item_graph_room_list_request_builder.go +++ b/places/item_graph_room_list_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemGraphRoomListRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/places/item_graph_room_list_rooms_request_builder.go b/places/item_graph_room_list_rooms_request_builder.go index 6cca835b369..4b7da27de84 100644 --- a/places/item_graph_room_list_rooms_request_builder.go +++ b/places/item_graph_room_list_rooms_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemGraphRoomListRoomsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to rooms for places @@ -138,7 +138,7 @@ func (m *ItemGraphRoomListRoomsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/places/item_graph_room_list_rooms_room_item_request_builder.go b/places/item_graph_room_list_rooms_room_item_request_builder.go index 1888965e7df..cddfb79330f 100644 --- a/places/item_graph_room_list_rooms_room_item_request_builder.go +++ b/places/item_graph_room_list_rooms_room_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemGraphRoomListRoomsRoomItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get rooms from places @@ -134,7 +134,7 @@ func (m *ItemGraphRoomListRoomsRoomItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property rooms in places @@ -147,7 +147,7 @@ func (m *ItemGraphRoomListRoomsRoomItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/places/item_graph_room_list_workspaces_request_builder.go b/places/item_graph_room_list_workspaces_request_builder.go index 8aed669a322..32046d07996 100644 --- a/places/item_graph_room_list_workspaces_request_builder.go +++ b/places/item_graph_room_list_workspaces_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemGraphRoomListWorkspacesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to workspaces for places @@ -138,7 +138,7 @@ func (m *ItemGraphRoomListWorkspacesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/places/item_graph_room_list_workspaces_workspace_item_request_builder.go b/places/item_graph_room_list_workspaces_workspace_item_request_builder.go index fe722a98809..b181c286218 100644 --- a/places/item_graph_room_list_workspaces_workspace_item_request_builder.go +++ b/places/item_graph_room_list_workspaces_workspace_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get workspaces from places @@ -134,7 +134,7 @@ func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property workspaces in places @@ -147,7 +147,7 @@ func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/places/item_graph_room_request_builder.go b/places/item_graph_room_request_builder.go index 37406589a03..849b22c331c 100644 --- a/places/item_graph_room_request_builder.go +++ b/places/item_graph_room_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemGraphRoomRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/places/place_item_request_builder.go b/places/place_item_request_builder.go index 36b31b85449..ff320226105 100644 --- a/places/place_item_request_builder.go +++ b/places/place_item_request_builder.go @@ -94,7 +94,7 @@ func (m *PlaceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -107,7 +107,7 @@ func (m *PlaceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/buckets_delta_request_builder.go b/planner/buckets_delta_request_builder.go index beb43cb30f5..39d017e95a9 100644 --- a/planner/buckets_delta_request_builder.go +++ b/planner/buckets_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *BucketsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/planner/buckets_item_tasks_delta_request_builder.go b/planner/buckets_item_tasks_delta_request_builder.go index 420c80e3c4e..4cfbbb9da13 100644 --- a/planner/buckets_item_tasks_delta_request_builder.go +++ b/planner/buckets_item_tasks_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *BucketsItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index 47233fe933e..378d0a7fc25 100644 --- a/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedToTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *BucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go index 441c930671b..3069373d7e0 100644 --- a/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bucketTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *BucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/buckets_item_tasks_item_details_request_builder.go b/planner/buckets_item_tasks_item_details_request_builder.go index e81436a5520..260be3e6e4d 100644 --- a/planner/buckets_item_tasks_item_details_request_builder.go +++ b/planner/buckets_item_tasks_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *BucketsItemTasksItemDetailsRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *BucketsItemTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in planner @@ -153,7 +153,7 @@ func (m *BucketsItemTasksItemDetailsRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go b/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go index db655c253d9..5e3c79fa8f6 100644 --- a/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/planner/buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property progressTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *BucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/buckets_item_tasks_planner_task_item_request_builder.go b/planner/buckets_item_tasks_planner_task_item_request_builder.go index a554b30320a..6de819f85a2 100644 --- a/planner/buckets_item_tasks_planner_task_item_request_builder.go +++ b/planner/buckets_item_tasks_planner_task_item_request_builder.go @@ -134,7 +134,7 @@ func (m *BucketsItemTasksPlannerTaskItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. The collection of tasks in the bucket. @@ -150,7 +150,7 @@ func (m *BucketsItemTasksPlannerTaskItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in planner @@ -163,7 +163,7 @@ func (m *BucketsItemTasksPlannerTaskItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/buckets_item_tasks_request_builder.go b/planner/buckets_item_tasks_request_builder.go index 096ed469b3d..7f6624cd2a5 100644 --- a/planner/buckets_item_tasks_request_builder.go +++ b/planner/buckets_item_tasks_request_builder.go @@ -132,7 +132,7 @@ func (m *BucketsItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for planner @@ -145,7 +145,7 @@ func (m *BucketsItemTasksRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/buckets_planner_bucket_item_request_builder.go b/planner/buckets_planner_bucket_item_request_builder.go index d62dd96f563..99d6d2f9093 100644 --- a/planner/buckets_planner_bucket_item_request_builder.go +++ b/planner/buckets_planner_bucket_item_request_builder.go @@ -131,7 +131,7 @@ func (m *BucketsPlannerBucketItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerBucket object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *BucketsPlannerBucketItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property buckets in planner @@ -160,7 +160,7 @@ func (m *BucketsPlannerBucketItemRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/buckets_request_builder.go b/planner/buckets_request_builder.go index 69c780dfb4c..54a5c5d0caf 100644 --- a/planner/buckets_request_builder.go +++ b/planner/buckets_request_builder.go @@ -135,7 +135,7 @@ func (m *BucketsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new plannerBucket object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *BucketsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/planner_request_builder.go b/planner/planner_request_builder.go index 016aca9e6cc..43e9967d6b0 100644 --- a/planner/planner_request_builder.go +++ b/planner/planner_request_builder.go @@ -114,7 +114,7 @@ func (m *PlannerRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update planner @@ -127,7 +127,7 @@ func (m *PlannerRequestBuilder) ToPatchRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_delta_request_builder.go b/planner/plans_delta_request_builder.go index 31f3fe15b49..ce3dd48fd54 100644 --- a/planner/plans_delta_request_builder.go +++ b/planner/plans_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *PlansDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/planner/plans_item_buckets_delta_request_builder.go b/planner/plans_item_buckets_delta_request_builder.go index bb92319b08d..abc1bbd1a62 100644 --- a/planner/plans_item_buckets_delta_request_builder.go +++ b/planner/plans_item_buckets_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *PlansItemBucketsDeltaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/planner/plans_item_buckets_item_tasks_delta_request_builder.go b/planner/plans_item_buckets_item_tasks_delta_request_builder.go index dfdd5973e3d..ad14e93cc2a 100644 --- a/planner/plans_item_buckets_item_tasks_delta_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *PlansItemBucketsItemTasksDeltaRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index 5f20cbed10f..9dc5c40cef0 100644 --- a/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedToTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *PlansItemBucketsItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go index 2db0e7e5801..da960e691e8 100644 --- a/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bucketTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *PlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_buckets_item_tasks_item_details_request_builder.go b/planner/plans_item_buckets_item_tasks_item_details_request_builder.go index dacd6203c3f..bff2ade67b2 100644 --- a/planner/plans_item_buckets_item_tasks_item_details_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *PlansItemBucketsItemTasksItemDetailsRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *PlansItemBucketsItemTasksItemDetailsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in planner @@ -153,7 +153,7 @@ func (m *PlansItemBucketsItemTasksItemDetailsRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go b/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go index a27b5ce6349..b428d6eea84 100644 --- a/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property progressTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *PlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_buckets_item_tasks_planner_task_item_request_builder.go b/planner/plans_item_buckets_item_tasks_planner_task_item_request_builder.go index 5da3d4e51bb..b94b23b7ca6 100644 --- a/planner/plans_item_buckets_item_tasks_planner_task_item_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_planner_task_item_request_builder.go @@ -134,7 +134,7 @@ func (m *PlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. The collection of tasks in the bucket. @@ -150,7 +150,7 @@ func (m *PlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in planner @@ -163,7 +163,7 @@ func (m *PlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_buckets_item_tasks_request_builder.go b/planner/plans_item_buckets_item_tasks_request_builder.go index 8f4e9eef2f0..44cea2f60c5 100644 --- a/planner/plans_item_buckets_item_tasks_request_builder.go +++ b/planner/plans_item_buckets_item_tasks_request_builder.go @@ -132,7 +132,7 @@ func (m *PlansItemBucketsItemTasksRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for planner @@ -145,7 +145,7 @@ func (m *PlansItemBucketsItemTasksRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_buckets_planner_bucket_item_request_builder.go b/planner/plans_item_buckets_planner_bucket_item_request_builder.go index 5666ec30577..111bcc16eea 100644 --- a/planner/plans_item_buckets_planner_bucket_item_request_builder.go +++ b/planner/plans_item_buckets_planner_bucket_item_request_builder.go @@ -122,7 +122,7 @@ func (m *PlansItemBucketsPlannerBucketItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of buckets in the plan. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *PlansItemBucketsPlannerBucketItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property buckets in planner @@ -151,7 +151,7 @@ func (m *PlansItemBucketsPlannerBucketItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_buckets_request_builder.go b/planner/plans_item_buckets_request_builder.go index 068832897f7..7380779477a 100644 --- a/planner/plans_item_buckets_request_builder.go +++ b/planner/plans_item_buckets_request_builder.go @@ -132,7 +132,7 @@ func (m *PlansItemBucketsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to buckets for planner @@ -145,7 +145,7 @@ func (m *PlansItemBucketsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_details_request_builder.go b/planner/plans_item_details_request_builder.go index c0f01bf4975..0ed8a93d651 100644 --- a/planner/plans_item_details_request_builder.go +++ b/planner/plans_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *PlansItemDetailsRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *PlansItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in planner @@ -153,7 +153,7 @@ func (m *PlansItemDetailsRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_move_to_container_request_builder.go b/planner/plans_item_move_to_container_request_builder.go index 6b236834515..a1bfb2bc7ad 100644 --- a/planner/plans_item_move_to_container_request_builder.go +++ b/planner/plans_item_move_to_container_request_builder.go @@ -60,7 +60,7 @@ func (m *PlansItemMoveToContainerRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_tasks_delta_request_builder.go b/planner/plans_item_tasks_delta_request_builder.go index f356ecf3e58..c82e6bc63fd 100644 --- a/planner/plans_item_tasks_delta_request_builder.go +++ b/planner/plans_item_tasks_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *PlansItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go b/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go index 4e1b5682de1..6c083463704 100644 --- a/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/plans_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedToTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *PlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go b/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go index aba3db0ac47..eead4adc296 100644 --- a/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/plans_item_tasks_item_bucket_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bucketTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *PlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_tasks_item_details_request_builder.go b/planner/plans_item_tasks_item_details_request_builder.go index bbc96f13150..91ecfedcd0c 100644 --- a/planner/plans_item_tasks_item_details_request_builder.go +++ b/planner/plans_item_tasks_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *PlansItemTasksItemDetailsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *PlansItemTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in planner @@ -153,7 +153,7 @@ func (m *PlansItemTasksItemDetailsRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go b/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go index 11d96d479c0..011d2d7d49c 100644 --- a/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go +++ b/planner/plans_item_tasks_item_progress_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property progressTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *PlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_tasks_planner_task_item_request_builder.go b/planner/plans_item_tasks_planner_task_item_request_builder.go index 1293fa68926..ff515ebcd67 100644 --- a/planner/plans_item_tasks_planner_task_item_request_builder.go +++ b/planner/plans_item_tasks_planner_task_item_request_builder.go @@ -134,7 +134,7 @@ func (m *PlansItemTasksPlannerTaskItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of tasks in the plan. Read-only. Nullable. @@ -150,7 +150,7 @@ func (m *PlansItemTasksPlannerTaskItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in planner @@ -163,7 +163,7 @@ func (m *PlansItemTasksPlannerTaskItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_item_tasks_request_builder.go b/planner/plans_item_tasks_request_builder.go index 5902086c539..c155dc6bfc5 100644 --- a/planner/plans_item_tasks_request_builder.go +++ b/planner/plans_item_tasks_request_builder.go @@ -132,7 +132,7 @@ func (m *PlansItemTasksRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for planner @@ -145,7 +145,7 @@ func (m *PlansItemTasksRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_planner_plan_item_request_builder.go b/planner/plans_planner_plan_item_request_builder.go index ac7899a9158..b65c78dcd47 100644 --- a/planner/plans_planner_plan_item_request_builder.go +++ b/planner/plans_planner_plan_item_request_builder.go @@ -143,7 +143,7 @@ func (m *PlansPlannerPlanItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerplan object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *PlansPlannerPlanItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a plannerPlan object. This API is available in the following national cloud deployments. @@ -172,7 +172,7 @@ func (m *PlansPlannerPlanItemRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/plans_request_builder.go b/planner/plans_request_builder.go index 4c040180b3d..b66f257bda1 100644 --- a/planner/plans_request_builder.go +++ b/planner/plans_request_builder.go @@ -135,7 +135,7 @@ func (m *PlansRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new plannerPlan. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *PlansRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/rosters_item_members_planner_roster_member_item_request_builder.go b/planner/rosters_item_members_planner_roster_member_item_request_builder.go index 9718f133502..091c210fda3 100644 --- a/planner/rosters_item_members_planner_roster_member_item_request_builder.go +++ b/planner/rosters_item_members_planner_roster_member_item_request_builder.go @@ -124,7 +124,7 @@ func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a plannerRosterMember object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in planner @@ -153,7 +153,7 @@ func (m *RostersItemMembersPlannerRosterMemberItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/rosters_item_members_request_builder.go b/planner/rosters_item_members_request_builder.go index d52dddbac3f..e8eeba4984b 100644 --- a/planner/rosters_item_members_request_builder.go +++ b/planner/rosters_item_members_request_builder.go @@ -131,7 +131,7 @@ func (m *RostersItemMembersRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a member to the plannerRoster object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *RostersItemMembersRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/rosters_item_plans_planner_plan_item_request_builder.go b/planner/rosters_item_plans_planner_plan_item_request_builder.go index 4df60555f60..2a9770bc5d4 100644 --- a/planner/rosters_item_plans_planner_plan_item_request_builder.go +++ b/planner/rosters_item_plans_planner_plan_item_request_builder.go @@ -72,7 +72,7 @@ func (m *RostersItemPlansPlannerPlanItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/planner/rosters_item_plans_request_builder.go b/planner/rosters_item_plans_request_builder.go index e3bb4445157..fec471cc637 100644 --- a/planner/rosters_item_plans_request_builder.go +++ b/planner/rosters_item_plans_request_builder.go @@ -102,7 +102,7 @@ func (m *RostersItemPlansRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/planner/rosters_planner_roster_item_request_builder.go b/planner/rosters_planner_roster_item_request_builder.go index bec0f868dd4..8f6bed7b956 100644 --- a/planner/rosters_planner_roster_item_request_builder.go +++ b/planner/rosters_planner_roster_item_request_builder.go @@ -132,7 +132,7 @@ func (m *RostersPlannerRosterItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a plannerRoster object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *RostersPlannerRosterItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property rosters in planner @@ -161,7 +161,7 @@ func (m *RostersPlannerRosterItemRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/rosters_request_builder.go b/planner/rosters_request_builder.go index 937dc22a718..3a4d254edf1 100644 --- a/planner/rosters_request_builder.go +++ b/planner/rosters_request_builder.go @@ -128,7 +128,7 @@ func (m *RostersRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new plannerRoster object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *RostersRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/tasks_delta_request_builder.go b/planner/tasks_delta_request_builder.go index 0ed6e31ebdc..f7afac1b143 100644 --- a/planner/tasks_delta_request_builder.go +++ b/planner/tasks_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *TasksDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/planner/tasks_item_assigned_to_task_board_format_request_builder.go b/planner/tasks_item_assigned_to_task_board_format_request_builder.go index c65bc3ea67a..e15cb6252b6 100644 --- a/planner/tasks_item_assigned_to_task_board_format_request_builder.go +++ b/planner/tasks_item_assigned_to_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *TasksItemAssignedToTaskBoardFormatRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *TasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedToTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *TasksItemAssignedToTaskBoardFormatRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/tasks_item_bucket_task_board_format_request_builder.go b/planner/tasks_item_bucket_task_board_format_request_builder.go index 88af5ace369..0ac9934d261 100644 --- a/planner/tasks_item_bucket_task_board_format_request_builder.go +++ b/planner/tasks_item_bucket_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *TasksItemBucketTaskBoardFormatRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *TasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bucketTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *TasksItemBucketTaskBoardFormatRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/tasks_item_details_request_builder.go b/planner/tasks_item_details_request_builder.go index 9416ac39e42..074e1e42fa7 100644 --- a/planner/tasks_item_details_request_builder.go +++ b/planner/tasks_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *TasksItemDetailsRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *TasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in planner @@ -153,7 +153,7 @@ func (m *TasksItemDetailsRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/tasks_item_progress_task_board_format_request_builder.go b/planner/tasks_item_progress_task_board_format_request_builder.go index d20ea3d9e6d..4fd2e5e6c63 100644 --- a/planner/tasks_item_progress_task_board_format_request_builder.go +++ b/planner/tasks_item_progress_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *TasksItemProgressTaskBoardFormatRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *TasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property progressTaskBoardFormat in planner @@ -153,7 +153,7 @@ func (m *TasksItemProgressTaskBoardFormatRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/tasks_planner_task_item_request_builder.go b/planner/tasks_planner_task_item_request_builder.go index dcfa7861924..4bf4f0cdb27 100644 --- a/planner/tasks_planner_task_item_request_builder.go +++ b/planner/tasks_planner_task_item_request_builder.go @@ -143,7 +143,7 @@ func (m *TasksPlannerTaskItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerTask object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *TasksPlannerTaskItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in planner @@ -172,7 +172,7 @@ func (m *TasksPlannerTaskItemRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/planner/tasks_request_builder.go b/planner/tasks_request_builder.go index d4f1e7e0628..6656ed12b10 100644 --- a/planner/tasks_request_builder.go +++ b/planner/tasks_request_builder.go @@ -135,7 +135,7 @@ func (m *TasksRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new plannerTask. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *TasksRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/access_review_policy_request_builder.go b/policies/access_review_policy_request_builder.go index 3cdb22014af..305e8f8dec9 100644 --- a/policies/access_review_policy_request_builder.go +++ b/policies/access_review_policy_request_builder.go @@ -124,7 +124,7 @@ func (m *AccessReviewPolicyRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewPolicy object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *AccessReviewPolicyRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an accessReviewPolicy object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *AccessReviewPolicyRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go b/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go index 6b4b23cf486..fe2f427ebd1 100644 --- a/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go +++ b/policies/activity_based_timeout_policies_activity_based_timeout_policy_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *ActivityBasedTimeoutPoliciesActivityBasedTimeoutPolicyItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/activity_based_timeout_policies_item_applies_to_directory_object_item_request_builder.go b/policies/activity_based_timeout_policies_item_applies_to_directory_object_item_request_builder.go index 7b888a62d77..923dc532d84 100644 --- a/policies/activity_based_timeout_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/activity_based_timeout_policies_item_applies_to_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ActivityBasedTimeoutPoliciesItemAppliesToDirectoryObjectItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/activity_based_timeout_policies_item_applies_to_request_builder.go b/policies/activity_based_timeout_policies_item_applies_to_request_builder.go index c34539a465e..745df9c346e 100644 --- a/policies/activity_based_timeout_policies_item_applies_to_request_builder.go +++ b/policies/activity_based_timeout_policies_item_applies_to_request_builder.go @@ -99,7 +99,7 @@ func (m *ActivityBasedTimeoutPoliciesItemAppliesToRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/activity_based_timeout_policies_request_builder.go b/policies/activity_based_timeout_policies_request_builder.go index 2dc3bcd3166..c9986bfa70e 100644 --- a/policies/activity_based_timeout_policies_request_builder.go +++ b/policies/activity_based_timeout_policies_request_builder.go @@ -131,7 +131,7 @@ func (m *ActivityBasedTimeoutPoliciesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ActivityBasedTimeoutPoliciesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/admin_consent_request_policy_request_builder.go b/policies/admin_consent_request_policy_request_builder.go index 123b0731d1b..619f557af40 100644 --- a/policies/admin_consent_request_policy_request_builder.go +++ b/policies/admin_consent_request_policy_request_builder.go @@ -124,7 +124,7 @@ func (m *AdminConsentRequestPolicyRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an adminConsentRequestPolicy object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *AdminConsentRequestPolicyRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an adminConsentRequestPolicy object. @@ -153,7 +153,7 @@ func (m *AdminConsentRequestPolicyRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/app_management_policies_app_management_policy_item_request_builder.go b/policies/app_management_policies_app_management_policy_item_request_builder.go index e96bd9fa1ad..62409508b9b 100644 --- a/policies/app_management_policies_app_management_policy_item_request_builder.go +++ b/policies/app_management_policies_app_management_policy_item_request_builder.go @@ -131,7 +131,7 @@ func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of an appManagementPolicy object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update an appManagementPolicy object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *AppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/app_management_policies_item_applies_to_directory_object_item_request_builder.go b/policies/app_management_policies_item_applies_to_directory_object_item_request_builder.go index 60bc0c0f872..c9c79ed65cf 100644 --- a/policies/app_management_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/app_management_policies_item_applies_to_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *AppManagementPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/app_management_policies_item_applies_to_request_builder.go b/policies/app_management_policies_item_applies_to_request_builder.go index 6a8e17d0c74..c9057ac5244 100644 --- a/policies/app_management_policies_item_applies_to_request_builder.go +++ b/policies/app_management_policies_item_applies_to_request_builder.go @@ -102,7 +102,7 @@ func (m *AppManagementPoliciesItemAppliesToRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/app_management_policies_request_builder.go b/policies/app_management_policies_request_builder.go index b558ca91f09..ef8651e995e 100644 --- a/policies/app_management_policies_request_builder.go +++ b/policies/app_management_policies_request_builder.go @@ -131,7 +131,7 @@ func (m *AppManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an appManagementPolicy object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *AppManagementPoliciesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authentication_flows_policy_request_builder.go b/policies/authentication_flows_policy_request_builder.go index ab4cff1f66b..8569d628116 100644 --- a/policies/authentication_flows_policy_request_builder.go +++ b/policies/authentication_flows_policy_request_builder.go @@ -124,7 +124,7 @@ func (m *AuthenticationFlowsPolicyRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an authenticationFlowsPolicy object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *AuthenticationFlowsPolicyRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *AuthenticationFlowsPolicyRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authentication_methods_policy_authentication_method_configurations_authentication_method_configuration_item_request_builder.go b/policies/authentication_methods_policy_authentication_method_configurations_authentication_method_configuration_item_request_builder.go index b466372a514..0d0be7f47af 100644 --- a/policies/authentication_methods_policy_authentication_method_configurations_authentication_method_configuration_item_request_builder.go +++ b/policies/authentication_methods_policy_authentication_method_configurations_authentication_method_configuration_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthentica requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. @@ -134,7 +134,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthentica requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authenticationMethodConfigurations in policies @@ -147,7 +147,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsAuthentica requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go b/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go index f332e0b4b35..d047ee117b5 100644 --- a/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go +++ b/policies/authentication_methods_policy_authentication_method_configurations_request_builder.go @@ -125,7 +125,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to authenticationMethodConfigurations for policies @@ -138,7 +138,7 @@ func (m *AuthenticationMethodsPolicyAuthenticationMethodConfigurationsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authentication_methods_policy_request_builder.go b/policies/authentication_methods_policy_request_builder.go index 6553ab69180..42168226870 100644 --- a/policies/authentication_methods_policy_request_builder.go +++ b/policies/authentication_methods_policy_request_builder.go @@ -128,7 +128,7 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *AuthenticationMethodsPolicyRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go b/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go index 54c42a91ead..8a8b82ad1ba 100644 --- a/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go +++ b/policies/authentication_strength_policies_authentication_strength_policy_item_request_builder.go @@ -131,7 +131,7 @@ func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an authenticationStrengthPolicy object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -160,7 +160,7 @@ func (m *AuthenticationStrengthPoliciesAuthenticationStrengthPolicyItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go b/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go index ae50dcb9d4c..ac575948486 100644 --- a/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go +++ b/policies/authentication_strength_policies_find_by_method_mode_with_authentication_method_modes_request_builder.go @@ -106,7 +106,7 @@ func (m *AuthenticationStrengthPoliciesFindByMethodModeWithAuthenticationMethodM requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go b/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go index c51312864f5..1caa8706b50 100644 --- a/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go +++ b/policies/authentication_strength_policies_item_combination_configurations_authentication_combination_configuration_item_request_builder.go @@ -127,7 +127,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsAuthenticati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authentication_strength_policies_item_combination_configurations_request_builder.go b/policies/authentication_strength_policies_item_combination_configurations_request_builder.go index 22a5ba6cad3..c8c55867973 100644 --- a/policies/authentication_strength_policies_item_combination_configurations_request_builder.go +++ b/policies/authentication_strength_policies_item_combination_configurations_request_builder.go @@ -131,7 +131,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations might be created, and only for custom authentication strength policies. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *AuthenticationStrengthPoliciesItemCombinationConfigurationsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go b/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go index 80df0d01984..21cae4abce2 100644 --- a/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go +++ b/policies/authentication_strength_policies_item_update_allowed_combinations_request_builder.go @@ -63,7 +63,7 @@ func (m *AuthenticationStrengthPoliciesItemUpdateAllowedCombinationsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authentication_strength_policies_item_usage_request_builder.go b/policies/authentication_strength_policies_item_usage_request_builder.go index dfdcead1bff..e6ee61fc14c 100644 --- a/policies/authentication_strength_policies_item_usage_request_builder.go +++ b/policies/authentication_strength_policies_item_usage_request_builder.go @@ -60,7 +60,7 @@ func (m *AuthenticationStrengthPoliciesItemUsageRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/authentication_strength_policies_request_builder.go b/policies/authentication_strength_policies_request_builder.go index 010b119ac6f..9bd0fd53ab0 100644 --- a/policies/authentication_strength_policies_request_builder.go +++ b/policies/authentication_strength_policies_request_builder.go @@ -136,7 +136,7 @@ func (m *AuthenticationStrengthPoliciesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *AuthenticationStrengthPoliciesRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authorization_policy_authorization_policy_item_request_builder.go b/policies/authorization_policy_authorization_policy_item_request_builder.go index b61bc44ce17..3662f8a5d14 100644 --- a/policies/authorization_policy_authorization_policy_item_request_builder.go +++ b/policies/authorization_policy_authorization_policy_item_request_builder.go @@ -122,7 +122,7 @@ func (m *AuthorizationPolicyAuthorizationPolicyItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the policy that controls Microsoft Entra authorization settings. @@ -138,7 +138,7 @@ func (m *AuthorizationPolicyAuthorizationPolicyItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authorizationPolicy in policies @@ -151,7 +151,7 @@ func (m *AuthorizationPolicyAuthorizationPolicyItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authorization_policy_item_default_user_role_overrides_default_user_role_override_item_request_builder.go b/policies/authorization_policy_item_default_user_role_overrides_default_user_role_override_item_request_builder.go index b0ebfa40513..1ba2f16095d 100644 --- a/policies/authorization_policy_item_default_user_role_overrides_default_user_role_override_item_request_builder.go +++ b/policies/authorization_policy_item_default_user_role_overrides_default_user_role_override_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AuthorizationPolicyItemDefaultUserRoleOverridesDefaultUserRoleOverrideI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get defaultUserRoleOverrides from policies @@ -134,7 +134,7 @@ func (m *AuthorizationPolicyItemDefaultUserRoleOverridesDefaultUserRoleOverrideI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property defaultUserRoleOverrides in policies @@ -147,7 +147,7 @@ func (m *AuthorizationPolicyItemDefaultUserRoleOverridesDefaultUserRoleOverrideI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authorization_policy_item_default_user_role_overrides_request_builder.go b/policies/authorization_policy_item_default_user_role_overrides_request_builder.go index 96322374549..9dc7ff65020 100644 --- a/policies/authorization_policy_item_default_user_role_overrides_request_builder.go +++ b/policies/authorization_policy_item_default_user_role_overrides_request_builder.go @@ -125,7 +125,7 @@ func (m *AuthorizationPolicyItemDefaultUserRoleOverridesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to defaultUserRoleOverrides for policies @@ -138,7 +138,7 @@ func (m *AuthorizationPolicyItemDefaultUserRoleOverridesRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/authorization_policy_request_builder.go b/policies/authorization_policy_request_builder.go index b694a59a312..d9d81681f74 100644 --- a/policies/authorization_policy_request_builder.go +++ b/policies/authorization_policy_request_builder.go @@ -128,7 +128,7 @@ func (m *AuthorizationPolicyRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to authorizationPolicy for policies @@ -141,7 +141,7 @@ func (m *AuthorizationPolicyRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/b2c_authentication_methods_policy_request_builder.go b/policies/b2c_authentication_methods_policy_request_builder.go index 4b87cd38b07..79810b1bb4b 100644 --- a/policies/b2c_authentication_methods_policy_request_builder.go +++ b/policies/b2c_authentication_methods_policy_request_builder.go @@ -124,7 +124,7 @@ func (m *B2cAuthenticationMethodsPolicyRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of a b2cAuthenticationMethodsPolicy object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *B2cAuthenticationMethodsPolicyRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a b2cAuthenticationMethodsPolicy object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *B2cAuthenticationMethodsPolicyRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go b/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go index 90dd207a1e7..76c4495c175 100644 --- a/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go +++ b/policies/claims_mapping_policies_claims_mapping_policy_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a claimsMappingPolicy object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a claimsMappingPolicy object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *ClaimsMappingPoliciesClaimsMappingPolicyItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/claims_mapping_policies_item_applies_to_directory_object_item_request_builder.go b/policies/claims_mapping_policies_item_applies_to_directory_object_item_request_builder.go index 1675d4060c5..c9cb565aba8 100644 --- a/policies/claims_mapping_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/claims_mapping_policies_item_applies_to_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ClaimsMappingPoliciesItemAppliesToDirectoryObjectItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/claims_mapping_policies_item_applies_to_request_builder.go b/policies/claims_mapping_policies_item_applies_to_request_builder.go index ffaa83e35ee..1ccd041243a 100644 --- a/policies/claims_mapping_policies_item_applies_to_request_builder.go +++ b/policies/claims_mapping_policies_item_applies_to_request_builder.go @@ -99,7 +99,7 @@ func (m *ClaimsMappingPoliciesItemAppliesToRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/claims_mapping_policies_request_builder.go b/policies/claims_mapping_policies_request_builder.go index 1f846d39296..c2025494267 100644 --- a/policies/claims_mapping_policies_request_builder.go +++ b/policies/claims_mapping_policies_request_builder.go @@ -131,7 +131,7 @@ func (m *ClaimsMappingPoliciesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new claimsMappingPolicy object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ClaimsMappingPoliciesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/conditional_access_policies_conditional_access_policy_item_request_builder.go b/policies/conditional_access_policies_conditional_access_policy_item_request_builder.go index 33f1846d885..852eec0f765 100644 --- a/policies/conditional_access_policies_conditional_access_policy_item_request_builder.go +++ b/policies/conditional_access_policies_conditional_access_policy_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the custom rules that define an access scenario. @@ -134,7 +134,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property conditionalAccessPolicies in policies @@ -147,7 +147,7 @@ func (m *ConditionalAccessPoliciesConditionalAccessPolicyItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/conditional_access_policies_request_builder.go b/policies/conditional_access_policies_request_builder.go index 23f11f610f4..3afec3bd62a 100644 --- a/policies/conditional_access_policies_request_builder.go +++ b/policies/conditional_access_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ConditionalAccessPoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to conditionalAccessPolicies for policies @@ -138,7 +138,7 @@ func (m *ConditionalAccessPoliciesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/cross_tenant_access_policy_default_request_builder.go b/policies/cross_tenant_access_policy_default_request_builder.go index beec6cc23ab..cf2cfb03f5a 100644 --- a/policies/cross_tenant_access_policy_default_request_builder.go +++ b/policies/cross_tenant_access_policy_default_request_builder.go @@ -128,7 +128,7 @@ func (m *CrossTenantAccessPolicyDefaultRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *CrossTenantAccessPolicyDefaultRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the default configuration of a cross-tenant access policy. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *CrossTenantAccessPolicyDefaultRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go b/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go index 4fb0ff51d40..7f283c3b21b 100644 --- a/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go +++ b/policies/cross_tenant_access_policy_default_reset_to_system_default_request_builder.go @@ -59,7 +59,7 @@ func (m *CrossTenantAccessPolicyDefaultResetToSystemDefaultRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go b/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go index db27aa43ffc..a756efded16 100644 --- a/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.go @@ -131,7 +131,7 @@ func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPart requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a partner-specific configuration. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPart requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a partner-specific configuration. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *CrossTenantAccessPolicyPartnersCrossTenantAccessPolicyConfigurationPart requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go index 860a0dc105c..ba48f166fe7 100644 --- a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go @@ -124,7 +124,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the user synchronization policy of a partner-specific configuration. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property identitySynchronization in policies @@ -153,7 +153,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/cross_tenant_access_policy_partners_request_builder.go b/policies/cross_tenant_access_policy_partners_request_builder.go index 374dd2a8c16..04978b0c040 100644 --- a/policies/cross_tenant_access_policy_partners_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_request_builder.go @@ -131,7 +131,7 @@ func (m *CrossTenantAccessPolicyPartnersRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new partner configuration in a cross-tenant access policy. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CrossTenantAccessPolicyPartnersRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/cross_tenant_access_policy_request_builder.go b/policies/cross_tenant_access_policy_request_builder.go index 5bd813a021b..5622bdc39dc 100644 --- a/policies/cross_tenant_access_policy_request_builder.go +++ b/policies/cross_tenant_access_policy_request_builder.go @@ -136,7 +136,7 @@ func (m *CrossTenantAccessPolicyRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a crossTenantAccessPolicy object. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *CrossTenantAccessPolicyRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a cross-tenant access policy. This API is available in the following national cloud deployments. @@ -165,7 +165,7 @@ func (m *CrossTenantAccessPolicyRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_request_builder.go index 774374f42ff..17688f36cf2 100644 --- a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_request_builder.go @@ -128,7 +128,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchron requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchron requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -157,7 +157,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchron requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_reset_to_default_settings_request_builder.go b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_reset_to_default_settings_request_builder.go index de0a9d1b5ea..ce350a7b20d 100644 --- a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_reset_to_default_settings_request_builder.go +++ b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_identity_synchronization_reset_to_default_settings_request_builder.go @@ -59,7 +59,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationIdentitySynchron requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_request_builder.go b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_request_builder.go index b6b71b59016..26511784cf4 100644 --- a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_request_builder.go +++ b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_request_builder.go @@ -128,7 +128,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigura requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigura requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -157,7 +157,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigura requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_reset_to_default_settings_request_builder.go b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_reset_to_default_settings_request_builder.go index 72335a432e1..9767906ebf5 100644 --- a/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_reset_to_default_settings_request_builder.go +++ b/policies/cross_tenant_access_policy_templates_multi_tenant_organization_partner_configuration_reset_to_default_settings_request_builder.go @@ -59,7 +59,7 @@ func (m *CrossTenantAccessPolicyTemplatesMultiTenantOrganizationPartnerConfigura requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/cross_tenant_access_policy_templates_request_builder.go b/policies/cross_tenant_access_policy_templates_request_builder.go index 1f1ea674dc1..a224855ec4d 100644 --- a/policies/cross_tenant_access_policy_templates_request_builder.go +++ b/policies/cross_tenant_access_policy_templates_request_builder.go @@ -126,7 +126,7 @@ func (m *CrossTenantAccessPolicyTemplatesRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the base policy in the directory for multi-tenant organization settings. @@ -142,7 +142,7 @@ func (m *CrossTenantAccessPolicyTemplatesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property templates in policies @@ -155,7 +155,7 @@ func (m *CrossTenantAccessPolicyTemplatesRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/default_app_management_policy_request_builder.go b/policies/default_app_management_policy_request_builder.go index dcd69cb6579..d14767fb432 100644 --- a/policies/default_app_management_policy_request_builder.go +++ b/policies/default_app_management_policy_request_builder.go @@ -124,7 +124,7 @@ func (m *DefaultAppManagementPolicyRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *DefaultAppManagementPolicyRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *DefaultAppManagementPolicyRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/device_registration_policy_request_builder.go b/policies/device_registration_policy_request_builder.go index 626ebbeb16e..47ee46a8d72 100644 --- a/policies/device_registration_policy_request_builder.go +++ b/policies/device_registration_policy_request_builder.go @@ -104,7 +104,7 @@ func (m *DeviceRegistrationPolicyRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. @@ -117,7 +117,7 @@ func (m *DeviceRegistrationPolicyRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/directory_role_access_review_policy_request_builder.go b/policies/directory_role_access_review_policy_request_builder.go index b03ee5d6663..a59b6de5ae6 100644 --- a/policies/directory_role_access_review_policy_request_builder.go +++ b/policies/directory_role_access_review_policy_request_builder.go @@ -118,7 +118,7 @@ func (m *DirectoryRoleAccessReviewPolicyRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get directoryRoleAccessReviewPolicy from policies @@ -134,7 +134,7 @@ func (m *DirectoryRoleAccessReviewPolicyRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property directoryRoleAccessReviewPolicy in policies @@ -147,7 +147,7 @@ func (m *DirectoryRoleAccessReviewPolicyRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/external_identities_policy_request_builder.go b/policies/external_identities_policy_request_builder.go index b4f4b8f6649..795f2b5e8fb 100644 --- a/policies/external_identities_policy_request_builder.go +++ b/policies/external_identities_policy_request_builder.go @@ -124,7 +124,7 @@ func (m *ExternalIdentitiesPolicyRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ExternalIdentitiesPolicyRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *ExternalIdentitiesPolicyRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go b/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go index e54b330869a..ed634f6e461 100644 --- a/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go +++ b/policies/feature_rollout_policies_feature_rollout_policy_item_request_builder.go @@ -131,7 +131,7 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a featureRolloutPolicy object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of featureRolloutPolicy object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *FeatureRolloutPoliciesFeatureRolloutPolicyItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go b/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go index ecee5514c72..488456a61cb 100644 --- a/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToItemRefRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go b/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go index 7da9cf762bd..9effbaee2a9 100644 --- a/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_ref_request_builder.go @@ -106,7 +106,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -119,7 +119,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRefRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/feature_rollout_policies_item_applies_to_request_builder.go b/policies/feature_rollout_policies_item_applies_to_request_builder.go index cec005a9403..badbd3bf79d 100644 --- a/policies/feature_rollout_policies_item_applies_to_request_builder.go +++ b/policies/feature_rollout_policies_item_applies_to_request_builder.go @@ -132,7 +132,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -145,7 +145,7 @@ func (m *FeatureRolloutPoliciesItemAppliesToRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/feature_rollout_policies_request_builder.go b/policies/feature_rollout_policies_request_builder.go index 631f559fbd8..f12a3b66b59 100644 --- a/policies/feature_rollout_policies_request_builder.go +++ b/policies/feature_rollout_policies_request_builder.go @@ -131,7 +131,7 @@ func (m *FeatureRolloutPoliciesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new featureRolloutPolicy object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *FeatureRolloutPoliciesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/federated_token_validation_policy_request_builder.go b/policies/federated_token_validation_policy_request_builder.go index a440b3c31d8..46640af8bfb 100644 --- a/policies/federated_token_validation_policy_request_builder.go +++ b/policies/federated_token_validation_policy_request_builder.go @@ -118,7 +118,7 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get federatedTokenValidationPolicy from policies @@ -134,7 +134,7 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property federatedTokenValidationPolicy in policies @@ -147,7 +147,7 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go b/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go index 7cbd166566c..444ad2a5da7 100644 --- a/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go +++ b/policies/home_realm_discovery_policies_home_realm_discovery_policy_item_request_builder.go @@ -131,7 +131,7 @@ func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *HomeRealmDiscoveryPoliciesHomeRealmDiscoveryPolicyItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/home_realm_discovery_policies_item_applies_to_directory_object_item_request_builder.go b/policies/home_realm_discovery_policies_item_applies_to_directory_object_item_request_builder.go index 7296c96952f..27c5d33983f 100644 --- a/policies/home_realm_discovery_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/home_realm_discovery_policies_item_applies_to_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *HomeRealmDiscoveryPoliciesItemAppliesToDirectoryObjectItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/home_realm_discovery_policies_item_applies_to_request_builder.go b/policies/home_realm_discovery_policies_item_applies_to_request_builder.go index d1d27aa97d1..2a0c65a55c3 100644 --- a/policies/home_realm_discovery_policies_item_applies_to_request_builder.go +++ b/policies/home_realm_discovery_policies_item_applies_to_request_builder.go @@ -99,7 +99,7 @@ func (m *HomeRealmDiscoveryPoliciesItemAppliesToRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/home_realm_discovery_policies_request_builder.go b/policies/home_realm_discovery_policies_request_builder.go index 53f625ad9d5..02d375bcecf 100644 --- a/policies/home_realm_discovery_policies_request_builder.go +++ b/policies/home_realm_discovery_policies_request_builder.go @@ -131,7 +131,7 @@ func (m *HomeRealmDiscoveryPoliciesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *HomeRealmDiscoveryPoliciesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/identity_security_defaults_enforcement_policy_request_builder.go b/policies/identity_security_defaults_enforcement_policy_request_builder.go index c786a072094..250598a5f03 100644 --- a/policies/identity_security_defaults_enforcement_policy_request_builder.go +++ b/policies/identity_security_defaults_enforcement_policy_request_builder.go @@ -124,7 +124,7 @@ func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *IdentitySecurityDefaultsEnforcementPolicyRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go index ae931ba00de..fbde5dd10e9 100644 --- a/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/mobile_app_management_policies_item_included_groups_item_service_provisioning_errors_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_item_service_provisioning_errors_request_builder.go index 9e3462d13c3..f5ce95a3bc8 100644 --- a/policies/mobile_app_management_policies_item_included_groups_item_service_provisioning_errors_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_item_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsItemServiceProvisioningErr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go index 1deda9d76af..4cb146931e4 100644 --- a/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add groups to be included in a mobile app management policy. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/mobile_app_management_policies_item_included_groups_request_builder.go b/policies/mobile_app_management_policies_item_included_groups_request_builder.go index 165b208002c..f24d568f48e 100644 --- a/policies/mobile_app_management_policies_item_included_groups_request_builder.go +++ b/policies/mobile_app_management_policies_item_included_groups_request_builder.go @@ -106,7 +106,7 @@ func (m *MobileAppManagementPoliciesItemIncludedGroupsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go b/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go index b18d2293ac2..dfb1c64bef9 100644 --- a/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go +++ b/policies/mobile_app_management_policies_mobility_management_policy_item_request_builder.go @@ -131,7 +131,7 @@ func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *MobileAppManagementPoliciesMobilityManagementPolicyItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/mobile_app_management_policies_request_builder.go b/policies/mobile_app_management_policies_request_builder.go index 6081b61ed82..a356b9e4c4b 100644 --- a/policies/mobile_app_management_policies_request_builder.go +++ b/policies/mobile_app_management_policies_request_builder.go @@ -128,7 +128,7 @@ func (m *MobileAppManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mobileAppManagementPolicies for policies @@ -141,7 +141,7 @@ func (m *MobileAppManagementPoliciesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go index a889c60059a..c89c0d52165 100644 --- a/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsItemRefRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/mobile_device_management_policies_item_included_groups_item_service_provisioning_errors_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_item_service_provisioning_errors_request_builder.go index 7cd4cc7c31d..7758e805e20 100644 --- a/policies/mobile_device_management_policies_item_included_groups_item_service_provisioning_errors_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_item_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsItemServiceProvisioning requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go index 508ef8fbd31..5988b57c4f9 100644 --- a/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add groups to be included in a mobile app management policy. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRefRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/mobile_device_management_policies_item_included_groups_request_builder.go b/policies/mobile_device_management_policies_item_included_groups_request_builder.go index b66a10576be..5d72501db6e 100644 --- a/policies/mobile_device_management_policies_item_included_groups_request_builder.go +++ b/policies/mobile_device_management_policies_item_included_groups_request_builder.go @@ -106,7 +106,7 @@ func (m *MobileDeviceManagementPoliciesItemIncludedGroupsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go b/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go index e6ea485abb2..54b2a5db243 100644 --- a/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go +++ b/policies/mobile_device_management_policies_mobility_management_policy_item_request_builder.go @@ -131,7 +131,7 @@ func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *MobileDeviceManagementPoliciesMobilityManagementPolicyItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/mobile_device_management_policies_request_builder.go b/policies/mobile_device_management_policies_request_builder.go index abd4d1a3131..842a574552b 100644 --- a/policies/mobile_device_management_policies_request_builder.go +++ b/policies/mobile_device_management_policies_request_builder.go @@ -128,7 +128,7 @@ func (m *MobileDeviceManagementPoliciesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mobileDeviceManagementPolicies for policies @@ -141,7 +141,7 @@ func (m *MobileDeviceManagementPoliciesRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go b/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go index acaaac27f78..a3415c99fb3 100644 --- a/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go +++ b/policies/permission_grant_policies_item_excludes_permission_grant_condition_set_item_request_builder.go @@ -121,7 +121,7 @@ func (m *PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation condition sets that are excluded in this permission grant policy. Automatically expanded on GET. @@ -137,7 +137,7 @@ func (m *PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property excludes in policies @@ -150,7 +150,7 @@ func (m *PermissionGrantPoliciesItemExcludesPermissionGrantConditionSetItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/permission_grant_policies_item_excludes_request_builder.go b/policies/permission_grant_policies_item_excludes_request_builder.go index 309fd144f60..790100fcb8c 100644 --- a/policies/permission_grant_policies_item_excludes_request_builder.go +++ b/policies/permission_grant_policies_item_excludes_request_builder.go @@ -131,7 +131,7 @@ func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *PermissionGrantPoliciesItemExcludesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go b/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go index c931e3cf98f..c65d3befbde 100644 --- a/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go +++ b/policies/permission_grant_policies_item_includes_permission_grant_condition_set_item_request_builder.go @@ -121,7 +121,7 @@ func (m *PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation condition sets that are included in this permission grant policy. Automatically expanded on GET. @@ -137,7 +137,7 @@ func (m *PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property includes in policies @@ -150,7 +150,7 @@ func (m *PermissionGrantPoliciesItemIncludesPermissionGrantConditionSetItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/permission_grant_policies_item_includes_request_builder.go b/policies/permission_grant_policies_item_includes_request_builder.go index ac24bbd5dfb..654ecfc8688 100644 --- a/policies/permission_grant_policies_item_includes_request_builder.go +++ b/policies/permission_grant_policies_item_includes_request_builder.go @@ -131,7 +131,7 @@ func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *PermissionGrantPoliciesItemIncludesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go b/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go index fa2c1af11ef..d87ee5c0730 100644 --- a/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go +++ b/policies/permission_grant_policies_permission_grant_policy_item_request_builder.go @@ -135,7 +135,7 @@ func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single permissionGrantPolicy object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update properties of a permissionGrantPolicy. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *PermissionGrantPoliciesPermissionGrantPolicyItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/permission_grant_policies_request_builder.go b/policies/permission_grant_policies_request_builder.go index 3fb8d0d5b7e..01a47567a57 100644 --- a/policies/permission_grant_policies_request_builder.go +++ b/policies/permission_grant_policies_request_builder.go @@ -131,7 +131,7 @@ func (m *PermissionGrantPoliciesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *PermissionGrantPoliciesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/policies_request_builder.go b/policies/policies_request_builder.go index 1e7f1d7839e..deb57f0be9c 100644 --- a/policies/policies_request_builder.go +++ b/policies/policies_request_builder.go @@ -202,7 +202,7 @@ func (m *PoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // TokenIssuancePolicies provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.policyRoot entity. @@ -223,7 +223,7 @@ func (m *PoliciesRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/role_management_policies_item_effective_rules_request_builder.go b/policies/role_management_policies_item_effective_rules_request_builder.go index 8c0062398d6..24d736e61c1 100644 --- a/policies/role_management_policies_item_effective_rules_request_builder.go +++ b/policies/role_management_policies_item_effective_rules_request_builder.go @@ -128,7 +128,7 @@ func (m *RoleManagementPoliciesItemEffectiveRulesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to effectiveRules for policies @@ -141,7 +141,7 @@ func (m *RoleManagementPoliciesItemEffectiveRulesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/role_management_policies_item_effective_rules_unified_role_management_policy_rule_item_request_builder.go b/policies/role_management_policies_item_effective_rules_unified_role_management_policy_rule_item_request_builder.go index 080fb70b04b..c587cb14c18 100644 --- a/policies/role_management_policies_item_effective_rules_unified_role_management_policy_rule_item_request_builder.go +++ b/policies/role_management_policies_item_effective_rules_unified_role_management_policy_rule_item_request_builder.go @@ -118,7 +118,7 @@ func (m *RoleManagementPoliciesItemEffectiveRulesUnifiedRoleManagementPolicyRule requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand. @@ -134,7 +134,7 @@ func (m *RoleManagementPoliciesItemEffectiveRulesUnifiedRoleManagementPolicyRule requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property effectiveRules in policies @@ -147,7 +147,7 @@ func (m *RoleManagementPoliciesItemEffectiveRulesUnifiedRoleManagementPolicyRule requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/role_management_policies_item_rules_request_builder.go b/policies/role_management_policies_item_rules_request_builder.go index 2d161874fa2..f125aa37be1 100644 --- a/policies/role_management_policies_item_rules_request_builder.go +++ b/policies/role_management_policies_item_rules_request_builder.go @@ -128,7 +128,7 @@ func (m *RoleManagementPoliciesItemRulesRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to rules for policies @@ -141,7 +141,7 @@ func (m *RoleManagementPoliciesItemRulesRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go b/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go index bda73f8e123..89668bebbce 100644 --- a/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go +++ b/policies/role_management_policies_item_rules_unified_role_management_policy_rule_item_request_builder.go @@ -124,7 +124,7 @@ func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -153,7 +153,7 @@ func (m *RoleManagementPoliciesItemRulesUnifiedRoleManagementPolicyRuleItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/role_management_policies_request_builder.go b/policies/role_management_policies_request_builder.go index d8003adbf15..76814851077 100644 --- a/policies/role_management_policies_request_builder.go +++ b/policies/role_management_policies_request_builder.go @@ -128,7 +128,7 @@ func (m *RoleManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleManagementPolicies for policies @@ -141,7 +141,7 @@ func (m *RoleManagementPoliciesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/role_management_policies_unified_role_management_policy_item_request_builder.go b/policies/role_management_policies_unified_role_management_policy_item_request_builder.go index aefdb393dec..4ae1d20e51b 100644 --- a/policies/role_management_policies_unified_role_management_policy_item_request_builder.go +++ b/policies/role_management_policies_unified_role_management_policy_item_request_builder.go @@ -126,7 +126,7 @@ func (m *RoleManagementPoliciesUnifiedRoleManagementPolicyItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the role management policies. @@ -142,7 +142,7 @@ func (m *RoleManagementPoliciesUnifiedRoleManagementPolicyItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleManagementPolicies in policies @@ -155,7 +155,7 @@ func (m *RoleManagementPoliciesUnifiedRoleManagementPolicyItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/role_management_policy_assignments_item_policy_request_builder.go b/policies/role_management_policy_assignments_item_policy_request_builder.go index 7dcfd56e9bf..874818f9c0f 100644 --- a/policies/role_management_policy_assignments_item_policy_request_builder.go +++ b/policies/role_management_policy_assignments_item_policy_request_builder.go @@ -72,7 +72,7 @@ func (m *RoleManagementPolicyAssignmentsItemPolicyRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/role_management_policy_assignments_request_builder.go b/policies/role_management_policy_assignments_request_builder.go index f9e519904a4..6168e0abe8c 100644 --- a/policies/role_management_policy_assignments_request_builder.go +++ b/policies/role_management_policy_assignments_request_builder.go @@ -128,7 +128,7 @@ func (m *RoleManagementPolicyAssignmentsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleManagementPolicyAssignments for policies @@ -141,7 +141,7 @@ func (m *RoleManagementPolicyAssignmentsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/role_management_policy_assignments_unified_role_management_policy_assignment_item_request_builder.go b/policies/role_management_policy_assignments_unified_role_management_policy_assignment_item_request_builder.go index 524e0adb79a..cb3b6e4a8f1 100644 --- a/policies/role_management_policy_assignments_unified_role_management_policy_assignment_item_request_builder.go +++ b/policies/role_management_policy_assignments_unified_role_management_policy_assignment_item_request_builder.go @@ -122,7 +122,7 @@ func (m *RoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the role management policy assignments. @@ -138,7 +138,7 @@ func (m *RoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleManagementPolicyAssignments in policies @@ -151,7 +151,7 @@ func (m *RoleManagementPolicyAssignmentsUnifiedRoleManagementPolicyAssignmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/service_principal_creation_policies_item_excludes_request_builder.go b/policies/service_principal_creation_policies_item_excludes_request_builder.go index 7159d77f87a..4390f980936 100644 --- a/policies/service_principal_creation_policies_item_excludes_request_builder.go +++ b/policies/service_principal_creation_policies_item_excludes_request_builder.go @@ -125,7 +125,7 @@ func (m *ServicePrincipalCreationPoliciesItemExcludesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to excludes for policies @@ -138,7 +138,7 @@ func (m *ServicePrincipalCreationPoliciesItemExcludesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/service_principal_creation_policies_item_excludes_service_principal_creation_condition_set_item_request_builder.go b/policies/service_principal_creation_policies_item_excludes_service_principal_creation_condition_set_item_request_builder.go index eef1d9f99bb..5c55bc87ae4 100644 --- a/policies/service_principal_creation_policies_item_excludes_service_principal_creation_condition_set_item_request_builder.go +++ b/policies/service_principal_creation_policies_item_excludes_service_principal_creation_condition_set_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ServicePrincipalCreationPoliciesItemExcludesServicePrincipalCreationCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get excludes from policies @@ -134,7 +134,7 @@ func (m *ServicePrincipalCreationPoliciesItemExcludesServicePrincipalCreationCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property excludes in policies @@ -147,7 +147,7 @@ func (m *ServicePrincipalCreationPoliciesItemExcludesServicePrincipalCreationCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/service_principal_creation_policies_item_includes_request_builder.go b/policies/service_principal_creation_policies_item_includes_request_builder.go index df7cee12808..df6a8a34951 100644 --- a/policies/service_principal_creation_policies_item_includes_request_builder.go +++ b/policies/service_principal_creation_policies_item_includes_request_builder.go @@ -125,7 +125,7 @@ func (m *ServicePrincipalCreationPoliciesItemIncludesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to includes for policies @@ -138,7 +138,7 @@ func (m *ServicePrincipalCreationPoliciesItemIncludesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/service_principal_creation_policies_item_includes_service_principal_creation_condition_set_item_request_builder.go b/policies/service_principal_creation_policies_item_includes_service_principal_creation_condition_set_item_request_builder.go index 11c4fd4d8bf..c3bacffb8aa 100644 --- a/policies/service_principal_creation_policies_item_includes_service_principal_creation_condition_set_item_request_builder.go +++ b/policies/service_principal_creation_policies_item_includes_service_principal_creation_condition_set_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ServicePrincipalCreationPoliciesItemIncludesServicePrincipalCreationCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get includes from policies @@ -134,7 +134,7 @@ func (m *ServicePrincipalCreationPoliciesItemIncludesServicePrincipalCreationCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property includes in policies @@ -147,7 +147,7 @@ func (m *ServicePrincipalCreationPoliciesItemIncludesServicePrincipalCreationCon requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/service_principal_creation_policies_request_builder.go b/policies/service_principal_creation_policies_request_builder.go index f99b2a6f222..fa792762810 100644 --- a/policies/service_principal_creation_policies_request_builder.go +++ b/policies/service_principal_creation_policies_request_builder.go @@ -125,7 +125,7 @@ func (m *ServicePrincipalCreationPoliciesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to servicePrincipalCreationPolicies for policies @@ -138,7 +138,7 @@ func (m *ServicePrincipalCreationPoliciesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/service_principal_creation_policies_service_principal_creation_policy_item_request_builder.go b/policies/service_principal_creation_policies_service_principal_creation_policy_item_request_builder.go index c7bb6726cd5..963bd203da8 100644 --- a/policies/service_principal_creation_policies_service_principal_creation_policy_item_request_builder.go +++ b/policies/service_principal_creation_policies_service_principal_creation_policy_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ServicePrincipalCreationPoliciesServicePrincipalCreationPolicyItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get servicePrincipalCreationPolicies from policies @@ -142,7 +142,7 @@ func (m *ServicePrincipalCreationPoliciesServicePrincipalCreationPolicyItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property servicePrincipalCreationPolicies in policies @@ -155,7 +155,7 @@ func (m *ServicePrincipalCreationPoliciesServicePrincipalCreationPolicyItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/token_issuance_policies_item_applies_to_directory_object_item_request_builder.go b/policies/token_issuance_policies_item_applies_to_directory_object_item_request_builder.go index b861199b3de..c130da3b593 100644 --- a/policies/token_issuance_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/token_issuance_policies_item_applies_to_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *TokenIssuancePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/token_issuance_policies_item_applies_to_request_builder.go b/policies/token_issuance_policies_item_applies_to_request_builder.go index d85060d141b..57198154a76 100644 --- a/policies/token_issuance_policies_item_applies_to_request_builder.go +++ b/policies/token_issuance_policies_item_applies_to_request_builder.go @@ -99,7 +99,7 @@ func (m *TokenIssuancePoliciesItemAppliesToRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/token_issuance_policies_request_builder.go b/policies/token_issuance_policies_request_builder.go index a6f5c93ff22..339c384862e 100644 --- a/policies/token_issuance_policies_request_builder.go +++ b/policies/token_issuance_policies_request_builder.go @@ -131,7 +131,7 @@ func (m *TokenIssuancePoliciesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new tokenIssuancePolicy object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TokenIssuancePoliciesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go b/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go index 08a9f0fc7d6..fa8388f1bb8 100644 --- a/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go +++ b/policies/token_issuance_policies_token_issuance_policy_item_request_builder.go @@ -131,7 +131,7 @@ func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a tokenIssuancePolicy object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a tokenIssuancePolicy object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *TokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/token_lifetime_policies_item_applies_to_directory_object_item_request_builder.go b/policies/token_lifetime_policies_item_applies_to_directory_object_item_request_builder.go index 620bfe4a2d0..fa36a45586a 100644 --- a/policies/token_lifetime_policies_item_applies_to_directory_object_item_request_builder.go +++ b/policies/token_lifetime_policies_item_applies_to_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *TokenLifetimePoliciesItemAppliesToDirectoryObjectItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/token_lifetime_policies_item_applies_to_request_builder.go b/policies/token_lifetime_policies_item_applies_to_request_builder.go index c2b63c69286..3f5d022adf1 100644 --- a/policies/token_lifetime_policies_item_applies_to_request_builder.go +++ b/policies/token_lifetime_policies_item_applies_to_request_builder.go @@ -99,7 +99,7 @@ func (m *TokenLifetimePoliciesItemAppliesToRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/policies/token_lifetime_policies_request_builder.go b/policies/token_lifetime_policies_request_builder.go index 8d3b1150dac..be83b7dada0 100644 --- a/policies/token_lifetime_policies_request_builder.go +++ b/policies/token_lifetime_policies_request_builder.go @@ -131,7 +131,7 @@ func (m *TokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new tokenLifetimePolicy object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TokenLifetimePoliciesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go b/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go index a7aab63e166..171dd6d641c 100644 --- a/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go +++ b/policies/token_lifetime_policies_token_lifetime_policy_item_request_builder.go @@ -131,7 +131,7 @@ func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *TokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/connectors_print_connector_item_request_builder.go b/print/connectors_print_connector_item_request_builder.go index 75e07b16eaf..704e67da4f0 100644 --- a/print/connectors_print_connector_item_request_builder.go +++ b/print/connectors_print_connector_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ConnectorsPrintConnectorItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a printConnector object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ConnectorsPrintConnectorItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a printConnector object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ConnectorsPrintConnectorItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/connectors_request_builder.go b/print/connectors_request_builder.go index 68180631f51..d3c5503b63f 100644 --- a/print/connectors_request_builder.go +++ b/print/connectors_request_builder.go @@ -128,7 +128,7 @@ func (m *ConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to connectors for print @@ -141,7 +141,7 @@ func (m *ConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/operations_print_operation_item_request_builder.go b/print/operations_print_operation_item_request_builder.go index e3fb0432f22..a5d403b5af7 100644 --- a/print/operations_print_operation_item_request_builder.go +++ b/print/operations_print_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *OperationsPrintOperationItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *OperationsPrintOperationItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in print @@ -150,7 +150,7 @@ func (m *OperationsPrintOperationItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/operations_request_builder.go b/print/operations_request_builder.go index 9a14fdd8ae3..a7d8365398a 100644 --- a/print/operations_request_builder.go +++ b/print/operations_request_builder.go @@ -125,7 +125,7 @@ func (m *OperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for print @@ -138,7 +138,7 @@ func (m *OperationsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/print_request_builder.go b/print/print_request_builder.go index b7eef592272..7f0d4e69d77 100644 --- a/print/print_request_builder.go +++ b/print/print_request_builder.go @@ -126,7 +126,7 @@ func (m *PrintRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update print @@ -139,7 +139,7 @@ func (m *PrintRequestBuilder) ToPatchRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_allowed_groups_item_ref_request_builder.go b/print/printer_shares_item_allowed_groups_item_ref_request_builder.go index 7605daa0a3d..f5b1ae1dfa5 100644 --- a/print/printer_shares_item_allowed_groups_item_ref_request_builder.go +++ b/print/printer_shares_item_allowed_groups_item_ref_request_builder.go @@ -71,7 +71,7 @@ func (m *PrinterSharesItemAllowedGroupsItemRefRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_allowed_groups_item_service_provisioning_errors_request_builder.go b/print/printer_shares_item_allowed_groups_item_service_provisioning_errors_request_builder.go index 8d936618c36..bd8ee68cd04 100644 --- a/print/printer_shares_item_allowed_groups_item_service_provisioning_errors_request_builder.go +++ b/print/printer_shares_item_allowed_groups_item_service_provisioning_errors_request_builder.go @@ -90,7 +90,7 @@ func (m *PrinterSharesItemAllowedGroupsItemServiceProvisioningErrorsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_allowed_groups_ref_request_builder.go b/print/printer_shares_item_allowed_groups_ref_request_builder.go index 0dff102aaa5..3ba52b28f4b 100644 --- a/print/printer_shares_item_allowed_groups_ref_request_builder.go +++ b/print/printer_shares_item_allowed_groups_ref_request_builder.go @@ -112,7 +112,7 @@ func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation grant the specified group access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. @@ -126,7 +126,7 @@ func (m *PrinterSharesItemAllowedGroupsRefRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_allowed_groups_request_builder.go b/print/printer_shares_item_allowed_groups_request_builder.go index 2563d5084b7..b3a2b50b296 100644 --- a/print/printer_shares_item_allowed_groups_request_builder.go +++ b/print/printer_shares_item_allowed_groups_request_builder.go @@ -108,7 +108,7 @@ func (m *PrinterSharesItemAllowedGroupsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_allowed_users_item_mailbox_settings_request_builder.go b/print/printer_shares_item_allowed_users_item_mailbox_settings_request_builder.go index 1769e58b69f..d04669f00aa 100644 --- a/print/printer_shares_item_allowed_users_item_mailbox_settings_request_builder.go +++ b/print/printer_shares_item_allowed_users_item_mailbox_settings_request_builder.go @@ -101,7 +101,7 @@ func (m *PrinterSharesItemAllowedUsersItemMailboxSettingsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -115,7 +115,7 @@ func (m *PrinterSharesItemAllowedUsersItemMailboxSettingsRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_allowed_users_item_ref_request_builder.go b/print/printer_shares_item_allowed_users_item_ref_request_builder.go index 9eb959f5130..e34db508efd 100644 --- a/print/printer_shares_item_allowed_users_item_ref_request_builder.go +++ b/print/printer_shares_item_allowed_users_item_ref_request_builder.go @@ -71,7 +71,7 @@ func (m *PrinterSharesItemAllowedUsersItemRefRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_allowed_users_item_service_provisioning_errors_request_builder.go b/print/printer_shares_item_allowed_users_item_service_provisioning_errors_request_builder.go index f53d151915a..f41bbbd944d 100644 --- a/print/printer_shares_item_allowed_users_item_service_provisioning_errors_request_builder.go +++ b/print/printer_shares_item_allowed_users_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewPrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder func (m *PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder) Count()(*PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsCountRequestBuilder) { return NewPrinterSharesItemAllowedUsersItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. // Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 func (m *PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -76,7 +76,7 @@ func (m *PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. // Deprecated: The printerShares navigation property is deprecated and will stop returning data on July 31, 2023. Please use the shares navigation property instead of this. as of 2023-06/Tasks_And_Plans on 2023-06-13 and will be removed 2023-07-31 func (m *PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -90,7 +90,7 @@ func (m *PrinterSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_allowed_users_ref_request_builder.go b/print/printer_shares_item_allowed_users_ref_request_builder.go index 47ee969d727..20c27afccd3 100644 --- a/print/printer_shares_item_allowed_users_ref_request_builder.go +++ b/print/printer_shares_item_allowed_users_ref_request_builder.go @@ -112,7 +112,7 @@ func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation grant the specified user access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. @@ -126,7 +126,7 @@ func (m *PrinterSharesItemAllowedUsersRefRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_allowed_users_request_builder.go b/print/printer_shares_item_allowed_users_request_builder.go index 28c19ecdfb5..a1987419e97 100644 --- a/print/printer_shares_item_allowed_users_request_builder.go +++ b/print/printer_shares_item_allowed_users_request_builder.go @@ -108,7 +108,7 @@ func (m *PrinterSharesItemAllowedUsersRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_jobs_item_abort_request_builder.go b/print/printer_shares_item_jobs_item_abort_request_builder.go index cb9b3c4e9f6..b06e002ed49 100644 --- a/print/printer_shares_item_jobs_item_abort_request_builder.go +++ b/print/printer_shares_item_jobs_item_abort_request_builder.go @@ -61,7 +61,7 @@ func (m *PrinterSharesItemJobsItemAbortRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_jobs_item_cancel_print_job_request_builder.go b/print/printer_shares_item_jobs_item_cancel_print_job_request_builder.go index 1ccb03c1e7e..00204121087 100644 --- a/print/printer_shares_item_jobs_item_cancel_print_job_request_builder.go +++ b/print/printer_shares_item_jobs_item_cancel_print_job_request_builder.go @@ -58,7 +58,7 @@ func (m *PrinterSharesItemJobsItemCancelPrintJobRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_jobs_item_cancel_request_builder.go b/print/printer_shares_item_jobs_item_cancel_request_builder.go index b052fd1626b..2e1410aca5d 100644 --- a/print/printer_shares_item_jobs_item_cancel_request_builder.go +++ b/print/printer_shares_item_jobs_item_cancel_request_builder.go @@ -61,7 +61,7 @@ func (m *PrinterSharesItemJobsItemCancelRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go b/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go index d0bb5cc07b3..9e455b85dd1 100644 --- a/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go +++ b/print/printer_shares_item_jobs_item_documents_item_create_upload_session_request_builder.go @@ -65,7 +65,7 @@ func (m *PrinterSharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_jobs_item_documents_item_value_content_request_builder.go b/print/printer_shares_item_jobs_item_documents_item_value_content_request_builder.go index aaec29dba15..187f4ac22ac 100644 --- a/print/printer_shares_item_jobs_item_documents_item_value_content_request_builder.go +++ b/print/printer_shares_item_jobs_item_documents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *PrinterSharesItemJobsItemDocumentsItemValueContentRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property documents in print @@ -102,7 +102,7 @@ func (m *PrinterSharesItemJobsItemDocumentsItemValueContentRequestBuilder) ToPut requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/print/printer_shares_item_jobs_item_documents_print_document_item_request_builder.go b/print/printer_shares_item_jobs_item_documents_print_document_item_request_builder.go index ff504b22409..66dd3690eb9 100644 --- a/print/printer_shares_item_jobs_item_documents_print_document_item_request_builder.go +++ b/print/printer_shares_item_jobs_item_documents_print_document_item_request_builder.go @@ -130,7 +130,7 @@ func (m *PrinterSharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get documents from print @@ -147,7 +147,7 @@ func (m *PrinterSharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property documents in print @@ -161,7 +161,7 @@ func (m *PrinterSharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_jobs_item_documents_request_builder.go b/print/printer_shares_item_jobs_item_documents_request_builder.go index bbe3423584b..515bbb5494b 100644 --- a/print/printer_shares_item_jobs_item_documents_request_builder.go +++ b/print/printer_shares_item_jobs_item_documents_request_builder.go @@ -129,7 +129,7 @@ func (m *PrinterSharesItemJobsItemDocumentsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to documents for print @@ -143,7 +143,7 @@ func (m *PrinterSharesItemJobsItemDocumentsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_jobs_item_redirect_request_builder.go b/print/printer_shares_item_jobs_item_redirect_request_builder.go index 0fd1a834aa1..ebb7ab663bd 100644 --- a/print/printer_shares_item_jobs_item_redirect_request_builder.go +++ b/print/printer_shares_item_jobs_item_redirect_request_builder.go @@ -65,7 +65,7 @@ func (m *PrinterSharesItemJobsItemRedirectRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_jobs_item_start_print_job_request_builder.go b/print/printer_shares_item_jobs_item_start_print_job_request_builder.go index 2312baaae71..60b81549a5c 100644 --- a/print/printer_shares_item_jobs_item_start_print_job_request_builder.go +++ b/print/printer_shares_item_jobs_item_start_print_job_request_builder.go @@ -62,7 +62,7 @@ func (m *PrinterSharesItemJobsItemStartPrintJobRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_jobs_item_start_request_builder.go b/print/printer_shares_item_jobs_item_start_request_builder.go index 43998a230c9..b8f324e2fe4 100644 --- a/print/printer_shares_item_jobs_item_start_request_builder.go +++ b/print/printer_shares_item_jobs_item_start_request_builder.go @@ -62,7 +62,7 @@ func (m *PrinterSharesItemJobsItemStartRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_jobs_item_tasks_item_definition_request_builder.go b/print/printer_shares_item_jobs_item_tasks_item_definition_request_builder.go index 338b583c66e..c66067569ac 100644 --- a/print/printer_shares_item_jobs_item_tasks_item_definition_request_builder.go +++ b/print/printer_shares_item_jobs_item_tasks_item_definition_request_builder.go @@ -74,7 +74,7 @@ func (m *PrinterSharesItemJobsItemTasksItemDefinitionRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_jobs_item_tasks_item_trigger_request_builder.go b/print/printer_shares_item_jobs_item_tasks_item_trigger_request_builder.go index e61d84df065..dcdf792e1c5 100644 --- a/print/printer_shares_item_jobs_item_tasks_item_trigger_request_builder.go +++ b/print/printer_shares_item_jobs_item_tasks_item_trigger_request_builder.go @@ -74,7 +74,7 @@ func (m *PrinterSharesItemJobsItemTasksItemTriggerRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_item_jobs_item_tasks_print_task_item_request_builder.go b/print/printer_shares_item_jobs_item_tasks_print_task_item_request_builder.go index eff7894a781..ffaf98a561f 100644 --- a/print/printer_shares_item_jobs_item_tasks_print_task_item_request_builder.go +++ b/print/printer_shares_item_jobs_item_tasks_print_task_item_request_builder.go @@ -126,7 +126,7 @@ func (m *PrinterSharesItemJobsItemTasksPrintTaskItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of printTasks that were triggered by this print job. @@ -143,7 +143,7 @@ func (m *PrinterSharesItemJobsItemTasksPrintTaskItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in print @@ -157,7 +157,7 @@ func (m *PrinterSharesItemJobsItemTasksPrintTaskItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_jobs_item_tasks_request_builder.go b/print/printer_shares_item_jobs_item_tasks_request_builder.go index f8d3f6b57fe..12bfa0869e3 100644 --- a/print/printer_shares_item_jobs_item_tasks_request_builder.go +++ b/print/printer_shares_item_jobs_item_tasks_request_builder.go @@ -129,7 +129,7 @@ func (m *PrinterSharesItemJobsItemTasksRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for print @@ -143,7 +143,7 @@ func (m *PrinterSharesItemJobsItemTasksRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_jobs_print_job_item_request_builder.go b/print/printer_shares_item_jobs_print_job_item_request_builder.go index 56e1447978e..8e9d0f70a1b 100644 --- a/print/printer_shares_item_jobs_print_job_item_request_builder.go +++ b/print/printer_shares_item_jobs_print_job_item_request_builder.go @@ -154,7 +154,7 @@ func (m *PrinterSharesItemJobsPrintJobItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get jobs from print @@ -171,7 +171,7 @@ func (m *PrinterSharesItemJobsPrintJobItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property jobs in print @@ -185,7 +185,7 @@ func (m *PrinterSharesItemJobsPrintJobItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_jobs_request_builder.go b/print/printer_shares_item_jobs_request_builder.go index 69136992b4f..cab506db45f 100644 --- a/print/printer_shares_item_jobs_request_builder.go +++ b/print/printer_shares_item_jobs_request_builder.go @@ -129,7 +129,7 @@ func (m *PrinterSharesItemJobsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to jobs for print @@ -143,7 +143,7 @@ func (m *PrinterSharesItemJobsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_item_printer_request_builder.go b/print/printer_shares_item_printer_request_builder.go index a852de81807..8782a68b484 100644 --- a/print/printer_shares_item_printer_request_builder.go +++ b/print/printer_shares_item_printer_request_builder.go @@ -74,7 +74,7 @@ func (m *PrinterSharesItemPrinterRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printer_shares_printer_share_item_request_builder.go b/print/printer_shares_printer_share_item_request_builder.go index a61b4d6b868..daa1adc088f 100644 --- a/print/printer_shares_printer_share_item_request_builder.go +++ b/print/printer_shares_printer_share_item_request_builder.go @@ -138,7 +138,7 @@ func (m *PrinterSharesPrinterShareItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get printerShares from print @@ -155,7 +155,7 @@ func (m *PrinterSharesPrinterShareItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property printerShares in print @@ -169,7 +169,7 @@ func (m *PrinterSharesPrinterShareItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printer_shares_request_builder.go b/print/printer_shares_request_builder.go index 4c3fa5dded5..a3e5a657783 100644 --- a/print/printer_shares_request_builder.go +++ b/print/printer_shares_request_builder.go @@ -129,7 +129,7 @@ func (m *PrinterSharesRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to printerShares for print @@ -143,7 +143,7 @@ func (m *PrinterSharesRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_create_request_builder.go b/print/printers_create_request_builder.go index 2ba908bdb3c..d5fb2dcb00b 100644 --- a/print/printers_create_request_builder.go +++ b/print/printers_create_request_builder.go @@ -59,7 +59,7 @@ func (m *PrintersCreateRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_connectors_print_connector_item_request_builder.go b/print/printers_item_connectors_print_connector_item_request_builder.go index 1e94ea5fbff..6f2efb91443 100644 --- a/print/printers_item_connectors_print_connector_item_request_builder.go +++ b/print/printers_item_connectors_print_connector_item_request_builder.go @@ -72,7 +72,7 @@ func (m *PrintersItemConnectorsPrintConnectorItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_connectors_request_builder.go b/print/printers_item_connectors_request_builder.go index d1bc0d54647..77edfa01f24 100644 --- a/print/printers_item_connectors_request_builder.go +++ b/print/printers_item_connectors_request_builder.go @@ -102,7 +102,7 @@ func (m *PrintersItemConnectorsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_get_capabilities_request_builder.go b/print/printers_item_get_capabilities_request_builder.go index 3b2715e8693..06647411d34 100644 --- a/print/printers_item_get_capabilities_request_builder.go +++ b/print/printers_item_get_capabilities_request_builder.go @@ -62,7 +62,7 @@ func (m *PrintersItemGetCapabilitiesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_jobs_item_abort_request_builder.go b/print/printers_item_jobs_item_abort_request_builder.go index fc80091315b..cff61729d9d 100644 --- a/print/printers_item_jobs_item_abort_request_builder.go +++ b/print/printers_item_jobs_item_abort_request_builder.go @@ -59,7 +59,7 @@ func (m *PrintersItemJobsItemAbortRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_jobs_item_cancel_print_job_request_builder.go b/print/printers_item_jobs_item_cancel_print_job_request_builder.go index 3d8f6ccdcc5..9efd485d381 100644 --- a/print/printers_item_jobs_item_cancel_print_job_request_builder.go +++ b/print/printers_item_jobs_item_cancel_print_job_request_builder.go @@ -58,7 +58,7 @@ func (m *PrintersItemJobsItemCancelPrintJobRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_jobs_item_cancel_request_builder.go b/print/printers_item_jobs_item_cancel_request_builder.go index d5c295b1f5f..c6ea6a89b9d 100644 --- a/print/printers_item_jobs_item_cancel_request_builder.go +++ b/print/printers_item_jobs_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *PrintersItemJobsItemCancelRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go b/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go index 101257389bd..456dbbb857e 100644 --- a/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go +++ b/print/printers_item_jobs_item_documents_item_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *PrintersItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_jobs_item_documents_item_value_content_request_builder.go b/print/printers_item_jobs_item_documents_item_value_content_request_builder.go index 1a2768a1eee..e69f4568139 100644 --- a/print/printers_item_jobs_item_documents_item_value_content_request_builder.go +++ b/print/printers_item_jobs_item_documents_item_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *PrintersItemJobsItemDocumentsItemValueContentRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property documents in print @@ -98,7 +98,7 @@ func (m *PrintersItemJobsItemDocumentsItemValueContentRequestBuilder) ToPutReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/print/printers_item_jobs_item_documents_print_document_item_request_builder.go b/print/printers_item_jobs_item_documents_print_document_item_request_builder.go index cab10ffe650..8ea1b7869f2 100644 --- a/print/printers_item_jobs_item_documents_print_document_item_request_builder.go +++ b/print/printers_item_jobs_item_documents_print_document_item_request_builder.go @@ -126,7 +126,7 @@ func (m *PrintersItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get documents from print @@ -142,7 +142,7 @@ func (m *PrintersItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property documents in print @@ -155,7 +155,7 @@ func (m *PrintersItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_jobs_item_documents_request_builder.go b/print/printers_item_jobs_item_documents_request_builder.go index c5246d87c05..3d77dd1f152 100644 --- a/print/printers_item_jobs_item_documents_request_builder.go +++ b/print/printers_item_jobs_item_documents_request_builder.go @@ -125,7 +125,7 @@ func (m *PrintersItemJobsItemDocumentsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to documents for print @@ -138,7 +138,7 @@ func (m *PrintersItemJobsItemDocumentsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_jobs_item_redirect_request_builder.go b/print/printers_item_jobs_item_redirect_request_builder.go index c432d83ff35..97fab91be6e 100644 --- a/print/printers_item_jobs_item_redirect_request_builder.go +++ b/print/printers_item_jobs_item_redirect_request_builder.go @@ -63,7 +63,7 @@ func (m *PrintersItemJobsItemRedirectRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_jobs_item_start_print_job_request_builder.go b/print/printers_item_jobs_item_start_print_job_request_builder.go index 6a19b82c6fd..127b1dc4712 100644 --- a/print/printers_item_jobs_item_start_print_job_request_builder.go +++ b/print/printers_item_jobs_item_start_print_job_request_builder.go @@ -62,7 +62,7 @@ func (m *PrintersItemJobsItemStartPrintJobRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_jobs_item_start_request_builder.go b/print/printers_item_jobs_item_start_request_builder.go index f997764c70b..c3d0db51702 100644 --- a/print/printers_item_jobs_item_start_request_builder.go +++ b/print/printers_item_jobs_item_start_request_builder.go @@ -60,7 +60,7 @@ func (m *PrintersItemJobsItemStartRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_jobs_item_tasks_item_definition_request_builder.go b/print/printers_item_jobs_item_tasks_item_definition_request_builder.go index 33acda7dc36..8eda3ae8a3e 100644 --- a/print/printers_item_jobs_item_tasks_item_definition_request_builder.go +++ b/print/printers_item_jobs_item_tasks_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *PrintersItemJobsItemTasksItemDefinitionRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_jobs_item_tasks_item_trigger_request_builder.go b/print/printers_item_jobs_item_tasks_item_trigger_request_builder.go index 7676ade9b1f..fbc9b8c30b6 100644 --- a/print/printers_item_jobs_item_tasks_item_trigger_request_builder.go +++ b/print/printers_item_jobs_item_tasks_item_trigger_request_builder.go @@ -72,7 +72,7 @@ func (m *PrintersItemJobsItemTasksItemTriggerRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_jobs_item_tasks_print_task_item_request_builder.go b/print/printers_item_jobs_item_tasks_print_task_item_request_builder.go index 1e9e6a84774..e06ed1d3ce4 100644 --- a/print/printers_item_jobs_item_tasks_print_task_item_request_builder.go +++ b/print/printers_item_jobs_item_tasks_print_task_item_request_builder.go @@ -122,7 +122,7 @@ func (m *PrintersItemJobsItemTasksPrintTaskItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of printTasks that were triggered by this print job. @@ -138,7 +138,7 @@ func (m *PrintersItemJobsItemTasksPrintTaskItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in print @@ -151,7 +151,7 @@ func (m *PrintersItemJobsItemTasksPrintTaskItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_jobs_item_tasks_request_builder.go b/print/printers_item_jobs_item_tasks_request_builder.go index 9ed2026a595..c84de4b94db 100644 --- a/print/printers_item_jobs_item_tasks_request_builder.go +++ b/print/printers_item_jobs_item_tasks_request_builder.go @@ -125,7 +125,7 @@ func (m *PrintersItemJobsItemTasksRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for print @@ -138,7 +138,7 @@ func (m *PrintersItemJobsItemTasksRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_jobs_print_job_item_request_builder.go b/print/printers_item_jobs_print_job_item_request_builder.go index 70b438764a0..cd41a0d2c64 100644 --- a/print/printers_item_jobs_print_job_item_request_builder.go +++ b/print/printers_item_jobs_print_job_item_request_builder.go @@ -150,7 +150,7 @@ func (m *PrintersItemJobsPrintJobItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get jobs from print @@ -166,7 +166,7 @@ func (m *PrintersItemJobsPrintJobItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property jobs in print @@ -179,7 +179,7 @@ func (m *PrintersItemJobsPrintJobItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_jobs_request_builder.go b/print/printers_item_jobs_request_builder.go index cedca18fd43..6065bb7758a 100644 --- a/print/printers_item_jobs_request_builder.go +++ b/print/printers_item_jobs_request_builder.go @@ -125,7 +125,7 @@ func (m *PrintersItemJobsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to jobs for print @@ -138,7 +138,7 @@ func (m *PrintersItemJobsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_reset_defaults_request_builder.go b/print/printers_item_reset_defaults_request_builder.go index af28a632389..380fcc6930b 100644 --- a/print/printers_item_reset_defaults_request_builder.go +++ b/print/printers_item_reset_defaults_request_builder.go @@ -58,7 +58,7 @@ func (m *PrintersItemResetDefaultsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_restore_factory_defaults_request_builder.go b/print/printers_item_restore_factory_defaults_request_builder.go index 27d33b47bb6..a140a244637 100644 --- a/print/printers_item_restore_factory_defaults_request_builder.go +++ b/print/printers_item_restore_factory_defaults_request_builder.go @@ -59,7 +59,7 @@ func (m *PrintersItemRestoreFactoryDefaultsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_share_request_builder.go b/print/printers_item_share_request_builder.go index 86727105fa3..75fdaa82bb6 100644 --- a/print/printers_item_share_request_builder.go +++ b/print/printers_item_share_request_builder.go @@ -74,7 +74,7 @@ func (m *PrintersItemShareRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_shares_printer_share_item_request_builder.go b/print/printers_item_shares_printer_share_item_request_builder.go index 33c3ea47573..93843ce50e2 100644 --- a/print/printers_item_shares_printer_share_item_request_builder.go +++ b/print/printers_item_shares_printer_share_item_request_builder.go @@ -72,7 +72,7 @@ func (m *PrintersItemSharesPrinterShareItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_shares_request_builder.go b/print/printers_item_shares_request_builder.go index 5a663d98b8f..bccb77f50ae 100644 --- a/print/printers_item_shares_request_builder.go +++ b/print/printers_item_shares_request_builder.go @@ -99,7 +99,7 @@ func (m *PrintersItemSharesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_task_triggers_item_definition_request_builder.go b/print/printers_item_task_triggers_item_definition_request_builder.go index 36f274d4064..72240d6f7ea 100644 --- a/print/printers_item_task_triggers_item_definition_request_builder.go +++ b/print/printers_item_task_triggers_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *PrintersItemTaskTriggersItemDefinitionRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go b/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go index e09d3f0a000..58225ca4516 100644 --- a/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go +++ b/print/printers_item_task_triggers_print_task_trigger_item_request_builder.go @@ -128,7 +128,7 @@ func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property taskTriggers in print @@ -157,7 +157,7 @@ func (m *PrintersItemTaskTriggersPrintTaskTriggerItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_item_task_triggers_request_builder.go b/print/printers_item_task_triggers_request_builder.go index 4e03662ec59..5a98496e50a 100644 --- a/print/printers_item_task_triggers_request_builder.go +++ b/print/printers_item_task_triggers_request_builder.go @@ -131,7 +131,7 @@ func (m *PrintersItemTaskTriggersRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *PrintersItemTaskTriggersRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_printer_item_request_builder.go b/print/printers_printer_item_request_builder.go index 9232bd4a746..380a5be0239 100644 --- a/print/printers_printer_item_request_builder.go +++ b/print/printers_printer_item_request_builder.go @@ -159,7 +159,7 @@ func (m *PrintersPrinterItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a printer object. This API is available in the following national cloud deployments. @@ -175,7 +175,7 @@ func (m *PrintersPrinterItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a printer object. This API is available in the following national cloud deployments. @@ -188,7 +188,7 @@ func (m *PrintersPrinterItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/printers_request_builder.go b/print/printers_request_builder.go index 111675e17b1..11c4cd5f17a 100644 --- a/print/printers_request_builder.go +++ b/print/printers_request_builder.go @@ -132,7 +132,7 @@ func (m *PrintersRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to printers for print @@ -145,7 +145,7 @@ func (m *PrintersRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/services_item_endpoints_print_service_endpoint_item_request_builder.go b/print/services_item_endpoints_print_service_endpoint_item_request_builder.go index a333ddd2198..08c1d629494 100644 --- a/print/services_item_endpoints_print_service_endpoint_item_request_builder.go +++ b/print/services_item_endpoints_print_service_endpoint_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a print service endpoint. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property endpoints in print @@ -150,7 +150,7 @@ func (m *ServicesItemEndpointsPrintServiceEndpointItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/services_item_endpoints_request_builder.go b/print/services_item_endpoints_request_builder.go index 380723e2c90..302d7a158ed 100644 --- a/print/services_item_endpoints_request_builder.go +++ b/print/services_item_endpoints_request_builder.go @@ -128,7 +128,7 @@ func (m *ServicesItemEndpointsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to endpoints for print @@ -141,7 +141,7 @@ func (m *ServicesItemEndpointsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/services_print_service_item_request_builder.go b/print/services_print_service_item_request_builder.go index e4c645ea744..a39368ad5fc 100644 --- a/print/services_print_service_item_request_builder.go +++ b/print/services_print_service_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ServicesPrintServiceItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a print service. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ServicesPrintServiceItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property services in print @@ -154,7 +154,7 @@ func (m *ServicesPrintServiceItemRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/services_request_builder.go b/print/services_request_builder.go index 74784f3684a..c2052db01a3 100644 --- a/print/services_request_builder.go +++ b/print/services_request_builder.go @@ -128,7 +128,7 @@ func (m *ServicesRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to services for print @@ -141,7 +141,7 @@ func (m *ServicesRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_allowed_groups_item_ref_request_builder.go b/print/shares_item_allowed_groups_item_ref_request_builder.go index 560e356fd5a..6ae1c895557 100644 --- a/print/shares_item_allowed_groups_item_ref_request_builder.go +++ b/print/shares_item_allowed_groups_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *SharesItemAllowedGroupsItemRefRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_allowed_groups_item_service_provisioning_errors_request_builder.go b/print/shares_item_allowed_groups_item_service_provisioning_errors_request_builder.go index 6676d23176e..d83bb795a0e 100644 --- a/print/shares_item_allowed_groups_item_service_provisioning_errors_request_builder.go +++ b/print/shares_item_allowed_groups_item_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *SharesItemAllowedGroupsItemServiceProvisioningErrorsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_allowed_groups_ref_request_builder.go b/print/shares_item_allowed_groups_ref_request_builder.go index 7056ef177ea..1d3df2750c0 100644 --- a/print/shares_item_allowed_groups_ref_request_builder.go +++ b/print/shares_item_allowed_groups_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *SharesItemAllowedGroupsRefRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation grant the specified group access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *SharesItemAllowedGroupsRefRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_allowed_groups_request_builder.go b/print/shares_item_allowed_groups_request_builder.go index c8a1664b5d6..ea440177a6b 100644 --- a/print/shares_item_allowed_groups_request_builder.go +++ b/print/shares_item_allowed_groups_request_builder.go @@ -106,7 +106,7 @@ func (m *SharesItemAllowedGroupsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_allowed_users_item_mailbox_settings_request_builder.go b/print/shares_item_allowed_users_item_mailbox_settings_request_builder.go index 518b7bde322..0a3b3400ced 100644 --- a/print/shares_item_allowed_users_item_mailbox_settings_request_builder.go +++ b/print/shares_item_allowed_users_item_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *SharesItemAllowedUsersItemMailboxSettingsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *SharesItemAllowedUsersItemMailboxSettingsRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_allowed_users_item_ref_request_builder.go b/print/shares_item_allowed_users_item_ref_request_builder.go index e775a39c16d..a8450da5ec1 100644 --- a/print/shares_item_allowed_users_item_ref_request_builder.go +++ b/print/shares_item_allowed_users_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *SharesItemAllowedUsersItemRefRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_allowed_users_item_service_provisioning_errors_request_builder.go b/print/shares_item_allowed_users_item_service_provisioning_errors_request_builder.go index 3b7df8b7343..7ec26412e65 100644 --- a/print/shares_item_allowed_users_item_service_provisioning_errors_request_builder.go +++ b/print/shares_item_allowed_users_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewSharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder(rawUrl func (m *SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder) Count()(*SharesItemAllowedUsersItemServiceProvisioningErrorsCountRequestBuilder) { return NewSharesItemAllowedUsersItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *SharesItemAllowedUsersItemServiceProvisioningErrorsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_allowed_users_ref_request_builder.go b/print/shares_item_allowed_users_ref_request_builder.go index 2e067b2a509..d15be540f8c 100644 --- a/print/shares_item_allowed_users_ref_request_builder.go +++ b/print/shares_item_allowed_users_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *SharesItemAllowedUsersRefRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation grant the specified user access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *SharesItemAllowedUsersRefRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_allowed_users_request_builder.go b/print/shares_item_allowed_users_request_builder.go index bc2d216d492..3ec81c4df4c 100644 --- a/print/shares_item_allowed_users_request_builder.go +++ b/print/shares_item_allowed_users_request_builder.go @@ -106,7 +106,7 @@ func (m *SharesItemAllowedUsersRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_jobs_item_abort_request_builder.go b/print/shares_item_jobs_item_abort_request_builder.go index d8f3a753de8..a1dae810a94 100644 --- a/print/shares_item_jobs_item_abort_request_builder.go +++ b/print/shares_item_jobs_item_abort_request_builder.go @@ -59,7 +59,7 @@ func (m *SharesItemJobsItemAbortRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_jobs_item_cancel_print_job_request_builder.go b/print/shares_item_jobs_item_cancel_print_job_request_builder.go index 67bc65e3f83..eeb8d843954 100644 --- a/print/shares_item_jobs_item_cancel_print_job_request_builder.go +++ b/print/shares_item_jobs_item_cancel_print_job_request_builder.go @@ -58,7 +58,7 @@ func (m *SharesItemJobsItemCancelPrintJobRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_jobs_item_cancel_request_builder.go b/print/shares_item_jobs_item_cancel_request_builder.go index c44568fb8b6..4bef5eb7a74 100644 --- a/print/shares_item_jobs_item_cancel_request_builder.go +++ b/print/shares_item_jobs_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *SharesItemJobsItemCancelRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go b/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go index 90b56ff7419..ceb473cf70d 100644 --- a/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go +++ b/print/shares_item_jobs_item_documents_item_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *SharesItemJobsItemDocumentsItemCreateUploadSessionRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_jobs_item_documents_item_value_content_request_builder.go b/print/shares_item_jobs_item_documents_item_value_content_request_builder.go index f61661d351a..d10bbe4c9f0 100644 --- a/print/shares_item_jobs_item_documents_item_value_content_request_builder.go +++ b/print/shares_item_jobs_item_documents_item_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *SharesItemJobsItemDocumentsItemValueContentRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property documents in print @@ -98,7 +98,7 @@ func (m *SharesItemJobsItemDocumentsItemValueContentRequestBuilder) ToPutRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/print/shares_item_jobs_item_documents_print_document_item_request_builder.go b/print/shares_item_jobs_item_documents_print_document_item_request_builder.go index deaf4bfbbfa..c32c55ba52e 100644 --- a/print/shares_item_jobs_item_documents_print_document_item_request_builder.go +++ b/print/shares_item_jobs_item_documents_print_document_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get documents from print @@ -142,7 +142,7 @@ func (m *SharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property documents in print @@ -155,7 +155,7 @@ func (m *SharesItemJobsItemDocumentsPrintDocumentItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_jobs_item_documents_request_builder.go b/print/shares_item_jobs_item_documents_request_builder.go index 5fcd47810d1..5435b60d354 100644 --- a/print/shares_item_jobs_item_documents_request_builder.go +++ b/print/shares_item_jobs_item_documents_request_builder.go @@ -125,7 +125,7 @@ func (m *SharesItemJobsItemDocumentsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to documents for print @@ -138,7 +138,7 @@ func (m *SharesItemJobsItemDocumentsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_jobs_item_redirect_request_builder.go b/print/shares_item_jobs_item_redirect_request_builder.go index 5fea9908f4c..046d5f5f434 100644 --- a/print/shares_item_jobs_item_redirect_request_builder.go +++ b/print/shares_item_jobs_item_redirect_request_builder.go @@ -63,7 +63,7 @@ func (m *SharesItemJobsItemRedirectRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_jobs_item_start_print_job_request_builder.go b/print/shares_item_jobs_item_start_print_job_request_builder.go index 67cb10ba9a9..a8725c81f1f 100644 --- a/print/shares_item_jobs_item_start_print_job_request_builder.go +++ b/print/shares_item_jobs_item_start_print_job_request_builder.go @@ -62,7 +62,7 @@ func (m *SharesItemJobsItemStartPrintJobRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_jobs_item_start_request_builder.go b/print/shares_item_jobs_item_start_request_builder.go index 57a23b34c5b..86020c58bfd 100644 --- a/print/shares_item_jobs_item_start_request_builder.go +++ b/print/shares_item_jobs_item_start_request_builder.go @@ -60,7 +60,7 @@ func (m *SharesItemJobsItemStartRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_jobs_item_tasks_item_definition_request_builder.go b/print/shares_item_jobs_item_tasks_item_definition_request_builder.go index 9646c0acd3f..1b3752cc19f 100644 --- a/print/shares_item_jobs_item_tasks_item_definition_request_builder.go +++ b/print/shares_item_jobs_item_tasks_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *SharesItemJobsItemTasksItemDefinitionRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_jobs_item_tasks_item_trigger_request_builder.go b/print/shares_item_jobs_item_tasks_item_trigger_request_builder.go index 928417e514c..5946da40abe 100644 --- a/print/shares_item_jobs_item_tasks_item_trigger_request_builder.go +++ b/print/shares_item_jobs_item_tasks_item_trigger_request_builder.go @@ -72,7 +72,7 @@ func (m *SharesItemJobsItemTasksItemTriggerRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_item_jobs_item_tasks_print_task_item_request_builder.go b/print/shares_item_jobs_item_tasks_print_task_item_request_builder.go index a8c93d7c1f8..5f76e35fb8f 100644 --- a/print/shares_item_jobs_item_tasks_print_task_item_request_builder.go +++ b/print/shares_item_jobs_item_tasks_print_task_item_request_builder.go @@ -122,7 +122,7 @@ func (m *SharesItemJobsItemTasksPrintTaskItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a list of printTasks that were triggered by this print job. @@ -138,7 +138,7 @@ func (m *SharesItemJobsItemTasksPrintTaskItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in print @@ -151,7 +151,7 @@ func (m *SharesItemJobsItemTasksPrintTaskItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_jobs_item_tasks_request_builder.go b/print/shares_item_jobs_item_tasks_request_builder.go index 6fde4715d31..c6edf5e64dd 100644 --- a/print/shares_item_jobs_item_tasks_request_builder.go +++ b/print/shares_item_jobs_item_tasks_request_builder.go @@ -125,7 +125,7 @@ func (m *SharesItemJobsItemTasksRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for print @@ -138,7 +138,7 @@ func (m *SharesItemJobsItemTasksRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_jobs_print_job_item_request_builder.go b/print/shares_item_jobs_print_job_item_request_builder.go index 06c261ced82..89068d51d5a 100644 --- a/print/shares_item_jobs_print_job_item_request_builder.go +++ b/print/shares_item_jobs_print_job_item_request_builder.go @@ -150,7 +150,7 @@ func (m *SharesItemJobsPrintJobItemRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get jobs from print @@ -166,7 +166,7 @@ func (m *SharesItemJobsPrintJobItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property jobs in print @@ -179,7 +179,7 @@ func (m *SharesItemJobsPrintJobItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_jobs_request_builder.go b/print/shares_item_jobs_request_builder.go index 26ce5395e4b..3bc18120d13 100644 --- a/print/shares_item_jobs_request_builder.go +++ b/print/shares_item_jobs_request_builder.go @@ -125,7 +125,7 @@ func (m *SharesItemJobsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to jobs for print @@ -138,7 +138,7 @@ func (m *SharesItemJobsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_item_printer_request_builder.go b/print/shares_item_printer_request_builder.go index da0485bbd71..d6538de189e 100644 --- a/print/shares_item_printer_request_builder.go +++ b/print/shares_item_printer_request_builder.go @@ -72,7 +72,7 @@ func (m *SharesItemPrinterRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/shares_printer_share_item_request_builder.go b/print/shares_printer_share_item_request_builder.go index 34e23ef6fe3..6b4310efbfa 100644 --- a/print/shares_printer_share_item_request_builder.go +++ b/print/shares_printer_share_item_request_builder.go @@ -143,7 +143,7 @@ func (m *SharesPrinterShareItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a printer share. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *SharesPrinterShareItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -172,7 +172,7 @@ func (m *SharesPrinterShareItemRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/shares_request_builder.go b/print/shares_request_builder.go index 10e97dffe2d..da2e420fb57 100644 --- a/print/shares_request_builder.go +++ b/print/shares_request_builder.go @@ -131,7 +131,7 @@ func (m *SharesRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new printerShare for the specified printer. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *SharesRequestBuilder) ToPostRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/task_definitions_item_tasks_item_definition_request_builder.go b/print/task_definitions_item_tasks_item_definition_request_builder.go index 34a070ea844..beb3f9a8c38 100644 --- a/print/task_definitions_item_tasks_item_definition_request_builder.go +++ b/print/task_definitions_item_tasks_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *TaskDefinitionsItemTasksItemDefinitionRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/task_definitions_item_tasks_item_trigger_request_builder.go b/print/task_definitions_item_tasks_item_trigger_request_builder.go index f7372a13a3e..be38644f060 100644 --- a/print/task_definitions_item_tasks_item_trigger_request_builder.go +++ b/print/task_definitions_item_tasks_item_trigger_request_builder.go @@ -72,7 +72,7 @@ func (m *TaskDefinitionsItemTasksItemTriggerRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/print/task_definitions_item_tasks_print_task_item_request_builder.go b/print/task_definitions_item_tasks_print_task_item_request_builder.go index 3beac62e022..5be9742fff3 100644 --- a/print/task_definitions_item_tasks_print_task_item_request_builder.go +++ b/print/task_definitions_item_tasks_print_task_item_request_builder.go @@ -128,7 +128,7 @@ func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -157,7 +157,7 @@ func (m *TaskDefinitionsItemTasksPrintTaskItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/task_definitions_item_tasks_request_builder.go b/print/task_definitions_item_tasks_request_builder.go index e7ffc3d6224..e0b348307c9 100644 --- a/print/task_definitions_item_tasks_request_builder.go +++ b/print/task_definitions_item_tasks_request_builder.go @@ -128,7 +128,7 @@ func (m *TaskDefinitionsItemTasksRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for print @@ -141,7 +141,7 @@ func (m *TaskDefinitionsItemTasksRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/task_definitions_print_task_definition_item_request_builder.go b/print/task_definitions_print_task_definition_item_request_builder.go index f3d3317c6d6..639773845ed 100644 --- a/print/task_definitions_print_task_definition_item_request_builder.go +++ b/print/task_definitions_print_task_definition_item_request_builder.go @@ -131,7 +131,7 @@ func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -147,7 +147,7 @@ func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -160,7 +160,7 @@ func (m *TaskDefinitionsPrintTaskDefinitionItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/print/task_definitions_request_builder.go b/print/task_definitions_request_builder.go index 25778cc2147..52004704bef 100644 --- a/print/task_definitions_request_builder.go +++ b/print/task_definitions_request_builder.go @@ -131,7 +131,7 @@ func (m *TaskDefinitionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *TaskDefinitionsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privacy/privacy_request_builder.go b/privacy/privacy_request_builder.go index e72087d469e..be10d4e9147 100644 --- a/privacy/privacy_request_builder.go +++ b/privacy/privacy_request_builder.go @@ -102,7 +102,7 @@ func (m *PrivacyRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update privacy @@ -115,7 +115,7 @@ func (m *PrivacyRequestBuilder) ToPatchRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privacy/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go b/privacy/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go index 8d339f99608..0e2652352b2 100644 --- a/privacy/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go +++ b/privacy/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go @@ -101,7 +101,7 @@ func (m *SubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -115,7 +115,7 @@ func (m *SubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privacy/subject_rights_requests_item_approvers_item_service_provisioning_errors_request_builder.go b/privacy/subject_rights_requests_item_approvers_item_service_provisioning_errors_request_builder.go index f4e544889fd..8a97f15b86a 100644 --- a/privacy/subject_rights_requests_item_approvers_item_service_provisioning_errors_request_builder.go +++ b/privacy/subject_rights_requests_item_approvers_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewSubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBu func (m *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilder) Count()(*SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsCountRequestBuilder) { return NewSubjectRightsRequestsItemApproversItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 func (m *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -76,7 +76,7 @@ func (m *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 func (m *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -90,7 +90,7 @@ func (m *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privacy/subject_rights_requests_item_approvers_request_builder.go b/privacy/subject_rights_requests_item_approvers_request_builder.go index abfc7ff85de..512ea79ed83 100644 --- a/privacy/subject_rights_requests_item_approvers_request_builder.go +++ b/privacy/subject_rights_requests_item_approvers_request_builder.go @@ -102,7 +102,7 @@ func (m *SubjectRightsRequestsItemApproversRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privacy/subject_rights_requests_item_approvers_user_item_request_builder.go b/privacy/subject_rights_requests_item_approvers_user_item_request_builder.go index 2ac9e83ffae..5c325b5357b 100644 --- a/privacy/subject_rights_requests_item_approvers_user_item_request_builder.go +++ b/privacy/subject_rights_requests_item_approvers_user_item_request_builder.go @@ -82,7 +82,7 @@ func (m *SubjectRightsRequestsItemApproversUserItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privacy/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go b/privacy/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go index 37a28a19b72..cb4902f2133 100644 --- a/privacy/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go +++ b/privacy/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go @@ -101,7 +101,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -115,7 +115,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privacy/subject_rights_requests_item_collaborators_item_service_provisioning_errors_request_builder.go b/privacy/subject_rights_requests_item_collaborators_item_service_provisioning_errors_request_builder.go index 06d50d0d213..7689f3266c4 100644 --- a/privacy/subject_rights_requests_item_collaborators_item_service_provisioning_errors_request_builder.go +++ b/privacy/subject_rights_requests_item_collaborators_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewSubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsReque func (m *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilder) Count()(*SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsCountRequestBuilder) { return NewSubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 func (m *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); @@ -76,7 +76,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. // Deprecated: The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate on 2022-03-22 and will be removed 2025-03-20 func (m *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -90,7 +90,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privacy/subject_rights_requests_item_collaborators_request_builder.go b/privacy/subject_rights_requests_item_collaborators_request_builder.go index 13cf9f95e4a..46bb1cd6453 100644 --- a/privacy/subject_rights_requests_item_collaborators_request_builder.go +++ b/privacy/subject_rights_requests_item_collaborators_request_builder.go @@ -102,7 +102,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privacy/subject_rights_requests_item_collaborators_user_item_request_builder.go b/privacy/subject_rights_requests_item_collaborators_user_item_request_builder.go index ce62b52a30e..c5496817fe7 100644 --- a/privacy/subject_rights_requests_item_collaborators_user_item_request_builder.go +++ b/privacy/subject_rights_requests_item_collaborators_user_item_request_builder.go @@ -82,7 +82,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go b/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go index 10fe5487a40..6f0c6104c72 100644 --- a/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go +++ b/privacy/subject_rights_requests_item_get_final_attachment_request_builder.go @@ -61,7 +61,7 @@ func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privacy/subject_rights_requests_item_get_final_report_request_builder.go b/privacy/subject_rights_requests_item_get_final_report_request_builder.go index 27580e7d66c..8ae9e8ec596 100644 --- a/privacy/subject_rights_requests_item_get_final_report_request_builder.go +++ b/privacy/subject_rights_requests_item_get_final_report_request_builder.go @@ -61,7 +61,7 @@ func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privacy/subject_rights_requests_item_notes_authored_note_item_request_builder.go b/privacy/subject_rights_requests_item_notes_authored_note_item_request_builder.go index 47144edc990..91e0165bfe8 100644 --- a/privacy/subject_rights_requests_item_notes_authored_note_item_request_builder.go +++ b/privacy/subject_rights_requests_item_notes_authored_note_item_request_builder.go @@ -122,7 +122,7 @@ func (m *SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of notes associated with the request. @@ -139,7 +139,7 @@ func (m *SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property notes in privacy @@ -153,7 +153,7 @@ func (m *SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privacy/subject_rights_requests_item_notes_request_builder.go b/privacy/subject_rights_requests_item_notes_request_builder.go index 70959079940..270b86e2a47 100644 --- a/privacy/subject_rights_requests_item_notes_request_builder.go +++ b/privacy/subject_rights_requests_item_notes_request_builder.go @@ -135,7 +135,7 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new authoredNote object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privacy/subject_rights_requests_item_team_request_builder.go b/privacy/subject_rights_requests_item_team_request_builder.go index e592890d260..a8beba7a2cd 100644 --- a/privacy/subject_rights_requests_item_team_request_builder.go +++ b/privacy/subject_rights_requests_item_team_request_builder.go @@ -74,7 +74,7 @@ func (m *SubjectRightsRequestsItemTeamRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privacy/subject_rights_requests_request_builder.go b/privacy/subject_rights_requests_request_builder.go index f2986f84854..a8a64dcf40c 100644 --- a/privacy/subject_rights_requests_request_builder.go +++ b/privacy/subject_rights_requests_request_builder.go @@ -135,7 +135,7 @@ func (m *SubjectRightsRequestsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new subjectRightsRequest object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *SubjectRightsRequestsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go b/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go index 7a63a756eb1..487fbf5e401 100644 --- a/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go +++ b/privacy/subject_rights_requests_subject_rights_request_item_request_builder.go @@ -152,7 +152,7 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a subjectRightsRequest object. This API is available in the following national cloud deployments. @@ -169,7 +169,7 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a subjectRightsRequest object. This API is available in the following national cloud deployments. @@ -183,7 +183,7 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_governance_resource_item_request_builder.go b/privilegedaccess/item_resources_governance_resource_item_request_builder.go index dd05992d92b..701f35661c0 100644 --- a/privilegedaccess/item_resources_governance_resource_item_request_builder.go +++ b/privilegedaccess/item_resources_governance_resource_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemResourcesGovernanceResourceItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of resources for the provider. @@ -154,7 +154,7 @@ func (m *ItemResourcesGovernanceResourceItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in privilegedAccess @@ -167,7 +167,7 @@ func (m *ItemResourcesGovernanceResourceItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_parent_request_builder.go b/privilegedaccess/item_resources_item_parent_request_builder.go index 1db32aee307..6aec4a5e479 100644 --- a/privilegedaccess/item_resources_item_parent_request_builder.go +++ b/privilegedaccess/item_resources_item_parent_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemParentRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go index 8b65bb2aace..f42e78591d3 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of role assignment requests for the resource. @@ -150,7 +150,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentRequests in privilegedAccess @@ -163,7 +163,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_cancel_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_cancel_request_builder.go index acac20b4b5b..3837a39fdf8 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_cancel_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_cancel_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemCancelRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_resource_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_resource_request_builder.go index dd50ad86df0..59c192b6868 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemResourceRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_request_builder.go index 06eaa5b73ac..64fed871ceb 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition that the request aims to. @@ -142,7 +142,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in privilegedAccess @@ -155,7 +155,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_resource_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_resource_request_builder.go index 79612c0f14f..7b96bae369a 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionResourceReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_role_setting_request_builder.go index 9c23f14c625..bc7acd093c4 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_subject_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_subject_request_builder.go index 598f14d9d37..ba9acb1ed50 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_subject_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_subject_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemSubjectRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The user/group principal. @@ -134,7 +134,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemSubjectRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subject in privilegedAccess @@ -147,7 +147,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemSubjectRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_item_update_request_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_item_update_request_request_builder.go index bacd7972c0b..93df618fddb 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_item_update_request_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_item_update_request_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_assignment_requests_request_builder.go b/privilegedaccess/item_resources_item_role_assignment_requests_request_builder.go index d33c7272156..af73ed881b7 100644 --- a/privilegedaccess/item_resources_item_role_assignment_requests_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignment_requests_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentRequests for privilegedAccess @@ -138,7 +138,7 @@ func (m *ItemResourcesItemRoleAssignmentRequestsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_assignments_export_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_export_request_builder.go index 8b550b24ee5..ddfc8d8ff7c 100644 --- a/privilegedaccess/item_resources_item_role_assignments_export_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_export_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemResourcesItemRoleAssignmentsExportRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_assignments_governance_role_assignment_item_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_governance_role_assignment_item_request_builder.go index ad7bf2ffcd8..fe4940ac93a 100644 --- a/privilegedaccess/item_resources_item_role_assignments_governance_role_assignment_item_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_governance_role_assignment_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemResourcesItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of role assignments for the resource. @@ -150,7 +150,7 @@ func (m *ItemResourcesItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignments in privilegedAccess @@ -163,7 +163,7 @@ func (m *ItemResourcesItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_assignments_item_linked_eligible_role_assignment_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_linked_eligible_role_assignment_request_builder.go index d8e58027134..719c8feb6f4 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_linked_eligible_role_assignment_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_linked_eligible_role_assignment_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_assignments_item_resource_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_resource_request_builder.go index 7dbf1929129..6612d690c6a 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemResourceRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_request_builder.go index 50798ca690d..c559b19c013 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition associated with the role assignment. @@ -142,7 +142,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in privilegedAccess @@ -155,7 +155,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_resource_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_resource_request_builder.go index a23490291cc..fc4c36e608e 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_role_setting_request_builder.go index 94b807f1086..1cc8eccb891 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_assignments_item_subject_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_item_subject_request_builder.go index 4f66c833522..974b5cf7fdb 100644 --- a/privilegedaccess/item_resources_item_role_assignments_item_subject_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_item_subject_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemSubjectRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The subject associated with the role assignment. @@ -134,7 +134,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemSubjectRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subject in privilegedAccess @@ -147,7 +147,7 @@ func (m *ItemResourcesItemRoleAssignmentsItemSubjectRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_assignments_request_builder.go b/privilegedaccess/item_resources_item_role_assignments_request_builder.go index 811493b223f..c6c8280a537 100644 --- a/privilegedaccess/item_resources_item_role_assignments_request_builder.go +++ b/privilegedaccess/item_resources_item_role_assignments_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemResourcesItemRoleAssignmentsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignments for privilegedAccess @@ -142,7 +142,7 @@ func (m *ItemResourcesItemRoleAssignmentsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_definitions_governance_role_definition_item_request_builder.go b/privilegedaccess/item_resources_item_role_definitions_governance_role_definition_item_request_builder.go index 995afe9aca8..2bc0caf1271 100644 --- a/privilegedaccess/item_resources_item_role_definitions_governance_role_definition_item_request_builder.go +++ b/privilegedaccess/item_resources_item_role_definitions_governance_role_definition_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of role definitions for the resource. @@ -142,7 +142,7 @@ func (m *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinitions in privilegedAccess @@ -155,7 +155,7 @@ func (m *ItemResourcesItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_definitions_item_resource_request_builder.go b/privilegedaccess/item_resources_item_role_definitions_item_resource_request_builder.go index 19d03844ab5..0caa01bd54f 100644 --- a/privilegedaccess/item_resources_item_role_definitions_item_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_definitions_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleDefinitionsItemResourceRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_definitions_item_role_setting_request_builder.go b/privilegedaccess/item_resources_item_role_definitions_item_role_setting_request_builder.go index 8d750ff5be5..133aa3b3364 100644 --- a/privilegedaccess/item_resources_item_role_definitions_item_role_setting_request_builder.go +++ b/privilegedaccess/item_resources_item_role_definitions_item_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleDefinitionsItemRoleSettingRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_definitions_request_builder.go b/privilegedaccess/item_resources_item_role_definitions_request_builder.go index c0669045fe9..6a55d763769 100644 --- a/privilegedaccess/item_resources_item_role_definitions_request_builder.go +++ b/privilegedaccess/item_resources_item_role_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemResourcesItemRoleDefinitionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleDefinitions for privilegedAccess @@ -138,7 +138,7 @@ func (m *ItemResourcesItemRoleDefinitionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_settings_governance_role_setting_item_request_builder.go b/privilegedaccess/item_resources_item_role_settings_governance_role_setting_item_request_builder.go index d1a94a9724f..4f7b63ef2d6 100644 --- a/privilegedaccess/item_resources_item_role_settings_governance_role_setting_item_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_governance_role_setting_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemResourcesItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of role settings for the resource. @@ -142,7 +142,7 @@ func (m *ItemResourcesItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleSettings in privilegedAccess @@ -155,7 +155,7 @@ func (m *ItemResourcesItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_settings_item_resource_request_builder.go b/privilegedaccess/item_resources_item_role_settings_item_resource_request_builder.go index d5e29c4a214..acbeb21301f 100644 --- a/privilegedaccess/item_resources_item_role_settings_item_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleSettingsItemResourceRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_settings_item_role_definition_request_builder.go b/privilegedaccess/item_resources_item_role_settings_item_role_definition_request_builder.go index c6c192b69cf..42c7dbebe0b 100644 --- a/privilegedaccess/item_resources_item_role_settings_item_role_definition_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemResourcesItemRoleSettingsItemRoleDefinitionRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition that is enforced with this role setting. @@ -142,7 +142,7 @@ func (m *ItemResourcesItemRoleSettingsItemRoleDefinitionRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in privilegedAccess @@ -155,7 +155,7 @@ func (m *ItemResourcesItemRoleSettingsItemRoleDefinitionRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_item_role_settings_item_role_definition_resource_request_builder.go b/privilegedaccess/item_resources_item_role_settings_item_role_definition_resource_request_builder.go index d44361700f3..93e9c07d094 100644 --- a/privilegedaccess/item_resources_item_role_settings_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_settings_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_resources_item_role_settings_item_role_definition_role_setting_request_builder.go index 924bf23509f..363090e448f 100644 --- a/privilegedaccess/item_resources_item_role_settings_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemResourcesItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_resources_item_role_settings_request_builder.go b/privilegedaccess/item_resources_item_role_settings_request_builder.go index 50686de271a..23a125d16c6 100644 --- a/privilegedaccess/item_resources_item_role_settings_request_builder.go +++ b/privilegedaccess/item_resources_item_role_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemResourcesItemRoleSettingsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleSettings for privilegedAccess @@ -138,7 +138,7 @@ func (m *ItemResourcesItemRoleSettingsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_register_request_builder.go b/privilegedaccess/item_resources_register_request_builder.go index 6d094c96154..9f7b28c517b 100644 --- a/privilegedaccess/item_resources_register_request_builder.go +++ b/privilegedaccess/item_resources_register_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemResourcesRegisterRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_resources_request_builder.go b/privilegedaccess/item_resources_request_builder.go index fcf8cfb14bf..84bf6359cd3 100644 --- a/privilegedaccess/item_resources_request_builder.go +++ b/privilegedaccess/item_resources_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemResourcesRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resources for privilegedAccess @@ -145,7 +145,7 @@ func (m *ItemResourcesRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go b/privilegedaccess/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go index 78eaa959a25..f96c61d2a20 100644 --- a/privilegedaccess/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_governance_role_assignment_request_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of role assignment requests for the provider. @@ -150,7 +150,7 @@ func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentRequests in privilegedAccess @@ -163,7 +163,7 @@ func (m *ItemRoleAssignmentRequestsGovernanceRoleAssignmentRequestItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_assignment_requests_item_cancel_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_cancel_request_builder.go index 2d2760133be..9c8bfa2458d 100644 --- a/privilegedaccess/item_role_assignment_requests_item_cancel_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_cancel_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemRoleAssignmentRequestsItemCancelRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_assignment_requests_item_resource_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_resource_request_builder.go index d912a571ddb..60b69ee23a3 100644 --- a/privilegedaccess/item_role_assignment_requests_item_resource_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentRequestsItemResourceRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_assignment_requests_item_role_definition_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_role_definition_request_builder.go index ef5cfceb389..e496541d7b0 100644 --- a/privilegedaccess/item_role_assignment_requests_item_role_definition_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition that the request aims to. @@ -142,7 +142,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in privilegedAccess @@ -155,7 +155,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_assignment_requests_item_role_definition_resource_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_role_definition_resource_request_builder.go index 8b3c5206e40..f3aaeb82555 100644 --- a/privilegedaccess/item_role_assignment_requests_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionResourceRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go index 425ab079d3b..dbb3b761d23 100644 --- a/privilegedaccess/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentRequestsItemRoleDefinitionRoleSettingRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_assignment_requests_item_subject_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_subject_request_builder.go index e8b17ed5ed6..9f068ca75df 100644 --- a/privilegedaccess/item_role_assignment_requests_item_subject_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_subject_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRoleAssignmentRequestsItemSubjectRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The user/group principal. @@ -134,7 +134,7 @@ func (m *ItemRoleAssignmentRequestsItemSubjectRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subject in privilegedAccess @@ -147,7 +147,7 @@ func (m *ItemRoleAssignmentRequestsItemSubjectRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_assignment_requests_item_update_request_request_builder.go b/privilegedaccess/item_role_assignment_requests_item_update_request_request_builder.go index a20133db4c0..bbae319a0d9 100644 --- a/privilegedaccess/item_role_assignment_requests_item_update_request_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_item_update_request_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemRoleAssignmentRequestsItemUpdateRequestRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_assignment_requests_request_builder.go b/privilegedaccess/item_role_assignment_requests_request_builder.go index 57f933fbea5..065d15d691e 100644 --- a/privilegedaccess/item_role_assignment_requests_request_builder.go +++ b/privilegedaccess/item_role_assignment_requests_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemRoleAssignmentRequestsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemRoleAssignmentRequestsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_assignments_export_request_builder.go b/privilegedaccess/item_role_assignments_export_request_builder.go index 03917b9dfb7..70db9f9e25e 100644 --- a/privilegedaccess/item_role_assignments_export_request_builder.go +++ b/privilegedaccess/item_role_assignments_export_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemRoleAssignmentsExportRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_assignments_governance_role_assignment_item_request_builder.go b/privilegedaccess/item_role_assignments_governance_role_assignment_item_request_builder.go index d480deec5d5..1365ac0a380 100644 --- a/privilegedaccess/item_role_assignments_governance_role_assignment_item_request_builder.go +++ b/privilegedaccess/item_role_assignments_governance_role_assignment_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of role assignments for the provider. @@ -150,7 +150,7 @@ func (m *ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignments in privilegedAccess @@ -163,7 +163,7 @@ func (m *ItemRoleAssignmentsGovernanceRoleAssignmentItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go b/privilegedaccess/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go index f23136cd2dd..0c98735a4d6 100644 --- a/privilegedaccess/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_linked_eligible_role_assignment_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentsItemLinkedEligibleRoleAssignmentRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_assignments_item_resource_request_builder.go b/privilegedaccess/item_role_assignments_item_resource_request_builder.go index d4f9bef1e65..f68ffeb17e9 100644 --- a/privilegedaccess/item_role_assignments_item_resource_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentsItemResourceRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_assignments_item_role_definition_request_builder.go b/privilegedaccess/item_role_assignments_item_role_definition_request_builder.go index bb620fd72ca..1283003ed83 100644 --- a/privilegedaccess/item_role_assignments_item_role_definition_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition associated with the role assignment. @@ -142,7 +142,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in privilegedAccess @@ -155,7 +155,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_assignments_item_role_definition_resource_request_builder.go b/privilegedaccess/item_role_assignments_item_role_definition_resource_request_builder.go index 221be183f7d..6a864e5d694 100644 --- a/privilegedaccess/item_role_assignments_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionResourceRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_assignments_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_role_assignments_item_role_definition_role_setting_request_builder.go index 216b9847f31..e36f7798752 100644 --- a/privilegedaccess/item_role_assignments_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleAssignmentsItemRoleDefinitionRoleSettingRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_assignments_item_subject_request_builder.go b/privilegedaccess/item_role_assignments_item_subject_request_builder.go index 4debc7cc019..a74b3a4a933 100644 --- a/privilegedaccess/item_role_assignments_item_subject_request_builder.go +++ b/privilegedaccess/item_role_assignments_item_subject_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRoleAssignmentsItemSubjectRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The subject associated with the role assignment. @@ -134,7 +134,7 @@ func (m *ItemRoleAssignmentsItemSubjectRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subject in privilegedAccess @@ -147,7 +147,7 @@ func (m *ItemRoleAssignmentsItemSubjectRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_assignments_request_builder.go b/privilegedaccess/item_role_assignments_request_builder.go index 8f58b578afe..9286965cedb 100644 --- a/privilegedaccess/item_role_assignments_request_builder.go +++ b/privilegedaccess/item_role_assignments_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignments for privilegedAccess @@ -142,7 +142,7 @@ func (m *ItemRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_definitions_governance_role_definition_item_request_builder.go b/privilegedaccess/item_role_definitions_governance_role_definition_item_request_builder.go index 540932de419..0ce94f9d493 100644 --- a/privilegedaccess/item_role_definitions_governance_role_definition_item_request_builder.go +++ b/privilegedaccess/item_role_definitions_governance_role_definition_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of role definitions for the provider. @@ -142,7 +142,7 @@ func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinitions in privilegedAccess @@ -155,7 +155,7 @@ func (m *ItemRoleDefinitionsGovernanceRoleDefinitionItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_definitions_item_resource_request_builder.go b/privilegedaccess/item_role_definitions_item_resource_request_builder.go index f9e3d69d638..4c3f14567c7 100644 --- a/privilegedaccess/item_role_definitions_item_resource_request_builder.go +++ b/privilegedaccess/item_role_definitions_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleDefinitionsItemResourceRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_definitions_item_role_setting_request_builder.go b/privilegedaccess/item_role_definitions_item_role_setting_request_builder.go index 48f9ecbcb00..6d136a5b575 100644 --- a/privilegedaccess/item_role_definitions_item_role_setting_request_builder.go +++ b/privilegedaccess/item_role_definitions_item_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleDefinitionsItemRoleSettingRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_definitions_request_builder.go b/privilegedaccess/item_role_definitions_request_builder.go index c2d9eb0a474..1e4543ff96b 100644 --- a/privilegedaccess/item_role_definitions_request_builder.go +++ b/privilegedaccess/item_role_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleDefinitions for privilegedAccess @@ -138,7 +138,7 @@ func (m *ItemRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go b/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go index e1a964d5e17..443467d8616 100644 --- a/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go +++ b/privilegedaccess/item_role_settings_governance_role_setting_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a governanceRoleSetting. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of governanceRoleSetting. This API is available in the following national cloud deployments. @@ -161,7 +161,7 @@ func (m *ItemRoleSettingsGovernanceRoleSettingItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_settings_item_resource_request_builder.go b/privilegedaccess/item_role_settings_item_resource_request_builder.go index c4ef083a677..a481ea6ba69 100644 --- a/privilegedaccess/item_role_settings_item_resource_request_builder.go +++ b/privilegedaccess/item_role_settings_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleSettingsItemResourceRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_settings_item_role_definition_request_builder.go b/privilegedaccess/item_role_settings_item_role_definition_request_builder.go index d4a14244ea8..c8a9e1ebac5 100644 --- a/privilegedaccess/item_role_settings_item_role_definition_request_builder.go +++ b/privilegedaccess/item_role_settings_item_role_definition_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. The role definition that is enforced with this role setting. @@ -142,7 +142,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinition in privilegedAccess @@ -155,7 +155,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/item_role_settings_item_role_definition_resource_request_builder.go b/privilegedaccess/item_role_settings_item_role_definition_resource_request_builder.go index 163492fa4e2..266f19ec1e6 100644 --- a/privilegedaccess/item_role_settings_item_role_definition_resource_request_builder.go +++ b/privilegedaccess/item_role_settings_item_role_definition_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionResourceRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_settings_item_role_definition_role_setting_request_builder.go b/privilegedaccess/item_role_settings_item_role_definition_role_setting_request_builder.go index 0e6c9a8acf5..bed14d88769 100644 --- a/privilegedaccess/item_role_settings_item_role_definition_role_setting_request_builder.go +++ b/privilegedaccess/item_role_settings_item_role_definition_role_setting_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleSettingsItemRoleDefinitionRoleSettingRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedaccess/item_role_settings_request_builder.go b/privilegedaccess/item_role_settings_request_builder.go index 9a5b1f77521..7e1e702894d 100644 --- a/privilegedaccess/item_role_settings_request_builder.go +++ b/privilegedaccess/item_role_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemRoleSettingsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleSettings for privilegedAccess @@ -138,7 +138,7 @@ func (m *ItemRoleSettingsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/privileged_access_item_request_builder.go b/privilegedaccess/privileged_access_item_request_builder.go index 0b8a04919e3..34ef90e29f2 100644 --- a/privilegedaccess/privileged_access_item_request_builder.go +++ b/privilegedaccess/privileged_access_item_request_builder.go @@ -138,7 +138,7 @@ func (m *PrivilegedAccessItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from privilegedAccess by key @@ -154,7 +154,7 @@ func (m *PrivilegedAccessItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in privilegedAccess @@ -167,7 +167,7 @@ func (m *PrivilegedAccessItemRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedaccess/privileged_access_request_builder.go b/privilegedaccess/privileged_access_request_builder.go index 13c0bc932be..c4bf66b841e 100644 --- a/privilegedaccess/privileged_access_request_builder.go +++ b/privilegedaccess/privileged_access_request_builder.go @@ -125,7 +125,7 @@ func (m *PrivilegedAccessRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to privilegedAccess @@ -138,7 +138,7 @@ func (m *PrivilegedAccessRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedapproval/item_request_request_builder.go b/privilegedapproval/item_request_request_builder.go index 3a81b96e662..6029386a246 100644 --- a/privilegedapproval/item_request_request_builder.go +++ b/privilegedapproval/item_request_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRequestRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedapproval/item_role_info_assignments_privileged_role_assignment_item_request_builder.go b/privilegedapproval/item_role_info_assignments_privileged_role_assignment_item_request_builder.go index 5abf4366b8e..0dec13f4329 100644 --- a/privilegedapproval/item_role_info_assignments_privileged_role_assignment_item_request_builder.go +++ b/privilegedapproval/item_role_info_assignments_privileged_role_assignment_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedapproval/item_role_info_assignments_request_builder.go b/privilegedapproval/item_role_info_assignments_request_builder.go index 1bdbbaa776d..e2d5c2a95f1 100644 --- a/privilegedapproval/item_role_info_assignments_request_builder.go +++ b/privilegedapproval/item_role_info_assignments_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemRoleInfoAssignmentsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedapproval/item_role_info_request_builder.go b/privilegedapproval/item_role_info_request_builder.go index 15634270040..ea5282b88fb 100644 --- a/privilegedapproval/item_role_info_request_builder.go +++ b/privilegedapproval/item_role_info_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemRoleInfoRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get roleInfo from privilegedApproval @@ -154,7 +154,7 @@ func (m *ItemRoleInfoRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleInfo in privilegedApproval @@ -167,7 +167,7 @@ func (m *ItemRoleInfoRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedapproval/item_role_info_self_activate_request_builder.go b/privilegedapproval/item_role_info_self_activate_request_builder.go index cbe578de348..915670506d0 100644 --- a/privilegedapproval/item_role_info_self_activate_request_builder.go +++ b/privilegedapproval/item_role_info_self_activate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemRoleInfoSelfActivateRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedapproval/item_role_info_self_deactivate_request_builder.go b/privilegedapproval/item_role_info_self_deactivate_request_builder.go index 3afb4a6c084..a25b2f5eb5f 100644 --- a/privilegedapproval/item_role_info_self_deactivate_request_builder.go +++ b/privilegedapproval/item_role_info_self_deactivate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemRoleInfoSelfDeactivateRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedapproval/item_role_info_settings_request_builder.go b/privilegedapproval/item_role_info_settings_request_builder.go index 723b3b32a61..43de584a064 100644 --- a/privilegedapproval/item_role_info_settings_request_builder.go +++ b/privilegedapproval/item_role_info_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get settings from privilegedApproval @@ -134,7 +134,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in privilegedApproval @@ -147,7 +147,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedapproval/item_role_info_summary_request_builder.go b/privilegedapproval/item_role_info_summary_request_builder.go index 8e2ad5b3a4c..987e0cbaf7d 100644 --- a/privilegedapproval/item_role_info_summary_request_builder.go +++ b/privilegedapproval/item_role_info_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get summary from privilegedApproval @@ -134,7 +134,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property summary in privilegedApproval @@ -147,7 +147,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedapproval/my_requests_request_builder.go b/privilegedapproval/my_requests_request_builder.go index 7cd619718fe..b5ba705ebe1 100644 --- a/privilegedapproval/my_requests_request_builder.go +++ b/privilegedapproval/my_requests_request_builder.go @@ -101,7 +101,7 @@ func (m *MyRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedapproval/privileged_approval_item_request_builder.go b/privilegedapproval/privileged_approval_item_request_builder.go index 8213624ba9e..e729a87a1be 100644 --- a/privilegedapproval/privileged_approval_item_request_builder.go +++ b/privilegedapproval/privileged_approval_item_request_builder.go @@ -126,7 +126,7 @@ func (m *PrivilegedApprovalItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from privilegedApproval by key @@ -142,7 +142,7 @@ func (m *PrivilegedApprovalItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in privilegedApproval @@ -155,7 +155,7 @@ func (m *PrivilegedApprovalItemRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedapproval/privileged_approval_request_builder.go b/privilegedapproval/privileged_approval_request_builder.go index c681f879d31..cca312c16b3 100644 --- a/privilegedapproval/privileged_approval_request_builder.go +++ b/privilegedapproval/privileged_approval_request_builder.go @@ -129,7 +129,7 @@ func (m *PrivilegedApprovalRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to privilegedApproval @@ -142,7 +142,7 @@ func (m *PrivilegedApprovalRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedoperationevents/privileged_operation_event_item_request_builder.go b/privilegedoperationevents/privileged_operation_event_item_request_builder.go index dcc467488de..4478f6a0990 100644 --- a/privilegedoperationevents/privileged_operation_event_item_request_builder.go +++ b/privilegedoperationevents/privileged_operation_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *PrivilegedOperationEventItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from privilegedOperationEvents by key @@ -134,7 +134,7 @@ func (m *PrivilegedOperationEventItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in privilegedOperationEvents @@ -147,7 +147,7 @@ func (m *PrivilegedOperationEventItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedoperationevents/privileged_operation_events_request_builder.go b/privilegedoperationevents/privileged_operation_events_request_builder.go index a0844a5e156..a971c6016c8 100644 --- a/privilegedoperationevents/privileged_operation_events_request_builder.go +++ b/privilegedoperationevents/privileged_operation_events_request_builder.go @@ -125,7 +125,7 @@ func (m *PrivilegedOperationEventsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to privilegedOperationEvents @@ -138,7 +138,7 @@ func (m *PrivilegedOperationEventsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignmentrequests/item_cancel_request_builder.go b/privilegedroleassignmentrequests/item_cancel_request_builder.go index 942e5eca8fc..65ba4e4586a 100644 --- a/privilegedroleassignmentrequests/item_cancel_request_builder.go +++ b/privilegedroleassignmentrequests/item_cancel_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemCancelRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroleassignmentrequests/item_role_info_assignments_privileged_role_assignment_item_request_builder.go b/privilegedroleassignmentrequests/item_role_info_assignments_privileged_role_assignment_item_request_builder.go index 972419a0a27..2a298407229 100644 --- a/privilegedroleassignmentrequests/item_role_info_assignments_privileged_role_assignment_item_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_assignments_privileged_role_assignment_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroleassignmentrequests/item_role_info_assignments_request_builder.go b/privilegedroleassignmentrequests/item_role_info_assignments_request_builder.go index 7726fbabf95..609d3d3c365 100644 --- a/privilegedroleassignmentrequests/item_role_info_assignments_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_assignments_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemRoleInfoAssignmentsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroleassignmentrequests/item_role_info_request_builder.go b/privilegedroleassignmentrequests/item_role_info_request_builder.go index 74cd7852fe8..742f280668a 100644 --- a/privilegedroleassignmentrequests/item_role_info_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemRoleInfoRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get roleInfo from privilegedRoleAssignmentRequests @@ -154,7 +154,7 @@ func (m *ItemRoleInfoRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleInfo in privilegedRoleAssignmentRequests @@ -167,7 +167,7 @@ func (m *ItemRoleInfoRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignmentrequests/item_role_info_self_activate_request_builder.go b/privilegedroleassignmentrequests/item_role_info_self_activate_request_builder.go index 5880acc2b46..30abbbee801 100644 --- a/privilegedroleassignmentrequests/item_role_info_self_activate_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_self_activate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemRoleInfoSelfActivateRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignmentrequests/item_role_info_self_deactivate_request_builder.go b/privilegedroleassignmentrequests/item_role_info_self_deactivate_request_builder.go index 06670d26575..043754fa005 100644 --- a/privilegedroleassignmentrequests/item_role_info_self_deactivate_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_self_deactivate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemRoleInfoSelfDeactivateRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroleassignmentrequests/item_role_info_settings_request_builder.go b/privilegedroleassignmentrequests/item_role_info_settings_request_builder.go index 2a98bab5ea9..d0cc223f14c 100644 --- a/privilegedroleassignmentrequests/item_role_info_settings_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get settings from privilegedRoleAssignmentRequests @@ -134,7 +134,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in privilegedRoleAssignmentRequests @@ -147,7 +147,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignmentrequests/item_role_info_summary_request_builder.go b/privilegedroleassignmentrequests/item_role_info_summary_request_builder.go index e56327d5255..78e175a402e 100644 --- a/privilegedroleassignmentrequests/item_role_info_summary_request_builder.go +++ b/privilegedroleassignmentrequests/item_role_info_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get summary from privilegedRoleAssignmentRequests @@ -134,7 +134,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property summary in privilegedRoleAssignmentRequests @@ -147,7 +147,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignmentrequests/my_request_builder.go b/privilegedroleassignmentrequests/my_request_builder.go index 6497c02b9c1..680c7cfb26c 100644 --- a/privilegedroleassignmentrequests/my_request_builder.go +++ b/privilegedroleassignmentrequests/my_request_builder.go @@ -101,7 +101,7 @@ func (m *MyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroleassignmentrequests/privileged_role_assignment_request_item_request_builder.go b/privilegedroleassignmentrequests/privileged_role_assignment_request_item_request_builder.go index a5992a7cf37..d8a024d533c 100644 --- a/privilegedroleassignmentrequests/privileged_role_assignment_request_item_request_builder.go +++ b/privilegedroleassignmentrequests/privileged_role_assignment_request_item_request_builder.go @@ -126,7 +126,7 @@ func (m *PrivilegedRoleAssignmentRequestItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from privilegedRoleAssignmentRequests by key @@ -142,7 +142,7 @@ func (m *PrivilegedRoleAssignmentRequestItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in privilegedRoleAssignmentRequests @@ -155,7 +155,7 @@ func (m *PrivilegedRoleAssignmentRequestItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignmentrequests/privileged_role_assignment_requests_request_builder.go b/privilegedroleassignmentrequests/privileged_role_assignment_requests_request_builder.go index 9b2f3d41604..c68ee6c205a 100644 --- a/privilegedroleassignmentrequests/privileged_role_assignment_requests_request_builder.go +++ b/privilegedroleassignmentrequests/privileged_role_assignment_requests_request_builder.go @@ -129,7 +129,7 @@ func (m *PrivilegedRoleAssignmentRequestsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to privilegedRoleAssignmentRequests @@ -142,7 +142,7 @@ func (m *PrivilegedRoleAssignmentRequestsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignments/item_make_eligible_request_builder.go b/privilegedroleassignments/item_make_eligible_request_builder.go index 466c63dd69e..40718713590 100644 --- a/privilegedroleassignments/item_make_eligible_request_builder.go +++ b/privilegedroleassignments/item_make_eligible_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemMakeEligibleRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroleassignments/item_make_permanent_request_builder.go b/privilegedroleassignments/item_make_permanent_request_builder.go index 35c03b52f86..ff5d3edc88f 100644 --- a/privilegedroleassignments/item_make_permanent_request_builder.go +++ b/privilegedroleassignments/item_make_permanent_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemMakePermanentRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignments/item_role_info_assignments_privileged_role_assignment_item_request_builder.go b/privilegedroleassignments/item_role_info_assignments_privileged_role_assignment_item_request_builder.go index 601f18958b4..9d8b7d3d2b1 100644 --- a/privilegedroleassignments/item_role_info_assignments_privileged_role_assignment_item_request_builder.go +++ b/privilegedroleassignments/item_role_info_assignments_privileged_role_assignment_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRoleInfoAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroleassignments/item_role_info_assignments_request_builder.go b/privilegedroleassignments/item_role_info_assignments_request_builder.go index 2df5905a699..f232e7308b8 100644 --- a/privilegedroleassignments/item_role_info_assignments_request_builder.go +++ b/privilegedroleassignments/item_role_info_assignments_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemRoleInfoAssignmentsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroleassignments/item_role_info_request_builder.go b/privilegedroleassignments/item_role_info_request_builder.go index 2837401dc64..dcd119dc15a 100644 --- a/privilegedroleassignments/item_role_info_request_builder.go +++ b/privilegedroleassignments/item_role_info_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemRoleInfoRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get roleInfo from privilegedRoleAssignments @@ -154,7 +154,7 @@ func (m *ItemRoleInfoRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleInfo in privilegedRoleAssignments @@ -167,7 +167,7 @@ func (m *ItemRoleInfoRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignments/item_role_info_self_activate_request_builder.go b/privilegedroleassignments/item_role_info_self_activate_request_builder.go index 9afdb478058..7a7ca66cd61 100644 --- a/privilegedroleassignments/item_role_info_self_activate_request_builder.go +++ b/privilegedroleassignments/item_role_info_self_activate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemRoleInfoSelfActivateRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignments/item_role_info_self_deactivate_request_builder.go b/privilegedroleassignments/item_role_info_self_deactivate_request_builder.go index facc98361e2..9679fefcc21 100644 --- a/privilegedroleassignments/item_role_info_self_deactivate_request_builder.go +++ b/privilegedroleassignments/item_role_info_self_deactivate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemRoleInfoSelfDeactivateRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroleassignments/item_role_info_settings_request_builder.go b/privilegedroleassignments/item_role_info_settings_request_builder.go index 3789f670bcd..a83beaf5b0d 100644 --- a/privilegedroleassignments/item_role_info_settings_request_builder.go +++ b/privilegedroleassignments/item_role_info_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get settings from privilegedRoleAssignments @@ -134,7 +134,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in privilegedRoleAssignments @@ -147,7 +147,7 @@ func (m *ItemRoleInfoSettingsRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignments/item_role_info_summary_request_builder.go b/privilegedroleassignments/item_role_info_summary_request_builder.go index c94a704e28b..c60481e15cc 100644 --- a/privilegedroleassignments/item_role_info_summary_request_builder.go +++ b/privilegedroleassignments/item_role_info_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get summary from privilegedRoleAssignments @@ -134,7 +134,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property summary in privilegedRoleAssignments @@ -147,7 +147,7 @@ func (m *ItemRoleInfoSummaryRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignments/my_request_builder.go b/privilegedroleassignments/my_request_builder.go index eee9ea70e81..37562752785 100644 --- a/privilegedroleassignments/my_request_builder.go +++ b/privilegedroleassignments/my_request_builder.go @@ -101,7 +101,7 @@ func (m *MyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroleassignments/privileged_role_assignment_item_request_builder.go b/privilegedroleassignments/privileged_role_assignment_item_request_builder.go index 74127d2e910..a6d96ab5737 100644 --- a/privilegedroleassignments/privileged_role_assignment_item_request_builder.go +++ b/privilegedroleassignments/privileged_role_assignment_item_request_builder.go @@ -130,7 +130,7 @@ func (m *PrivilegedRoleAssignmentItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from privilegedRoleAssignments by key @@ -146,7 +146,7 @@ func (m *PrivilegedRoleAssignmentItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in privilegedRoleAssignments @@ -159,7 +159,7 @@ func (m *PrivilegedRoleAssignmentItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroleassignments/privileged_role_assignments_request_builder.go b/privilegedroleassignments/privileged_role_assignments_request_builder.go index 1589e10af37..c8a7ac930c4 100644 --- a/privilegedroleassignments/privileged_role_assignments_request_builder.go +++ b/privilegedroleassignments/privileged_role_assignments_request_builder.go @@ -129,7 +129,7 @@ func (m *PrivilegedRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to privilegedRoleAssignments @@ -142,7 +142,7 @@ func (m *PrivilegedRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroles/item_assignments_privileged_role_assignment_item_request_builder.go b/privilegedroles/item_assignments_privileged_role_assignment_item_request_builder.go index 885a8474d76..60a804e9732 100644 --- a/privilegedroles/item_assignments_privileged_role_assignment_item_request_builder.go +++ b/privilegedroles/item_assignments_privileged_role_assignment_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemAssignmentsPrivilegedRoleAssignmentItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroles/item_assignments_request_builder.go b/privilegedroles/item_assignments_request_builder.go index 9ec28bc9a8b..faeb166a6ac 100644 --- a/privilegedroles/item_assignments_request_builder.go +++ b/privilegedroles/item_assignments_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroles/item_self_activate_request_builder.go b/privilegedroles/item_self_activate_request_builder.go index 5f9d6c88a20..e38984f5349 100644 --- a/privilegedroles/item_self_activate_request_builder.go +++ b/privilegedroles/item_self_activate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemSelfActivateRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroles/item_self_deactivate_request_builder.go b/privilegedroles/item_self_deactivate_request_builder.go index 259ea3afa03..d72da347ffe 100644 --- a/privilegedroles/item_self_deactivate_request_builder.go +++ b/privilegedroles/item_self_deactivate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemSelfDeactivateRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedroles/item_settings_request_builder.go b/privilegedroles/item_settings_request_builder.go index 99e72e798f7..f0d3556a4c9 100644 --- a/privilegedroles/item_settings_request_builder.go +++ b/privilegedroles/item_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSettingsRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get settings from privilegedRoles @@ -134,7 +134,7 @@ func (m *ItemSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in privilegedRoles @@ -147,7 +147,7 @@ func (m *ItemSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroles/item_summary_request_builder.go b/privilegedroles/item_summary_request_builder.go index 93bb7adb22e..11395c6f6f9 100644 --- a/privilegedroles/item_summary_request_builder.go +++ b/privilegedroles/item_summary_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSummaryRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get summary from privilegedRoles @@ -134,7 +134,7 @@ func (m *ItemSummaryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property summary in privilegedRoles @@ -147,7 +147,7 @@ func (m *ItemSummaryRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroles/privileged_role_item_request_builder.go b/privilegedroles/privileged_role_item_request_builder.go index c89261e220c..d77e3654f9d 100644 --- a/privilegedroles/privileged_role_item_request_builder.go +++ b/privilegedroles/privileged_role_item_request_builder.go @@ -138,7 +138,7 @@ func (m *PrivilegedRoleItemRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from privilegedRoles by key @@ -154,7 +154,7 @@ func (m *PrivilegedRoleItemRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in privilegedRoles @@ -167,7 +167,7 @@ func (m *PrivilegedRoleItemRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedroles/privileged_roles_request_builder.go b/privilegedroles/privileged_roles_request_builder.go index 80e7ee7b282..5f1a5b5f09a 100644 --- a/privilegedroles/privileged_roles_request_builder.go +++ b/privilegedroles/privileged_roles_request_builder.go @@ -125,7 +125,7 @@ func (m *PrivilegedRolesRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to privilegedRoles @@ -138,7 +138,7 @@ func (m *PrivilegedRolesRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedsignupstatus/can_sign_up_request_builder.go b/privilegedsignupstatus/can_sign_up_request_builder.go index f06746554af..391668bfc8f 100644 --- a/privilegedsignupstatus/can_sign_up_request_builder.go +++ b/privilegedsignupstatus/can_sign_up_request_builder.go @@ -79,7 +79,7 @@ func (m *CanSignUpRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedsignupstatus/complete_setup_request_builder.go b/privilegedsignupstatus/complete_setup_request_builder.go index 31120cfd28b..fa01db49bf7 100644 --- a/privilegedsignupstatus/complete_setup_request_builder.go +++ b/privilegedsignupstatus/complete_setup_request_builder.go @@ -79,7 +79,7 @@ func (m *CompleteSetupRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedsignupstatus/is_signed_up_request_builder.go b/privilegedsignupstatus/is_signed_up_request_builder.go index ea79613d5d8..c2eea55f108 100644 --- a/privilegedsignupstatus/is_signed_up_request_builder.go +++ b/privilegedsignupstatus/is_signed_up_request_builder.go @@ -79,7 +79,7 @@ func (m *IsSignedUpRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/privilegedsignupstatus/privileged_signup_status_item_request_builder.go b/privilegedsignupstatus/privileged_signup_status_item_request_builder.go index a89195b4b12..03fbf553cc6 100644 --- a/privilegedsignupstatus/privileged_signup_status_item_request_builder.go +++ b/privilegedsignupstatus/privileged_signup_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *PrivilegedSignupStatusItemRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from privilegedSignupStatus by key @@ -134,7 +134,7 @@ func (m *PrivilegedSignupStatusItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in privilegedSignupStatus @@ -147,7 +147,7 @@ func (m *PrivilegedSignupStatusItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedsignupstatus/privileged_signup_status_request_builder.go b/privilegedsignupstatus/privileged_signup_status_request_builder.go index bbbaa783961..86a51f7b6e3 100644 --- a/privilegedsignupstatus/privileged_signup_status_request_builder.go +++ b/privilegedsignupstatus/privileged_signup_status_request_builder.go @@ -141,7 +141,7 @@ func (m *PrivilegedSignupStatusRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to privilegedSignupStatus @@ -154,7 +154,7 @@ func (m *PrivilegedSignupStatusRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/privilegedsignupstatus/sign_up_request_builder.go b/privilegedsignupstatus/sign_up_request_builder.go index a60d6116275..de2a8de6b7b 100644 --- a/privilegedsignupstatus/sign_up_request_builder.go +++ b/privilegedsignupstatus/sign_up_request_builder.go @@ -60,7 +60,7 @@ func (m *SignUpRequestBuilder) ToPostRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/programcontrols/item_program_controls_program_control_item_request_builder.go b/programcontrols/item_program_controls_program_control_item_request_builder.go index de90883e9e1..4d999cbb423 100644 --- a/programcontrols/item_program_controls_program_control_item_request_builder.go +++ b/programcontrols/item_program_controls_program_control_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemProgramControlsProgramControlItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation controls associated with the program. @@ -134,7 +134,7 @@ func (m *ItemProgramControlsProgramControlItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property controls in programControls @@ -147,7 +147,7 @@ func (m *ItemProgramControlsProgramControlItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programcontrols/item_program_controls_request_builder.go b/programcontrols/item_program_controls_request_builder.go index d9a377878ae..935314b344f 100644 --- a/programcontrols/item_program_controls_request_builder.go +++ b/programcontrols/item_program_controls_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemProgramControlsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to controls for programControls @@ -141,7 +141,7 @@ func (m *ItemProgramControlsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programcontrols/item_program_request_builder.go b/programcontrols/item_program_request_builder.go index f4a3d01b0f7..cfae2f32ddd 100644 --- a/programcontrols/item_program_request_builder.go +++ b/programcontrols/item_program_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemProgramRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the program this control is part of. @@ -138,7 +138,7 @@ func (m *ItemProgramRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property program in programControls @@ -151,7 +151,7 @@ func (m *ItemProgramRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programcontrols/program_control_item_request_builder.go b/programcontrols/program_control_item_request_builder.go index cf6514c0259..99010510ad9 100644 --- a/programcontrols/program_control_item_request_builder.go +++ b/programcontrols/program_control_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ProgramControlItemRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from programControls by key @@ -141,7 +141,7 @@ func (m *ProgramControlItemRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in programControls @@ -154,7 +154,7 @@ func (m *ProgramControlItemRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programcontrols/program_controls_request_builder.go b/programcontrols/program_controls_request_builder.go index d5843b7f280..be5e07ef53d 100644 --- a/programcontrols/program_controls_request_builder.go +++ b/programcontrols/program_controls_request_builder.go @@ -131,7 +131,7 @@ func (m *ProgramControlsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ProgramControlsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programcontroltypes/program_control_type_item_request_builder.go b/programcontroltypes/program_control_type_item_request_builder.go index b02503f411f..677e032d542 100644 --- a/programcontroltypes/program_control_type_item_request_builder.go +++ b/programcontroltypes/program_control_type_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ProgramControlTypeItemRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from programControlTypes by key @@ -134,7 +134,7 @@ func (m *ProgramControlTypeItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in programControlTypes @@ -147,7 +147,7 @@ func (m *ProgramControlTypeItemRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programcontroltypes/program_control_types_request_builder.go b/programcontroltypes/program_control_types_request_builder.go index 0d407e6acf8..e27de74b67f 100644 --- a/programcontroltypes/program_control_types_request_builder.go +++ b/programcontroltypes/program_control_types_request_builder.go @@ -128,7 +128,7 @@ func (m *ProgramControlTypesRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to programControlTypes @@ -141,7 +141,7 @@ func (m *ProgramControlTypesRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programs/item_controls_item_program_request_builder.go b/programs/item_controls_item_program_request_builder.go index 7119ed74769..ddbf43986dd 100644 --- a/programs/item_controls_item_program_request_builder.go +++ b/programs/item_controls_item_program_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemControlsItemProgramRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the program this control is part of. @@ -134,7 +134,7 @@ func (m *ItemControlsItemProgramRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property program in programs @@ -147,7 +147,7 @@ func (m *ItemControlsItemProgramRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programs/item_controls_program_control_item_request_builder.go b/programs/item_controls_program_control_item_request_builder.go index 0492ab67368..3f301252867 100644 --- a/programs/item_controls_program_control_item_request_builder.go +++ b/programs/item_controls_program_control_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemControlsProgramControlItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation controls associated with the program. @@ -138,7 +138,7 @@ func (m *ItemControlsProgramControlItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property controls in programs @@ -151,7 +151,7 @@ func (m *ItemControlsProgramControlItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programs/item_controls_request_builder.go b/programs/item_controls_request_builder.go index 684c6770da5..1711bac6281 100644 --- a/programs/item_controls_request_builder.go +++ b/programs/item_controls_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemControlsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to controls for programs @@ -141,7 +141,7 @@ func (m *ItemControlsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programs/program_item_request_builder.go b/programs/program_item_request_builder.go index 104ffe50b9f..4e04db9da5c 100644 --- a/programs/program_item_request_builder.go +++ b/programs/program_item_request_builder.go @@ -128,7 +128,7 @@ func (m *ProgramItemRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from programs by key @@ -144,7 +144,7 @@ func (m *ProgramItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation in the Microsoft Entra access reviews feature, update an existing program object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ProgramItemRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/programs/programs_request_builder.go b/programs/programs_request_builder.go index 42013f7e2bf..7a5097e73f9 100644 --- a/programs/programs_request_builder.go +++ b/programs/programs_request_builder.go @@ -131,7 +131,7 @@ func (m *ProgramsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation in the Microsoft Entra access reviews feature, create a new program object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ProgramsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go b/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go index 87777cda4d6..b416e3f98c3 100644 --- a/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go +++ b/reports/app_credential_sign_in_activities_app_credential_sign_in_activity_item_request_builder.go @@ -121,7 +121,7 @@ func (m *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an appCredentialSignInActivity object that contains recent activity of an application credential. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appCredentialSignInActivities in reports @@ -150,7 +150,7 @@ func (m *AppCredentialSignInActivitiesAppCredentialSignInActivityItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/app_credential_sign_in_activities_request_builder.go b/reports/app_credential_sign_in_activities_request_builder.go index 03765d9d19e..ddc3b8ae01c 100644 --- a/reports/app_credential_sign_in_activities_request_builder.go +++ b/reports/app_credential_sign_in_activities_request_builder.go @@ -128,7 +128,7 @@ func (m *AppCredentialSignInActivitiesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to appCredentialSignInActivities for reports @@ -141,7 +141,7 @@ func (m *AppCredentialSignInActivitiesRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go b/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go index 32050627692..715ba4fce72 100644 --- a/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go +++ b/reports/application_sign_in_detailed_summary_application_sign_in_detailed_summary_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an applicationSignInDetailedSummary object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property applicationSignInDetailedSummary in reports @@ -150,7 +150,7 @@ func (m *ApplicationSignInDetailedSummaryApplicationSignInDetailedSummaryItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/application_sign_in_detailed_summary_request_builder.go b/reports/application_sign_in_detailed_summary_request_builder.go index 5be7a3c451c..de4407698fb 100644 --- a/reports/application_sign_in_detailed_summary_request_builder.go +++ b/reports/application_sign_in_detailed_summary_request_builder.go @@ -128,7 +128,7 @@ func (m *ApplicationSignInDetailedSummaryRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to applicationSignInDetailedSummary for reports @@ -141,7 +141,7 @@ func (m *ApplicationSignInDetailedSummaryRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/authentication_methods_request_builder.go b/reports/authentication_methods_request_builder.go index 103eaef721d..f6f16058d7b 100644 --- a/reports/authentication_methods_request_builder.go +++ b/reports/authentication_methods_request_builder.go @@ -118,7 +118,7 @@ func (m *AuthenticationMethodsRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation container for navigation properties for Microsoft Entra authentication methods resources. @@ -134,7 +134,7 @@ func (m *AuthenticationMethodsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authenticationMethods in reports @@ -147,7 +147,7 @@ func (m *AuthenticationMethodsRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/authentication_methods_user_registration_details_request_builder.go b/reports/authentication_methods_user_registration_details_request_builder.go index c0b2983b218..7c0c2c76405 100644 --- a/reports/authentication_methods_user_registration_details_request_builder.go +++ b/reports/authentication_methods_user_registration_details_request_builder.go @@ -128,7 +128,7 @@ func (m *AuthenticationMethodsUserRegistrationDetailsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userRegistrationDetails for reports @@ -141,7 +141,7 @@ func (m *AuthenticationMethodsUserRegistrationDetailsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go b/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go index b2cb80b3d9e..d294d5ef263 100644 --- a/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go +++ b/reports/authentication_methods_user_registration_details_user_registration_details_item_request_builder.go @@ -121,7 +121,7 @@ func (m *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a userRegistrationDetails object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userRegistrationDetails in reports @@ -150,7 +150,7 @@ func (m *AuthenticationMethodsUserRegistrationDetailsUserRegistrationDetailsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/authentication_methods_users_registered_by_feature_request_builder.go b/reports/authentication_methods_users_registered_by_feature_request_builder.go index 9d325153a67..77fb19f4a50 100644 --- a/reports/authentication_methods_users_registered_by_feature_request_builder.go +++ b/reports/authentication_methods_users_registered_by_feature_request_builder.go @@ -60,7 +60,7 @@ func (m *AuthenticationMethodsUsersRegisteredByFeatureRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/authentication_methods_users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.go b/reports/authentication_methods_users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.go index fd6e62a4f03..eb569acffeb 100644 --- a/reports/authentication_methods_users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.go +++ b/reports/authentication_methods_users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.go @@ -66,7 +66,7 @@ func (m *AuthenticationMethodsUsersRegisteredByFeatureWithIncludedUserTypesWithI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/authentication_methods_users_registered_by_method_request_builder.go b/reports/authentication_methods_users_registered_by_method_request_builder.go index 70490277a22..c26687368f5 100644 --- a/reports/authentication_methods_users_registered_by_method_request_builder.go +++ b/reports/authentication_methods_users_registered_by_method_request_builder.go @@ -60,7 +60,7 @@ func (m *AuthenticationMethodsUsersRegisteredByMethodRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/authentication_methods_users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.go b/reports/authentication_methods_users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.go index f1c05899b56..2ce36b13ffc 100644 --- a/reports/authentication_methods_users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.go +++ b/reports/authentication_methods_users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.go @@ -66,7 +66,7 @@ func (m *AuthenticationMethodsUsersRegisteredByMethodWithIncludedUserTypesWithIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/credential_user_registration_details_credential_user_registration_details_item_request_builder.go b/reports/credential_user_registration_details_credential_user_registration_details_item_request_builder.go index 98df47a5fc9..1424b00d00a 100644 --- a/reports/credential_user_registration_details_credential_user_registration_details_item_request_builder.go +++ b/reports/credential_user_registration_details_credential_user_registration_details_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CredentialUserRegistrationDetailsCredentialUserRegistrationDetailsItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation details of the usage of self-service password reset and multi-factor authentication (MFA) for all registered users. @@ -139,7 +139,7 @@ func (m *CredentialUserRegistrationDetailsCredentialUserRegistrationDetailsItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property credentialUserRegistrationDetails in reports @@ -153,7 +153,7 @@ func (m *CredentialUserRegistrationDetailsCredentialUserRegistrationDetailsItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/credential_user_registration_details_request_builder.go b/reports/credential_user_registration_details_request_builder.go index 5b38c56ce0b..e447cddb7dc 100644 --- a/reports/credential_user_registration_details_request_builder.go +++ b/reports/credential_user_registration_details_request_builder.go @@ -132,7 +132,7 @@ func (m *CredentialUserRegistrationDetailsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to credentialUserRegistrationDetails for reports @@ -146,7 +146,7 @@ func (m *CredentialUserRegistrationDetailsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go b/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go index 13dc14a35ef..aac84e7f018 100644 --- a/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go +++ b/reports/daily_print_usage_by_printer_print_usage_by_printer_item_request_builder.go @@ -121,7 +121,7 @@ func (m *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dailyPrintUsageByPrinter in reports @@ -150,7 +150,7 @@ func (m *DailyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/daily_print_usage_by_printer_request_builder.go b/reports/daily_print_usage_by_printer_request_builder.go index d12988d1e39..afff8c915ab 100644 --- a/reports/daily_print_usage_by_printer_request_builder.go +++ b/reports/daily_print_usage_by_printer_request_builder.go @@ -128,7 +128,7 @@ func (m *DailyPrintUsageByPrinterRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dailyPrintUsageByPrinter for reports @@ -141,7 +141,7 @@ func (m *DailyPrintUsageByPrinterRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go b/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go index cb573dd2679..9201bcf382f 100644 --- a/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go +++ b/reports/daily_print_usage_by_user_print_usage_by_user_item_request_builder.go @@ -121,7 +121,7 @@ func (m *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dailyPrintUsageByUser in reports @@ -150,7 +150,7 @@ func (m *DailyPrintUsageByUserPrintUsageByUserItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/daily_print_usage_by_user_request_builder.go b/reports/daily_print_usage_by_user_request_builder.go index 0cca788d00c..b092d57d046 100644 --- a/reports/daily_print_usage_by_user_request_builder.go +++ b/reports/daily_print_usage_by_user_request_builder.go @@ -128,7 +128,7 @@ func (m *DailyPrintUsageByUserRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dailyPrintUsageByUser for reports @@ -141,7 +141,7 @@ func (m *DailyPrintUsageByUserRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/daily_print_usage_print_usage_item_request_builder.go b/reports/daily_print_usage_print_usage_item_request_builder.go index c7748ee50b8..56bf9c30f3d 100644 --- a/reports/daily_print_usage_print_usage_item_request_builder.go +++ b/reports/daily_print_usage_print_usage_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DailyPrintUsagePrintUsageItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dailyPrintUsage from reports @@ -134,7 +134,7 @@ func (m *DailyPrintUsagePrintUsageItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dailyPrintUsage in reports @@ -147,7 +147,7 @@ func (m *DailyPrintUsagePrintUsageItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/daily_print_usage_request_builder.go b/reports/daily_print_usage_request_builder.go index ba0b250e524..c738e1b8dd2 100644 --- a/reports/daily_print_usage_request_builder.go +++ b/reports/daily_print_usage_request_builder.go @@ -125,7 +125,7 @@ func (m *DailyPrintUsageRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dailyPrintUsage for reports @@ -138,7 +138,7 @@ func (m *DailyPrintUsageRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/daily_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go b/reports/daily_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go index 368d135b1ee..a09c67faef4 100644 --- a/reports/daily_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go +++ b/reports/daily_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DailyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dailyPrintUsageSummariesByPrinter from reports @@ -139,7 +139,7 @@ func (m *DailyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dailyPrintUsageSummariesByPrinter in reports @@ -153,7 +153,7 @@ func (m *DailyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/daily_print_usage_summaries_by_printer_request_builder.go b/reports/daily_print_usage_summaries_by_printer_request_builder.go index e0b32f03e71..73402d49d6d 100644 --- a/reports/daily_print_usage_summaries_by_printer_request_builder.go +++ b/reports/daily_print_usage_summaries_by_printer_request_builder.go @@ -129,7 +129,7 @@ func (m *DailyPrintUsageSummariesByPrinterRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dailyPrintUsageSummariesByPrinter for reports @@ -143,7 +143,7 @@ func (m *DailyPrintUsageSummariesByPrinterRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/daily_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go b/reports/daily_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go index 3ebd73be49e..53803db43d0 100644 --- a/reports/daily_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go +++ b/reports/daily_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DailyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dailyPrintUsageSummariesByUser from reports @@ -139,7 +139,7 @@ func (m *DailyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dailyPrintUsageSummariesByUser in reports @@ -153,7 +153,7 @@ func (m *DailyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/daily_print_usage_summaries_by_user_request_builder.go b/reports/daily_print_usage_summaries_by_user_request_builder.go index af7d5b653d9..4fc106aad9c 100644 --- a/reports/daily_print_usage_summaries_by_user_request_builder.go +++ b/reports/daily_print_usage_summaries_by_user_request_builder.go @@ -129,7 +129,7 @@ func (m *DailyPrintUsageSummariesByUserRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dailyPrintUsageSummariesByUser for reports @@ -143,7 +143,7 @@ func (m *DailyPrintUsageSummariesByUserRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/device_configuration_device_activity_request_builder.go b/reports/device_configuration_device_activity_request_builder.go index 0414aa41a6f..092ba9d3383 100644 --- a/reports/device_configuration_device_activity_request_builder.go +++ b/reports/device_configuration_device_activity_request_builder.go @@ -60,7 +60,7 @@ func (m *DeviceConfigurationDeviceActivityRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/device_configuration_user_activity_request_builder.go b/reports/device_configuration_user_activity_request_builder.go index e09db60de41..bdc011afbde 100644 --- a/reports/device_configuration_user_activity_request_builder.go +++ b/reports/device_configuration_user_activity_request_builder.go @@ -60,7 +60,7 @@ func (m *DeviceConfigurationUserActivityRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_attack_simulation_repeat_offenders_request_builder.go b/reports/get_attack_simulation_repeat_offenders_request_builder.go index 302370e9b9f..cbd6f989017 100644 --- a/reports/get_attack_simulation_repeat_offenders_request_builder.go +++ b/reports/get_attack_simulation_repeat_offenders_request_builder.go @@ -99,7 +99,7 @@ func (m *GetAttackSimulationRepeatOffendersRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_attack_simulation_simulation_user_coverage_request_builder.go b/reports/get_attack_simulation_simulation_user_coverage_request_builder.go index 14618f12a32..bae3ce90271 100644 --- a/reports/get_attack_simulation_simulation_user_coverage_request_builder.go +++ b/reports/get_attack_simulation_simulation_user_coverage_request_builder.go @@ -99,7 +99,7 @@ func (m *GetAttackSimulationSimulationUserCoverageRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_attack_simulation_training_user_coverage_request_builder.go b/reports/get_attack_simulation_training_user_coverage_request_builder.go index 5b77b066369..08870993f1e 100644 --- a/reports/get_attack_simulation_training_user_coverage_request_builder.go +++ b/reports/get_attack_simulation_training_user_coverage_request_builder.go @@ -99,7 +99,7 @@ func (m *GetAttackSimulationTrainingUserCoverageRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go b/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go index ee1933af516..e2c5abf152b 100644 --- a/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go +++ b/reports/get_azure_a_d_application_sign_in_summary_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_browser_distribution_user_counts_with_period_request_builder.go b/reports/get_browser_distribution_user_counts_with_period_request_builder.go index d025077af28..1843cad26fa 100644 --- a/reports/get_browser_distribution_user_counts_with_period_request_builder.go +++ b/reports/get_browser_distribution_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetBrowserDistributionUserCountsWithPeriodRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_browser_user_counts_with_period_request_builder.go b/reports/get_browser_user_counts_with_period_request_builder.go index 88919e43248..0206b6d6098 100644 --- a/reports/get_browser_user_counts_with_period_request_builder.go +++ b/reports/get_browser_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetBrowserUserCountsWithPeriodRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_browser_user_detail_with_period_request_builder.go b/reports/get_browser_user_detail_with_period_request_builder.go index 4efe3f348b6..7ee48dd9070 100644 --- a/reports/get_browser_user_detail_with_period_request_builder.go +++ b/reports/get_browser_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetBrowserUserDetailWithPeriodRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_credential_usage_summary_with_period_request_builder.go b/reports/get_credential_usage_summary_with_period_request_builder.go index 7c02a02776c..91c87740095 100644 --- a/reports/get_credential_usage_summary_with_period_request_builder.go +++ b/reports/get_credential_usage_summary_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetCredentialUsageSummaryWithPeriodRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_credential_user_registration_count_request_builder.go b/reports/get_credential_user_registration_count_request_builder.go index 01d7196a5a6..6eb8aeb5c9e 100644 --- a/reports/get_credential_user_registration_count_request_builder.go +++ b/reports/get_credential_user_registration_count_request_builder.go @@ -107,7 +107,7 @@ func (m *GetCredentialUserRegistrationCountRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_email_activity_counts_with_period_request_builder.go b/reports/get_email_activity_counts_with_period_request_builder.go index 4c19083e1c8..314e8138770 100644 --- a/reports/get_email_activity_counts_with_period_request_builder.go +++ b/reports/get_email_activity_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetEmailActivityCountsWithPeriodRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_email_activity_user_counts_with_period_request_builder.go b/reports/get_email_activity_user_counts_with_period_request_builder.go index ba9a71e19f0..6b2749f616a 100644 --- a/reports/get_email_activity_user_counts_with_period_request_builder.go +++ b/reports/get_email_activity_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetEmailActivityUserCountsWithPeriodRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_email_activity_user_detail_with_date_request_builder.go b/reports/get_email_activity_user_detail_with_date_request_builder.go index f1ff5cb766b..08f72dcb8c5 100644 --- a/reports/get_email_activity_user_detail_with_date_request_builder.go +++ b/reports/get_email_activity_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetEmailActivityUserDetailWithDateRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_email_activity_user_detail_with_period_request_builder.go b/reports/get_email_activity_user_detail_with_period_request_builder.go index 763c309922b..2ca15bb28ad 100644 --- a/reports/get_email_activity_user_detail_with_period_request_builder.go +++ b/reports/get_email_activity_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetEmailActivityUserDetailWithPeriodRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_email_app_usage_apps_user_counts_with_period_request_builder.go b/reports/get_email_app_usage_apps_user_counts_with_period_request_builder.go index 8d9b9bb84e4..42069aac3cb 100644 --- a/reports/get_email_app_usage_apps_user_counts_with_period_request_builder.go +++ b/reports/get_email_app_usage_apps_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_email_app_usage_user_counts_with_period_request_builder.go b/reports/get_email_app_usage_user_counts_with_period_request_builder.go index a468c52ec45..a0244826d3b 100644 --- a/reports/get_email_app_usage_user_counts_with_period_request_builder.go +++ b/reports/get_email_app_usage_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetEmailAppUsageUserCountsWithPeriodRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_email_app_usage_user_detail_with_date_request_builder.go b/reports/get_email_app_usage_user_detail_with_date_request_builder.go index 83f5a0beb50..fcc01e52cba 100644 --- a/reports/get_email_app_usage_user_detail_with_date_request_builder.go +++ b/reports/get_email_app_usage_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetEmailAppUsageUserDetailWithDateRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_email_app_usage_user_detail_with_period_request_builder.go b/reports/get_email_app_usage_user_detail_with_period_request_builder.go index 2412a14d1cf..020531c44f3 100644 --- a/reports/get_email_app_usage_user_detail_with_period_request_builder.go +++ b/reports/get_email_app_usage_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetEmailAppUsageUserDetailWithPeriodRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_email_app_usage_versions_user_counts_with_period_request_builder.go b/reports/get_email_app_usage_versions_user_counts_with_period_request_builder.go index 6aefae34e6b..4e50f530c38 100644 --- a/reports/get_email_app_usage_versions_user_counts_with_period_request_builder.go +++ b/reports/get_email_app_usage_versions_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_forms_user_activity_counts_with_period_request_builder.go b/reports/get_forms_user_activity_counts_with_period_request_builder.go index 26e8267d266..30dd8884ab4 100644 --- a/reports/get_forms_user_activity_counts_with_period_request_builder.go +++ b/reports/get_forms_user_activity_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetFormsUserActivityCountsWithPeriodRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_forms_user_activity_user_counts_with_period_request_builder.go b/reports/get_forms_user_activity_user_counts_with_period_request_builder.go index 7e09e388a66..fdfb11585b9 100644 --- a/reports/get_forms_user_activity_user_counts_with_period_request_builder.go +++ b/reports/get_forms_user_activity_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetFormsUserActivityUserCountsWithPeriodRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_forms_user_activity_user_detail_with_date_request_builder.go b/reports/get_forms_user_activity_user_detail_with_date_request_builder.go index 076f25ea95b..3d0b9f13658 100644 --- a/reports/get_forms_user_activity_user_detail_with_date_request_builder.go +++ b/reports/get_forms_user_activity_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetFormsUserActivityUserDetailWithDateRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_forms_user_activity_user_detail_with_period_request_builder.go b/reports/get_forms_user_activity_user_detail_with_period_request_builder.go index 8733d79b513..62a4ddfc750 100644 --- a/reports/get_forms_user_activity_user_detail_with_period_request_builder.go +++ b/reports/get_forms_user_activity_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetFormsUserActivityUserDetailWithPeriodRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go b/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go index 611fd0799ad..20a211d105f 100644 --- a/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go +++ b/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.go @@ -107,7 +107,7 @@ func (m *GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_m365_app_platform_user_counts_with_period_request_builder.go b/reports/get_m365_app_platform_user_counts_with_period_request_builder.go index 68e9818479c..500514dffca 100644 --- a/reports/get_m365_app_platform_user_counts_with_period_request_builder.go +++ b/reports/get_m365_app_platform_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetM365AppPlatformUserCountsWithPeriodRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_m365_app_user_counts_with_period_request_builder.go b/reports/get_m365_app_user_counts_with_period_request_builder.go index d1e1c6b2365..b3a1b41ac9c 100644 --- a/reports/get_m365_app_user_counts_with_period_request_builder.go +++ b/reports/get_m365_app_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetM365AppUserCountsWithPeriodRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_m365_app_user_detail_with_date_request_builder.go b/reports/get_m365_app_user_detail_with_date_request_builder.go index 7cd603408a2..c7990f0808f 100644 --- a/reports/get_m365_app_user_detail_with_date_request_builder.go +++ b/reports/get_m365_app_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetM365AppUserDetailWithDateRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_m365_app_user_detail_with_period_request_builder.go b/reports/get_m365_app_user_detail_with_period_request_builder.go index b08bf365ea4..17c9ae21d0c 100644 --- a/reports/get_m365_app_user_detail_with_period_request_builder.go +++ b/reports/get_m365_app_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetM365AppUserDetailWithPeriodRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_mailbox_usage_detail_with_period_request_builder.go b/reports/get_mailbox_usage_detail_with_period_request_builder.go index 385dc835dfd..c9a653b0cf6 100644 --- a/reports/get_mailbox_usage_detail_with_period_request_builder.go +++ b/reports/get_mailbox_usage_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetMailboxUsageDetailWithPeriodRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_mailbox_usage_mailbox_counts_with_period_request_builder.go b/reports/get_mailbox_usage_mailbox_counts_with_period_request_builder.go index 0d23dc6230a..cb3d930d182 100644 --- a/reports/get_mailbox_usage_mailbox_counts_with_period_request_builder.go +++ b/reports/get_mailbox_usage_mailbox_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetMailboxUsageMailboxCountsWithPeriodRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.go b/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.go index 3a8c84790d3..6384b2dc9da 100644 --- a/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.go +++ b/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_mailbox_usage_storage_with_period_request_builder.go b/reports/get_mailbox_usage_storage_with_period_request_builder.go index 723d2dc09f1..de4cbf0aeed 100644 --- a/reports/get_mailbox_usage_storage_with_period_request_builder.go +++ b/reports/get_mailbox_usage_storage_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetMailboxUsageStorageWithPeriodRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_activation_counts_request_builder.go b/reports/get_office365_activation_counts_request_builder.go index 50f7ce625f6..f03dc853974 100644 --- a/reports/get_office365_activation_counts_request_builder.go +++ b/reports/get_office365_activation_counts_request_builder.go @@ -59,7 +59,7 @@ func (m *GetOffice365ActivationCountsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_activations_user_counts_request_builder.go b/reports/get_office365_activations_user_counts_request_builder.go index 36f737f83a9..8b7207b8ca3 100644 --- a/reports/get_office365_activations_user_counts_request_builder.go +++ b/reports/get_office365_activations_user_counts_request_builder.go @@ -59,7 +59,7 @@ func (m *GetOffice365ActivationsUserCountsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_activations_user_detail_request_builder.go b/reports/get_office365_activations_user_detail_request_builder.go index b401696226e..753bd618a3a 100644 --- a/reports/get_office365_activations_user_detail_request_builder.go +++ b/reports/get_office365_activations_user_detail_request_builder.go @@ -59,7 +59,7 @@ func (m *GetOffice365ActivationsUserDetailRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_active_user_counts_with_period_request_builder.go b/reports/get_office365_active_user_counts_with_period_request_builder.go index f56dc7dd0dd..29d581e6111 100644 --- a/reports/get_office365_active_user_counts_with_period_request_builder.go +++ b/reports/get_office365_active_user_counts_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetOffice365ActiveUserCountsWithPeriodRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_active_user_detail_with_date_request_builder.go b/reports/get_office365_active_user_detail_with_date_request_builder.go index d391df0b20d..453dd472cea 100644 --- a/reports/get_office365_active_user_detail_with_date_request_builder.go +++ b/reports/get_office365_active_user_detail_with_date_request_builder.go @@ -105,7 +105,7 @@ func (m *GetOffice365ActiveUserDetailWithDateRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_active_user_detail_with_period_request_builder.go b/reports/get_office365_active_user_detail_with_period_request_builder.go index 52841fcacf0..cebc66a22dd 100644 --- a/reports/get_office365_active_user_detail_with_period_request_builder.go +++ b/reports/get_office365_active_user_detail_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetOffice365ActiveUserDetailWithPeriodRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_groups_activity_counts_with_period_request_builder.go b/reports/get_office365_groups_activity_counts_with_period_request_builder.go index 24036e38d17..5b6dcae6e92 100644 --- a/reports/get_office365_groups_activity_counts_with_period_request_builder.go +++ b/reports/get_office365_groups_activity_counts_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetOffice365GroupsActivityCountsWithPeriodRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_groups_activity_detail_with_date_request_builder.go b/reports/get_office365_groups_activity_detail_with_date_request_builder.go index 2ad78d22dbc..3d855c9afb1 100644 --- a/reports/get_office365_groups_activity_detail_with_date_request_builder.go +++ b/reports/get_office365_groups_activity_detail_with_date_request_builder.go @@ -105,7 +105,7 @@ func (m *GetOffice365GroupsActivityDetailWithDateRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_groups_activity_detail_with_period_request_builder.go b/reports/get_office365_groups_activity_detail_with_period_request_builder.go index 496443de7fc..eafe1a60a18 100644 --- a/reports/get_office365_groups_activity_detail_with_period_request_builder.go +++ b/reports/get_office365_groups_activity_detail_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetOffice365GroupsActivityDetailWithPeriodRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_groups_activity_file_counts_with_period_request_builder.go b/reports/get_office365_groups_activity_file_counts_with_period_request_builder.go index b3e36ed52e2..d8c1b5abc00 100644 --- a/reports/get_office365_groups_activity_file_counts_with_period_request_builder.go +++ b/reports/get_office365_groups_activity_file_counts_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_groups_activity_group_counts_with_period_request_builder.go b/reports/get_office365_groups_activity_group_counts_with_period_request_builder.go index 1bdae2d34fb..fb0db2de186 100644 --- a/reports/get_office365_groups_activity_group_counts_with_period_request_builder.go +++ b/reports/get_office365_groups_activity_group_counts_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_groups_activity_storage_with_period_request_builder.go b/reports/get_office365_groups_activity_storage_with_period_request_builder.go index 199d15578dd..7d7cc66b0cf 100644 --- a/reports/get_office365_groups_activity_storage_with_period_request_builder.go +++ b/reports/get_office365_groups_activity_storage_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetOffice365GroupsActivityStorageWithPeriodRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_office365_services_user_counts_with_period_request_builder.go b/reports/get_office365_services_user_counts_with_period_request_builder.go index 191197b2883..008cb2e572c 100644 --- a/reports/get_office365_services_user_counts_with_period_request_builder.go +++ b/reports/get_office365_services_user_counts_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetOffice365ServicesUserCountsWithPeriodRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_one_drive_activity_file_counts_with_period_request_builder.go b/reports/get_one_drive_activity_file_counts_with_period_request_builder.go index f5c56ed195f..477927d5741 100644 --- a/reports/get_one_drive_activity_file_counts_with_period_request_builder.go +++ b/reports/get_one_drive_activity_file_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetOneDriveActivityFileCountsWithPeriodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_one_drive_activity_user_counts_with_period_request_builder.go b/reports/get_one_drive_activity_user_counts_with_period_request_builder.go index f562d371ca6..83fb52230b2 100644 --- a/reports/get_one_drive_activity_user_counts_with_period_request_builder.go +++ b/reports/get_one_drive_activity_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetOneDriveActivityUserCountsWithPeriodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_one_drive_activity_user_detail_with_date_request_builder.go b/reports/get_one_drive_activity_user_detail_with_date_request_builder.go index 50f9d03ef61..8416214c650 100644 --- a/reports/get_one_drive_activity_user_detail_with_date_request_builder.go +++ b/reports/get_one_drive_activity_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetOneDriveActivityUserDetailWithDateRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_one_drive_activity_user_detail_with_period_request_builder.go b/reports/get_one_drive_activity_user_detail_with_period_request_builder.go index c839b43ab6e..f88e3d05951 100644 --- a/reports/get_one_drive_activity_user_detail_with_period_request_builder.go +++ b/reports/get_one_drive_activity_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetOneDriveActivityUserDetailWithPeriodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_one_drive_usage_account_counts_with_period_request_builder.go b/reports/get_one_drive_usage_account_counts_with_period_request_builder.go index 4cf57d61668..1faca1954d0 100644 --- a/reports/get_one_drive_usage_account_counts_with_period_request_builder.go +++ b/reports/get_one_drive_usage_account_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetOneDriveUsageAccountCountsWithPeriodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_one_drive_usage_account_detail_with_date_request_builder.go b/reports/get_one_drive_usage_account_detail_with_date_request_builder.go index c51cd84654d..ad00120cead 100644 --- a/reports/get_one_drive_usage_account_detail_with_date_request_builder.go +++ b/reports/get_one_drive_usage_account_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetOneDriveUsageAccountDetailWithDateRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_one_drive_usage_account_detail_with_period_request_builder.go b/reports/get_one_drive_usage_account_detail_with_period_request_builder.go index 2e849d76b18..1035fea3664 100644 --- a/reports/get_one_drive_usage_account_detail_with_period_request_builder.go +++ b/reports/get_one_drive_usage_account_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetOneDriveUsageAccountDetailWithPeriodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_one_drive_usage_file_counts_with_period_request_builder.go b/reports/get_one_drive_usage_file_counts_with_period_request_builder.go index bfdc6bb6a1e..bc3f12d1095 100644 --- a/reports/get_one_drive_usage_file_counts_with_period_request_builder.go +++ b/reports/get_one_drive_usage_file_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetOneDriveUsageFileCountsWithPeriodRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_one_drive_usage_storage_with_period_request_builder.go b/reports/get_one_drive_usage_storage_with_period_request_builder.go index ac7efb3d8b9..960098ccd78 100644 --- a/reports/get_one_drive_usage_storage_with_period_request_builder.go +++ b/reports/get_one_drive_usage_storage_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetOneDriveUsageStorageWithPeriodRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go b/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go index 3afb6c24fdd..eeea8ea2273 100644 --- a/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go +++ b/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.go @@ -107,7 +107,7 @@ func (m *GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTim requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_relying_party_detailed_summary_with_period_request_builder.go b/reports/get_relying_party_detailed_summary_with_period_request_builder.go index 5daacf50191..35b1ab35b1d 100644 --- a/reports/get_relying_party_detailed_summary_with_period_request_builder.go +++ b/reports/get_relying_party_detailed_summary_with_period_request_builder.go @@ -104,7 +104,7 @@ func (m *GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_activity_file_counts_with_period_request_builder.go b/reports/get_share_point_activity_file_counts_with_period_request_builder.go index 54be4819159..5234e559746 100644 --- a/reports/get_share_point_activity_file_counts_with_period_request_builder.go +++ b/reports/get_share_point_activity_file_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSharePointActivityFileCountsWithPeriodRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_activity_pages_with_period_request_builder.go b/reports/get_share_point_activity_pages_with_period_request_builder.go index 59fe481cd89..7172f7e9b87 100644 --- a/reports/get_share_point_activity_pages_with_period_request_builder.go +++ b/reports/get_share_point_activity_pages_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSharePointActivityPagesWithPeriodRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_activity_user_counts_with_period_request_builder.go b/reports/get_share_point_activity_user_counts_with_period_request_builder.go index d4a09240719..3615a6fecb3 100644 --- a/reports/get_share_point_activity_user_counts_with_period_request_builder.go +++ b/reports/get_share_point_activity_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSharePointActivityUserCountsWithPeriodRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_activity_user_detail_with_date_request_builder.go b/reports/get_share_point_activity_user_detail_with_date_request_builder.go index 3c9a14a5ae1..45ca2f17041 100644 --- a/reports/get_share_point_activity_user_detail_with_date_request_builder.go +++ b/reports/get_share_point_activity_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetSharePointActivityUserDetailWithDateRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_activity_user_detail_with_period_request_builder.go b/reports/get_share_point_activity_user_detail_with_period_request_builder.go index 8e533509abf..6ef7343d7bb 100644 --- a/reports/get_share_point_activity_user_detail_with_period_request_builder.go +++ b/reports/get_share_point_activity_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSharePointActivityUserDetailWithPeriodRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_site_usage_detail_with_date_request_builder.go b/reports/get_share_point_site_usage_detail_with_date_request_builder.go index 29b7252ea39..edd194dcc5d 100644 --- a/reports/get_share_point_site_usage_detail_with_date_request_builder.go +++ b/reports/get_share_point_site_usage_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetSharePointSiteUsageDetailWithDateRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_site_usage_detail_with_period_request_builder.go b/reports/get_share_point_site_usage_detail_with_period_request_builder.go index c887141906f..458674c2863 100644 --- a/reports/get_share_point_site_usage_detail_with_period_request_builder.go +++ b/reports/get_share_point_site_usage_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSharePointSiteUsageDetailWithPeriodRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_site_usage_file_counts_with_period_request_builder.go b/reports/get_share_point_site_usage_file_counts_with_period_request_builder.go index 837bfad6784..c8391bcdadd 100644 --- a/reports/get_share_point_site_usage_file_counts_with_period_request_builder.go +++ b/reports/get_share_point_site_usage_file_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_site_usage_pages_with_period_request_builder.go b/reports/get_share_point_site_usage_pages_with_period_request_builder.go index ceeb63acf29..9bae949823f 100644 --- a/reports/get_share_point_site_usage_pages_with_period_request_builder.go +++ b/reports/get_share_point_site_usage_pages_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSharePointSiteUsagePagesWithPeriodRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_site_usage_site_counts_with_period_request_builder.go b/reports/get_share_point_site_usage_site_counts_with_period_request_builder.go index 7cf223da916..3e9cdf7bf50 100644 --- a/reports/get_share_point_site_usage_site_counts_with_period_request_builder.go +++ b/reports/get_share_point_site_usage_site_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_share_point_site_usage_storage_with_period_request_builder.go b/reports/get_share_point_site_usage_storage_with_period_request_builder.go index 799ac1fb1eb..05d09d87ff8 100644 --- a/reports/get_share_point_site_usage_storage_with_period_request_builder.go +++ b/reports/get_share_point_site_usage_storage_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSharePointSiteUsageStorageWithPeriodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_activity_counts_with_period_request_builder.go b/reports/get_skype_for_business_activity_counts_with_period_request_builder.go index 22a1c32e5d9..fe392b70103 100644 --- a/reports/get_skype_for_business_activity_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_activity_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_activity_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_activity_user_counts_with_period_request_builder.go index 35fc6720865..8d7e2ff04eb 100644 --- a/reports/get_skype_for_business_activity_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_activity_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_activity_user_detail_with_date_request_builder.go b/reports/get_skype_for_business_activity_user_detail_with_date_request_builder.go index f9bab22388a..09207ed7fc1 100644 --- a/reports/get_skype_for_business_activity_user_detail_with_date_request_builder.go +++ b/reports/get_skype_for_business_activity_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_activity_user_detail_with_period_request_builder.go b/reports/get_skype_for_business_activity_user_detail_with_period_request_builder.go index bfbb10ff4a5..367f271bd7d 100644 --- a/reports/get_skype_for_business_activity_user_detail_with_period_request_builder.go +++ b/reports/get_skype_for_business_activity_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.go index efe9c507c58..f5e31e3c4e0 100644 --- a/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_device_usage_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_device_usage_user_counts_with_period_request_builder.go index 5ec6d56d5e3..11a9d5d9980 100644 --- a/reports/get_skype_for_business_device_usage_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_device_usage_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_device_usage_user_detail_with_date_request_builder.go b/reports/get_skype_for_business_device_usage_user_detail_with_date_request_builder.go index c54dc5837b2..fea2101c7c0 100644 --- a/reports/get_skype_for_business_device_usage_user_detail_with_date_request_builder.go +++ b/reports/get_skype_for_business_device_usage_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_device_usage_user_detail_with_period_request_builder.go b/reports/get_skype_for_business_device_usage_user_detail_with_period_request_builder.go index d79dd40a45b..8c4beeb174a 100644 --- a/reports/get_skype_for_business_device_usage_user_detail_with_period_request_builder.go +++ b/reports/get_skype_for_business_device_usage_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_organizer_activity_counts_with_period_request_builder.go b/reports/get_skype_for_business_organizer_activity_counts_with_period_request_builder.go index 81e9bdfd77b..32caaefdead 100644 --- a/reports/get_skype_for_business_organizer_activity_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_organizer_activity_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.go b/reports/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.go index 24b6accc639..54c3f1b78df 100644 --- a/reports/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.go index 23de880411b..5b1c1f032a6 100644 --- a/reports/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_participant_activity_counts_with_period_request_builder.go b/reports/get_skype_for_business_participant_activity_counts_with_period_request_builder.go index 4784a9e0b20..a20c756a6be 100644 --- a/reports/get_skype_for_business_participant_activity_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_participant_activity_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.go b/reports/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.go index 4cdeda0032a..be598341eb2 100644 --- a/reports/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.go index 49ea14cae99..e534bc507d2 100644 --- a/reports/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.go b/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.go index 8697de07fe5..3b57e85a365 100644 --- a/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.go b/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.go index 09634f784c8..9f391f89318 100644 --- a/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.go b/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.go index a7f85aef830..952619ce97e 100644 --- a/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.go +++ b/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.go b/reports/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.go index c2a0da2dd6d..ac267480977 100644 --- a/reports/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.go +++ b/reports/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsDeviceUsageDistributionTotalUserCountsWithPeriodRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_device_usage_distribution_user_counts_with_period_request_builder.go b/reports/get_teams_device_usage_distribution_user_counts_with_period_request_builder.go index 90175b762f8..d7088b221f9 100644 --- a/reports/get_teams_device_usage_distribution_user_counts_with_period_request_builder.go +++ b/reports/get_teams_device_usage_distribution_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_device_usage_total_user_counts_with_period_request_builder.go b/reports/get_teams_device_usage_total_user_counts_with_period_request_builder.go index 88d92920a66..cc72582ffd3 100644 --- a/reports/get_teams_device_usage_total_user_counts_with_period_request_builder.go +++ b/reports/get_teams_device_usage_total_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsDeviceUsageTotalUserCountsWithPeriodRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_device_usage_user_counts_with_period_request_builder.go b/reports/get_teams_device_usage_user_counts_with_period_request_builder.go index 206a15639f1..39fcb9abbee 100644 --- a/reports/get_teams_device_usage_user_counts_with_period_request_builder.go +++ b/reports/get_teams_device_usage_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_device_usage_user_detail_with_date_request_builder.go b/reports/get_teams_device_usage_user_detail_with_date_request_builder.go index a0aa7600a1e..fab9e5752cb 100644 --- a/reports/get_teams_device_usage_user_detail_with_date_request_builder.go +++ b/reports/get_teams_device_usage_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetTeamsDeviceUsageUserDetailWithDateRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_device_usage_user_detail_with_period_request_builder.go b/reports/get_teams_device_usage_user_detail_with_period_request_builder.go index 8022d2319a1..dbb35fd2a3b 100644 --- a/reports/get_teams_device_usage_user_detail_with_period_request_builder.go +++ b/reports/get_teams_device_usage_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_team_activity_counts_with_period_request_builder.go b/reports/get_teams_team_activity_counts_with_period_request_builder.go index 622ff68f31d..0d96d8bf452 100644 --- a/reports/get_teams_team_activity_counts_with_period_request_builder.go +++ b/reports/get_teams_team_activity_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsTeamActivityCountsWithPeriodRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_team_activity_detail_with_date_request_builder.go b/reports/get_teams_team_activity_detail_with_date_request_builder.go index 68bb8fe96c4..11d49b0e73e 100644 --- a/reports/get_teams_team_activity_detail_with_date_request_builder.go +++ b/reports/get_teams_team_activity_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetTeamsTeamActivityDetailWithDateRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_team_activity_detail_with_period_request_builder.go b/reports/get_teams_team_activity_detail_with_period_request_builder.go index c464ddb7798..605e58446cf 100644 --- a/reports/get_teams_team_activity_detail_with_period_request_builder.go +++ b/reports/get_teams_team_activity_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsTeamActivityDetailWithPeriodRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_team_activity_distribution_counts_with_period_request_builder.go b/reports/get_teams_team_activity_distribution_counts_with_period_request_builder.go index 7c7277a227b..253cb728ceb 100644 --- a/reports/get_teams_team_activity_distribution_counts_with_period_request_builder.go +++ b/reports/get_teams_team_activity_distribution_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_team_counts_with_period_request_builder.go b/reports/get_teams_team_counts_with_period_request_builder.go index 6b90e3f20bc..91a19fa7cee 100644 --- a/reports/get_teams_team_counts_with_period_request_builder.go +++ b/reports/get_teams_team_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsTeamCountsWithPeriodRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_user_activity_counts_with_period_request_builder.go b/reports/get_teams_user_activity_counts_with_period_request_builder.go index 428191a789e..3a1fc69e8e1 100644 --- a/reports/get_teams_user_activity_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsUserActivityCountsWithPeriodRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.go b/reports/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.go index 895966c659c..9ef4de46852 100644 --- a/reports/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsUserActivityDistributionTotalUserCountsWithPeriodRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_user_activity_distribution_user_counts_with_period_request_builder.go b/reports/get_teams_user_activity_distribution_user_counts_with_period_request_builder.go index f2f7c63119c..0c72e55bfb4 100644 --- a/reports/get_teams_user_activity_distribution_user_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_distribution_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsUserActivityDistributionUserCountsWithPeriodRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_user_activity_total_counts_with_period_request_builder.go b/reports/get_teams_user_activity_total_counts_with_period_request_builder.go index 960ce62371e..367e412d2f6 100644 --- a/reports/get_teams_user_activity_total_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_total_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsUserActivityTotalCountsWithPeriodRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_user_activity_total_distribution_counts_with_period_request_builder.go b/reports/get_teams_user_activity_total_distribution_counts_with_period_request_builder.go index 2edfd4b334e..676f86f7ca7 100644 --- a/reports/get_teams_user_activity_total_distribution_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_total_distribution_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsUserActivityTotalDistributionCountsWithPeriodRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_user_activity_total_user_counts_with_period_request_builder.go b/reports/get_teams_user_activity_total_user_counts_with_period_request_builder.go index ee729c71d41..470a7121ef9 100644 --- a/reports/get_teams_user_activity_total_user_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_total_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsUserActivityTotalUserCountsWithPeriodRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_user_activity_user_counts_with_period_request_builder.go b/reports/get_teams_user_activity_user_counts_with_period_request_builder.go index 7a9e63264b3..e1b2af32ee3 100644 --- a/reports/get_teams_user_activity_user_counts_with_period_request_builder.go +++ b/reports/get_teams_user_activity_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsUserActivityUserCountsWithPeriodRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_user_activity_user_detail_with_date_request_builder.go b/reports/get_teams_user_activity_user_detail_with_date_request_builder.go index 68973084567..a7e4b57be27 100644 --- a/reports/get_teams_user_activity_user_detail_with_date_request_builder.go +++ b/reports/get_teams_user_activity_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetTeamsUserActivityUserDetailWithDateRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_teams_user_activity_user_detail_with_period_request_builder.go b/reports/get_teams_user_activity_user_detail_with_period_request_builder.go index 2ebadfd7fcb..02c44399ca5 100644 --- a/reports/get_teams_user_activity_user_detail_with_period_request_builder.go +++ b/reports/get_teams_user_activity_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetTeamsUserActivityUserDetailWithPeriodRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go b/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go index 781cc08a52c..b2834113c2c 100644 --- a/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go +++ b/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.go @@ -107,7 +107,7 @@ func (m *GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_activity_counts_with_period_request_builder.go b/reports/get_yammer_activity_counts_with_period_request_builder.go index 3278ab4453a..62f9c295809 100644 --- a/reports/get_yammer_activity_counts_with_period_request_builder.go +++ b/reports/get_yammer_activity_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetYammerActivityCountsWithPeriodRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_activity_user_counts_with_period_request_builder.go b/reports/get_yammer_activity_user_counts_with_period_request_builder.go index e3831d9c57d..2c68dee39d3 100644 --- a/reports/get_yammer_activity_user_counts_with_period_request_builder.go +++ b/reports/get_yammer_activity_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetYammerActivityUserCountsWithPeriodRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_activity_user_detail_with_date_request_builder.go b/reports/get_yammer_activity_user_detail_with_date_request_builder.go index 2d420b64552..f5df20075d6 100644 --- a/reports/get_yammer_activity_user_detail_with_date_request_builder.go +++ b/reports/get_yammer_activity_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetYammerActivityUserDetailWithDateRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_activity_user_detail_with_period_request_builder.go b/reports/get_yammer_activity_user_detail_with_period_request_builder.go index 8ed169227bc..d159fe7acbd 100644 --- a/reports/get_yammer_activity_user_detail_with_period_request_builder.go +++ b/reports/get_yammer_activity_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetYammerActivityUserDetailWithPeriodRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.go b/reports/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.go index bf65f485dcd..e8cad749534 100644 --- a/reports/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.go +++ b/reports/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_device_usage_user_counts_with_period_request_builder.go b/reports/get_yammer_device_usage_user_counts_with_period_request_builder.go index 6e74e786880..5502007914f 100644 --- a/reports/get_yammer_device_usage_user_counts_with_period_request_builder.go +++ b/reports/get_yammer_device_usage_user_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_device_usage_user_detail_with_date_request_builder.go b/reports/get_yammer_device_usage_user_detail_with_date_request_builder.go index bbd72dc1b2f..22abf227a85 100644 --- a/reports/get_yammer_device_usage_user_detail_with_date_request_builder.go +++ b/reports/get_yammer_device_usage_user_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetYammerDeviceUsageUserDetailWithDateRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_device_usage_user_detail_with_period_request_builder.go b/reports/get_yammer_device_usage_user_detail_with_period_request_builder.go index 037acee87dd..235af8e658c 100644 --- a/reports/get_yammer_device_usage_user_detail_with_period_request_builder.go +++ b/reports/get_yammer_device_usage_user_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_groups_activity_counts_with_period_request_builder.go b/reports/get_yammer_groups_activity_counts_with_period_request_builder.go index dc8be11cebc..4b0c1b09e08 100644 --- a/reports/get_yammer_groups_activity_counts_with_period_request_builder.go +++ b/reports/get_yammer_groups_activity_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetYammerGroupsActivityCountsWithPeriodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_groups_activity_detail_with_date_request_builder.go b/reports/get_yammer_groups_activity_detail_with_date_request_builder.go index 8216b52f062..dc6e1cd8d2e 100644 --- a/reports/get_yammer_groups_activity_detail_with_date_request_builder.go +++ b/reports/get_yammer_groups_activity_detail_with_date_request_builder.go @@ -63,7 +63,7 @@ func (m *GetYammerGroupsActivityDetailWithDateRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_groups_activity_detail_with_period_request_builder.go b/reports/get_yammer_groups_activity_detail_with_period_request_builder.go index ef51a2a2558..e33f5314338 100644 --- a/reports/get_yammer_groups_activity_detail_with_period_request_builder.go +++ b/reports/get_yammer_groups_activity_detail_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetYammerGroupsActivityDetailWithPeriodRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/get_yammer_groups_activity_group_counts_with_period_request_builder.go b/reports/get_yammer_groups_activity_group_counts_with_period_request_builder.go index 93ee623259e..ca53d6a8bdd 100644 --- a/reports/get_yammer_groups_activity_group_counts_with_period_request_builder.go +++ b/reports/get_yammer_groups_activity_group_counts_with_period_request_builder.go @@ -62,7 +62,7 @@ func (m *GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go b/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go index 223239f8eec..d48e57d9c92 100644 --- a/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go +++ b/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go @@ -73,7 +73,7 @@ func (m *ManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.go b/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.go index 286ff3ca027..0c0b434474e 100644 --- a/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.go +++ b/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.go @@ -73,7 +73,7 @@ func (m *ManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/managed_device_enrollment_failure_details_request_builder.go b/reports/managed_device_enrollment_failure_details_request_builder.go index 4bfd1f6798a..abe1edb39ee 100644 --- a/reports/managed_device_enrollment_failure_details_request_builder.go +++ b/reports/managed_device_enrollment_failure_details_request_builder.go @@ -60,7 +60,7 @@ func (m *ManagedDeviceEnrollmentFailureDetailsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go b/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go index 8133354ad38..cbaac83d033 100644 --- a/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go +++ b/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.go @@ -73,7 +73,7 @@ func (m *ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/managed_device_enrollment_failure_trends_request_builder.go b/reports/managed_device_enrollment_failure_trends_request_builder.go index b5dce02b3be..b3ef9b2368a 100644 --- a/reports/managed_device_enrollment_failure_trends_request_builder.go +++ b/reports/managed_device_enrollment_failure_trends_request_builder.go @@ -60,7 +60,7 @@ func (m *ManagedDeviceEnrollmentFailureTrendsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/managed_device_enrollment_top_failures_request_builder.go b/reports/managed_device_enrollment_top_failures_request_builder.go index 4cf8b817b9a..2cc1720480a 100644 --- a/reports/managed_device_enrollment_top_failures_request_builder.go +++ b/reports/managed_device_enrollment_top_failures_request_builder.go @@ -60,7 +60,7 @@ func (m *ManagedDeviceEnrollmentTopFailuresRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/managed_device_enrollment_top_failures_with_period_request_builder.go b/reports/managed_device_enrollment_top_failures_with_period_request_builder.go index 7fc6d22c70b..925f7499b9e 100644 --- a/reports/managed_device_enrollment_top_failures_with_period_request_builder.go +++ b/reports/managed_device_enrollment_top_failures_with_period_request_builder.go @@ -63,7 +63,7 @@ func (m *ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/monthly_print_usage_by_printer_print_usage_by_printer_item_request_builder.go b/reports/monthly_print_usage_by_printer_print_usage_by_printer_item_request_builder.go index e0280e68f1f..1af8a06b7b1 100644 --- a/reports/monthly_print_usage_by_printer_print_usage_by_printer_item_request_builder.go +++ b/reports/monthly_print_usage_by_printer_print_usage_by_printer_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MonthlyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a list of monthly print usage summaries, grouped by printer. @@ -134,7 +134,7 @@ func (m *MonthlyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property monthlyPrintUsageByPrinter in reports @@ -147,7 +147,7 @@ func (m *MonthlyPrintUsageByPrinterPrintUsageByPrinterItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/monthly_print_usage_by_printer_request_builder.go b/reports/monthly_print_usage_by_printer_request_builder.go index 39664591dd3..1e2779d8b9d 100644 --- a/reports/monthly_print_usage_by_printer_request_builder.go +++ b/reports/monthly_print_usage_by_printer_request_builder.go @@ -128,7 +128,7 @@ func (m *MonthlyPrintUsageByPrinterRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to monthlyPrintUsageByPrinter for reports @@ -141,7 +141,7 @@ func (m *MonthlyPrintUsageByPrinterRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/monthly_print_usage_by_user_print_usage_by_user_item_request_builder.go b/reports/monthly_print_usage_by_user_print_usage_by_user_item_request_builder.go index 05f4a54eb1b..48d6a7578f7 100644 --- a/reports/monthly_print_usage_by_user_print_usage_by_user_item_request_builder.go +++ b/reports/monthly_print_usage_by_user_print_usage_by_user_item_request_builder.go @@ -118,7 +118,7 @@ func (m *MonthlyPrintUsageByUserPrintUsageByUserItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a list of monthly print usage summaries, grouped by user. @@ -134,7 +134,7 @@ func (m *MonthlyPrintUsageByUserPrintUsageByUserItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property monthlyPrintUsageByUser in reports @@ -147,7 +147,7 @@ func (m *MonthlyPrintUsageByUserPrintUsageByUserItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/monthly_print_usage_by_user_request_builder.go b/reports/monthly_print_usage_by_user_request_builder.go index 8db05a577fd..61fd0d763b8 100644 --- a/reports/monthly_print_usage_by_user_request_builder.go +++ b/reports/monthly_print_usage_by_user_request_builder.go @@ -128,7 +128,7 @@ func (m *MonthlyPrintUsageByUserRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to monthlyPrintUsageByUser for reports @@ -141,7 +141,7 @@ func (m *MonthlyPrintUsageByUserRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/monthly_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go b/reports/monthly_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go index 79ef6e1496f..7fcce856a1a 100644 --- a/reports/monthly_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go +++ b/reports/monthly_print_usage_summaries_by_printer_print_usage_by_printer_item_request_builder.go @@ -122,7 +122,7 @@ func (m *MonthlyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get monthlyPrintUsageSummariesByPrinter from reports @@ -139,7 +139,7 @@ func (m *MonthlyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property monthlyPrintUsageSummariesByPrinter in reports @@ -153,7 +153,7 @@ func (m *MonthlyPrintUsageSummariesByPrinterPrintUsageByPrinterItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/monthly_print_usage_summaries_by_printer_request_builder.go b/reports/monthly_print_usage_summaries_by_printer_request_builder.go index 2a93c5d3c98..6f7e0150730 100644 --- a/reports/monthly_print_usage_summaries_by_printer_request_builder.go +++ b/reports/monthly_print_usage_summaries_by_printer_request_builder.go @@ -129,7 +129,7 @@ func (m *MonthlyPrintUsageSummariesByPrinterRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to monthlyPrintUsageSummariesByPrinter for reports @@ -143,7 +143,7 @@ func (m *MonthlyPrintUsageSummariesByPrinterRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/monthly_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go b/reports/monthly_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go index b0a417ab3b5..85d81432a0a 100644 --- a/reports/monthly_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go +++ b/reports/monthly_print_usage_summaries_by_user_print_usage_by_user_item_request_builder.go @@ -122,7 +122,7 @@ func (m *MonthlyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get monthlyPrintUsageSummariesByUser from reports @@ -139,7 +139,7 @@ func (m *MonthlyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property monthlyPrintUsageSummariesByUser in reports @@ -153,7 +153,7 @@ func (m *MonthlyPrintUsageSummariesByUserPrintUsageByUserItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/monthly_print_usage_summaries_by_user_request_builder.go b/reports/monthly_print_usage_summaries_by_user_request_builder.go index 1c26131f664..b2f0e489bb9 100644 --- a/reports/monthly_print_usage_summaries_by_user_request_builder.go +++ b/reports/monthly_print_usage_summaries_by_user_request_builder.go @@ -129,7 +129,7 @@ func (m *MonthlyPrintUsageSummariesByUserRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to monthlyPrintUsageSummariesByUser for reports @@ -143,7 +143,7 @@ func (m *MonthlyPrintUsageSummariesByUserRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/reports_request_builder.go b/reports/reports_request_builder.go index cc1c6e1ce9e..fa1965b34f9 100644 --- a/reports/reports_request_builder.go +++ b/reports/reports_request_builder.go @@ -668,7 +668,7 @@ func (m *ReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update reports @@ -681,7 +681,7 @@ func (m *ReportsRequestBuilder) ToPatchRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/security_get_attack_simulation_repeat_offenders_request_builder.go b/reports/security_get_attack_simulation_repeat_offenders_request_builder.go index 0fc01a866e6..4079a0f9ba4 100644 --- a/reports/security_get_attack_simulation_repeat_offenders_request_builder.go +++ b/reports/security_get_attack_simulation_repeat_offenders_request_builder.go @@ -97,7 +97,7 @@ func (m *SecurityGetAttackSimulationRepeatOffendersRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go b/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go index f3def89d457..383dd50f944 100644 --- a/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go +++ b/reports/security_get_attack_simulation_simulation_user_coverage_request_builder.go @@ -97,7 +97,7 @@ func (m *SecurityGetAttackSimulationSimulationUserCoverageRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/security_get_attack_simulation_training_user_coverage_request_builder.go b/reports/security_get_attack_simulation_training_user_coverage_request_builder.go index b54b6c048e3..a5c7bd518a8 100644 --- a/reports/security_get_attack_simulation_training_user_coverage_request_builder.go +++ b/reports/security_get_attack_simulation_training_user_coverage_request_builder.go @@ -97,7 +97,7 @@ func (m *SecurityGetAttackSimulationTrainingUserCoverageRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/security_request_builder.go b/reports/security_request_builder.go index 6b5b535f8d5..7a77f5dc7da 100644 --- a/reports/security_request_builder.go +++ b/reports/security_request_builder.go @@ -130,7 +130,7 @@ func (m *SecurityRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation provides the ability to launch a realistically simulated phishing attack that organizations can learn from. @@ -146,7 +146,7 @@ func (m *SecurityRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property security in reports @@ -159,7 +159,7 @@ func (m *SecurityRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/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_request_builder.go b/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_request_builder.go index 2b3e6fd0942..7436952d58c 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -106,7 +106,7 @@ func (m *ServiceActivityGetMetricsForConditionalAccessCompliantDevicesSignInSucc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/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_request_builder.go b/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_request_builder.go index 1fd574b9acf..4d5349010bf 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -106,7 +106,7 @@ func (m *ServiceActivityGetMetricsForConditionalAccessManagedDevicesSignInSucces requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/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_request_builder.go b/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_request_builder.go index 03837c6c369..ec90b5973ef 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -106,7 +106,7 @@ func (m *ServiceActivityGetMetricsForMfaSignInFailureWithInclusiveIntervalStartD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/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_request_builder.go b/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_request_builder.go index e98eb35c915..6096c25dc1e 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -106,7 +106,7 @@ func (m *ServiceActivityGetMetricsForMfaSignInSuccessWithInclusiveIntervalStartD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/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_request_builder.go b/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_request_builder.go index 719630a6ee8..6b68c9767f5 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -106,7 +106,7 @@ func (m *ServiceActivityGetMetricsForSamlSignInSuccessWithInclusiveIntervalStart requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/service_activity_request_builder.go b/reports/service_activity_request_builder.go index 50544b78e7f..ed66883e41b 100644 --- a/reports/service_activity_request_builder.go +++ b/reports/service_activity_request_builder.go @@ -139,7 +139,7 @@ func (m *ServiceActivityRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a placeholder to the Microsoft Entra service activity. @@ -155,7 +155,7 @@ func (m *ServiceActivityRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property serviceActivity in reports @@ -168,7 +168,7 @@ func (m *ServiceActivityRequestBuilder) ToPatchRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/service_principal_sign_in_activities_request_builder.go b/reports/service_principal_sign_in_activities_request_builder.go index 34ad37a16cf..bd49b7e0705 100644 --- a/reports/service_principal_sign_in_activities_request_builder.go +++ b/reports/service_principal_sign_in_activities_request_builder.go @@ -128,7 +128,7 @@ func (m *ServicePrincipalSignInActivitiesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to servicePrincipalSignInActivities for reports @@ -141,7 +141,7 @@ func (m *ServicePrincipalSignInActivitiesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go b/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go index f4ce52a16dd..dddf2680aef 100644 --- a/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go +++ b/reports/service_principal_sign_in_activities_service_principal_sign_in_activity_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property servicePrincipalSignInActivities in reports @@ -150,7 +150,7 @@ func (m *ServicePrincipalSignInActivitiesServicePrincipalSignInActivityItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/sla_azure_a_d_authentication_request_builder.go b/reports/sla_azure_a_d_authentication_request_builder.go index 84544ea57e1..64fc65fa6e6 100644 --- a/reports/sla_azure_a_d_authentication_request_builder.go +++ b/reports/sla_azure_a_d_authentication_request_builder.go @@ -121,7 +121,7 @@ func (m *SlaAzureADAuthenticationRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *SlaAzureADAuthenticationRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property azureADAuthentication in reports @@ -150,7 +150,7 @@ func (m *SlaAzureADAuthenticationRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/sla_request_builder.go b/reports/sla_request_builder.go index b888318f815..b6cb7b62e04 100644 --- a/reports/sla_request_builder.go +++ b/reports/sla_request_builder.go @@ -122,7 +122,7 @@ func (m *SlaRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a placeholder to allow for the desired URL path for SLA. @@ -138,7 +138,7 @@ func (m *SlaRequestBuilder) ToGetRequestInformation(ctx context.Context, request requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sla in reports @@ -151,7 +151,7 @@ func (m *SlaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/user_credential_usage_details_request_builder.go b/reports/user_credential_usage_details_request_builder.go index 8652d00435b..ea5f8cc1989 100644 --- a/reports/user_credential_usage_details_request_builder.go +++ b/reports/user_credential_usage_details_request_builder.go @@ -128,7 +128,7 @@ func (m *UserCredentialUsageDetailsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userCredentialUsageDetails for reports @@ -141,7 +141,7 @@ func (m *UserCredentialUsageDetailsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/user_credential_usage_details_user_credential_usage_details_item_request_builder.go b/reports/user_credential_usage_details_user_credential_usage_details_item_request_builder.go index 6f8ff130def..b9cc1f57fd9 100644 --- a/reports/user_credential_usage_details_user_credential_usage_details_item_request_builder.go +++ b/reports/user_credential_usage_details_user_credential_usage_details_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserCredentialUsageDetailsUserCredentialUsageDetailsItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the self-service password reset (SSPR) usage for a given tenant. @@ -134,7 +134,7 @@ func (m *UserCredentialUsageDetailsUserCredentialUsageDetailsItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userCredentialUsageDetails in reports @@ -147,7 +147,7 @@ func (m *UserCredentialUsageDetailsUserCredentialUsageDetailsItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/user_insights_daily_active_users_active_users_metric_item_request_builder.go b/reports/user_insights_daily_active_users_active_users_metric_item_request_builder.go index 7f20b77d500..110c30baa60 100644 --- a/reports/user_insights_daily_active_users_active_users_metric_item_request_builder.go +++ b/reports/user_insights_daily_active_users_active_users_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsDailyActiveUsersActiveUsersMetricItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_active_users_breakdown_active_users_breakdown_metric_item_request_builder.go b/reports/user_insights_daily_active_users_breakdown_active_users_breakdown_metric_item_request_builder.go index 718947a5251..958aec3edd9 100644 --- a/reports/user_insights_daily_active_users_breakdown_active_users_breakdown_metric_item_request_builder.go +++ b/reports/user_insights_daily_active_users_breakdown_active_users_breakdown_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsDailyActiveUsersBreakdownActiveUsersBreakdownMetricItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_active_users_breakdown_request_builder.go b/reports/user_insights_daily_active_users_breakdown_request_builder.go index f7a5ecc1748..fbe9d4e780a 100644 --- a/reports/user_insights_daily_active_users_breakdown_request_builder.go +++ b/reports/user_insights_daily_active_users_breakdown_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsDailyActiveUsersBreakdownRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_active_users_request_builder.go b/reports/user_insights_daily_active_users_request_builder.go index fcc636044b0..fff4e458e9d 100644 --- a/reports/user_insights_daily_active_users_request_builder.go +++ b/reports/user_insights_daily_active_users_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsDailyActiveUsersRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_authentications_authentications_metric_item_request_builder.go b/reports/user_insights_daily_authentications_authentications_metric_item_request_builder.go index ca1247166a9..951be5f38a9 100644 --- a/reports/user_insights_daily_authentications_authentications_metric_item_request_builder.go +++ b/reports/user_insights_daily_authentications_authentications_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsDailyAuthenticationsAuthenticationsMetricItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_authentications_request_builder.go b/reports/user_insights_daily_authentications_request_builder.go index 3a265cef06a..09a0667469b 100644 --- a/reports/user_insights_daily_authentications_request_builder.go +++ b/reports/user_insights_daily_authentications_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsDailyAuthenticationsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_inactive_users_by_application_daily_inactive_users_by_application_metric_item_request_builder.go b/reports/user_insights_daily_inactive_users_by_application_daily_inactive_users_by_application_metric_item_request_builder.go index e9ff615d343..e45e0b07433 100644 --- a/reports/user_insights_daily_inactive_users_by_application_daily_inactive_users_by_application_metric_item_request_builder.go +++ b/reports/user_insights_daily_inactive_users_by_application_daily_inactive_users_by_application_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsDailyInactiveUsersByApplicationDailyInactiveUsersByApplicat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_inactive_users_by_application_request_builder.go b/reports/user_insights_daily_inactive_users_by_application_request_builder.go index 346f5531c43..5595ddf7b1a 100644 --- a/reports/user_insights_daily_inactive_users_by_application_request_builder.go +++ b/reports/user_insights_daily_inactive_users_by_application_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsDailyInactiveUsersByApplicationRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_inactive_users_daily_inactive_users_metric_item_request_builder.go b/reports/user_insights_daily_inactive_users_daily_inactive_users_metric_item_request_builder.go index 56ab20a55f0..55f090d2790 100644 --- a/reports/user_insights_daily_inactive_users_daily_inactive_users_metric_item_request_builder.go +++ b/reports/user_insights_daily_inactive_users_daily_inactive_users_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsDailyInactiveUsersDailyInactiveUsersMetricItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_inactive_users_request_builder.go b/reports/user_insights_daily_inactive_users_request_builder.go index cab48425ab6..5e6e636454d 100644 --- a/reports/user_insights_daily_inactive_users_request_builder.go +++ b/reports/user_insights_daily_inactive_users_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsDailyInactiveUsersRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_mfa_completions_mfa_completion_metric_item_request_builder.go b/reports/user_insights_daily_mfa_completions_mfa_completion_metric_item_request_builder.go index 929f9bdcedc..184d80f846e 100644 --- a/reports/user_insights_daily_mfa_completions_mfa_completion_metric_item_request_builder.go +++ b/reports/user_insights_daily_mfa_completions_mfa_completion_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsDailyMfaCompletionsMfaCompletionMetricItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_mfa_completions_request_builder.go b/reports/user_insights_daily_mfa_completions_request_builder.go index 25db663d2e4..9a2e8f0e041 100644 --- a/reports/user_insights_daily_mfa_completions_request_builder.go +++ b/reports/user_insights_daily_mfa_completions_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsDailyMfaCompletionsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_request_builder.go b/reports/user_insights_daily_request_builder.go index e39fb199c80..1d6caec5a66 100644 --- a/reports/user_insights_daily_request_builder.go +++ b/reports/user_insights_daily_request_builder.go @@ -150,7 +150,7 @@ func (m *UserInsightsDailyRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get daily from reports @@ -166,7 +166,7 @@ func (m *UserInsightsDailyRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property daily in reports @@ -179,7 +179,7 @@ func (m *UserInsightsDailyRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/user_insights_daily_sign_ups_request_builder.go b/reports/user_insights_daily_sign_ups_request_builder.go index 175aaa73903..6ead2250304 100644 --- a/reports/user_insights_daily_sign_ups_request_builder.go +++ b/reports/user_insights_daily_sign_ups_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsDailySignUpsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_sign_ups_user_sign_up_metric_item_request_builder.go b/reports/user_insights_daily_sign_ups_user_sign_up_metric_item_request_builder.go index 70aa15f66b2..69c08676f22 100644 --- a/reports/user_insights_daily_sign_ups_user_sign_up_metric_item_request_builder.go +++ b/reports/user_insights_daily_sign_ups_user_sign_up_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsDailySignUpsUserSignUpMetricItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_summary_insight_summary_item_request_builder.go b/reports/user_insights_daily_summary_insight_summary_item_request_builder.go index 493300ab1c0..e8e1c911ea7 100644 --- a/reports/user_insights_daily_summary_insight_summary_item_request_builder.go +++ b/reports/user_insights_daily_summary_insight_summary_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsDailySummaryInsightSummaryItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_summary_request_builder.go b/reports/user_insights_daily_summary_request_builder.go index 5e98fbb54ea..f52e5cb3155 100644 --- a/reports/user_insights_daily_summary_request_builder.go +++ b/reports/user_insights_daily_summary_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsDailySummaryRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_user_count_request_builder.go b/reports/user_insights_daily_user_count_request_builder.go index 1ae95971350..92e3ffd9da6 100644 --- a/reports/user_insights_daily_user_count_request_builder.go +++ b/reports/user_insights_daily_user_count_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsDailyUserCountRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_daily_user_count_user_count_metric_item_request_builder.go b/reports/user_insights_daily_user_count_user_count_metric_item_request_builder.go index f7709f55c3e..06a2258adcb 100644 --- a/reports/user_insights_daily_user_count_user_count_metric_item_request_builder.go +++ b/reports/user_insights_daily_user_count_user_count_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsDailyUserCountUserCountMetricItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_active_users_active_users_metric_item_request_builder.go b/reports/user_insights_monthly_active_users_active_users_metric_item_request_builder.go index 6196af522d7..001d735ff84 100644 --- a/reports/user_insights_monthly_active_users_active_users_metric_item_request_builder.go +++ b/reports/user_insights_monthly_active_users_active_users_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsMonthlyActiveUsersActiveUsersMetricItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_active_users_breakdown_active_users_breakdown_metric_item_request_builder.go b/reports/user_insights_monthly_active_users_breakdown_active_users_breakdown_metric_item_request_builder.go index 1609812765a..0a7c827b405 100644 --- a/reports/user_insights_monthly_active_users_breakdown_active_users_breakdown_metric_item_request_builder.go +++ b/reports/user_insights_monthly_active_users_breakdown_active_users_breakdown_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsMonthlyActiveUsersBreakdownActiveUsersBreakdownMetricItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_active_users_breakdown_request_builder.go b/reports/user_insights_monthly_active_users_breakdown_request_builder.go index ee57a6a30d1..329e39b1e6c 100644 --- a/reports/user_insights_monthly_active_users_breakdown_request_builder.go +++ b/reports/user_insights_monthly_active_users_breakdown_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsMonthlyActiveUsersBreakdownRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_active_users_request_builder.go b/reports/user_insights_monthly_active_users_request_builder.go index 1b9e649341a..311797f8206 100644 --- a/reports/user_insights_monthly_active_users_request_builder.go +++ b/reports/user_insights_monthly_active_users_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsMonthlyActiveUsersRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_authentications_authentications_metric_item_request_builder.go b/reports/user_insights_monthly_authentications_authentications_metric_item_request_builder.go index 7f3d8ab46a5..7f7de31d637 100644 --- a/reports/user_insights_monthly_authentications_authentications_metric_item_request_builder.go +++ b/reports/user_insights_monthly_authentications_authentications_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsMonthlyAuthenticationsAuthenticationsMetricItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_authentications_request_builder.go b/reports/user_insights_monthly_authentications_request_builder.go index 27ecfcb12eb..b4779f9b2b0 100644 --- a/reports/user_insights_monthly_authentications_request_builder.go +++ b/reports/user_insights_monthly_authentications_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsMonthlyAuthenticationsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_inactive_users_by_application_monthly_inactive_users_by_application_metric_item_request_builder.go b/reports/user_insights_monthly_inactive_users_by_application_monthly_inactive_users_by_application_metric_item_request_builder.go index 29f92776d46..4c7fadc0cf3 100644 --- a/reports/user_insights_monthly_inactive_users_by_application_monthly_inactive_users_by_application_metric_item_request_builder.go +++ b/reports/user_insights_monthly_inactive_users_by_application_monthly_inactive_users_by_application_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsMonthlyInactiveUsersByApplicationMonthlyInactiveUsersByAppl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_inactive_users_by_application_request_builder.go b/reports/user_insights_monthly_inactive_users_by_application_request_builder.go index 19a7d27da50..0228b09d59c 100644 --- a/reports/user_insights_monthly_inactive_users_by_application_request_builder.go +++ b/reports/user_insights_monthly_inactive_users_by_application_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsMonthlyInactiveUsersByApplicationRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_inactive_users_monthly_inactive_users_metric_item_request_builder.go b/reports/user_insights_monthly_inactive_users_monthly_inactive_users_metric_item_request_builder.go index 1ac5060b6e4..3714b01a393 100644 --- a/reports/user_insights_monthly_inactive_users_monthly_inactive_users_metric_item_request_builder.go +++ b/reports/user_insights_monthly_inactive_users_monthly_inactive_users_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsMonthlyInactiveUsersMonthlyInactiveUsersMetricItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_inactive_users_request_builder.go b/reports/user_insights_monthly_inactive_users_request_builder.go index bd8f9aed552..cc96448c53c 100644 --- a/reports/user_insights_monthly_inactive_users_request_builder.go +++ b/reports/user_insights_monthly_inactive_users_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsMonthlyInactiveUsersRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_mfa_completions_mfa_completion_metric_item_request_builder.go b/reports/user_insights_monthly_mfa_completions_mfa_completion_metric_item_request_builder.go index e5a629b9d79..e3a0535a785 100644 --- a/reports/user_insights_monthly_mfa_completions_mfa_completion_metric_item_request_builder.go +++ b/reports/user_insights_monthly_mfa_completions_mfa_completion_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsMonthlyMfaCompletionsMfaCompletionMetricItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_mfa_completions_request_builder.go b/reports/user_insights_monthly_mfa_completions_request_builder.go index d63f49607fb..36ff94fd9f6 100644 --- a/reports/user_insights_monthly_mfa_completions_request_builder.go +++ b/reports/user_insights_monthly_mfa_completions_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsMonthlyMfaCompletionsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_request_builder.go b/reports/user_insights_monthly_request_builder.go index 6aa8682437b..edbb50dcad9 100644 --- a/reports/user_insights_monthly_request_builder.go +++ b/reports/user_insights_monthly_request_builder.go @@ -154,7 +154,7 @@ func (m *UserInsightsMonthlyRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get monthly from reports @@ -170,7 +170,7 @@ func (m *UserInsightsMonthlyRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property monthly in reports @@ -183,7 +183,7 @@ func (m *UserInsightsMonthlyRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/reports/user_insights_monthly_requests_request_builder.go b/reports/user_insights_monthly_requests_request_builder.go index f019698838e..13d9e4cf663 100644 --- a/reports/user_insights_monthly_requests_request_builder.go +++ b/reports/user_insights_monthly_requests_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsMonthlyRequestsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_requests_user_requests_metric_item_request_builder.go b/reports/user_insights_monthly_requests_user_requests_metric_item_request_builder.go index b8a5f16d12c..90827864439 100644 --- a/reports/user_insights_monthly_requests_user_requests_metric_item_request_builder.go +++ b/reports/user_insights_monthly_requests_user_requests_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsMonthlyRequestsUserRequestsMetricItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_sign_ups_request_builder.go b/reports/user_insights_monthly_sign_ups_request_builder.go index 95532e4939f..d9e87125e40 100644 --- a/reports/user_insights_monthly_sign_ups_request_builder.go +++ b/reports/user_insights_monthly_sign_ups_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsMonthlySignUpsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_sign_ups_user_sign_up_metric_item_request_builder.go b/reports/user_insights_monthly_sign_ups_user_sign_up_metric_item_request_builder.go index 7d4d2e29f63..5bb094dbcfd 100644 --- a/reports/user_insights_monthly_sign_ups_user_sign_up_metric_item_request_builder.go +++ b/reports/user_insights_monthly_sign_ups_user_sign_up_metric_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsMonthlySignUpsUserSignUpMetricItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_summary_insight_summary_item_request_builder.go b/reports/user_insights_monthly_summary_insight_summary_item_request_builder.go index 553bb9ef906..72eea650d3e 100644 --- a/reports/user_insights_monthly_summary_insight_summary_item_request_builder.go +++ b/reports/user_insights_monthly_summary_insight_summary_item_request_builder.go @@ -72,7 +72,7 @@ func (m *UserInsightsMonthlySummaryInsightSummaryItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_monthly_summary_request_builder.go b/reports/user_insights_monthly_summary_request_builder.go index d468037ad65..ea2bab8a6b2 100644 --- a/reports/user_insights_monthly_summary_request_builder.go +++ b/reports/user_insights_monthly_summary_request_builder.go @@ -99,7 +99,7 @@ func (m *UserInsightsMonthlySummaryRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/reports/user_insights_request_builder.go b/reports/user_insights_request_builder.go index 79ce06244d0..f431c1ee328 100644 --- a/reports/user_insights_request_builder.go +++ b/reports/user_insights_request_builder.go @@ -126,7 +126,7 @@ func (m *UserInsightsRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get userInsights from reports @@ -142,7 +142,7 @@ func (m *UserInsightsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userInsights in reports @@ -155,7 +155,7 @@ func (m *UserInsightsRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/riskdetections/risk_detection_item_request_builder.go b/riskdetections/risk_detection_item_request_builder.go index 54c25e1d0cd..a43d9fd84dc 100644 --- a/riskdetections/risk_detection_item_request_builder.go +++ b/riskdetections/risk_detection_item_request_builder.go @@ -118,7 +118,7 @@ func (m *RiskDetectionItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from riskDetections by key @@ -134,7 +134,7 @@ func (m *RiskDetectionItemRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in riskDetections @@ -147,7 +147,7 @@ func (m *RiskDetectionItemRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/riskdetections/risk_detections_request_builder.go b/riskdetections/risk_detections_request_builder.go index 9b64aab78c7..81db403cc0e 100644 --- a/riskdetections/risk_detections_request_builder.go +++ b/riskdetections/risk_detections_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskDetectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskDetectionsRequestBuilderGetQueryParameters retrieve the properties of a riskDetection object. This API is available in the following national cloud deployments. +// RiskDetectionsRequestBuilderGetQueryParameters retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. type RiskDetectionsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,10 +66,10 @@ func NewRiskDetectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae urlParams["request-raw-url"] = rawUrl return NewRiskDetectionsRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve the properties of a riskDetection object. This API is available in the following national cloud deployments. +// Get retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-1.0 func (m *RiskDetectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskDetectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -107,7 +107,7 @@ func (m *RiskDetectionsRequestBuilder) Post(ctx context.Context, body ie233ee762 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskDetectionable), nil } -// ToGetRequestInformation retrieve the properties of a riskDetection object. This API is available in the following national cloud deployments. +// ToGetRequestInformation retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. func (m *RiskDetectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskDetectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -120,7 +120,7 @@ func (m *RiskDetectionsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to riskDetections @@ -133,7 +133,7 @@ func (m *RiskDetectionsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/riskyusers/confirm_compromised_request_builder.go b/riskyusers/confirm_compromised_request_builder.go index a6f80664e78..4c8dd3dad14 100644 --- a/riskyusers/confirm_compromised_request_builder.go +++ b/riskyusers/confirm_compromised_request_builder.go @@ -59,7 +59,7 @@ func (m *ConfirmCompromisedRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/riskyusers/dismiss_request_builder.go b/riskyusers/dismiss_request_builder.go index 453aa52f79a..284c09e8d21 100644 --- a/riskyusers/dismiss_request_builder.go +++ b/riskyusers/dismiss_request_builder.go @@ -59,7 +59,7 @@ func (m *DismissRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/riskyusers/item_history_request_builder.go b/riskyusers/item_history_request_builder.go index d6007c71c76..2501e193d07 100644 --- a/riskyusers/item_history_request_builder.go +++ b/riskyusers/item_history_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemHistoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to history for riskyUsers @@ -141,7 +141,7 @@ func (m *ItemHistoryRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/riskyusers/item_history_risky_user_history_item_item_request_builder.go b/riskyusers/item_history_risky_user_history_item_item_request_builder.go index ff454ba11b1..d53e839147d 100644 --- a/riskyusers/item_history_risky_user_history_item_item_request_builder.go +++ b/riskyusers/item_history_risky_user_history_item_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a riskyUserHistoryItem object of a riskyUser. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property history in riskyUsers @@ -150,7 +150,7 @@ func (m *ItemHistoryRiskyUserHistoryItemItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/riskyusers/risky_user_item_request_builder.go b/riskyusers/risky_user_item_request_builder.go index 5727d33ec64..81b7d7f7428 100644 --- a/riskyusers/risky_user_item_request_builder.go +++ b/riskyusers/risky_user_item_request_builder.go @@ -125,7 +125,7 @@ func (m *RiskyUserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a riskyUser object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *RiskyUserItemRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in riskyUsers @@ -154,7 +154,7 @@ func (m *RiskyUserItemRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/riskyusers/risky_users_request_builder.go b/riskyusers/risky_users_request_builder.go index e2e1a45e105..769e6a53928 100644 --- a/riskyusers/risky_users_request_builder.go +++ b/riskyusers/risky_users_request_builder.go @@ -136,7 +136,7 @@ func (m *RiskyUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to riskyUsers @@ -149,7 +149,7 @@ func (m *RiskyUsersRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_request_builder.go b/rolemanagement/cloud_p_c_request_builder.go index 87c91c90c59..6cec03057d4 100644 --- a/rolemanagement/cloud_p_c_request_builder.go +++ b/rolemanagement/cloud_p_c_request_builder.go @@ -130,7 +130,7 @@ func (m *CloudPCRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get cloudPC from roleManagement @@ -146,7 +146,7 @@ func (m *CloudPCRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cloudPC in roleManagement @@ -159,7 +159,7 @@ func (m *CloudPCRequestBuilder) ToPatchRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_import_resource_actions_request_builder.go index 2074c6b623c..2bc42d43fb0 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_import_resource_actions_request_builder.go @@ -60,7 +60,7 @@ func (m *CloudPCResourceNamespacesItemImportResourceActionsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index 6861a5412b0..d729cec3d40 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -72,7 +72,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsItemAuthenticationContextRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index baac11d748e..0fe4da7c013 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsItemResourceScopeRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get resourceScope from roleManagement @@ -134,7 +134,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsItemResourceScopeRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceScope in roleManagement @@ -147,7 +147,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsItemResourceScopeRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go index 6d08f0748fe..8e1a79e5b7c 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_request_builder.go @@ -128,7 +128,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceActions for roleManagement @@ -141,7 +141,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index 3d6fedd0757..1ba9d0f76dc 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -129,7 +129,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceActions in roleManagement @@ -158,7 +158,7 @@ func (m *CloudPCResourceNamespacesItemResourceActionsUnifiedRbacResourceActionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_resource_namespaces_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_request_builder.go index 3452a6ef28f..fb2213b1f0b 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_request_builder.go @@ -125,7 +125,7 @@ func (m *CloudPCResourceNamespacesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceNamespaces for roleManagement @@ -138,7 +138,7 @@ func (m *CloudPCResourceNamespacesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/cloud_p_c_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index cbceed8c5e2..743c8f723ba 100644 --- a/rolemanagement/cloud_p_c_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/cloud_p_c_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -126,7 +126,7 @@ func (m *CloudPCResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get resourceNamespaces from roleManagement @@ -142,7 +142,7 @@ func (m *CloudPCResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceNamespaces in roleManagement @@ -155,7 +155,7 @@ func (m *CloudPCResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_app_scope_item_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_app_scope_item_request_builder.go index f51b7c86fe8..f8c09724a8e 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_app_scope_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_app_scope_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CloudPCRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only collection with details of the app specific scopes when the assignment scopes are app specific. Containment entity. Read-only. @@ -134,7 +134,7 @@ func (m *CloudPCRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appScopes in roleManagement @@ -147,7 +147,7 @@ func (m *CloudPCRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_request_builder.go index 16dca8f0fef..c9b82c6f2d8 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_app_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *CloudPCRoleAssignmentsItemAppScopesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to appScopes for roleManagement @@ -138,7 +138,7 @@ func (m *CloudPCRoleAssignmentsItemAppScopesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_directory_object_item_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_directory_object_item_request_builder.go index 1d74dbfa5ac..a75c1bd5d89 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_directory_object_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *CloudPCRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_request_builder.go index 951b425f184..c1774db0d4d 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_directory_scopes_request_builder.go @@ -99,7 +99,7 @@ func (m *CloudPCRoleAssignmentsItemDirectoryScopesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/cloud_p_c_role_assignments_item_principals_directory_object_item_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_principals_directory_object_item_request_builder.go index 808d9ad8372..6122856858c 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_principals_directory_object_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_principals_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *CloudPCRoleAssignmentsItemPrincipalsDirectoryObjectItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/cloud_p_c_role_assignments_item_principals_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_principals_request_builder.go index 843fa1f552c..83e2a557ab9 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_principals_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_principals_request_builder.go @@ -99,7 +99,7 @@ func (m *CloudPCRoleAssignmentsItemPrincipalsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/cloud_p_c_role_assignments_item_role_definition_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_item_role_definition_request_builder.go index 9aaa3574841..e28bdb678ee 100644 --- a/rolemanagement/cloud_p_c_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *CloudPCRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/cloud_p_c_role_assignments_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_request_builder.go index 587593eaf17..1bf3d950b2f 100644 --- a/rolemanagement/cloud_p_c_role_assignments_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_request_builder.go @@ -131,7 +131,7 @@ func (m *CloudPCRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *CloudPCRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go b/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go index f267face14b..b642e4f4f2c 100644 --- a/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_assignments_unified_role_assignment_multiple_item_request_builder.go @@ -143,7 +143,7 @@ func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -159,7 +159,7 @@ func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -172,7 +172,7 @@ func (m *CloudPCRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index bfa638e7b39..ae89a13c3fa 100644 --- a/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -107,7 +107,7 @@ func (m *CloudPCRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectoryScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/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_request_builder.go b/rolemanagement/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_request_builder.go index c6f1d51f743..da56d7b332d 100644 --- a/rolemanagement/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_request_builder.go +++ b/rolemanagement/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_request_builder.go @@ -107,7 +107,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipals requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_request_builder.go index 262bc61a0bb..0f940b7c405 100644 --- a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_request_builder.go @@ -125,7 +125,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to inheritsPermissionsFrom for roleManagement @@ -138,7 +138,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index 72e63679ddd..40fd4c156ea 100644 --- a/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. @@ -138,7 +138,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property inheritsPermissionsFrom in roleManagement @@ -151,7 +151,7 @@ func (m *CloudPCRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_role_definitions_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_request_builder.go index 228e4101908..07acf0ee33c 100644 --- a/rolemanagement/cloud_p_c_role_definitions_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_request_builder.go @@ -131,7 +131,7 @@ func (m *CloudPCRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *CloudPCRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go index cf1a71a772e..d4d3d28b4f6 100644 --- a/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/cloud_p_c_role_definitions_unified_role_definition_item_request_builder.go @@ -135,7 +135,7 @@ func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -151,7 +151,7 @@ func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -164,7 +164,7 @@ func (m *CloudPCRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_request_builder.go b/rolemanagement/device_management_request_builder.go index c440d55015a..37f978c6da8 100644 --- a/rolemanagement/device_management_request_builder.go +++ b/rolemanagement/device_management_request_builder.go @@ -130,7 +130,7 @@ func (m *DeviceManagementRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the RbacApplication for Device Management @@ -146,7 +146,7 @@ func (m *DeviceManagementRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceManagement in roleManagement @@ -159,7 +159,7 @@ func (m *DeviceManagementRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_import_resource_actions_request_builder.go index b7eb6304567..f902e5492d9 100644 --- a/rolemanagement/device_management_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_import_resource_actions_request_builder.go @@ -60,7 +60,7 @@ func (m *DeviceManagementResourceNamespacesItemImportResourceActionsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index 4466dfec029..b693ee08492 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsItemAuthentication requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index 20f0b84c8c8..fbe4151674e 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsItemResourceScopeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get resourceScope from roleManagement @@ -134,7 +134,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsItemResourceScopeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceScope in roleManagement @@ -147,7 +147,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsItemResourceScopeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go index 5c74c72c5da..0484f7feeb5 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_request_builder.go @@ -128,7 +128,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceActions for roleManagement @@ -141,7 +141,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index 63d8fee76de..5029e0b80c6 100644 --- a/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -129,7 +129,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceActions in roleManagement @@ -158,7 +158,7 @@ func (m *DeviceManagementResourceNamespacesItemResourceActionsUnifiedRbacResourc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_resource_namespaces_request_builder.go b/rolemanagement/device_management_resource_namespaces_request_builder.go index 8bed061ca39..5693b3a03bc 100644 --- a/rolemanagement/device_management_resource_namespaces_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementResourceNamespacesRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceNamespaces for roleManagement @@ -138,7 +138,7 @@ func (m *DeviceManagementResourceNamespacesRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/device_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index 9f7801e47eb..43563ed1a7c 100644 --- a/rolemanagement/device_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/device_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -126,7 +126,7 @@ func (m *DeviceManagementResourceNamespacesUnifiedRbacResourceNamespaceItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get resourceNamespaces from roleManagement @@ -142,7 +142,7 @@ func (m *DeviceManagementResourceNamespacesUnifiedRbacResourceNamespaceItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceNamespaces in roleManagement @@ -155,7 +155,7 @@ func (m *DeviceManagementResourceNamespacesUnifiedRbacResourceNamespaceItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_role_assignments_item_app_scopes_app_scope_item_request_builder.go b/rolemanagement/device_management_role_assignments_item_app_scopes_app_scope_item_request_builder.go index cdcfedbf32d..6c1cee94b71 100644 --- a/rolemanagement/device_management_role_assignments_item_app_scopes_app_scope_item_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_app_scopes_app_scope_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DeviceManagementRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only collection with details of the app specific scopes when the assignment scopes are app specific. Containment entity. Read-only. @@ -134,7 +134,7 @@ func (m *DeviceManagementRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appScopes in roleManagement @@ -147,7 +147,7 @@ func (m *DeviceManagementRoleAssignmentsItemAppScopesAppScopeItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_role_assignments_item_app_scopes_request_builder.go b/rolemanagement/device_management_role_assignments_item_app_scopes_request_builder.go index 5b4451d4e6e..78951a6f137 100644 --- a/rolemanagement/device_management_role_assignments_item_app_scopes_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_app_scopes_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementRoleAssignmentsItemAppScopesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to appScopes for roleManagement @@ -138,7 +138,7 @@ func (m *DeviceManagementRoleAssignmentsItemAppScopesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_role_assignments_item_directory_scopes_directory_object_item_request_builder.go b/rolemanagement/device_management_role_assignments_item_directory_scopes_directory_object_item_request_builder.go index 0e15b933c03..8b77f923e56 100644 --- a/rolemanagement/device_management_role_assignments_item_directory_scopes_directory_object_item_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_directory_scopes_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesDirectoryObjectItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/device_management_role_assignments_item_directory_scopes_request_builder.go b/rolemanagement/device_management_role_assignments_item_directory_scopes_request_builder.go index 8a01f0fb9c6..56afa8e0dcb 100644 --- a/rolemanagement/device_management_role_assignments_item_directory_scopes_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_directory_scopes_request_builder.go @@ -99,7 +99,7 @@ func (m *DeviceManagementRoleAssignmentsItemDirectoryScopesRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/device_management_role_assignments_item_principals_directory_object_item_request_builder.go b/rolemanagement/device_management_role_assignments_item_principals_directory_object_item_request_builder.go index f76b556d3b7..7b5caa0e0a8 100644 --- a/rolemanagement/device_management_role_assignments_item_principals_directory_object_item_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_principals_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceManagementRoleAssignmentsItemPrincipalsDirectoryObjectItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/device_management_role_assignments_item_principals_request_builder.go b/rolemanagement/device_management_role_assignments_item_principals_request_builder.go index b9b55ea6e7a..e9079eec42e 100644 --- a/rolemanagement/device_management_role_assignments_item_principals_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_principals_request_builder.go @@ -99,7 +99,7 @@ func (m *DeviceManagementRoleAssignmentsItemPrincipalsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/device_management_role_assignments_item_role_definition_request_builder.go b/rolemanagement/device_management_role_assignments_item_role_definition_request_builder.go index 8e72e9a7c84..a96fed3535b 100644 --- a/rolemanagement/device_management_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/device_management_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *DeviceManagementRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/device_management_role_assignments_request_builder.go b/rolemanagement/device_management_role_assignments_request_builder.go index 1bd8de10c0b..17a1b0414db 100644 --- a/rolemanagement/device_management_role_assignments_request_builder.go +++ b/rolemanagement/device_management_role_assignments_request_builder.go @@ -131,7 +131,7 @@ func (m *DeviceManagementRoleAssignmentsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *DeviceManagementRoleAssignmentsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go b/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go index 08aebdd9c82..2b21c4c4ee8 100644 --- a/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go +++ b/rolemanagement/device_management_role_assignments_unified_role_assignment_multiple_item_request_builder.go @@ -143,7 +143,7 @@ func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -159,7 +159,7 @@ func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -172,7 +172,7 @@ func (m *DeviceManagementRoleAssignmentsUnifiedRoleAssignmentMultipleItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index bc286c5aac3..9ca5ed6d7ef 100644 --- a/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -107,7 +107,7 @@ func (m *DeviceManagementRoleDefinitionsItemAssignedPrincipalsWithTransitivedire requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 9baef4ede73..07282d83e8f 100644 --- a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -107,7 +107,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromItemAssignedP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_request_builder.go index 48c63ebc7f6..5cd7c284a59 100644 --- a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_request_builder.go @@ -125,7 +125,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to inheritsPermissionsFrom for roleManagement @@ -138,7 +138,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index afe1aa02a3e..86de2e4a1f8 100644 --- a/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/device_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. @@ -138,7 +138,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property inheritsPermissionsFrom in roleManagement @@ -151,7 +151,7 @@ func (m *DeviceManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_role_definitions_request_builder.go b/rolemanagement/device_management_role_definitions_request_builder.go index 621b81c39ef..dc09f261060 100644 --- a/rolemanagement/device_management_role_definitions_request_builder.go +++ b/rolemanagement/device_management_role_definitions_request_builder.go @@ -131,7 +131,7 @@ func (m *DeviceManagementRoleDefinitionsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *DeviceManagementRoleDefinitionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go index 60baf2e4975..61ce1e669f0 100644 --- a/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/device_management_role_definitions_unified_role_definition_item_request_builder.go @@ -135,7 +135,7 @@ func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -151,7 +151,7 @@ func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -164,7 +164,7 @@ func (m *DeviceManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_request_builder.go b/rolemanagement/directory_request_builder.go index fb41d0de3c5..e04c719671e 100644 --- a/rolemanagement/directory_request_builder.go +++ b/rolemanagement/directory_request_builder.go @@ -166,7 +166,7 @@ func (m *DirectoryRequestBuilder) ToDeleteRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get directory from roleManagement @@ -182,7 +182,7 @@ func (m *DirectoryRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property directory in roleManagement @@ -195,7 +195,7 @@ func (m *DirectoryRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/directory_resource_namespaces_item_import_resource_actions_request_builder.go index 73371d5615a..c3979c3e950 100644 --- a/rolemanagement/directory_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_import_resource_actions_request_builder.go @@ -60,7 +60,7 @@ func (m *DirectoryResourceNamespacesItemImportResourceActionsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index ca80922c064..da9cc17d541 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsItemAuthenticationContext requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index 3e6a449c03d..580be2f6987 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsItemResourceScopeRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get resourceScope from roleManagement @@ -134,7 +134,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsItemResourceScopeRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceScope in roleManagement @@ -147,7 +147,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsItemResourceScopeRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go index 1d3ad34bf42..e85e0021b10 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_request_builder.go @@ -128,7 +128,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceActions for roleManagement @@ -141,7 +141,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index 7ec6f67cea4..6e0bc7daac9 100644 --- a/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -129,7 +129,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceAction requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceAction requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceActions in roleManagement @@ -158,7 +158,7 @@ func (m *DirectoryResourceNamespacesItemResourceActionsUnifiedRbacResourceAction requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_resource_namespaces_request_builder.go b/rolemanagement/directory_resource_namespaces_request_builder.go index 74da4b398de..d13bc9398d0 100644 --- a/rolemanagement/directory_resource_namespaces_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_request_builder.go @@ -128,7 +128,7 @@ func (m *DirectoryResourceNamespacesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceNamespaces for roleManagement @@ -141,7 +141,7 @@ func (m *DirectoryResourceNamespacesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index 9d89bdde2b7..192d42e457b 100644 --- a/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/directory_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -129,7 +129,7 @@ func (m *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceNamespaces in roleManagement @@ -158,7 +158,7 @@ func (m *DirectoryResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignment_approvals_approval_item_request_builder.go b/rolemanagement/directory_role_assignment_approvals_approval_item_request_builder.go index 6ab6fe9dad3..36ce3b575cb 100644 --- a/rolemanagement/directory_role_assignment_approvals_approval_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_approval_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DirectoryRoleAssignmentApprovalsApprovalItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get roleAssignmentApprovals from roleManagement @@ -138,7 +138,7 @@ func (m *DirectoryRoleAssignmentApprovalsApprovalItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentApprovals in roleManagement @@ -151,7 +151,7 @@ func (m *DirectoryRoleAssignmentApprovalsApprovalItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go index 59f51ac4766..0b869485343 100644 --- a/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *DirectoryRoleAssignmentApprovalsFilterByCurrentUserWithOnRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go b/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go index 965199bd640..c356a92a9ac 100644 --- a/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -124,7 +124,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsApprovalStepItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go b/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go index 399917279c6..7978c13e812 100644 --- a/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_item_steps_request_builder.go @@ -128,7 +128,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to steps for roleManagement @@ -141,7 +141,7 @@ func (m *DirectoryRoleAssignmentApprovalsItemStepsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignment_approvals_request_builder.go b/rolemanagement/directory_role_assignment_approvals_request_builder.go index c8baa53667e..63dad63e035 100644 --- a/rolemanagement/directory_role_assignment_approvals_request_builder.go +++ b/rolemanagement/directory_role_assignment_approvals_request_builder.go @@ -129,7 +129,7 @@ func (m *DirectoryRoleAssignmentApprovalsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentApprovals for roleManagement @@ -142,7 +142,7 @@ func (m *DirectoryRoleAssignmentApprovalsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index e802f4cc863..bc495670d1f 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesFilterByCurrentUserWithOnReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_instances_item_activated_using_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_item_activated_using_request_builder.go index 13cd9d49e9a..5824ec41cbd 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_item_activated_using_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesItemActivatedUsingRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_item_app_scope_request_builder.go index dfbe6a189cd..2be17596be5 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesItemAppScopeRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_item_directory_scope_request_builder.go index 9c50dffe626..8c300a1fd0c 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesItemDirectoryScopeRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_instances_item_principal_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_item_principal_request_builder.go index 55ab746914f..6f7a5204efa 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesItemPrincipalRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_item_role_definition_request_builder.go index 97e9f4a9c95..b5bd8c47e42 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesItemRoleDefinitionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go index c5ffb2b94d2..e8163637457 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_request_builder.go @@ -132,7 +132,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentScheduleInstances for roleManagement @@ -145,7 +145,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go b/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go index cb3e7ddfe06..22525141e32 100644 --- a/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go @@ -141,7 +141,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the instance of an active role assignment. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentScheduleInstances in roleManagement @@ -170,7 +170,7 @@ func (m *DirectoryRoleAssignmentScheduleInstancesUnifiedRoleAssignmentScheduleIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index bd73b382949..43a02e842af 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsFilterByCurrentUserWithOnRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_activated_using_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_activated_using_request_builder.go index 86311f2b11e..5f55b9fc30e 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_activated_using_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemActivatedUsingRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_app_scope_request_builder.go index 53c537ecfc1..a872e076a03 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemAppScopeRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go index bd786761c8b..fa69c5c9520 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemCancelRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_directory_scope_request_builder.go index ad78722d7dd..7a800a3a008 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemDirectoryScopeRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_principal_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_principal_request_builder.go index 3d8c19a6b71..967ccdeb3d9 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemPrincipalRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_role_definition_request_builder.go index 7125353a2a4..9ab6358e62c 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemRoleDefinitionRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_item_target_schedule_request_builder.go index 15207e3f7c9..951de94c519 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_item_target_schedule_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsItemTargetScheduleRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go index fc7c7f02e0f..4ac19a9d54b 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_request_builder.go @@ -135,7 +135,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go b/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go index cc1e15d4489..b5f7c53f8a8 100644 --- a/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go @@ -149,7 +149,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -165,7 +165,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentScheduleRequests in roleManagement @@ -178,7 +178,7 @@ func (m *DirectoryRoleAssignmentScheduleRequestsUnifiedRoleAssignmentScheduleReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go index 4d9c7150804..8ee4bf08201 100644 --- a/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *DirectoryRoleAssignmentSchedulesFilterByCurrentUserWithOnRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedules_item_activated_using_request_builder.go b/rolemanagement/directory_role_assignment_schedules_item_activated_using_request_builder.go index 5800ce28bf6..545b4e96e84 100644 --- a/rolemanagement/directory_role_assignment_schedules_item_activated_using_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentSchedulesItemActivatedUsingRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedules_item_app_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedules_item_app_scope_request_builder.go index eb49a6d2b06..c78b4906100 100644 --- a/rolemanagement/directory_role_assignment_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentSchedulesItemAppScopeRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedules_item_directory_scope_request_builder.go b/rolemanagement/directory_role_assignment_schedules_item_directory_scope_request_builder.go index c99b7c22998..a0b56fd2b9e 100644 --- a/rolemanagement/directory_role_assignment_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentSchedulesItemDirectoryScopeRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedules_item_principal_request_builder.go b/rolemanagement/directory_role_assignment_schedules_item_principal_request_builder.go index 6e4aa18c438..3af05d1ea84 100644 --- a/rolemanagement/directory_role_assignment_schedules_item_principal_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentSchedulesItemPrincipalRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedules_item_role_definition_request_builder.go b/rolemanagement/directory_role_assignment_schedules_item_role_definition_request_builder.go index 04b009a4b91..bdb35a1ba51 100644 --- a/rolemanagement/directory_role_assignment_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentSchedulesItemRoleDefinitionRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignment_schedules_request_builder.go b/rolemanagement/directory_role_assignment_schedules_request_builder.go index d074d2af491..7e99e0bfd70 100644 --- a/rolemanagement/directory_role_assignment_schedules_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_request_builder.go @@ -132,7 +132,7 @@ func (m *DirectoryRoleAssignmentSchedulesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentSchedules for roleManagement @@ -145,7 +145,7 @@ func (m *DirectoryRoleAssignmentSchedulesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go b/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go index e6185fd0f9b..f6eea2f8cb0 100644 --- a/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go +++ b/rolemanagement/directory_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go @@ -141,7 +141,7 @@ func (m *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentSchedules in roleManagement @@ -170,7 +170,7 @@ func (m *DirectoryRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignments_item_app_scope_request_builder.go b/rolemanagement/directory_role_assignments_item_app_scope_request_builder.go index 1ac371daf1f..50ab33bfc0f 100644 --- a/rolemanagement/directory_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_assignments_item_app_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *DirectoryRoleAssignmentsItemAppScopeRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation details of the app specific scope when the assignment scope is app specific. Containment entity. @@ -134,7 +134,7 @@ func (m *DirectoryRoleAssignmentsItemAppScopeRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appScope in roleManagement @@ -147,7 +147,7 @@ func (m *DirectoryRoleAssignmentsItemAppScopeRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/directory_role_assignments_item_directory_scope_request_builder.go index eaa3b3d9c7e..89d4547335d 100644 --- a/rolemanagement/directory_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_assignments_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentsItemDirectoryScopeRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignments_item_principal_request_builder.go b/rolemanagement/directory_role_assignments_item_principal_request_builder.go index f26be654bde..b5dc119a90a 100644 --- a/rolemanagement/directory_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/directory_role_assignments_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentsItemPrincipalRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignments_item_role_definition_request_builder.go b/rolemanagement/directory_role_assignments_item_role_definition_request_builder.go index 9285d3cc189..f08dd0c65a2 100644 --- a/rolemanagement/directory_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_assignments_request_builder.go b/rolemanagement/directory_role_assignments_request_builder.go index 00ffe49e0c8..1117a953765 100644 --- a/rolemanagement/directory_role_assignments_request_builder.go +++ b/rolemanagement/directory_role_assignments_request_builder.go @@ -131,7 +131,7 @@ func (m *DirectoryRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *DirectoryRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go index b01ad9ed3f5..fa283527752 100644 --- a/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/directory_role_assignments_unified_role_assignment_item_request_builder.go @@ -140,7 +140,7 @@ func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignments in roleManagement @@ -169,7 +169,7 @@ func (m *DirectoryRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index a14074ee451..0b6711779c9 100644 --- a/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -107,7 +107,7 @@ func (m *DirectoryRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectorySc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 9967a170ab5..6570c061755 100644 --- a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -107,7 +107,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_request_builder.go index cc4c821a309..2aac05e9ea6 100644 --- a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_request_builder.go @@ -125,7 +125,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to inheritsPermissionsFrom for roleManagement @@ -138,7 +138,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index dbb75ab7dc4..2e8efb04840 100644 --- a/rolemanagement/directory_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/directory_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. @@ -138,7 +138,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property inheritsPermissionsFrom in roleManagement @@ -151,7 +151,7 @@ func (m *DirectoryRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinitio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_definitions_request_builder.go b/rolemanagement/directory_role_definitions_request_builder.go index ca92c702d32..78a0cef6c2f 100644 --- a/rolemanagement/directory_role_definitions_request_builder.go +++ b/rolemanagement/directory_role_definitions_request_builder.go @@ -131,7 +131,7 @@ func (m *DirectoryRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *DirectoryRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go index 566c096bd91..f2bd294e3ad 100644 --- a/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/directory_role_definitions_unified_role_definition_item_request_builder.go @@ -135,7 +135,7 @@ func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -151,7 +151,7 @@ func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -164,7 +164,7 @@ func (m *DirectoryRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index 05939ebcf93..e7fe04c1df0 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesFilterByCurrentUserWithOnReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_item_app_scope_request_builder.go index 33d588df11f..7b273304174 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesItemAppScopeRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_item_directory_scope_request_builder.go index 5d8ebcd33ba..50e0596ed79 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesItemDirectoryScopeRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_item_principal_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_item_principal_request_builder.go index 2b4fa9d5df7..8f1079945d0 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesItemPrincipalRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_item_role_definition_request_builder.go index 11e69837d53..bb6bdbd62af 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesItemRoleDefinitionRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go index e15594f3a9e..f396e2e194a 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_request_builder.go @@ -132,7 +132,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleEligibilityScheduleInstances for roleManagement @@ -145,7 +145,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go index d63a6d36823..b79428c5d94 100644 --- a/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go @@ -137,7 +137,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilitySchedule requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilitySchedule requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleEligibilityScheduleInstances in roleManagement @@ -166,7 +166,7 @@ func (m *DirectoryRoleEligibilityScheduleInstancesUnifiedRoleEligibilitySchedule requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index 3a3f6c5a7bc..60b845b6947 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsFilterByCurrentUserWithOnReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_app_scope_request_builder.go index d8e87d3d482..9de8fbb7030 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemAppScopeRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go index e1db8144686..ef6f579b1a3 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemCancelRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_directory_scope_request_builder.go index df417b64ec2..fa66c481761 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemDirectoryScopeRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_principal_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_principal_request_builder.go index ba3ab1228e2..df81e9992f5 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemPrincipalRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_role_definition_request_builder.go index b301e122a1a..6e38330ae11 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemRoleDefinitionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_item_target_schedule_request_builder.go index 32550b02d62..0b2b9354d06 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_item_target_schedule_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsItemTargetScheduleRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go index 3dce78480c2..12afce8a2f0 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_request_builder.go @@ -135,7 +135,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go b/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go index 5da61f56d81..9ee70d5ad9b 100644 --- a/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go @@ -145,7 +145,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. @@ -161,7 +161,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleEligibilityScheduleRequests in roleManagement @@ -174,7 +174,7 @@ func (m *DirectoryRoleEligibilityScheduleRequestsUnifiedRoleEligibilityScheduleR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index ed97547a612..697e1af59b6 100644 --- a/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *DirectoryRoleEligibilitySchedulesFilterByCurrentUserWithOnRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedules_item_app_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_item_app_scope_request_builder.go index 2b6d3c28eba..543960d7dfe 100644 --- a/rolemanagement/directory_role_eligibility_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilitySchedulesItemAppScopeRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedules_item_directory_scope_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_item_directory_scope_request_builder.go index 71cf5b64b46..54cce71bb1c 100644 --- a/rolemanagement/directory_role_eligibility_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilitySchedulesItemDirectoryScopeRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedules_item_principal_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_item_principal_request_builder.go index 28008ab63e7..8315c08bd18 100644 --- a/rolemanagement/directory_role_eligibility_schedules_item_principal_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilitySchedulesItemPrincipalRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedules_item_role_definition_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_item_role_definition_request_builder.go index ba1976a080c..0d675cb17ee 100644 --- a/rolemanagement/directory_role_eligibility_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryRoleEligibilitySchedulesItemRoleDefinitionRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_role_eligibility_schedules_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_request_builder.go index 94b1cca070a..1be4784058c 100644 --- a/rolemanagement/directory_role_eligibility_schedules_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_request_builder.go @@ -132,7 +132,7 @@ func (m *DirectoryRoleEligibilitySchedulesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleEligibilitySchedules for roleManagement @@ -145,7 +145,7 @@ func (m *DirectoryRoleEligibilitySchedulesRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go b/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go index 9547cf6ac3c..f3873a38992 100644 --- a/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go +++ b/rolemanagement/directory_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go @@ -137,7 +137,7 @@ func (m *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleEligibilitySchedules in roleManagement @@ -166,7 +166,7 @@ func (m *DirectoryRoleEligibilitySchedulesUnifiedRoleEligibilityScheduleItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/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_request_builder.go b/rolemanagement/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_request_builder.go index 0ea04a16d12..82d356bb8d4 100644 --- a/rolemanagement/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_request_builder.go +++ b/rolemanagement/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_request_builder.go @@ -109,7 +109,7 @@ func (m *DirectoryRoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_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.go b/rolemanagement/directory_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.go index ad9a931f404..f5631e08263 100644 --- a/rolemanagement/directory_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.go +++ b/rolemanagement/directory_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.go @@ -109,7 +109,7 @@ func (m *DirectoryRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_transitive_role_assignments_item_app_scope_request_builder.go b/rolemanagement/directory_transitive_role_assignments_item_app_scope_request_builder.go index 75e5d06e060..1cd14d10232 100644 --- a/rolemanagement/directory_transitive_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_item_app_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *DirectoryTransitiveRoleAssignmentsItemAppScopeRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation details of the app specific scope when the assignment scope is app specific. Containment entity. @@ -134,7 +134,7 @@ func (m *DirectoryTransitiveRoleAssignmentsItemAppScopeRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appScope in roleManagement @@ -147,7 +147,7 @@ func (m *DirectoryTransitiveRoleAssignmentsItemAppScopeRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_transitive_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/directory_transitive_role_assignments_item_directory_scope_request_builder.go index a422c114ded..93a1c7ef8d4 100644 --- a/rolemanagement/directory_transitive_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_transitive_role_assignments_item_principal_request_builder.go b/rolemanagement/directory_transitive_role_assignments_item_principal_request_builder.go index 2eeac0a207d..6c86b449ce3 100644 --- a/rolemanagement/directory_transitive_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryTransitiveRoleAssignmentsItemPrincipalRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_transitive_role_assignments_item_role_definition_request_builder.go b/rolemanagement/directory_transitive_role_assignments_item_role_definition_request_builder.go index fac9293ffb8..2ad2f9ddebe 100644 --- a/rolemanagement/directory_transitive_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *DirectoryTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/directory_transitive_role_assignments_request_builder.go b/rolemanagement/directory_transitive_role_assignments_request_builder.go index 4b83b8a201f..b37be3a3b97 100644 --- a/rolemanagement/directory_transitive_role_assignments_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_request_builder.go @@ -128,7 +128,7 @@ func (m *DirectoryTransitiveRoleAssignmentsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to transitiveRoleAssignments for roleManagement @@ -141,7 +141,7 @@ func (m *DirectoryTransitiveRoleAssignmentsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/directory_transitive_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/directory_transitive_role_assignments_unified_role_assignment_item_request_builder.go index 320a100eab3..0c7f52bc6b4 100644 --- a/rolemanagement/directory_transitive_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/directory_transitive_role_assignments_unified_role_assignment_item_request_builder.go @@ -134,7 +134,7 @@ func (m *DirectoryTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get transitiveRoleAssignments from roleManagement @@ -150,7 +150,7 @@ func (m *DirectoryTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property transitiveRoleAssignments in roleManagement @@ -163,7 +163,7 @@ func (m *DirectoryTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_import_resource_actions_request_builder.go index fa6d4f364c8..7275696eb54 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_import_resource_actions_request_builder.go @@ -60,7 +60,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemImportResourceActionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index 6fe2a4e3687..df02885c2c7 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsItemAuthenticati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index 2cddb6e4e0b..f845f492c3b 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsItemResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get resourceScope from roleManagement @@ -134,7 +134,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsItemResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceScope in roleManagement @@ -147,7 +147,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsItemResourceScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go index 3415c91f33c..7bdfc6a7cac 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_request_builder.go @@ -128,7 +128,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceActions for roleManagement @@ -141,7 +141,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index c6636d56688..6cfdf4914d2 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -129,7 +129,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResou requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResou requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceActions in roleManagement @@ -158,7 +158,7 @@ func (m *EnterpriseAppsItemResourceNamespacesItemResourceActionsUnifiedRbacResou requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go index 1ec72f6b458..30d0cf54842 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_request_builder.go @@ -128,7 +128,7 @@ func (m *EnterpriseAppsItemResourceNamespacesRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceNamespaces for roleManagement @@ -141,7 +141,7 @@ func (m *EnterpriseAppsItemResourceNamespacesRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index e07dc61a9a7..d100a223f8f 100644 --- a/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -129,7 +129,7 @@ func (m *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceNamespaces in roleManagement @@ -158,7 +158,7 @@ func (m *EnterpriseAppsItemResourceNamespacesUnifiedRbacResourceNamespaceItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_approval_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_approval_item_request_builder.go index 717af71555a..996f798e483 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_approval_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_approval_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsApprovalItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get roleAssignmentApprovals from roleManagement @@ -138,7 +138,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsApprovalItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentApprovals in roleManagement @@ -151,7 +151,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsApprovalItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go index 66b8b975f58..5ea9f5b058b 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsFilterByCurrentUserWithOnReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go index 7752854334e..31d22ef8a0a 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -124,7 +124,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsApprovalStepItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go index 2c81c3c2eaf..abe24164db7 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_item_steps_request_builder.go @@ -128,7 +128,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to steps for roleManagement @@ -141,7 +141,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsItemStepsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignment_approvals_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_approvals_request_builder.go index 5e64e374844..28a5dd84d79 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_approvals_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_approvals_request_builder.go @@ -129,7 +129,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentApprovals for roleManagement @@ -142,7 +142,7 @@ func (m *EnterpriseAppsItemRoleAssignmentApprovalsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index 6e71dcceb55..57d3201dcf0 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesFilterByCurrentUserWit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_activated_using_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_activated_using_request_builder.go index 62b141108cb..991eaf12632 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_activated_using_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemActivatedUsingRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_app_scope_request_builder.go index 329ea337357..1512f80294f 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemAppScopeRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_directory_scope_request_builder.go index b8b1112849c..074c5e72e51 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemDirectoryScopeRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_principal_request_builder.go index abb37f9591d..cb78b7b67d8 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemPrincipalRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_role_definition_request_builder.go index fe0a1bad1fa..03e70971d92 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesItemRoleDefinitionRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go index 85d3440322e..118b770b199 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_request_builder.go @@ -132,7 +132,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentScheduleInstances for roleManagement @@ -145,7 +145,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go index fc7d63b46a6..5ff00d2ce39 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go @@ -141,7 +141,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the instance of an active role assignment. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentScheduleInstances in roleManagement @@ -170,7 +170,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleInstancesUnifiedRoleAssignmentS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index e39c6e4f3e1..d3b1681db9a 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsFilterByCurrentUserWith requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_activated_using_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_activated_using_request_builder.go index 8d6dd2a6716..d30bd211769 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_activated_using_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemActivatedUsingReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_app_scope_request_builder.go index 59ce1ea4076..dd18fb2820d 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemAppScopeRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go index 65287a55752..4c3c121f53f 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemCancelRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_directory_scope_request_builder.go index 46360e0c28a..0d077beda50 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemDirectoryScopeReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_principal_request_builder.go index 3048342a698..e45a92a2652 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemPrincipalRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_role_definition_request_builder.go index 735652e0286..5ab9cf4c158 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemRoleDefinitionReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_target_schedule_request_builder.go index eafde153bec..3d4224f9e69 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_item_target_schedule_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsItemTargetScheduleReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go index 6acb79372f9..add3ca6b66c 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_request_builder.go @@ -135,7 +135,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go index acb68afbddd..6f8ce81309b 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go @@ -149,7 +149,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentSc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -165,7 +165,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentSc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentScheduleRequests in roleManagement @@ -178,7 +178,7 @@ func (m *EnterpriseAppsItemRoleAssignmentScheduleRequestsUnifiedRoleAssignmentSc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go index 45e25f5b97b..cd14c639c4a 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesFilterByCurrentUserWithOnReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_activated_using_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_activated_using_request_builder.go index 2ee32ac62a1..0fe50d978d6 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_activated_using_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesItemActivatedUsingRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_app_scope_request_builder.go index 5295c24672c..f194776cc29 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesItemAppScopeRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_directory_scope_request_builder.go index 604f03bd6be..736a48f5bda 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesItemDirectoryScopeRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_principal_request_builder.go index 817b34062d5..e2d53e84bd4 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesItemPrincipalRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_role_definition_request_builder.go index 3623bc0bbf3..836f36e54ae 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesItemRoleDefinitionRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go index b315a617480..0ef37f1b6ba 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_request_builder.go @@ -132,7 +132,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentSchedules for roleManagement @@ -145,7 +145,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go index 5fe6c6ca3e2..fcade04269d 100644 --- a/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go @@ -141,7 +141,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentSchedules in roleManagement @@ -170,7 +170,7 @@ func (m *EnterpriseAppsItemRoleAssignmentSchedulesUnifiedRoleAssignmentScheduleI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignments_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_item_app_scope_request_builder.go index 4ebc90d6d91..a8802ccfff9 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_item_app_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsItemAppScopeRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation details of the app specific scope when the assignment scope is app specific. Containment entity. @@ -134,7 +134,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsItemAppScopeRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appScope in roleManagement @@ -147,7 +147,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsItemAppScopeRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_item_directory_scope_request_builder.go index 0c910c83a8f..4f6a8217cf9 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsItemDirectoryScopeRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignments_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_item_principal_request_builder.go index bff210d1003..d35d14bbb2b 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsItemPrincipalRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignments_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_item_role_definition_request_builder.go index f51bd287818..58b99a8c818 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go index 4de689a5604..cf8bcd68ad3 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_request_builder.go @@ -131,7 +131,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go index 97aa17b1cbe..0421c1cef8c 100644 --- a/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_assignments_unified_role_assignment_item_request_builder.go @@ -140,7 +140,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignments in roleManagement @@ -169,7 +169,7 @@ func (m *EnterpriseAppsItemRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index a4e8115c155..10cec8d59df 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -107,7 +107,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemAssignedPrincipalsWithTransitivedi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/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_request_builder.go b/rolemanagement/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_request_builder.go index 084f882e8a8..00b2019dadb 100644 --- a/rolemanagement/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_request_builder.go +++ b/rolemanagement/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_request_builder.go @@ -107,7 +107,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromItemAssigne requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_request_builder.go index 92f841d8ff1..82e64fd1d88 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_request_builder.go @@ -125,7 +125,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to inheritsPermissionsFrom for roleManagement @@ -138,7 +138,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index 1730e676687..0159062a35c 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromUnifiedRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. @@ -138,7 +138,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromUnifiedRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property inheritsPermissionsFrom in roleManagement @@ -151,7 +151,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsItemInheritsPermissionsFromUnifiedRole requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go index 84bceb34e20..c78d380622b 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_request_builder.go @@ -131,7 +131,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go index 13e23ecff69..5cf53d116af 100644 --- a/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_definitions_unified_role_definition_item_request_builder.go @@ -135,7 +135,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -151,7 +151,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -164,7 +164,7 @@ func (m *EnterpriseAppsItemRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index dc80d941194..d26a37a98f2 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesFilterByCurrentUserWi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_app_scope_request_builder.go index 0f2ac3279d6..82595ae70de 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemAppScopeRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_directory_scope_request_builder.go index 6be60a59aa5..c75364d916e 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemDirectoryScopeReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_principal_request_builder.go index 4bc6c2f62d1..e21143fdc3d 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemPrincipalRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_role_definition_request_builder.go index d2b81700ec9..7bed17b1db9 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesItemRoleDefinitionReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go index f3d7398ba88..87604e05534 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_request_builder.go @@ -132,7 +132,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleEligibilityScheduleInstances for roleManagement @@ -145,7 +145,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go index 39164a950d9..6700e94d912 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go @@ -137,7 +137,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleEligibilityScheduleInstances in roleManagement @@ -166,7 +166,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleInstancesUnifiedRoleEligibilit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index 71b8ddca82a..bb18fd8a370 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsFilterByCurrentUserWit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_app_scope_request_builder.go index c25bb776c13..3c67046aa6f 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemAppScopeRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go index fc81d313e2b..090ac75ddd2 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemCancelRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_directory_scope_request_builder.go index 254f6e64a8e..15335a1a3bf 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemDirectoryScopeRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_principal_request_builder.go index 9233a974496..cbd9148862b 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemPrincipalRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_role_definition_request_builder.go index f4ebaa886b9..efc937d6106 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemRoleDefinitionRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_target_schedule_request_builder.go index d3a416e5447..5acd852919b 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_item_target_schedule_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsItemTargetScheduleRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go index 13237c74482..8c86698a8e9 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_request_builder.go @@ -135,7 +135,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go index 0f6a6afedac..d274f240c72 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go @@ -145,7 +145,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibility requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. @@ -161,7 +161,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibility requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleEligibilityScheduleRequests in roleManagement @@ -174,7 +174,7 @@ func (m *EnterpriseAppsItemRoleEligibilityScheduleRequestsUnifiedRoleEligibility requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index 5002dc04b38..0f955bbe5f7 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesFilterByCurrentUserWithOnRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_app_scope_request_builder.go index bddf7f35f5b..4bc864f43ed 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesItemAppScopeRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_directory_scope_request_builder.go index b5222bacd9a..c8a8f5af5aa 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesItemDirectoryScopeRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_principal_request_builder.go index f7867af8d37..724eac849da 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesItemPrincipalRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_role_definition_request_builder.go index 06334c2b038..600b8cfe9cf 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesItemRoleDefinitionRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go index 8e076a7bca2..7a1dbb85ce0 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_request_builder.go @@ -132,7 +132,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleEligibilitySchedules for roleManagement @@ -145,7 +145,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go index 166c591ccf1..173e1d3d22d 100644 --- a/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go @@ -137,7 +137,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilitySchedul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilitySchedul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleEligibilitySchedules in roleManagement @@ -166,7 +166,7 @@ func (m *EnterpriseAppsItemRoleEligibilitySchedulesUnifiedRoleEligibilitySchedul requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/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_request_builder.go b/rolemanagement/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_request_builder.go index d33c29fcd42..c97959e86e6 100644 --- a/rolemanagement/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_request_builder.go +++ b/rolemanagement/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_request_builder.go @@ -109,7 +109,7 @@ func (m *EnterpriseAppsItemRoleScheduleInstancesdirectoryScopeIdDirectoryScopeId requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/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_request_builder.go b/rolemanagement/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_request_builder.go index 5af409d7187..0aef506c682 100644 --- a/rolemanagement/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_request_builder.go +++ b/rolemanagement/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_request_builder.go @@ -109,7 +109,7 @@ func (m *EnterpriseAppsItemRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScope requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_app_scope_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_app_scope_request_builder.go index 030b079ab99..82102c66083 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_app_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsItemAppScopeRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation details of the app specific scope when the assignment scope is app specific. Containment entity. @@ -134,7 +134,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsItemAppScopeRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appScope in roleManagement @@ -147,7 +147,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsItemAppScopeRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_directory_scope_request_builder.go index a9c17f0a77a..afc6dc3ab2d 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsItemDirectoryScopeRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_principal_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_principal_request_builder.go index 3dab50a4782..10c552e8903 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsItemPrincipalRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_role_definition_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_role_definition_request_builder.go index ee70b7a9db7..e11bc0a514b 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsItemRoleDefinitionRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go index d4700230d32..f08b5f5b132 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_request_builder.go @@ -128,7 +128,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to transitiveRoleAssignments for roleManagement @@ -141,7 +141,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_item_transitive_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/enterprise_apps_item_transitive_role_assignments_unified_role_assignment_item_request_builder.go index d50a28d17cd..14c74b9c45c 100644 --- a/rolemanagement/enterprise_apps_item_transitive_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/enterprise_apps_item_transitive_role_assignments_unified_role_assignment_item_request_builder.go @@ -134,7 +134,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsUnifiedRoleAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get transitiveRoleAssignments from roleManagement @@ -150,7 +150,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsUnifiedRoleAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property transitiveRoleAssignments in roleManagement @@ -163,7 +163,7 @@ func (m *EnterpriseAppsItemTransitiveRoleAssignmentsUnifiedRoleAssignmentItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_rbac_application_item_request_builder.go b/rolemanagement/enterprise_apps_rbac_application_item_request_builder.go index 74c0bc5e672..5c7add8766a 100644 --- a/rolemanagement/enterprise_apps_rbac_application_item_request_builder.go +++ b/rolemanagement/enterprise_apps_rbac_application_item_request_builder.go @@ -166,7 +166,7 @@ func (m *EnterpriseAppsRbacApplicationItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get enterpriseApps from roleManagement @@ -182,7 +182,7 @@ func (m *EnterpriseAppsRbacApplicationItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property enterpriseApps in roleManagement @@ -195,7 +195,7 @@ func (m *EnterpriseAppsRbacApplicationItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/enterprise_apps_request_builder.go b/rolemanagement/enterprise_apps_request_builder.go index 0336a83a198..3409431d9db 100644 --- a/rolemanagement/enterprise_apps_request_builder.go +++ b/rolemanagement/enterprise_apps_request_builder.go @@ -125,7 +125,7 @@ func (m *EnterpriseAppsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to enterpriseApps for roleManagement @@ -138,7 +138,7 @@ func (m *EnterpriseAppsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_request_builder.go b/rolemanagement/entitlement_management_request_builder.go index feeb6c9b8ff..9588ed335ad 100644 --- a/rolemanagement/entitlement_management_request_builder.go +++ b/rolemanagement/entitlement_management_request_builder.go @@ -166,7 +166,7 @@ func (m *EntitlementManagementRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the RbacApplication for Entitlement Management @@ -182,7 +182,7 @@ func (m *EntitlementManagementRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property entitlementManagement in roleManagement @@ -195,7 +195,7 @@ func (m *EntitlementManagementRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_import_resource_actions_request_builder.go index 4d1409e1e00..dd6dced13b4 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_import_resource_actions_request_builder.go @@ -60,7 +60,7 @@ func (m *EntitlementManagementResourceNamespacesItemImportResourceActionsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index a0d2c2c3579..fbff437e817 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsItemAuthentic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index 63ee36e7b63..3f046c71bd6 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsItemResourceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get resourceScope from roleManagement @@ -134,7 +134,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsItemResourceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceScope in roleManagement @@ -147,7 +147,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsItemResourceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go index d99fe8d0fba..c4b46603f45 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_request_builder.go @@ -128,7 +128,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceActions for roleManagement @@ -141,7 +141,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index 38dcc8c3270..f0171426b6e 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceActions in roleManagement @@ -158,7 +158,7 @@ func (m *EntitlementManagementResourceNamespacesItemResourceActionsUnifiedRbacRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_resource_namespaces_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_request_builder.go index 01c6d455781..cf77c817b4a 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_request_builder.go @@ -128,7 +128,7 @@ func (m *EntitlementManagementResourceNamespacesRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceNamespaces for roleManagement @@ -141,7 +141,7 @@ func (m *EntitlementManagementResourceNamespacesRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index a8aa1057308..86ff566bcd1 100644 --- a/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/entitlement_management_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceNamespaces in roleManagement @@ -158,7 +158,7 @@ func (m *EntitlementManagementResourceNamespacesUnifiedRbacResourceNamespaceItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_approval_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_approval_item_request_builder.go index 7c8064e415b..48399fb5fec 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_approval_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_approval_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsApprovalItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get roleAssignmentApprovals from roleManagement @@ -138,7 +138,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsApprovalItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentApprovals in roleManagement @@ -151,7 +151,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsApprovalItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go index 386b26c9078..9cba0c86198 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsFilterByCurrentUserWithOnRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go index 421ef0bd75a..ee239ab726d 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_approval_step_item_request_builder.go @@ -124,7 +124,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsApprovalStepItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go index c10edcaf8cb..3ff48c0b5bd 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_item_steps_request_builder.go @@ -128,7 +128,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to steps for roleManagement @@ -141,7 +141,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsItemStepsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignment_approvals_request_builder.go b/rolemanagement/entitlement_management_role_assignment_approvals_request_builder.go index ae705f20618..2a2e0df0b84 100644 --- a/rolemanagement/entitlement_management_role_assignment_approvals_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_approvals_request_builder.go @@ -129,7 +129,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentApprovals for roleManagement @@ -142,7 +142,7 @@ func (m *EntitlementManagementRoleAssignmentApprovalsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go index b08b9331400..ea366a33004 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesFilterByCurrentUser requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_activated_using_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_activated_using_request_builder.go index 80a3ea157d1..ca177f94613 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_activated_using_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesItemActivatedUsingR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_app_scope_request_builder.go index 5c8fb83121c..1e695dd408b 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesItemAppScopeRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_directory_scope_request_builder.go index 88163bde919..411b8a01ce7 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesItemDirectoryScopeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_principal_request_builder.go index 098ed3e7096..d51e5f288b5 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesItemPrincipalReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_role_definition_request_builder.go index da2784529c7..9454e8fd494 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesItemRoleDefinitionR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go index e829eb4d64d..8c8de098748 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_request_builder.go @@ -132,7 +132,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentScheduleInstances for roleManagement @@ -145,7 +145,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go index 927af6a3c6b..9ad65e65492 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_instances_unified_role_assignment_schedule_instance_item_request_builder.go @@ -141,7 +141,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the instance of an active role assignment. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentScheduleInstances in roleManagement @@ -170,7 +170,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleInstancesUnifiedRoleAssignme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go index 71c7e44f4e8..eb15d3a985a 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsFilterByCurrentUserW requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_activated_using_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_activated_using_request_builder.go index 3dec97dd5b9..deed1868b96 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_activated_using_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemActivatedUsingRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_app_scope_request_builder.go index 73361d127bf..8ea0ed64552 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemAppScopeRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go index 8dccd41f297..66e45e2cc8d 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemCancelRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_directory_scope_request_builder.go index 6dbe052cdf1..a170959a98a 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemDirectoryScopeRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_principal_request_builder.go index b0d8af436ee..d9baafb7543 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemPrincipalRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_role_definition_request_builder.go index b2b7aa1cad1..741eb1bf2a5 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemRoleDefinitionRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_target_schedule_request_builder.go index 825db9c1985..ccb5a0ba641 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_item_target_schedule_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsItemTargetScheduleRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go index 066cf59965b..6a0f6595ebf 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_request_builder.go @@ -135,7 +135,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go index fa89b379859..9429c5d091f 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedule_requests_unified_role_assignment_schedule_request_item_request_builder.go @@ -149,7 +149,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -165,7 +165,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentScheduleRequests in roleManagement @@ -178,7 +178,7 @@ func (m *EntitlementManagementRoleAssignmentScheduleRequestsUnifiedRoleAssignmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go index 30b912cfad2..12adef37710 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesFilterByCurrentUserWithOnRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_item_activated_using_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_item_activated_using_request_builder.go index f0b853a7bf7..26ac82fb975 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_item_activated_using_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_item_activated_using_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesItemActivatedUsingRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_item_app_scope_request_builder.go index ca646b47fbe..e3caf4e800e 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesItemAppScopeRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_item_directory_scope_request_builder.go index 6b933b25af5..3334daba053 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesItemDirectoryScopeRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_item_principal_request_builder.go index f0bf45419e0..af7c9376dfe 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesItemPrincipalRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_item_role_definition_request_builder.go index 3cf908afd2a..899f048becb 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesItemRoleDefinitionRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go index f0526c8faf8..48fa1847a3e 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_request_builder.go @@ -132,7 +132,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleAssignmentSchedules for roleManagement @@ -145,7 +145,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go b/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go index 66f505d38ef..954d5820cfb 100644 --- a/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignment_schedules_unified_role_assignment_schedule_item_request_builder.go @@ -141,7 +141,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentSchedu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentSchedu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignmentSchedules in roleManagement @@ -170,7 +170,7 @@ func (m *EntitlementManagementRoleAssignmentSchedulesUnifiedRoleAssignmentSchedu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignments_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignments_item_app_scope_request_builder.go index 86aa5814274..d615750914a 100644 --- a/rolemanagement/entitlement_management_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_item_app_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementRoleAssignmentsItemAppScopeRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation details of the app specific scope when the assignment scope is app specific. Containment entity. @@ -134,7 +134,7 @@ func (m *EntitlementManagementRoleAssignmentsItemAppScopeRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appScope in roleManagement @@ -147,7 +147,7 @@ func (m *EntitlementManagementRoleAssignmentsItemAppScopeRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_assignments_item_directory_scope_request_builder.go index 29bfa076040..64357d57e81 100644 --- a/rolemanagement/entitlement_management_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentsItemDirectoryScopeRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignments_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_assignments_item_principal_request_builder.go index 9658b74472c..afc4beb3580 100644 --- a/rolemanagement/entitlement_management_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentsItemPrincipalRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignments_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_assignments_item_role_definition_request_builder.go index 55af9d96ba4..357868462c5 100644 --- a/rolemanagement/entitlement_management_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleAssignmentsItemRoleDefinitionRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_assignments_request_builder.go b/rolemanagement/entitlement_management_role_assignments_request_builder.go index 4c9c62ac852..19fa8c20a6b 100644 --- a/rolemanagement/entitlement_management_role_assignments_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_request_builder.go @@ -131,7 +131,7 @@ func (m *EntitlementManagementRoleAssignmentsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *EntitlementManagementRoleAssignmentsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go index a42e9ca92ec..2a4f192fefc 100644 --- a/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_assignments_unified_role_assignment_item_request_builder.go @@ -140,7 +140,7 @@ func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignments in roleManagement @@ -169,7 +169,7 @@ func (m *EntitlementManagementRoleAssignmentsUnifiedRoleAssignmentItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 4ce4f3ff5a1..7eb2f86d305 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -107,7 +107,7 @@ func (m *EntitlementManagementRoleDefinitionsItemAssignedPrincipalsWithTransitiv requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 844de9e9468..0a74e2e9c89 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -107,7 +107,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromItemAssi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_request_builder.go index 429c3154484..def5d9c05ef 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_request_builder.go @@ -125,7 +125,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to inheritsPermissionsFrom for roleManagement @@ -138,7 +138,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index c5433da3c97..8475f7bbea9 100644 --- a/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. @@ -138,7 +138,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property inheritsPermissionsFrom in roleManagement @@ -151,7 +151,7 @@ func (m *EntitlementManagementRoleDefinitionsItemInheritsPermissionsFromUnifiedR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_definitions_request_builder.go b/rolemanagement/entitlement_management_role_definitions_request_builder.go index 18296969c9e..7f891027c9b 100644 --- a/rolemanagement/entitlement_management_role_definitions_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_request_builder.go @@ -131,7 +131,7 @@ func (m *EntitlementManagementRoleDefinitionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *EntitlementManagementRoleDefinitionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go index 51b9e5c0366..e3485ba4ad1 100644 --- a/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_definitions_unified_role_definition_item_request_builder.go @@ -135,7 +135,7 @@ func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -151,7 +151,7 @@ func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -164,7 +164,7 @@ func (m *EntitlementManagementRoleDefinitionsUnifiedRoleDefinitionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go index 3ca6c6c5150..2ab2d85582c 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesFilterByCurrentUse requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_app_scope_request_builder.go index 65d9e56388a..fc759ea386c 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesItemAppScopeReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_directory_scope_request_builder.go index 4b9607557ee..3184c73d1e0 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesItemDirectoryScope requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_principal_request_builder.go index 033fd671910..5b569adf463 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesItemPrincipalReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_role_definition_request_builder.go index 68a1bdbcd8c..8a5c645b73a 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesItemRoleDefinition requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go index 924be2591a6..da1aa29a4ee 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_request_builder.go @@ -132,7 +132,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleEligibilityScheduleInstances for roleManagement @@ -145,7 +145,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go index 0746103f1e3..81d8a6ca13b 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_instances_unified_role_eligibility_schedule_instance_item_request_builder.go @@ -137,7 +137,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleEligibilityScheduleInstances in roleManagement @@ -166,7 +166,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleInstancesUnifiedRoleEligibi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go index 27103722ec1..50e3a65628e 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsFilterByCurrentUser requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_app_scope_request_builder.go index be1a86a4208..bcd1ab53b99 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemAppScopeRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go index 960f626d2d4..06a01fe2b9b 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemCancelRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_directory_scope_request_builder.go index 633cca3baf1..4d610462e0c 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemDirectoryScopeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_principal_request_builder.go index f819de0a5a7..375bc389fa9 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemPrincipalReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_role_definition_request_builder.go index 557c458dc8a..3357beaf56a 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemRoleDefinitionR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_target_schedule_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_target_schedule_request_builder.go index c15b517732d..d4f28b6913c 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_target_schedule_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_item_target_schedule_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsItemTargetScheduleR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go index e7109c07641..6f6f8af6454 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_request_builder.go @@ -135,7 +135,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go index 879c1251776..b6679ce1188 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedule_requests_unified_role_eligibility_schedule_request_item_request_builder.go @@ -145,7 +145,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. @@ -161,7 +161,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleEligibilityScheduleRequests in roleManagement @@ -174,7 +174,7 @@ func (m *EntitlementManagementRoleEligibilityScheduleRequestsUnifiedRoleEligibil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go index d0ec6ba2594..e48cad044ea 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesFilterByCurrentUserWithOnR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_item_app_scope_request_builder.go index f308c512c8b..0061a172351 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_item_app_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesItemAppScopeRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_item_directory_scope_request_builder.go index 32279b16dd0..30f61fd5440 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesItemDirectoryScopeRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_item_principal_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_item_principal_request_builder.go index ffdfb0e331c..c4d56708e62 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesItemPrincipalRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_item_role_definition_request_builder.go index 1cd65fb7a88..3c272b8a3df 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesItemRoleDefinitionRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go index 80c03753ef7..c2e3cc17b11 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_request_builder.go @@ -132,7 +132,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleEligibilitySchedules for roleManagement @@ -145,7 +145,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go b/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go index 2d7f3a27462..377fb8807cf 100644 --- a/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go +++ b/rolemanagement/entitlement_management_role_eligibility_schedules_unified_role_eligibility_schedule_item_request_builder.go @@ -137,7 +137,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilitySche requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilitySche requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleEligibilitySchedules in roleManagement @@ -166,7 +166,7 @@ func (m *EntitlementManagementRoleEligibilitySchedulesUnifiedRoleEligibilitySche requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/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_request_builder.go b/rolemanagement/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_request_builder.go index 8aad6fa6fe9..7d34bb95592 100644 --- a/rolemanagement/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_request_builder.go +++ b/rolemanagement/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_request_builder.go @@ -109,7 +109,7 @@ func (m *EntitlementManagementRoleScheduleInstancesdirectoryScopeIdDirectoryScop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/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_request_builder.go b/rolemanagement/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_request_builder.go index 732bb60387f..ee01597878e 100644 --- a/rolemanagement/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_request_builder.go +++ b/rolemanagement/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_request_builder.go @@ -109,7 +109,7 @@ func (m *EntitlementManagementRoleSchedulesdirectoryScopeIdDirectoryScopeIdAppSc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_item_app_scope_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_item_app_scope_request_builder.go index f36a930501d..ccc930c7b8a 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_item_app_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsItemAppScopeRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation details of the app specific scope when the assignment scope is app specific. Containment entity. @@ -134,7 +134,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsItemAppScopeRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appScope in roleManagement @@ -147,7 +147,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsItemAppScopeRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_item_directory_scope_request_builder.go index e179d96875b..6a41fbab576 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsItemDirectoryScopeRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_item_principal_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_item_principal_request_builder.go index 2291dce2802..3efa5a04710 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsItemPrincipalRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_item_role_definition_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_item_role_definition_request_builder.go index 6907aed2ca4..00664b9f940 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsItemRoleDefinitionRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go index 637957fcb22..693993e4741 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_request_builder.go @@ -128,7 +128,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to transitiveRoleAssignments for roleManagement @@ -141,7 +141,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/entitlement_management_transitive_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/entitlement_management_transitive_role_assignments_unified_role_assignment_item_request_builder.go index ef97e5f25c1..4007998f9ba 100644 --- a/rolemanagement/entitlement_management_transitive_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/entitlement_management_transitive_role_assignments_unified_role_assignment_item_request_builder.go @@ -134,7 +134,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsUnifiedRoleAssignmentItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get transitiveRoleAssignments from roleManagement @@ -150,7 +150,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsUnifiedRoleAssignmentItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property transitiveRoleAssignments in roleManagement @@ -163,7 +163,7 @@ func (m *EntitlementManagementTransitiveRoleAssignmentsUnifiedRoleAssignmentItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go b/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go index ea657385ab3..d0770a06102 100644 --- a/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go +++ b/rolemanagement/exchange_custom_app_scopes_custom_app_scope_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *ExchangeCustomAppScopesCustomAppScopeItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_custom_app_scopes_request_builder.go b/rolemanagement/exchange_custom_app_scopes_request_builder.go index 5443688c97d..2aa98b70931 100644 --- a/rolemanagement/exchange_custom_app_scopes_request_builder.go +++ b/rolemanagement/exchange_custom_app_scopes_request_builder.go @@ -131,7 +131,7 @@ func (m *ExchangeCustomAppScopesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ExchangeCustomAppScopesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_request_builder.go b/rolemanagement/exchange_request_builder.go index ffa0ae5a263..fffd445b9b4 100644 --- a/rolemanagement/exchange_request_builder.go +++ b/rolemanagement/exchange_request_builder.go @@ -134,7 +134,7 @@ func (m *ExchangeRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get exchange from roleManagement @@ -150,7 +150,7 @@ func (m *ExchangeRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property exchange in roleManagement @@ -163,7 +163,7 @@ func (m *ExchangeRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_resource_namespaces_item_import_resource_actions_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_import_resource_actions_request_builder.go index e78caef958e..f850c3d2395 100644 --- a/rolemanagement/exchange_resource_namespaces_item_import_resource_actions_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_import_resource_actions_request_builder.go @@ -60,7 +60,7 @@ func (m *ExchangeResourceNamespacesItemImportResourceActionsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go index da8efdb8f13..d8e333e4664 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_authentication_context_request_builder.go @@ -72,7 +72,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsItemAuthenticationContextR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go index 18af348aff6..a3cc687d216 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_item_resource_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsItemResourceScopeRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get resourceScope from roleManagement @@ -134,7 +134,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsItemResourceScopeRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceScope in roleManagement @@ -147,7 +147,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsItemResourceScopeRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go index f085f7f7979..155bb2d1194 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_request_builder.go @@ -128,7 +128,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceActions for roleManagement @@ -141,7 +141,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go b/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go index 4d362fa77b2..1896568bd2b 100644 --- a/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_item_resource_actions_unified_rbac_resource_action_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceActions in roleManagement @@ -158,7 +158,7 @@ func (m *ExchangeResourceNamespacesItemResourceActionsUnifiedRbacResourceActionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_resource_namespaces_request_builder.go b/rolemanagement/exchange_resource_namespaces_request_builder.go index f6b95ea10c6..527da607caf 100644 --- a/rolemanagement/exchange_resource_namespaces_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_request_builder.go @@ -125,7 +125,7 @@ func (m *ExchangeResourceNamespacesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resourceNamespaces for roleManagement @@ -138,7 +138,7 @@ func (m *ExchangeResourceNamespacesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go b/rolemanagement/exchange_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go index 6eac6f1f237..a41de85a162 100644 --- a/rolemanagement/exchange_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go +++ b/rolemanagement/exchange_resource_namespaces_unified_rbac_resource_namespace_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ExchangeResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation resource that represents a collection of related actions. @@ -142,7 +142,7 @@ func (m *ExchangeResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resourceNamespaces in roleManagement @@ -155,7 +155,7 @@ func (m *ExchangeResourceNamespacesUnifiedRbacResourceNamespaceItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_role_assignments_item_app_scope_request_builder.go b/rolemanagement/exchange_role_assignments_item_app_scope_request_builder.go index 69e0cf15650..0dbe5f874cd 100644 --- a/rolemanagement/exchange_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/exchange_role_assignments_item_app_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *ExchangeRoleAssignmentsItemAppScopeRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation details of the app specific scope when the assignment scope is app specific. Containment entity. @@ -134,7 +134,7 @@ func (m *ExchangeRoleAssignmentsItemAppScopeRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appScope in roleManagement @@ -147,7 +147,7 @@ func (m *ExchangeRoleAssignmentsItemAppScopeRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/exchange_role_assignments_item_directory_scope_request_builder.go index 1cd366c8fca..c7c9b922e77 100644 --- a/rolemanagement/exchange_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/exchange_role_assignments_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *ExchangeRoleAssignmentsItemDirectoryScopeRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/exchange_role_assignments_item_principal_request_builder.go b/rolemanagement/exchange_role_assignments_item_principal_request_builder.go index f06b830a2d1..f3b3a944c6f 100644 --- a/rolemanagement/exchange_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/exchange_role_assignments_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ExchangeRoleAssignmentsItemPrincipalRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/exchange_role_assignments_item_role_definition_request_builder.go b/rolemanagement/exchange_role_assignments_item_role_definition_request_builder.go index 5f5f5635918..710e901c93b 100644 --- a/rolemanagement/exchange_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/exchange_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ExchangeRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/exchange_role_assignments_request_builder.go b/rolemanagement/exchange_role_assignments_request_builder.go index c41b1a35e01..44ffaff1b8e 100644 --- a/rolemanagement/exchange_role_assignments_request_builder.go +++ b/rolemanagement/exchange_role_assignments_request_builder.go @@ -131,7 +131,7 @@ func (m *ExchangeRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ExchangeRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go index 8db20aad1b6..3a9b0ad88d2 100644 --- a/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/exchange_role_assignments_unified_role_assignment_item_request_builder.go @@ -140,7 +140,7 @@ func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleAssignments in roleManagement @@ -169,7 +169,7 @@ func (m *ExchangeRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index a42e679c1a9..437b509a32f 100644 --- a/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -107,7 +107,7 @@ func (m *ExchangeRoleDefinitionsItemAssignedPrincipalsWithTransitivedirectorySco requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go index 996fe545066..fda6d36edbf 100644 --- a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_item_assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.go @@ -107,7 +107,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromItemAssignedPrincipal requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_request_builder.go b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_request_builder.go index 96e45072aca..7a768f3706c 100644 --- a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_request_builder.go @@ -125,7 +125,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to inheritsPermissionsFrom for roleManagement @@ -138,7 +138,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go index 232d3cbb6ee..c52904ebf21 100644 --- a/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go +++ b/rolemanagement/exchange_role_definitions_item_inherits_permissions_from_unified_role_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinition requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. @@ -138,7 +138,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinition requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property inheritsPermissionsFrom in roleManagement @@ -151,7 +151,7 @@ func (m *ExchangeRoleDefinitionsItemInheritsPermissionsFromUnifiedRoleDefinition requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_role_definitions_request_builder.go b/rolemanagement/exchange_role_definitions_request_builder.go index 3f27e19cc1e..d0ff42604b8 100644 --- a/rolemanagement/exchange_role_definitions_request_builder.go +++ b/rolemanagement/exchange_role_definitions_request_builder.go @@ -128,7 +128,7 @@ func (m *ExchangeRoleDefinitionsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to roleDefinitions for roleManagement @@ -141,7 +141,7 @@ func (m *ExchangeRoleDefinitionsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go b/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go index 4b01f027810..d89c97745ab 100644 --- a/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go +++ b/rolemanagement/exchange_role_definitions_unified_role_definition_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -145,7 +145,7 @@ func (m *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property roleDefinitions in roleManagement @@ -158,7 +158,7 @@ func (m *ExchangeRoleDefinitionsUnifiedRoleDefinitionItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_transitive_role_assignments_item_app_scope_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_item_app_scope_request_builder.go index dfdfd4971b3..44e81c11632 100644 --- a/rolemanagement/exchange_transitive_role_assignments_item_app_scope_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_item_app_scope_request_builder.go @@ -118,7 +118,7 @@ func (m *ExchangeTransitiveRoleAssignmentsItemAppScopeRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation details of the app specific scope when the assignment scope is app specific. Containment entity. @@ -134,7 +134,7 @@ func (m *ExchangeTransitiveRoleAssignmentsItemAppScopeRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appScope in roleManagement @@ -147,7 +147,7 @@ func (m *ExchangeTransitiveRoleAssignmentsItemAppScopeRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_transitive_role_assignments_item_directory_scope_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_item_directory_scope_request_builder.go index 3baa9aaabf4..bf7f3312ca4 100644 --- a/rolemanagement/exchange_transitive_role_assignments_item_directory_scope_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_item_directory_scope_request_builder.go @@ -72,7 +72,7 @@ func (m *ExchangeTransitiveRoleAssignmentsItemDirectoryScopeRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/exchange_transitive_role_assignments_item_principal_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_item_principal_request_builder.go index 03e95d4f601..9fabeb59387 100644 --- a/rolemanagement/exchange_transitive_role_assignments_item_principal_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_item_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ExchangeTransitiveRoleAssignmentsItemPrincipalRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/exchange_transitive_role_assignments_item_role_definition_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_item_role_definition_request_builder.go index 8a4af9a1e2d..2a27019bd72 100644 --- a/rolemanagement/exchange_transitive_role_assignments_item_role_definition_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_item_role_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ExchangeTransitiveRoleAssignmentsItemRoleDefinitionRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/rolemanagement/exchange_transitive_role_assignments_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_request_builder.go index 3868d4c8652..8a6e4f5da3f 100644 --- a/rolemanagement/exchange_transitive_role_assignments_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *ExchangeTransitiveRoleAssignmentsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to transitiveRoleAssignments for roleManagement @@ -138,7 +138,7 @@ func (m *ExchangeTransitiveRoleAssignmentsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/exchange_transitive_role_assignments_unified_role_assignment_item_request_builder.go b/rolemanagement/exchange_transitive_role_assignments_unified_role_assignment_item_request_builder.go index e63645ecd83..eb841b37da5 100644 --- a/rolemanagement/exchange_transitive_role_assignments_unified_role_assignment_item_request_builder.go +++ b/rolemanagement/exchange_transitive_role_assignments_unified_role_assignment_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ExchangeTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation resource to grant access to users or groups that are transitive. @@ -150,7 +150,7 @@ func (m *ExchangeTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property transitiveRoleAssignments in roleManagement @@ -163,7 +163,7 @@ func (m *ExchangeTransitiveRoleAssignmentsUnifiedRoleAssignmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/rolemanagement/role_management_request_builder.go b/rolemanagement/role_management_request_builder.go index 1a1b893d671..7efc04017e1 100644 --- a/rolemanagement/role_management_request_builder.go +++ b/rolemanagement/role_management_request_builder.go @@ -122,7 +122,7 @@ func (m *RoleManagementRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update roleManagement @@ -135,7 +135,7 @@ func (m *RoleManagementRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/schemaextensions/schema_extension_item_request_builder.go b/schemaextensions/schema_extension_item_request_builder.go index 05b4130e2fb..0f18fef97b0 100644 --- a/schemaextensions/schema_extension_item_request_builder.go +++ b/schemaextensions/schema_extension_item_request_builder.go @@ -127,7 +127,7 @@ func (m *SchemaExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties of the specified schemaExtension definition. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *SchemaExtensionItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *SchemaExtensionItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/schemaextensions/schema_extensions_request_builder.go b/schemaextensions/schema_extensions_request_builder.go index 362338f3c0e..0c63bf922c4 100644 --- a/schemaextensions/schema_extensions_request_builder.go +++ b/schemaextensions/schema_extensions_request_builder.go @@ -131,7 +131,7 @@ func (m *SchemaExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *SchemaExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/scopedrolememberships/scoped_role_membership_item_request_builder.go b/scopedrolememberships/scoped_role_membership_item_request_builder.go index 985370b6030..70a4c7bcea8 100644 --- a/scopedrolememberships/scoped_role_membership_item_request_builder.go +++ b/scopedrolememberships/scoped_role_membership_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ScopedRoleMembershipItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from scopedRoleMemberships by key @@ -134,7 +134,7 @@ func (m *ScopedRoleMembershipItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in scopedRoleMemberships @@ -147,7 +147,7 @@ func (m *ScopedRoleMembershipItemRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/scopedrolememberships/scoped_role_memberships_request_builder.go b/scopedrolememberships/scoped_role_memberships_request_builder.go index 53c047e7834..cf82377ef22 100644 --- a/scopedrolememberships/scoped_role_memberships_request_builder.go +++ b/scopedrolememberships/scoped_role_memberships_request_builder.go @@ -125,7 +125,7 @@ func (m *ScopedRoleMembershipsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to scopedRoleMemberships @@ -138,7 +138,7 @@ func (m *ScopedRoleMembershipsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/search/acronyms_acronym_item_request_builder.go b/search/acronyms_acronym_item_request_builder.go index 61eae28cecc..c7382be5ad1 100644 --- a/search/acronyms_acronym_item_request_builder.go +++ b/search/acronyms_acronym_item_request_builder.go @@ -127,7 +127,7 @@ func (m *AcronymsAcronymItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an acronym object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *AcronymsAcronymItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an acronym object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *AcronymsAcronymItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/search/acronyms_request_builder.go b/search/acronyms_request_builder.go index 16d28450280..c4d2a578452 100644 --- a/search/acronyms_request_builder.go +++ b/search/acronyms_request_builder.go @@ -131,7 +131,7 @@ func (m *AcronymsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new acronym object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *AcronymsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/search/bookmarks_bookmark_item_request_builder.go b/search/bookmarks_bookmark_item_request_builder.go index 7262df09352..6b9ca21cfe7 100644 --- a/search/bookmarks_bookmark_item_request_builder.go +++ b/search/bookmarks_bookmark_item_request_builder.go @@ -127,7 +127,7 @@ func (m *BookmarksBookmarkItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a bookmark object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *BookmarksBookmarkItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a bookmark object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *BookmarksBookmarkItemRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/search/bookmarks_request_builder.go b/search/bookmarks_request_builder.go index 848fdf403d9..70c2bb3feb5 100644 --- a/search/bookmarks_request_builder.go +++ b/search/bookmarks_request_builder.go @@ -131,7 +131,7 @@ func (m *BookmarksRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new bookmark object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *BookmarksRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/search/qnas_qna_item_request_builder.go b/search/qnas_qna_item_request_builder.go index 719e506c902..fb8cbf4adad 100644 --- a/search/qnas_qna_item_request_builder.go +++ b/search/qnas_qna_item_request_builder.go @@ -127,7 +127,7 @@ func (m *QnasQnaItemRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a qna object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *QnasQnaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a qna object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *QnasQnaItemRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/search/qnas_request_builder.go b/search/qnas_request_builder.go index 8a092f6390d..56ebce17987 100644 --- a/search/qnas_request_builder.go +++ b/search/qnas_request_builder.go @@ -131,7 +131,7 @@ func (m *QnasRequestBuilder) ToGetRequestInformation(ctx context.Context, reques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new qna object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *QnasRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/search/query_request_builder.go b/search/query_request_builder.go index 6e4df0502a3..c67a0b727fe 100644 --- a/search/query_request_builder.go +++ b/search/query_request_builder.go @@ -85,7 +85,7 @@ func (m *QueryRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/search/search_request_builder.go b/search/search_request_builder.go index f684dbd634a..b23bbc37766 100644 --- a/search/search_request_builder.go +++ b/search/search_request_builder.go @@ -114,7 +114,7 @@ func (m *SearchRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update search @@ -127,7 +127,7 @@ func (m *SearchRequestBuilder) ToPatchRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/alerts_alert_item_request_builder.go b/security/alerts_alert_item_request_builder.go index 09324d8f57d..5d999f3918b 100644 --- a/security/alerts_alert_item_request_builder.go +++ b/security/alerts_alert_item_request_builder.go @@ -104,7 +104,7 @@ func (m *AlertsAlertItemRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -117,7 +117,7 @@ func (m *AlertsAlertItemRequestBuilder) ToPatchRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/alerts_request_builder.go b/security/alerts_request_builder.go index d08e8ee4010..abd6b186214 100644 --- a/security/alerts_request_builder.go +++ b/security/alerts_request_builder.go @@ -128,7 +128,7 @@ func (m *AlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to alerts for security @@ -141,7 +141,7 @@ func (m *AlertsRequestBuilder) ToPostRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/alerts_update_alerts_request_builder.go b/security/alerts_update_alerts_request_builder.go index 13f3b2aa519..93f68bd4f2b 100644 --- a/security/alerts_update_alerts_request_builder.go +++ b/security/alerts_update_alerts_request_builder.go @@ -85,7 +85,7 @@ func (m *AlertsUpdateAlertsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/alerts_v2_alert_item_request_builder.go b/security/alerts_v2_alert_item_request_builder.go index 962385275f5..6ba419057ce 100644 --- a/security/alerts_v2_alert_item_request_builder.go +++ b/security/alerts_v2_alert_item_request_builder.go @@ -128,7 +128,7 @@ func (m *Alerts_v2AlertItemRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *Alerts_v2AlertItemRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -157,7 +157,7 @@ func (m *Alerts_v2AlertItemRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/alerts_v2_item_comments_request_builder.go b/security/alerts_v2_item_comments_request_builder.go index 3398d616262..ae8b53073cb 100644 --- a/security/alerts_v2_item_comments_request_builder.go +++ b/security/alerts_v2_item_comments_request_builder.go @@ -68,7 +68,7 @@ func (m *Alerts_v2ItemCommentsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(body)) for i, v := range body { if v != nil { diff --git a/security/alerts_v2_request_builder.go b/security/alerts_v2_request_builder.go index ac85fe39f5a..492a6d289d6 100644 --- a/security/alerts_v2_request_builder.go +++ b/security/alerts_v2_request_builder.go @@ -128,7 +128,7 @@ func (m *Alerts_v2RequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to alerts_v2 for security @@ -141,7 +141,7 @@ func (m *Alerts_v2RequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_end_user_notifications_end_user_notification_item_request_builder.go b/security/attack_simulation_end_user_notifications_end_user_notification_item_request_builder.go index 0a7fe6954c9..e3b73df64f8 100644 --- a/security/attack_simulation_end_user_notifications_end_user_notification_item_request_builder.go +++ b/security/attack_simulation_end_user_notifications_end_user_notification_item_request_builder.go @@ -122,7 +122,7 @@ func (m *AttackSimulationEndUserNotificationsEndUserNotificationItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents an end user's notification for an attack simulation training. @@ -138,7 +138,7 @@ func (m *AttackSimulationEndUserNotificationsEndUserNotificationItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property endUserNotifications in security @@ -151,7 +151,7 @@ func (m *AttackSimulationEndUserNotificationsEndUserNotificationItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_end_user_notifications_item_details_end_user_notification_detail_item_request_builder.go b/security/attack_simulation_end_user_notifications_item_details_end_user_notification_detail_item_request_builder.go index 2da29842e57..4f39ea4d443 100644 --- a/security/attack_simulation_end_user_notifications_item_details_end_user_notification_detail_item_request_builder.go +++ b/security/attack_simulation_end_user_notifications_item_details_end_user_notification_detail_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AttackSimulationEndUserNotificationsItemDetailsEndUserNotificationDetai requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get details from security @@ -134,7 +134,7 @@ func (m *AttackSimulationEndUserNotificationsItemDetailsEndUserNotificationDetai requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in security @@ -147,7 +147,7 @@ func (m *AttackSimulationEndUserNotificationsItemDetailsEndUserNotificationDetai requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_end_user_notifications_item_details_request_builder.go b/security/attack_simulation_end_user_notifications_item_details_request_builder.go index 2f8f31ae989..ea4c403a4ba 100644 --- a/security/attack_simulation_end_user_notifications_item_details_request_builder.go +++ b/security/attack_simulation_end_user_notifications_item_details_request_builder.go @@ -125,7 +125,7 @@ func (m *AttackSimulationEndUserNotificationsItemDetailsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to details for security @@ -138,7 +138,7 @@ func (m *AttackSimulationEndUserNotificationsItemDetailsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_end_user_notifications_request_builder.go b/security/attack_simulation_end_user_notifications_request_builder.go index a3b5fdd3223..b7546d987af 100644 --- a/security/attack_simulation_end_user_notifications_request_builder.go +++ b/security/attack_simulation_end_user_notifications_request_builder.go @@ -128,7 +128,7 @@ func (m *AttackSimulationEndUserNotificationsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to endUserNotifications for security @@ -141,7 +141,7 @@ func (m *AttackSimulationEndUserNotificationsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_landing_pages_item_details_landing_page_detail_item_request_builder.go b/security/attack_simulation_landing_pages_item_details_landing_page_detail_item_request_builder.go index f552acf5286..921d5e944e2 100644 --- a/security/attack_simulation_landing_pages_item_details_landing_page_detail_item_request_builder.go +++ b/security/attack_simulation_landing_pages_item_details_landing_page_detail_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AttackSimulationLandingPagesItemDetailsLandingPageDetailItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the detail information for a landing page associated with a simulation during its creation. @@ -134,7 +134,7 @@ func (m *AttackSimulationLandingPagesItemDetailsLandingPageDetailItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in security @@ -147,7 +147,7 @@ func (m *AttackSimulationLandingPagesItemDetailsLandingPageDetailItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_landing_pages_item_details_request_builder.go b/security/attack_simulation_landing_pages_item_details_request_builder.go index 911622b967e..e34f9d2420b 100644 --- a/security/attack_simulation_landing_pages_item_details_request_builder.go +++ b/security/attack_simulation_landing_pages_item_details_request_builder.go @@ -125,7 +125,7 @@ func (m *AttackSimulationLandingPagesItemDetailsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to details for security @@ -138,7 +138,7 @@ func (m *AttackSimulationLandingPagesItemDetailsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_landing_pages_landing_page_item_request_builder.go b/security/attack_simulation_landing_pages_landing_page_item_request_builder.go index c4b7a4c8c82..ce352e67ebf 100644 --- a/security/attack_simulation_landing_pages_landing_page_item_request_builder.go +++ b/security/attack_simulation_landing_pages_landing_page_item_request_builder.go @@ -122,7 +122,7 @@ func (m *AttackSimulationLandingPagesLandingPageItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents an attack simulation training landing page. @@ -138,7 +138,7 @@ func (m *AttackSimulationLandingPagesLandingPageItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property landingPages in security @@ -151,7 +151,7 @@ func (m *AttackSimulationLandingPagesLandingPageItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_landing_pages_request_builder.go b/security/attack_simulation_landing_pages_request_builder.go index f0c1e6e45fc..ff18e6dd939 100644 --- a/security/attack_simulation_landing_pages_request_builder.go +++ b/security/attack_simulation_landing_pages_request_builder.go @@ -128,7 +128,7 @@ func (m *AttackSimulationLandingPagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to landingPages for security @@ -141,7 +141,7 @@ func (m *AttackSimulationLandingPagesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_login_pages_login_page_item_request_builder.go b/security/attack_simulation_login_pages_login_page_item_request_builder.go index c20f76cbb1a..22fa4e6aa29 100644 --- a/security/attack_simulation_login_pages_login_page_item_request_builder.go +++ b/security/attack_simulation_login_pages_login_page_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AttackSimulationLoginPagesLoginPageItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents an attack simulation training login page. @@ -134,7 +134,7 @@ func (m *AttackSimulationLoginPagesLoginPageItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property loginPages in security @@ -147,7 +147,7 @@ func (m *AttackSimulationLoginPagesLoginPageItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_login_pages_request_builder.go b/security/attack_simulation_login_pages_request_builder.go index fe429419b76..5fd0444ea45 100644 --- a/security/attack_simulation_login_pages_request_builder.go +++ b/security/attack_simulation_login_pages_request_builder.go @@ -128,7 +128,7 @@ func (m *AttackSimulationLoginPagesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to loginPages for security @@ -141,7 +141,7 @@ func (m *AttackSimulationLoginPagesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go b/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go index 229be310910..f0dd2cf0d69 100644 --- a/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go +++ b/security/attack_simulation_operations_attack_simulation_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in security @@ -150,7 +150,7 @@ func (m *AttackSimulationOperationsAttackSimulationOperationItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_operations_request_builder.go b/security/attack_simulation_operations_request_builder.go index 632d58040fe..c82528ff705 100644 --- a/security/attack_simulation_operations_request_builder.go +++ b/security/attack_simulation_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *AttackSimulationOperationsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for security @@ -138,7 +138,7 @@ func (m *AttackSimulationOperationsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_payloads_payload_item_request_builder.go b/security/attack_simulation_payloads_payload_item_request_builder.go index 884750f5af9..69d01c271d0 100644 --- a/security/attack_simulation_payloads_payload_item_request_builder.go +++ b/security/attack_simulation_payloads_payload_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AttackSimulationPayloadsPayloadItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents an attack simulation training campaign payload in a tenant. @@ -134,7 +134,7 @@ func (m *AttackSimulationPayloadsPayloadItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property payloads in security @@ -147,7 +147,7 @@ func (m *AttackSimulationPayloadsPayloadItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_payloads_request_builder.go b/security/attack_simulation_payloads_request_builder.go index 721d6b03b04..75394a978aa 100644 --- a/security/attack_simulation_payloads_request_builder.go +++ b/security/attack_simulation_payloads_request_builder.go @@ -128,7 +128,7 @@ func (m *AttackSimulationPayloadsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to payloads for security @@ -141,7 +141,7 @@ func (m *AttackSimulationPayloadsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_request_builder.go b/security/attack_simulation_request_builder.go index 65dc29450c5..f36cfe5b835 100644 --- a/security/attack_simulation_request_builder.go +++ b/security/attack_simulation_request_builder.go @@ -146,7 +146,7 @@ func (m *AttackSimulationRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation provides tenants capability to launch a simulated and realistic phishing attack and learn from it. @@ -162,7 +162,7 @@ func (m *AttackSimulationRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attackSimulation in security @@ -175,7 +175,7 @@ func (m *AttackSimulationRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_simulation_automations_item_runs_request_builder.go b/security/attack_simulation_simulation_automations_item_runs_request_builder.go index fb316ed4f8b..a9e0ac94e9b 100644 --- a/security/attack_simulation_simulation_automations_item_runs_request_builder.go +++ b/security/attack_simulation_simulation_automations_item_runs_request_builder.go @@ -128,7 +128,7 @@ func (m *AttackSimulationSimulationAutomationsItemRunsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to runs for security @@ -141,7 +141,7 @@ func (m *AttackSimulationSimulationAutomationsItemRunsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_simulation_automations_item_runs_simulation_automation_run_item_request_builder.go b/security/attack_simulation_simulation_automations_item_runs_simulation_automation_run_item_request_builder.go index 5a14259ed60..4be57213973 100644 --- a/security/attack_simulation_simulation_automations_item_runs_simulation_automation_run_item_request_builder.go +++ b/security/attack_simulation_simulation_automations_item_runs_simulation_automation_run_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AttackSimulationSimulationAutomationsItemRunsSimulationAutomationRunIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of simulation automation runs. @@ -134,7 +134,7 @@ func (m *AttackSimulationSimulationAutomationsItemRunsSimulationAutomationRunIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property runs in security @@ -147,7 +147,7 @@ func (m *AttackSimulationSimulationAutomationsItemRunsSimulationAutomationRunIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_simulation_automations_request_builder.go b/security/attack_simulation_simulation_automations_request_builder.go index 8622f7384dc..28031eda39e 100644 --- a/security/attack_simulation_simulation_automations_request_builder.go +++ b/security/attack_simulation_simulation_automations_request_builder.go @@ -128,7 +128,7 @@ func (m *AttackSimulationSimulationAutomationsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to simulationAutomations for security @@ -141,7 +141,7 @@ func (m *AttackSimulationSimulationAutomationsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go b/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go index 8f9109d7ac2..e07ef6e7f61 100644 --- a/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go +++ b/security/attack_simulation_simulation_automations_simulation_automation_item_request_builder.go @@ -125,7 +125,7 @@ func (m *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an attack simulation automation for a tenant. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property simulationAutomations in security @@ -154,7 +154,7 @@ func (m *AttackSimulationSimulationAutomationsSimulationAutomationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_simulations_item_landing_page_request_builder.go b/security/attack_simulation_simulations_item_landing_page_request_builder.go index e5bc071f644..117ad7d6103 100644 --- a/security/attack_simulation_simulations_item_landing_page_request_builder.go +++ b/security/attack_simulation_simulations_item_landing_page_request_builder.go @@ -72,7 +72,7 @@ func (m *AttackSimulationSimulationsItemLandingPageRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/attack_simulation_simulations_item_login_page_request_builder.go b/security/attack_simulation_simulations_item_login_page_request_builder.go index 6f0899b6a77..5aadc983782 100644 --- a/security/attack_simulation_simulations_item_login_page_request_builder.go +++ b/security/attack_simulation_simulations_item_login_page_request_builder.go @@ -72,7 +72,7 @@ func (m *AttackSimulationSimulationsItemLoginPageRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/attack_simulation_simulations_item_payload_request_builder.go b/security/attack_simulation_simulations_item_payload_request_builder.go index 5dfbd0c7ba4..636e6179426 100644 --- a/security/attack_simulation_simulations_item_payload_request_builder.go +++ b/security/attack_simulation_simulations_item_payload_request_builder.go @@ -72,7 +72,7 @@ func (m *AttackSimulationSimulationsItemPayloadRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/attack_simulation_simulations_request_builder.go b/security/attack_simulation_simulations_request_builder.go index 2a117307a98..2392da4aeb4 100644 --- a/security/attack_simulation_simulations_request_builder.go +++ b/security/attack_simulation_simulations_request_builder.go @@ -131,7 +131,7 @@ func (m *AttackSimulationSimulationsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *AttackSimulationSimulationsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_simulations_simulation_item_request_builder.go b/security/attack_simulation_simulations_simulation_item_request_builder.go index be430bf8666..af39c0942e9 100644 --- a/security/attack_simulation_simulations_simulation_item_request_builder.go +++ b/security/attack_simulation_simulations_simulation_item_request_builder.go @@ -139,7 +139,7 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *AttackSimulationSimulationsSimulationItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_trainings_item_language_details_request_builder.go b/security/attack_simulation_trainings_item_language_details_request_builder.go index 916eb2d0010..f9ed670c1e3 100644 --- a/security/attack_simulation_trainings_item_language_details_request_builder.go +++ b/security/attack_simulation_trainings_item_language_details_request_builder.go @@ -125,7 +125,7 @@ func (m *AttackSimulationTrainingsItemLanguageDetailsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to languageDetails for security @@ -138,7 +138,7 @@ func (m *AttackSimulationTrainingsItemLanguageDetailsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_trainings_item_language_details_training_language_detail_item_request_builder.go b/security/attack_simulation_trainings_item_language_details_training_language_detail_item_request_builder.go index 0c9bfe90a39..7edc2d4ad6e 100644 --- a/security/attack_simulation_trainings_item_language_details_training_language_detail_item_request_builder.go +++ b/security/attack_simulation_trainings_item_language_details_training_language_detail_item_request_builder.go @@ -118,7 +118,7 @@ func (m *AttackSimulationTrainingsItemLanguageDetailsTrainingLanguageDetailItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation language specific details on a training. @@ -134,7 +134,7 @@ func (m *AttackSimulationTrainingsItemLanguageDetailsTrainingLanguageDetailItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property languageDetails in security @@ -147,7 +147,7 @@ func (m *AttackSimulationTrainingsItemLanguageDetailsTrainingLanguageDetailItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_trainings_request_builder.go b/security/attack_simulation_trainings_request_builder.go index 8e1e73be3b0..87a87850a46 100644 --- a/security/attack_simulation_trainings_request_builder.go +++ b/security/attack_simulation_trainings_request_builder.go @@ -128,7 +128,7 @@ func (m *AttackSimulationTrainingsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to trainings for security @@ -141,7 +141,7 @@ func (m *AttackSimulationTrainingsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/attack_simulation_trainings_training_item_request_builder.go b/security/attack_simulation_trainings_training_item_request_builder.go index 00e4cbc3615..2766ef49222 100644 --- a/security/attack_simulation_trainings_training_item_request_builder.go +++ b/security/attack_simulation_trainings_training_item_request_builder.go @@ -122,7 +122,7 @@ func (m *AttackSimulationTrainingsTrainingItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents details about attack simulation trainings. @@ -138,7 +138,7 @@ func (m *AttackSimulationTrainingsTrainingItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property trainings in security @@ -151,7 +151,7 @@ func (m *AttackSimulationTrainingsTrainingItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go b/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go index 4f9262f7df1..b18ac0744f0 100644 --- a/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go +++ b/security/cases_ediscovery_cases_ediscovery_case_item_request_builder.go @@ -167,7 +167,7 @@ func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an ediscoveryCase object. This API is available in the following national cloud deployments. @@ -183,7 +183,7 @@ func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an ediscoveryCase object. This API is available in the following national cloud deployments. @@ -196,7 +196,7 @@ func (m *CasesEdiscoveryCasesEdiscoveryCaseItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go b/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go index ab954c0db68..5b63c68eb45 100644 --- a/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_ediscovery_custodian_item_request_builder.go @@ -149,7 +149,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an ediscoveryCustodian object. This API is available in the following national cloud deployments. @@ -165,7 +165,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property custodians in security @@ -178,7 +178,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansEdiscoveryCustodianItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go index 2bb60787373..452d87de163 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_last_index_operation_request_builder.go @@ -75,7 +75,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemLastIndexOperationRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go index c39c610a506..dddeac2d47e 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_activate_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityActivateReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go index 62e0c444da7..0d80b08f7f3 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_apply_hold_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityApplyHoldRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go index 80320eb8ce7..41f8e7511bc 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_release_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityReleaseRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go index 5b1c3e2ccc2..0e33e2d405f 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_remove_hold_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityRemoveHoldR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go index 5ae1c0096d4..a6a30e18c3d 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_microsoft_graph_security_update_index_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemMicrosoftGraphSecurityUpdateIndex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go index e89854488a1..64d7ffa27a8 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_site_sources_item_site_request_builder.go @@ -72,7 +72,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesItemSiteRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go index 5d9e71849ab..077f733688a 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_site_sources_request_builder.go @@ -131,7 +131,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new siteSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go index d02dc40d5ad..7c346a20cd5 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_site_sources_site_source_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation data source entity for SharePoint sites associated with the custodian. @@ -138,7 +138,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property siteSources in security @@ -151,7 +151,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemSiteSourcesSiteSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go index 7e4d3ca2097..53c387bf451 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_request_builder.go @@ -76,7 +76,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go index b7e350cc967..3190859627d 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_item_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesItemGroupServi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go index 3dece5d6d9d..569dca26c40 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_request_builder.go @@ -131,7 +131,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new unifiedGroupSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go index 6b4734c5053..d1685ed7862 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_unified_group_sources_unified_group_source_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation data source entity for groups associated with the custodian. @@ -138,7 +138,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property unifiedGroupSources in security @@ -151,7 +151,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUnifiedGroupSourcesUnifiedGroupSo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go index 53b6ae91e92..cb65ef8ad06 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_user_sources_request_builder.go @@ -131,7 +131,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new userSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go b/security/cases_ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go index 9e407ee5e13..b1d4ed6de51 100644 --- a/security/cases_ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_item_user_sources_user_source_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation data source entity for a custodian. This is the container for a custodian's mailbox and OneDrive for Business site. @@ -134,7 +134,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userSources in security @@ -147,7 +147,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansItemUserSourcesUserSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go index e45982aaaa2..a69f11acd1f 100644 --- a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_apply_hold_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityApplyHoldReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go index ef7a1ede50c..f2ccb87def4 100644 --- a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_remove_hold_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityRemoveHoldReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go index b2e60b73970..94e8b80c03e 100644 --- a/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_microsoft_graph_security_update_index_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansMicrosoftGraphSecurityUpdateIndexRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_custodians_request_builder.go b/security/cases_ediscovery_cases_item_custodians_request_builder.go index a9bcd5caa00..cddd18dda2e 100644 --- a/security/cases_ediscovery_cases_item_custodians_request_builder.go +++ b/security/cases_ediscovery_cases_item_custodians_request_builder.go @@ -143,7 +143,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -156,7 +156,7 @@ func (m *CasesEdiscoveryCasesItemCustodiansRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_legal_holds_ediscovery_hold_policy_item_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_ediscovery_hold_policy_item_request_builder.go index c67086f24d1..4c3e8bb34f9 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_ediscovery_hold_policy_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_ediscovery_hold_policy_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsEdiscoveryHoldPolicyItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns a list of case eDiscoveryHoldPolicy objects for this case. @@ -138,7 +138,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsEdiscoveryHoldPolicyItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property legalHolds in security @@ -151,7 +151,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsEdiscoveryHoldPolicyItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go index a21c3f151d1..4fa890dd31a 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_item_site_request_builder.go @@ -72,7 +72,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesItemSiteRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go index 8e31b1e7937..402e09dbeae 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_request_builder.go @@ -128,7 +128,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new siteSource object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go index 8eece0d9577..a668191ae11 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_site_sources_site_source_item_request_builder.go @@ -122,7 +122,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation data sources that represent SharePoint sites. @@ -138,7 +138,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property siteSources in security @@ -151,7 +151,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemSiteSourcesSiteSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go index 4c4f9f19521..f74fac5e1f9 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_request_builder.go @@ -128,7 +128,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new userSource object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go index a3968971ecd..1e4c6388582 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_item_user_sources_user_source_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation data sources that represent Exchange mailboxes. @@ -134,7 +134,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userSources in security @@ -147,7 +147,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsItemUserSourcesUserSourceItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_legal_holds_request_builder.go b/security/cases_ediscovery_cases_item_legal_holds_request_builder.go index fcf0ee4554e..96393b2739a 100644 --- a/security/cases_ediscovery_cases_item_legal_holds_request_builder.go +++ b/security/cases_ediscovery_cases_item_legal_holds_request_builder.go @@ -131,7 +131,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new ediscoveryHoldPolicy object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CasesEdiscoveryCasesItemLegalHoldsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go b/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go index 94036314fce..c20d8d0d731 100644 --- a/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go +++ b/security/cases_ediscovery_cases_item_microsoft_graph_security_close_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemMicrosoftGraphSecurityCloseRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go b/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go index 320fc281185..6e0523e8f55 100644 --- a/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go +++ b/security/cases_ediscovery_cases_item_microsoft_graph_security_reopen_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemMicrosoftGraphSecurityReopenRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_ediscovery_noncustodial_data_source_item_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_ediscovery_noncustodial_data_source_item_request_builder.go index 34372573c6a..3aebf949741 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_ediscovery_noncustodial_data_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_ediscovery_noncustodial_data_source_item_request_builder.go @@ -142,7 +142,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesEdiscoveryNoncustodialDa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns a list of case ediscoveryNoncustodialDataSource objects for this case. @@ -158,7 +158,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesEdiscoveryNoncustodialDa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property noncustodialDataSources in security @@ -171,7 +171,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesEdiscoveryNoncustodialDa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go index 36859928060..261739fac8b 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_data_source_request_builder.go @@ -118,7 +118,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation user source or SharePoint site data source as non-custodial data source. @@ -134,7 +134,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dataSource in security @@ -147,7 +147,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemDataSourceRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go index e5035794e9d..f5690f01e20 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_last_index_operation_request_builder.go @@ -72,7 +72,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemLastIndexOperationRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go index 6ead648d355..9cb11ad4cb8 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_apply_hold_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecuri requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go index c2225906bf3..21d851c9123 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_release_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecuri requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go index 81f673ff047..88eaa26159d 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_remove_hold_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecuri requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go index 3bbc94f9d29..ef00d5940ae 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_item_microsoft_graph_security_update_index_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesItemMicrosoftGraphSecuri requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go index a1d94e10237..302e9171086 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_apply_hold_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityAp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go index 0d20dd3950d..09d63309748 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_remove_hold_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_update_index_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_update_index_request_builder.go index d56139bb7fe..b17feec207d 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_update_index_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_microsoft_graph_security_update_index_request_builder.go @@ -56,7 +56,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesMicrosoftGraphSecurityUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go b/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go index 28d87140aa9..443828ec38b 100644 --- a/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_noncustodial_data_sources_request_builder.go @@ -140,7 +140,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new ediscoveryNoncustodialDataSource object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *CasesEdiscoveryCasesItemNoncustodialDataSourcesRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go b/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go index 80ae006936e..3494843671c 100644 --- a/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_operations_case_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a caseOperation object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in security @@ -150,7 +150,7 @@ func (m *CasesEdiscoveryCasesItemOperationsCaseOperationItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_operations_request_builder.go b/security/cases_ediscovery_cases_item_operations_request_builder.go index 97a0c325d1a..b5549ae2bff 100644 --- a/security/cases_ediscovery_cases_item_operations_request_builder.go +++ b/security/cases_ediscovery_cases_item_operations_request_builder.go @@ -128,7 +128,7 @@ func (m *CasesEdiscoveryCasesItemOperationsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for security @@ -141,7 +141,7 @@ func (m *CasesEdiscoveryCasesItemOperationsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go index 239b0d9ccb6..12577a3ff7d 100644 --- a/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_ediscovery_review_set_item_request_builder.go @@ -137,7 +137,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an ediscoveryReviewSet object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property reviewSets in security @@ -166,7 +166,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsEdiscoveryReviewSetItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go index 30f0cf659f3..b31f7a36d73 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_ediscovery_file_item_request_builder.go @@ -137,7 +137,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an ediscoveryFile object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property files in security @@ -166,7 +166,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesEdiscoveryFileItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go index 64638577dd5..279b44ce7b7 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_content_request_builder.go @@ -89,7 +89,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemContentRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property files in security @@ -102,7 +102,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemContentRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_custodian_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_custodian_request_builder.go index 53a24adb996..5e2e2480e0a 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_custodian_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_custodian_request_builder.go @@ -72,7 +72,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemCustodianRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go index 8f7f3fb6f75..c5a1fb8d352 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_extracted_text_content_request_builder.go @@ -88,7 +88,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update extractedTextContent for the navigation property files in security @@ -101,7 +101,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemExtractedTextContentRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_ediscovery_review_tag_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_ediscovery_review_tag_item_request_builder.go index 978a4c32539..70f2883436e 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_ediscovery_review_tag_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_ediscovery_review_tag_item_request_builder.go @@ -72,7 +72,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsEdiscoveryReviewTagI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_request_builder.go index 4d2f266b4f1..d179633eb65 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_item_tags_request_builder.go @@ -99,7 +99,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesItemTagsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go index 13a64545583..1761f7df7ee 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_files_request_builder.go @@ -128,7 +128,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to files for security @@ -141,7 +141,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemFilesRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go index 687cce2d931..f66ee31289c 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_add_to_review_set_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityAddToReview requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go index 1cb3fa9eb47..d6bf9d82d91 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_microsoft_graph_security_export_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemMicrosoftGraphSecurityExportReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go index 0cab2cf1e6d..610de06b88e 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_ediscovery_review_set_query_item_request_builder.go @@ -139,7 +139,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesEdiscoveryReviewSetQueryIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go index cc6d9f13337..db91679be34 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_apply_tags_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurity requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go index 7106fe3acb3..e1c1fd51767 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_export_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurity requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go index 82bb498148d..69fa339127c 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_item_microsoft_graph_security_run_request_builder.go @@ -101,7 +101,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesItemMicrosoftGraphSecurity requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go index 58c5d8a62c6..48d65800a65 100644 --- a/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_item_queries_request_builder.go @@ -131,7 +131,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsItemQueriesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_review_sets_request_builder.go b/security/cases_ediscovery_cases_item_review_sets_request_builder.go index 5f3ac239a0d..e1fa5ca1519 100644 --- a/security/cases_ediscovery_cases_item_review_sets_request_builder.go +++ b/security/cases_ediscovery_cases_item_review_sets_request_builder.go @@ -131,7 +131,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new ediscoveryReviewSet object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CasesEdiscoveryCasesItemReviewSetsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go b/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go index 659f8833440..1606b7b6ad3 100644 --- a/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_ediscovery_search_item_request_builder.go @@ -163,7 +163,7 @@ func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an ediscoverySearch object. This API is available in the following national cloud deployments. @@ -179,7 +179,7 @@ func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an ediscoverySearch object. This API is available in the following national cloud deployments. @@ -192,7 +192,7 @@ func (m *CasesEdiscoveryCasesItemSearchesEdiscoverySearchItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_searches_item_add_to_review_set_operation_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_add_to_review_set_operation_request_builder.go index 04b2f53b636..e2f9e18f0c7 100644 --- a/security/cases_ediscovery_cases_item_searches_item_add_to_review_set_operation_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_add_to_review_set_operation_request_builder.go @@ -72,7 +72,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAddToReviewSetOperationRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_searches_item_additional_sources_data_source_item_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_additional_sources_data_source_item_request_builder.go index 4624bf830a6..645a5a0f64a 100644 --- a/security/cases_ediscovery_cases_item_searches_item_additional_sources_data_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_additional_sources_data_source_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesDataSourceItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation adds an additional source to the eDiscovery search. @@ -134,7 +134,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesDataSourceItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property additionalSources in security @@ -147,7 +147,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesDataSourceItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go index 6c94d2e1cf2..3c3200ab7dd 100644 --- a/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_additional_sources_request_builder.go @@ -131,7 +131,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new additional source associated with an eDiscovery search. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemAdditionalSourcesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_data_source_item_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_data_source_item_request_builder.go index 329ff72aaa5..d55ef631960 100644 --- a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_data_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_data_source_item_request_builder.go @@ -95,7 +95,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesDataSourceItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation custodian sources that are included in the eDiscovery search. @@ -111,7 +111,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesDataSourceItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go index 82f43be41fc..2c211721900 100644 --- a/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_custodian_sources_request_builder.go @@ -102,7 +102,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemCustodianSourcesRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go index 1346e794cf2..0d43c66b124 100644 --- a/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_last_estimate_statistics_operation_request_builder.go @@ -75,7 +75,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemLastEstimateStatisticsOperationRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go index 1aa0b87a577..0fb24ad4282 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_estimate_statistics_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityEstimateStati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go index f93a9bdebae..f0d5e7dc6ee 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_report_request_builder.go @@ -56,7 +56,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportReportR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go index a86002d8c0e..6bf6d39d6b3 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_export_result_request_builder.go @@ -56,7 +56,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityExportResultR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go index 97945c019b5..af0128eba11 100644 --- a/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_microsoft_graph_security_purge_data_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemMicrosoftGraphSecurityPurgeDataRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_ediscovery_noncustodial_data_source_item_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_ediscovery_noncustodial_data_source_item_request_builder.go index fc3207d7af7..ab9fa634653 100644 --- a/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_ediscovery_noncustodial_data_source_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_ediscovery_noncustodial_data_source_item_request_builder.go @@ -95,7 +95,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesEdiscoveryNoncus requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation noncustodialDataSource sources that are included in the eDiscovery search @@ -111,7 +111,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesEdiscoveryNoncus requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_request_builder.go b/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_request_builder.go index 350e825b4a9..537a0af40dc 100644 --- a/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_item_noncustodial_sources_request_builder.go @@ -99,7 +99,7 @@ func (m *CasesEdiscoveryCasesItemSearchesItemNoncustodialSourcesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_searches_request_builder.go b/security/cases_ediscovery_cases_item_searches_request_builder.go index 2fa1b79ddc0..b5d5e089020 100644 --- a/security/cases_ediscovery_cases_item_searches_request_builder.go +++ b/security/cases_ediscovery_cases_item_searches_request_builder.go @@ -131,7 +131,7 @@ func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new ediscoverySearch object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CasesEdiscoveryCasesItemSearchesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go b/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go index cc2514cc8e3..657dd9ac90c 100644 --- a/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go +++ b/security/cases_ediscovery_cases_item_settings_microsoft_graph_security_reset_to_default_request_builder.go @@ -59,7 +59,7 @@ func (m *CasesEdiscoveryCasesItemSettingsMicrosoftGraphSecurityResetToDefaultReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_settings_request_builder.go b/security/cases_ediscovery_cases_item_settings_request_builder.go index 4ee45eff588..fd3a0900290 100644 --- a/security/cases_ediscovery_cases_item_settings_request_builder.go +++ b/security/cases_ediscovery_cases_item_settings_request_builder.go @@ -128,7 +128,7 @@ func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *CasesEdiscoveryCasesItemSettingsRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go b/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go index a45839d9bcc..e5e7cab541f 100644 --- a/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_ediscovery_review_tag_item_request_builder.go @@ -135,7 +135,7 @@ func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *CasesEdiscoveryCasesItemTagsEdiscoveryReviewTagItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_item_tags_item_child_tags_ediscovery_review_tag_item_request_builder.go b/security/cases_ediscovery_cases_item_tags_item_child_tags_ediscovery_review_tag_item_request_builder.go index f9f9deafc4c..b850318b5dd 100644 --- a/security/cases_ediscovery_cases_item_tags_item_child_tags_ediscovery_review_tag_item_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_item_child_tags_ediscovery_review_tag_item_request_builder.go @@ -72,7 +72,7 @@ func (m *CasesEdiscoveryCasesItemTagsItemChildTagsEdiscoveryReviewTagItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_tags_item_child_tags_request_builder.go b/security/cases_ediscovery_cases_item_tags_item_child_tags_request_builder.go index e4ae01ec682..8f54752d50f 100644 --- a/security/cases_ediscovery_cases_item_tags_item_child_tags_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_item_child_tags_request_builder.go @@ -99,7 +99,7 @@ func (m *CasesEdiscoveryCasesItemTagsItemChildTagsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_tags_item_parent_request_builder.go b/security/cases_ediscovery_cases_item_tags_item_parent_request_builder.go index fdca4b99b9d..e202b2cdb74 100644 --- a/security/cases_ediscovery_cases_item_tags_item_parent_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_item_parent_request_builder.go @@ -72,7 +72,7 @@ func (m *CasesEdiscoveryCasesItemTagsItemParentRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go b/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go index 8e423bc67f7..ba91905e5de 100644 --- a/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_microsoft_graph_security_as_hierarchy_request_builder.go @@ -101,7 +101,7 @@ func (m *CasesEdiscoveryCasesItemTagsMicrosoftGraphSecurityAsHierarchyRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/cases_ediscovery_cases_item_tags_request_builder.go b/security/cases_ediscovery_cases_item_tags_request_builder.go index d5a6f33a0be..2ee22ca8e8c 100644 --- a/security/cases_ediscovery_cases_item_tags_request_builder.go +++ b/security/cases_ediscovery_cases_item_tags_request_builder.go @@ -135,7 +135,7 @@ func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new ediscoveryReviewTag object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *CasesEdiscoveryCasesItemTagsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_ediscovery_cases_request_builder.go b/security/cases_ediscovery_cases_request_builder.go index c5d086962d3..75e51213527 100644 --- a/security/cases_ediscovery_cases_request_builder.go +++ b/security/cases_ediscovery_cases_request_builder.go @@ -131,7 +131,7 @@ func (m *CasesEdiscoveryCasesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new ediscoveryCase object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *CasesEdiscoveryCasesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cases_request_builder.go b/security/cases_request_builder.go index b3046eae70f..3551a5af938 100644 --- a/security/cases_request_builder.go +++ b/security/cases_request_builder.go @@ -122,7 +122,7 @@ func (m *CasesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get cases from security @@ -138,7 +138,7 @@ func (m *CasesRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cases in security @@ -151,7 +151,7 @@ func (m *CasesRequestBuilder) ToPatchRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cloud_app_security_profiles_cloud_app_security_profile_item_request_builder.go b/security/cloud_app_security_profiles_cloud_app_security_profile_item_request_builder.go index 8b797abb12b..bbd01fce114 100644 --- a/security/cloud_app_security_profiles_cloud_app_security_profile_item_request_builder.go +++ b/security/cloud_app_security_profiles_cloud_app_security_profile_item_request_builder.go @@ -118,7 +118,7 @@ func (m *CloudAppSecurityProfilesCloudAppSecurityProfileItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get cloudAppSecurityProfiles from security @@ -134,7 +134,7 @@ func (m *CloudAppSecurityProfilesCloudAppSecurityProfileItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cloudAppSecurityProfiles in security @@ -147,7 +147,7 @@ func (m *CloudAppSecurityProfilesCloudAppSecurityProfileItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/cloud_app_security_profiles_request_builder.go b/security/cloud_app_security_profiles_request_builder.go index 0e9dd1403d4..e0eb75d108b 100644 --- a/security/cloud_app_security_profiles_request_builder.go +++ b/security/cloud_app_security_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *CloudAppSecurityProfilesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to cloudAppSecurityProfiles for security @@ -138,7 +138,7 @@ func (m *CloudAppSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/domain_security_profiles_domain_security_profile_item_request_builder.go b/security/domain_security_profiles_domain_security_profile_item_request_builder.go index ced9e5f7394..64a34b8c709 100644 --- a/security/domain_security_profiles_domain_security_profile_item_request_builder.go +++ b/security/domain_security_profiles_domain_security_profile_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DomainSecurityProfilesDomainSecurityProfileItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get domainSecurityProfiles from security @@ -134,7 +134,7 @@ func (m *DomainSecurityProfilesDomainSecurityProfileItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property domainSecurityProfiles in security @@ -147,7 +147,7 @@ func (m *DomainSecurityProfilesDomainSecurityProfileItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/domain_security_profiles_request_builder.go b/security/domain_security_profiles_request_builder.go index d4cdbf34ed3..fc0a4330245 100644 --- a/security/domain_security_profiles_request_builder.go +++ b/security/domain_security_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *DomainSecurityProfilesRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to domainSecurityProfiles for security @@ -138,7 +138,7 @@ func (m *DomainSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/file_security_profiles_file_security_profile_item_request_builder.go b/security/file_security_profiles_file_security_profile_item_request_builder.go index 723411a8cb5..e61ad53956b 100644 --- a/security/file_security_profiles_file_security_profile_item_request_builder.go +++ b/security/file_security_profiles_file_security_profile_item_request_builder.go @@ -118,7 +118,7 @@ func (m *FileSecurityProfilesFileSecurityProfileItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get fileSecurityProfiles from security @@ -134,7 +134,7 @@ func (m *FileSecurityProfilesFileSecurityProfileItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fileSecurityProfiles in security @@ -147,7 +147,7 @@ func (m *FileSecurityProfilesFileSecurityProfileItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/file_security_profiles_request_builder.go b/security/file_security_profiles_request_builder.go index 856649a2294..6d0730d8daf 100644 --- a/security/file_security_profiles_request_builder.go +++ b/security/file_security_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *FileSecurityProfilesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to fileSecurityProfiles for security @@ -138,7 +138,7 @@ func (m *FileSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/host_security_profiles_host_security_profile_item_request_builder.go b/security/host_security_profiles_host_security_profile_item_request_builder.go index d6fdc417d3e..afa07fadece 100644 --- a/security/host_security_profiles_host_security_profile_item_request_builder.go +++ b/security/host_security_profiles_host_security_profile_item_request_builder.go @@ -118,7 +118,7 @@ func (m *HostSecurityProfilesHostSecurityProfileItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get hostSecurityProfiles from security @@ -134,7 +134,7 @@ func (m *HostSecurityProfilesHostSecurityProfileItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostSecurityProfiles in security @@ -147,7 +147,7 @@ func (m *HostSecurityProfilesHostSecurityProfileItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/host_security_profiles_request_builder.go b/security/host_security_profiles_request_builder.go index 9f6e8c912ca..b118bff0ce3 100644 --- a/security/host_security_profiles_request_builder.go +++ b/security/host_security_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *HostSecurityProfilesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostSecurityProfiles for security @@ -138,7 +138,7 @@ func (m *HostSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/incidents_incident_item_request_builder.go b/security/incidents_incident_item_request_builder.go index 2a3d4e986d6..ae1824721b6 100644 --- a/security/incidents_incident_item_request_builder.go +++ b/security/incidents_incident_item_request_builder.go @@ -128,7 +128,7 @@ func (m *IncidentsIncidentItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -144,7 +144,7 @@ func (m *IncidentsIncidentItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an incident object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *IncidentsIncidentItemRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/incidents_item_alerts_alert_item_request_builder.go b/security/incidents_item_alerts_alert_item_request_builder.go index 48a8d06dd1c..f0d40950e71 100644 --- a/security/incidents_item_alerts_alert_item_request_builder.go +++ b/security/incidents_item_alerts_alert_item_request_builder.go @@ -76,7 +76,7 @@ func (m *IncidentsItemAlertsAlertItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/incidents_item_alerts_item_comments_request_builder.go b/security/incidents_item_alerts_item_comments_request_builder.go index 19762f924dd..c834d492ce8 100644 --- a/security/incidents_item_alerts_item_comments_request_builder.go +++ b/security/incidents_item_alerts_item_comments_request_builder.go @@ -68,7 +68,7 @@ func (m *IncidentsItemAlertsItemCommentsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(body)) for i, v := range body { if v != nil { diff --git a/security/incidents_item_alerts_request_builder.go b/security/incidents_item_alerts_request_builder.go index 28d1417e49c..770f0400b33 100644 --- a/security/incidents_item_alerts_request_builder.go +++ b/security/incidents_item_alerts_request_builder.go @@ -99,7 +99,7 @@ func (m *IncidentsItemAlertsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/incidents_request_builder.go b/security/incidents_request_builder.go index aa09d607038..fc8a709c155 100644 --- a/security/incidents_request_builder.go +++ b/security/incidents_request_builder.go @@ -128,7 +128,7 @@ func (m *IncidentsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to incidents for security @@ -141,7 +141,7 @@ func (m *IncidentsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/information_protection_label_policy_settings_request_builder.go b/security/information_protection_label_policy_settings_request_builder.go index 0689c3dc91b..8bdc023b3c6 100644 --- a/security/information_protection_label_policy_settings_request_builder.go +++ b/security/information_protection_label_policy_settings_request_builder.go @@ -121,7 +121,7 @@ func (m *InformationProtectionLabelPolicySettingsRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *InformationProtectionLabelPolicySettingsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property labelPolicySettings in security @@ -150,7 +150,7 @@ func (m *InformationProtectionLabelPolicySettingsRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/information_protection_request_builder.go b/security/information_protection_request_builder.go index 69afa3f4858..258127dcb18 100644 --- a/security/information_protection_request_builder.go +++ b/security/information_protection_request_builder.go @@ -126,7 +126,7 @@ func (m *InformationProtectionRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get informationProtection from security @@ -142,7 +142,7 @@ func (m *InformationProtectionRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property informationProtection in security @@ -155,7 +155,7 @@ func (m *InformationProtectionRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/information_protection_sensitivity_labels_item_parent_request_builder.go b/security/information_protection_sensitivity_labels_item_parent_request_builder.go index e4e9cea698a..d02c44943b7 100644 --- a/security/information_protection_sensitivity_labels_item_parent_request_builder.go +++ b/security/information_protection_sensitivity_labels_item_parent_request_builder.go @@ -118,7 +118,7 @@ func (m *InformationProtectionSensitivityLabelsItemParentRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the parent label associated with a child label. Null if the label has no parent. @@ -134,7 +134,7 @@ func (m *InformationProtectionSensitivityLabelsItemParentRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property parent in security @@ -147,7 +147,7 @@ func (m *InformationProtectionSensitivityLabelsItemParentRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go index 95670575974..1513b07a5c2 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go @@ -85,7 +85,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateApp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go index dcecc1b501d..b6cd53902d9 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go @@ -85,7 +85,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateCla requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go index e44686727e2..1e75810f12b 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go @@ -85,7 +85,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityEvaluateRem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go b/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go index 09b5e33b4b4..3d3552c3411 100644 --- a/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go +++ b/security/information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go @@ -63,7 +63,7 @@ func (m *InformationProtectionSensitivityLabelsMicrosoftGraphSecurityExtractCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/information_protection_sensitivity_labels_request_builder.go b/security/information_protection_sensitivity_labels_request_builder.go index 32fa29d2456..d6139124f57 100644 --- a/security/information_protection_sensitivity_labels_request_builder.go +++ b/security/information_protection_sensitivity_labels_request_builder.go @@ -144,7 +144,7 @@ func (m *InformationProtectionSensitivityLabelsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sensitivityLabels for security @@ -157,7 +157,7 @@ func (m *InformationProtectionSensitivityLabelsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go b/security/information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go index 12fd12ce558..24c4c0e25c3 100644 --- a/security/information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/security/information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go @@ -122,7 +122,7 @@ func (m *InformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the Microsoft Purview Information Protection labels for the user or organization. @@ -138,7 +138,7 @@ func (m *InformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityLabels in security @@ -151,7 +151,7 @@ func (m *InformationProtectionSensitivityLabelsSensitivityLabelItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/ip_security_profiles_ip_security_profile_item_request_builder.go b/security/ip_security_profiles_ip_security_profile_item_request_builder.go index 97c2a86d2e0..6ee458e1822 100644 --- a/security/ip_security_profiles_ip_security_profile_item_request_builder.go +++ b/security/ip_security_profiles_ip_security_profile_item_request_builder.go @@ -118,7 +118,7 @@ func (m *IpSecurityProfilesIpSecurityProfileItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get ipSecurityProfiles from security @@ -134,7 +134,7 @@ func (m *IpSecurityProfilesIpSecurityProfileItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property ipSecurityProfiles in security @@ -147,7 +147,7 @@ func (m *IpSecurityProfilesIpSecurityProfileItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/ip_security_profiles_request_builder.go b/security/ip_security_profiles_request_builder.go index f38180f10ca..d23a66e5bbe 100644 --- a/security/ip_security_profiles_request_builder.go +++ b/security/ip_security_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *IpSecurityProfilesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to ipSecurityProfiles for security @@ -138,7 +138,7 @@ func (m *IpSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_authorities_authority_template_item_request_builder.go b/security/labels_authorities_authority_template_item_request_builder.go index 6ace01252d0..960c66d006f 100644 --- a/security/labels_authorities_authority_template_item_request_builder.go +++ b/security/labels_authorities_authority_template_item_request_builder.go @@ -124,7 +124,7 @@ func (m *LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a authorityTemplate object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authorities in security @@ -153,7 +153,7 @@ func (m *LabelsAuthoritiesAuthorityTemplateItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_authorities_request_builder.go b/security/labels_authorities_request_builder.go index 238c9416d05..ef614eb9b48 100644 --- a/security/labels_authorities_request_builder.go +++ b/security/labels_authorities_request_builder.go @@ -131,7 +131,7 @@ func (m *LabelsAuthoritiesRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new authorityTemplate object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *LabelsAuthoritiesRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_categories_category_template_item_request_builder.go b/security/labels_categories_category_template_item_request_builder.go index 7947bc62227..901543a5e58 100644 --- a/security/labels_categories_category_template_item_request_builder.go +++ b/security/labels_categories_category_template_item_request_builder.go @@ -128,7 +128,7 @@ func (m *LabelsCategoriesCategoryTemplateItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a categoryTemplate object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *LabelsCategoriesCategoryTemplateItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property categories in security @@ -157,7 +157,7 @@ func (m *LabelsCategoriesCategoryTemplateItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_categories_item_sub_categories_request_builder.go b/security/labels_categories_item_sub_categories_request_builder.go index 9f8732fb86c..84590065c67 100644 --- a/security/labels_categories_item_sub_categories_request_builder.go +++ b/security/labels_categories_item_sub_categories_request_builder.go @@ -131,7 +131,7 @@ func (m *LabelsCategoriesItemSubCategoriesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new subCategoryTemplate object. @@ -144,7 +144,7 @@ func (m *LabelsCategoriesItemSubCategoriesRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_categories_item_sub_categories_sub_category_template_item_request_builder.go b/security/labels_categories_item_sub_categories_sub_category_template_item_request_builder.go index dbbd4751ec1..d34d79239c5 100644 --- a/security/labels_categories_item_sub_categories_sub_category_template_item_request_builder.go +++ b/security/labels_categories_item_sub_categories_sub_category_template_item_request_builder.go @@ -124,7 +124,7 @@ func (m *LabelsCategoriesItemSubCategoriesSubCategoryTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a subCategoryTemplate object. @@ -140,7 +140,7 @@ func (m *LabelsCategoriesItemSubCategoriesSubCategoryTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subCategories in security @@ -153,7 +153,7 @@ func (m *LabelsCategoriesItemSubCategoriesSubCategoryTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_categories_request_builder.go b/security/labels_categories_request_builder.go index 08ee16add45..e26d48fa5b6 100644 --- a/security/labels_categories_request_builder.go +++ b/security/labels_categories_request_builder.go @@ -131,7 +131,7 @@ func (m *LabelsCategoriesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new categoryTemplate object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *LabelsCategoriesRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_citations_citation_template_item_request_builder.go b/security/labels_citations_citation_template_item_request_builder.go index c5d7b18cf39..6bb0c101539 100644 --- a/security/labels_citations_citation_template_item_request_builder.go +++ b/security/labels_citations_citation_template_item_request_builder.go @@ -124,7 +124,7 @@ func (m *LabelsCitationsCitationTemplateItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a citationTemplate object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *LabelsCitationsCitationTemplateItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property citations in security @@ -153,7 +153,7 @@ func (m *LabelsCitationsCitationTemplateItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_citations_request_builder.go b/security/labels_citations_request_builder.go index c4b78db1577..386029276ca 100644 --- a/security/labels_citations_request_builder.go +++ b/security/labels_citations_request_builder.go @@ -131,7 +131,7 @@ func (m *LabelsCitationsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new citationTemplate object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *LabelsCitationsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_departments_department_template_item_request_builder.go b/security/labels_departments_department_template_item_request_builder.go index 6438fe39986..04f25b65f39 100644 --- a/security/labels_departments_department_template_item_request_builder.go +++ b/security/labels_departments_department_template_item_request_builder.go @@ -124,7 +124,7 @@ func (m *LabelsDepartmentsDepartmentTemplateItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a departmentTemplate object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *LabelsDepartmentsDepartmentTemplateItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property departments in security @@ -153,7 +153,7 @@ func (m *LabelsDepartmentsDepartmentTemplateItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_departments_request_builder.go b/security/labels_departments_request_builder.go index b17d44d9355..145d9b23f5a 100644 --- a/security/labels_departments_request_builder.go +++ b/security/labels_departments_request_builder.go @@ -131,7 +131,7 @@ func (m *LabelsDepartmentsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new departmentTemplate object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *LabelsDepartmentsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go b/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go index cb8d18c4375..5add057d90e 100644 --- a/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go +++ b/security/labels_file_plan_references_file_plan_reference_template_item_request_builder.go @@ -124,7 +124,7 @@ func (m *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a filePlanReferenceTemplate object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property filePlanReferences in security @@ -153,7 +153,7 @@ func (m *LabelsFilePlanReferencesFilePlanReferenceTemplateItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_file_plan_references_request_builder.go b/security/labels_file_plan_references_request_builder.go index f07a3273e29..5c81f12b3f1 100644 --- a/security/labels_file_plan_references_request_builder.go +++ b/security/labels_file_plan_references_request_builder.go @@ -131,7 +131,7 @@ func (m *LabelsFilePlanReferencesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new filePlanReferenceTemplate object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *LabelsFilePlanReferencesRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_request_builder.go b/security/labels_request_builder.go index 813262383ec..cd8d7fc5661 100644 --- a/security/labels_request_builder.go +++ b/security/labels_request_builder.go @@ -142,7 +142,7 @@ func (m *LabelsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get labels from security @@ -158,7 +158,7 @@ func (m *LabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property labels in security @@ -171,7 +171,7 @@ func (m *LabelsRequestBuilder) ToPatchRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_retention_labels_item_descriptors_authority_template_request_builder.go b/security/labels_retention_labels_item_descriptors_authority_template_request_builder.go index 6873d5adcc1..6c7bc7f75a2 100644 --- a/security/labels_retention_labels_item_descriptors_authority_template_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_authority_template_request_builder.go @@ -72,7 +72,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsAuthorityTemplateRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/labels_retention_labels_item_descriptors_category_template_request_builder.go b/security/labels_retention_labels_item_descriptors_category_template_request_builder.go index 31ebdd3b3ae..55e96226daa 100644 --- a/security/labels_retention_labels_item_descriptors_category_template_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_category_template_request_builder.go @@ -72,7 +72,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsCategoryTemplateRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/labels_retention_labels_item_descriptors_citation_template_request_builder.go b/security/labels_retention_labels_item_descriptors_citation_template_request_builder.go index e2074e0e8a2..a85117d0115 100644 --- a/security/labels_retention_labels_item_descriptors_citation_template_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_citation_template_request_builder.go @@ -72,7 +72,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsCitationTemplateRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/labels_retention_labels_item_descriptors_department_template_request_builder.go b/security/labels_retention_labels_item_descriptors_department_template_request_builder.go index cf20c3c861a..53dc3fceccf 100644 --- a/security/labels_retention_labels_item_descriptors_department_template_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_department_template_request_builder.go @@ -72,7 +72,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsDepartmentTemplateRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/labels_retention_labels_item_descriptors_file_plan_reference_template_request_builder.go b/security/labels_retention_labels_item_descriptors_file_plan_reference_template_request_builder.go index 09f0e7ca6cd..1b61c7cf1cf 100644 --- a/security/labels_retention_labels_item_descriptors_file_plan_reference_template_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_file_plan_reference_template_request_builder.go @@ -72,7 +72,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsFilePlanReferenceTemplateRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/labels_retention_labels_item_descriptors_request_builder.go b/security/labels_retention_labels_item_descriptors_request_builder.go index 3482432462f..3884d39f1c4 100644 --- a/security/labels_retention_labels_item_descriptors_request_builder.go +++ b/security/labels_retention_labels_item_descriptors_request_builder.go @@ -138,7 +138,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents out-of-the-box values that provide more options to improve the manageability and organization of the content you need to label. @@ -154,7 +154,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property descriptors in security @@ -167,7 +167,7 @@ func (m *LabelsRetentionLabelsItemDescriptorsRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_retention_labels_item_disposition_review_stages_disposition_review_stage_item_request_builder.go b/security/labels_retention_labels_item_disposition_review_stages_disposition_review_stage_item_request_builder.go index 8f193c1fd2b..b7de13abe66 100644 --- a/security/labels_retention_labels_item_disposition_review_stages_disposition_review_stage_item_request_builder.go +++ b/security/labels_retention_labels_item_disposition_review_stages_disposition_review_stage_item_request_builder.go @@ -118,7 +118,7 @@ func (m *LabelsRetentionLabelsItemDispositionReviewStagesDispositionReviewStageI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation when action at the end of retention is chosen as 'dispositionReview', dispositionReviewStages specifies a sequential set of stages with at least one reviewer in each stage. @@ -134,7 +134,7 @@ func (m *LabelsRetentionLabelsItemDispositionReviewStagesDispositionReviewStageI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dispositionReviewStages in security @@ -147,7 +147,7 @@ func (m *LabelsRetentionLabelsItemDispositionReviewStagesDispositionReviewStageI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_retention_labels_item_disposition_review_stages_request_builder.go b/security/labels_retention_labels_item_disposition_review_stages_request_builder.go index 25c6d8140e3..55133b72faf 100644 --- a/security/labels_retention_labels_item_disposition_review_stages_request_builder.go +++ b/security/labels_retention_labels_item_disposition_review_stages_request_builder.go @@ -125,7 +125,7 @@ func (m *LabelsRetentionLabelsItemDispositionReviewStagesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dispositionReviewStages for security @@ -138,7 +138,7 @@ func (m *LabelsRetentionLabelsItemDispositionReviewStagesRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_retention_labels_item_retention_event_type_request_builder.go b/security/labels_retention_labels_item_retention_event_type_request_builder.go index ae9cccadf5a..06c16ffdba6 100644 --- a/security/labels_retention_labels_item_retention_event_type_request_builder.go +++ b/security/labels_retention_labels_item_retention_event_type_request_builder.go @@ -72,7 +72,7 @@ func (m *LabelsRetentionLabelsItemRetentionEventTypeRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/labels_retention_labels_request_builder.go b/security/labels_retention_labels_request_builder.go index 8424d97ad4c..570d7f7fa2f 100644 --- a/security/labels_retention_labels_request_builder.go +++ b/security/labels_retention_labels_request_builder.go @@ -131,7 +131,7 @@ func (m *LabelsRetentionLabelsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *LabelsRetentionLabelsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/labels_retention_labels_retention_label_item_request_builder.go b/security/labels_retention_labels_retention_label_item_request_builder.go index ad5cf84d268..26207a505ab 100644 --- a/security/labels_retention_labels_retention_label_item_request_builder.go +++ b/security/labels_retention_labels_retention_label_item_request_builder.go @@ -136,7 +136,7 @@ func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents how customers can manage their data, whether and for how long to retain or delete it. @@ -152,7 +152,7 @@ func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -165,7 +165,7 @@ func (m *LabelsRetentionLabelsRetentionLabelItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/microsoft_graph_security_run_hunting_query_request_builder.go b/security/microsoft_graph_security_run_hunting_query_request_builder.go index 24302b92d08..3e6884f3efc 100644 --- a/security/microsoft_graph_security_run_hunting_query_request_builder.go +++ b/security/microsoft_graph_security_run_hunting_query_request_builder.go @@ -60,7 +60,7 @@ func (m *MicrosoftGraphSecurityRunHuntingQueryRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/provider_tenant_settings_provider_tenant_setting_item_request_builder.go b/security/provider_tenant_settings_provider_tenant_setting_item_request_builder.go index 7c64d506673..c6d647cc92c 100644 --- a/security/provider_tenant_settings_provider_tenant_setting_item_request_builder.go +++ b/security/provider_tenant_settings_provider_tenant_setting_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ProviderTenantSettingsProviderTenantSettingItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get providerTenantSettings from security @@ -134,7 +134,7 @@ func (m *ProviderTenantSettingsProviderTenantSettingItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property providerTenantSettings in security @@ -147,7 +147,7 @@ func (m *ProviderTenantSettingsProviderTenantSettingItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/provider_tenant_settings_request_builder.go b/security/provider_tenant_settings_request_builder.go index 5fc6683e548..7d25143fad3 100644 --- a/security/provider_tenant_settings_request_builder.go +++ b/security/provider_tenant_settings_request_builder.go @@ -125,7 +125,7 @@ func (m *ProviderTenantSettingsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to providerTenantSettings for security @@ -138,7 +138,7 @@ func (m *ProviderTenantSettingsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/secure_score_control_profiles_request_builder.go b/security/secure_score_control_profiles_request_builder.go index 2f3f6c0cadb..363a0798f81 100644 --- a/security/secure_score_control_profiles_request_builder.go +++ b/security/secure_score_control_profiles_request_builder.go @@ -128,7 +128,7 @@ func (m *SecureScoreControlProfilesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to secureScoreControlProfiles for security @@ -141,7 +141,7 @@ func (m *SecureScoreControlProfilesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go b/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go index 670c6203ca9..dca93832481 100644 --- a/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go +++ b/security/secure_score_control_profiles_secure_score_control_profile_item_request_builder.go @@ -121,7 +121,7 @@ func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get secureScoreControlProfiles from security @@ -137,7 +137,7 @@ func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -150,7 +150,7 @@ func (m *SecureScoreControlProfilesSecureScoreControlProfileItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/secure_scores_request_builder.go b/security/secure_scores_request_builder.go index 627f91ecfa2..c2ebeaec61b 100644 --- a/security/secure_scores_request_builder.go +++ b/security/secure_scores_request_builder.go @@ -128,7 +128,7 @@ func (m *SecureScoresRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to secureScores for security @@ -141,7 +141,7 @@ func (m *SecureScoresRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/secure_scores_secure_score_item_request_builder.go b/security/secure_scores_secure_score_item_request_builder.go index bc001c1134d..56c2ff6db6a 100644 --- a/security/secure_scores_secure_score_item_request_builder.go +++ b/security/secure_scores_secure_score_item_request_builder.go @@ -118,7 +118,7 @@ func (m *SecureScoresSecureScoreItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation measurements of tenants’ security posture to help protect them from threats. @@ -134,7 +134,7 @@ func (m *SecureScoresSecureScoreItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property secureScores in security @@ -147,7 +147,7 @@ func (m *SecureScoresSecureScoreItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/security_actions_item_cancel_security_action_request_builder.go b/security/security_actions_item_cancel_security_action_request_builder.go index e15299ac13e..b63a64dac52 100644 --- a/security/security_actions_item_cancel_security_action_request_builder.go +++ b/security/security_actions_item_cancel_security_action_request_builder.go @@ -59,7 +59,7 @@ func (m *SecurityActionsItemCancelSecurityActionRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/security_actions_request_builder.go b/security/security_actions_request_builder.go index 9a9b981a357..2294454abf6 100644 --- a/security/security_actions_request_builder.go +++ b/security/security_actions_request_builder.go @@ -131,7 +131,7 @@ func (m *SecurityActionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new securityAction object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *SecurityActionsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/security_actions_security_action_item_request_builder.go b/security/security_actions_security_action_item_request_builder.go index 20d30235565..0e77a17e552 100644 --- a/security/security_actions_security_action_item_request_builder.go +++ b/security/security_actions_security_action_item_request_builder.go @@ -125,7 +125,7 @@ func (m *SecurityActionsSecurityActionItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a securityAction object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *SecurityActionsSecurityActionItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property securityActions in security @@ -154,7 +154,7 @@ func (m *SecurityActionsSecurityActionItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/security_request_builder.go b/security/security_request_builder.go index d1d987f97fe..a3b05bd3944 100644 --- a/security/security_request_builder.go +++ b/security/security_request_builder.go @@ -182,7 +182,7 @@ func (m *SecurityRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update security @@ -195,7 +195,7 @@ func (m *SecurityRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go b/security/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go index ab0c7123649..fb9e20b0bd8 100644 --- a/security/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go +++ b/security/subject_rights_requests_item_approvers_item_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *SubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *SubjectRightsRequestsItemApproversItemMailboxSettingsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/subject_rights_requests_item_approvers_item_service_provisioning_errors_request_builder.go b/security/subject_rights_requests_item_approvers_item_service_provisioning_errors_request_builder.go index ce5c76aac7d..b8a53f69e27 100644 --- a/security/subject_rights_requests_item_approvers_item_service_provisioning_errors_request_builder.go +++ b/security/subject_rights_requests_item_approvers_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewSubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBu func (m *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilder) Count()(*SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsCountRequestBuilder) { return NewSubjectRightsRequestsItemApproversItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestB } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *SubjectRightsRequestsItemApproversItemServiceProvisioningErrorsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/subject_rights_requests_item_approvers_request_builder.go b/security/subject_rights_requests_item_approvers_request_builder.go index e2a09120028..d471ea82a72 100644 --- a/security/subject_rights_requests_item_approvers_request_builder.go +++ b/security/subject_rights_requests_item_approvers_request_builder.go @@ -99,7 +99,7 @@ func (m *SubjectRightsRequestsItemApproversRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/subject_rights_requests_item_approvers_user_item_request_builder.go b/security/subject_rights_requests_item_approvers_user_item_request_builder.go index 5cc097c47f9..1fafa57d70b 100644 --- a/security/subject_rights_requests_item_approvers_user_item_request_builder.go +++ b/security/subject_rights_requests_item_approvers_user_item_request_builder.go @@ -80,7 +80,7 @@ func (m *SubjectRightsRequestsItemApproversUserItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go b/security/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go index 81d92a49cf5..f4c61ce9c18 100644 --- a/security/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go +++ b/security/subject_rights_requests_item_collaborators_item_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsItemMailboxSettingsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/subject_rights_requests_item_collaborators_item_service_provisioning_errors_request_builder.go b/security/subject_rights_requests_item_collaborators_item_service_provisioning_errors_request_builder.go index 6f6ba5aa71f..4603a9f0f8a 100644 --- a/security/subject_rights_requests_item_collaborators_item_service_provisioning_errors_request_builder.go +++ b/security/subject_rights_requests_item_collaborators_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewSubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsReque func (m *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilder) Count()(*SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsCountRequestBuilder) { return NewSubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsItemServiceProvisioningErrorsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/subject_rights_requests_item_collaborators_request_builder.go b/security/subject_rights_requests_item_collaborators_request_builder.go index 7ad7f21d5da..04b68ec83ec 100644 --- a/security/subject_rights_requests_item_collaborators_request_builder.go +++ b/security/subject_rights_requests_item_collaborators_request_builder.go @@ -99,7 +99,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/subject_rights_requests_item_collaborators_user_item_request_builder.go b/security/subject_rights_requests_item_collaborators_user_item_request_builder.go index 782b895b586..fc96f98488d 100644 --- a/security/subject_rights_requests_item_collaborators_user_item_request_builder.go +++ b/security/subject_rights_requests_item_collaborators_user_item_request_builder.go @@ -80,7 +80,7 @@ func (m *SubjectRightsRequestsItemCollaboratorsUserItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/subject_rights_requests_item_get_final_attachment_request_builder.go b/security/subject_rights_requests_item_get_final_attachment_request_builder.go index b88e26e6d2b..448c2c22cc8 100644 --- a/security/subject_rights_requests_item_get_final_attachment_request_builder.go +++ b/security/subject_rights_requests_item_get_final_attachment_request_builder.go @@ -59,7 +59,7 @@ func (m *SubjectRightsRequestsItemGetFinalAttachmentRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/subject_rights_requests_item_get_final_report_request_builder.go b/security/subject_rights_requests_item_get_final_report_request_builder.go index 86daf4c06cd..42a3255b8bb 100644 --- a/security/subject_rights_requests_item_get_final_report_request_builder.go +++ b/security/subject_rights_requests_item_get_final_report_request_builder.go @@ -59,7 +59,7 @@ func (m *SubjectRightsRequestsItemGetFinalReportRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/subject_rights_requests_item_notes_authored_note_item_request_builder.go b/security/subject_rights_requests_item_notes_authored_note_item_request_builder.go index 8a1b7578367..2de9cd921a9 100644 --- a/security/subject_rights_requests_item_notes_authored_note_item_request_builder.go +++ b/security/subject_rights_requests_item_notes_authored_note_item_request_builder.go @@ -118,7 +118,7 @@ func (m *SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of notes associated with the request. @@ -134,7 +134,7 @@ func (m *SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property notes in security @@ -147,7 +147,7 @@ func (m *SubjectRightsRequestsItemNotesAuthoredNoteItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/subject_rights_requests_item_notes_request_builder.go b/security/subject_rights_requests_item_notes_request_builder.go index 4696f7c2da6..ebafa79e2a3 100644 --- a/security/subject_rights_requests_item_notes_request_builder.go +++ b/security/subject_rights_requests_item_notes_request_builder.go @@ -131,7 +131,7 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new authoredNote object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *SubjectRightsRequestsItemNotesRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/subject_rights_requests_item_team_request_builder.go b/security/subject_rights_requests_item_team_request_builder.go index b16d0cd01a0..d895da0975e 100644 --- a/security/subject_rights_requests_item_team_request_builder.go +++ b/security/subject_rights_requests_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *SubjectRightsRequestsItemTeamRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/subject_rights_requests_request_builder.go b/security/subject_rights_requests_request_builder.go index 79a7fd5c811..2d1268756ee 100644 --- a/security/subject_rights_requests_request_builder.go +++ b/security/subject_rights_requests_request_builder.go @@ -125,7 +125,7 @@ func (m *SubjectRightsRequestsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to subjectRightsRequests for security @@ -138,7 +138,7 @@ func (m *SubjectRightsRequestsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/subject_rights_requests_subject_rights_request_item_request_builder.go b/security/subject_rights_requests_subject_rights_request_item_request_builder.go index de0e42a3751..d5420274543 100644 --- a/security/subject_rights_requests_subject_rights_request_item_request_builder.go +++ b/security/subject_rights_requests_subject_rights_request_item_request_builder.go @@ -142,7 +142,7 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get subjectRightsRequests from security @@ -158,7 +158,7 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subjectRightsRequests in security @@ -171,7 +171,7 @@ func (m *SubjectRightsRequestsSubjectRightsRequestItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go b/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go index 20981893ae8..1b119a97e8c 100644 --- a/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go +++ b/security/threat_intelligence_article_indicators_article_indicator_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property articleIndicators in security @@ -154,7 +154,7 @@ func (m *ThreatIntelligenceArticleIndicatorsArticleIndicatorItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_article_indicators_item_artifact_request_builder.go b/security/threat_intelligence_article_indicators_item_artifact_request_builder.go index ed5ad3f77dd..f5bfbf3793f 100644 --- a/security/threat_intelligence_article_indicators_item_artifact_request_builder.go +++ b/security/threat_intelligence_article_indicators_item_artifact_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceArticleIndicatorsItemArtifactRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_article_indicators_request_builder.go b/security/threat_intelligence_article_indicators_request_builder.go index 9a341357bcd..9442e506251 100644 --- a/security/threat_intelligence_article_indicators_request_builder.go +++ b/security/threat_intelligence_article_indicators_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceArticleIndicatorsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to articleIndicators for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceArticleIndicatorsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_articles_article_item_request_builder.go b/security/threat_intelligence_articles_article_item_request_builder.go index 88707c42f4d..5f5c4f5a6e5 100644 --- a/security/threat_intelligence_articles_article_item_request_builder.go +++ b/security/threat_intelligence_articles_article_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceArticlesArticleItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an article object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceArticlesArticleItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property articles in security @@ -154,7 +154,7 @@ func (m *ThreatIntelligenceArticlesArticleItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_articles_item_indicators_article_indicator_item_request_builder.go b/security/threat_intelligence_articles_item_indicators_article_indicator_item_request_builder.go index d69584436dc..654efcde15b 100644 --- a/security/threat_intelligence_articles_item_indicators_article_indicator_item_request_builder.go +++ b/security/threat_intelligence_articles_item_indicators_article_indicator_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceArticlesItemIndicatorsArticleIndicatorItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_articles_item_indicators_request_builder.go b/security/threat_intelligence_articles_item_indicators_request_builder.go index 037b5f4450f..ea4e45b4816 100644 --- a/security/threat_intelligence_articles_item_indicators_request_builder.go +++ b/security/threat_intelligence_articles_item_indicators_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceArticlesItemIndicatorsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_articles_request_builder.go b/security/threat_intelligence_articles_request_builder.go index d0d8573a962..e2ebe71f7fa 100644 --- a/security/threat_intelligence_articles_request_builder.go +++ b/security/threat_intelligence_articles_request_builder.go @@ -128,7 +128,7 @@ func (m *ThreatIntelligenceArticlesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to articles for security @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceArticlesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_components_host_component_item_request_builder.go b/security/threat_intelligence_host_components_host_component_item_request_builder.go index f2967e56d90..92827a07f53 100644 --- a/security/threat_intelligence_host_components_host_component_item_request_builder.go +++ b/security/threat_intelligence_host_components_host_component_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostComponents in security @@ -154,7 +154,7 @@ func (m *ThreatIntelligenceHostComponentsHostComponentItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_components_item_host_request_builder.go b/security/threat_intelligence_host_components_item_host_request_builder.go index d5a7f5ac97f..1cd3ce4c720 100644 --- a/security/threat_intelligence_host_components_item_host_request_builder.go +++ b/security/threat_intelligence_host_components_item_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostComponentsItemHostRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_host_components_request_builder.go b/security/threat_intelligence_host_components_request_builder.go index 0aba2228847..6cb9e1d82cc 100644 --- a/security/threat_intelligence_host_components_request_builder.go +++ b/security/threat_intelligence_host_components_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceHostComponentsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostComponents for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceHostComponentsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go b/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go index c5620c504ee..70e73c11533 100644 --- a/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go +++ b/security/threat_intelligence_host_cookies_host_cookie_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostCookies in security @@ -154,7 +154,7 @@ func (m *ThreatIntelligenceHostCookiesHostCookieItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_cookies_item_host_request_builder.go b/security/threat_intelligence_host_cookies_item_host_request_builder.go index a675023ed99..836592150f5 100644 --- a/security/threat_intelligence_host_cookies_item_host_request_builder.go +++ b/security/threat_intelligence_host_cookies_item_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostCookiesItemHostRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_host_cookies_request_builder.go b/security/threat_intelligence_host_cookies_request_builder.go index ca0b4dc27da..b631a308b9d 100644 --- a/security/threat_intelligence_host_cookies_request_builder.go +++ b/security/threat_intelligence_host_cookies_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceHostCookiesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostCookies for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceHostCookiesRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go b/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go index 5edaf7e3c6e..93f1626bad7 100644 --- a/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go +++ b/security/threat_intelligence_host_pairs_host_pair_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ThreatIntelligenceHostPairsHostPairItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ThreatIntelligenceHostPairsHostPairItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostPairs in security @@ -158,7 +158,7 @@ func (m *ThreatIntelligenceHostPairsHostPairItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_pairs_item_child_host_request_builder.go b/security/threat_intelligence_host_pairs_item_child_host_request_builder.go index fb333172eaf..ba277fe70a6 100644 --- a/security/threat_intelligence_host_pairs_item_child_host_request_builder.go +++ b/security/threat_intelligence_host_pairs_item_child_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostPairsItemChildHostRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_host_pairs_item_parent_host_request_builder.go b/security/threat_intelligence_host_pairs_item_parent_host_request_builder.go index 242e1a80bde..474869d7f51 100644 --- a/security/threat_intelligence_host_pairs_item_parent_host_request_builder.go +++ b/security/threat_intelligence_host_pairs_item_parent_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostPairsItemParentHostRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_host_pairs_request_builder.go b/security/threat_intelligence_host_pairs_request_builder.go index 57872d0b74e..9c01b0ef2f2 100644 --- a/security/threat_intelligence_host_pairs_request_builder.go +++ b/security/threat_intelligence_host_pairs_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceHostPairsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostPairs for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceHostPairsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_ports_host_port_item_request_builder.go b/security/threat_intelligence_host_ports_host_port_item_request_builder.go index b27e8c36773..b0ab7796db5 100644 --- a/security/threat_intelligence_host_ports_host_port_item_request_builder.go +++ b/security/threat_intelligence_host_ports_host_port_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a hostPort object. @@ -145,7 +145,7 @@ func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostPorts in security @@ -158,7 +158,7 @@ func (m *ThreatIntelligenceHostPortsHostPortItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_ports_item_host_request_builder.go b/security/threat_intelligence_host_ports_item_host_request_builder.go index 8fcc77ecca6..16134fe3c7a 100644 --- a/security/threat_intelligence_host_ports_item_host_request_builder.go +++ b/security/threat_intelligence_host_ports_item_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostPortsItemHostRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_host_ports_item_most_recent_ssl_certificate_request_builder.go b/security/threat_intelligence_host_ports_item_most_recent_ssl_certificate_request_builder.go index aac399f1952..b563efc0f9b 100644 --- a/security/threat_intelligence_host_ports_item_most_recent_ssl_certificate_request_builder.go +++ b/security/threat_intelligence_host_ports_item_most_recent_ssl_certificate_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostPortsItemMostRecentSslCertificateRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_host_ports_request_builder.go b/security/threat_intelligence_host_ports_request_builder.go index d5f0c085295..d4c882a03f3 100644 --- a/security/threat_intelligence_host_ports_request_builder.go +++ b/security/threat_intelligence_host_ports_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceHostPortsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostPorts for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceHostPortsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go b/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go index 974778577b0..037f448002e 100644 --- a/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_host_ssl_certificate_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostSslCertificates in security @@ -158,7 +158,7 @@ func (m *ThreatIntelligenceHostSslCertificatesHostSslCertificateItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_ssl_certificates_item_host_request_builder.go b/security/threat_intelligence_host_ssl_certificates_item_host_request_builder.go index aba34964868..3956ff78da5 100644 --- a/security/threat_intelligence_host_ssl_certificates_item_host_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_item_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostSslCertificatesItemHostRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_host_ssl_certificates_item_ssl_certificate_request_builder.go b/security/threat_intelligence_host_ssl_certificates_item_ssl_certificate_request_builder.go index 264eba6ab44..5b517013ecd 100644 --- a/security/threat_intelligence_host_ssl_certificates_item_ssl_certificate_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_item_ssl_certificate_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostSslCertificatesItemSslCertificateRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_host_ssl_certificates_request_builder.go b/security/threat_intelligence_host_ssl_certificates_request_builder.go index 5ec82cf9a42..e2685e19322 100644 --- a/security/threat_intelligence_host_ssl_certificates_request_builder.go +++ b/security/threat_intelligence_host_ssl_certificates_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostSslCertificates for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceHostSslCertificatesRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go b/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go index d1e9cb22d54..b131a41f5d6 100644 --- a/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go +++ b/security/threat_intelligence_host_trackers_host_tracker_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostTrackers in security @@ -154,7 +154,7 @@ func (m *ThreatIntelligenceHostTrackersHostTrackerItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_host_trackers_item_host_request_builder.go b/security/threat_intelligence_host_trackers_item_host_request_builder.go index 99d58e565e1..8b667ff4f44 100644 --- a/security/threat_intelligence_host_trackers_item_host_request_builder.go +++ b/security/threat_intelligence_host_trackers_item_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostTrackersItemHostRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_host_trackers_request_builder.go b/security/threat_intelligence_host_trackers_request_builder.go index b472295dd74..252a779e15c 100644 --- a/security/threat_intelligence_host_trackers_request_builder.go +++ b/security/threat_intelligence_host_trackers_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceHostTrackersRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostTrackers for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceHostTrackersRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_hosts_host_item_request_builder.go b/security/threat_intelligence_hosts_host_item_request_builder.go index 03267d3bb71..3a65856fd68 100644 --- a/security/threat_intelligence_hosts_host_item_request_builder.go +++ b/security/threat_intelligence_hosts_host_item_request_builder.go @@ -165,7 +165,7 @@ func (m *ThreatIntelligenceHostsHostItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -181,7 +181,7 @@ func (m *ThreatIntelligenceHostsHostItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hosts in security @@ -194,7 +194,7 @@ func (m *ThreatIntelligenceHostsHostItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_hosts_item_child_host_pairs_host_pair_item_request_builder.go b/security/threat_intelligence_hosts_item_child_host_pairs_host_pair_item_request_builder.go index 1d6ce5dde0b..c60d5f14ad6 100644 --- a/security/threat_intelligence_hosts_item_child_host_pairs_host_pair_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_child_host_pairs_host_pair_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemChildHostPairsHostPairItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go b/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go index feb20769bcc..11fb8f96b67 100644 --- a/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go +++ b/security/threat_intelligence_hosts_item_child_host_pairs_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemChildHostPairsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_components_host_component_item_request_builder.go b/security/threat_intelligence_hosts_item_components_host_component_item_request_builder.go index db2950bea69..8dc9c7d73a8 100644 --- a/security/threat_intelligence_hosts_item_components_host_component_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_components_host_component_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemComponentsHostComponentItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_components_request_builder.go b/security/threat_intelligence_hosts_item_components_request_builder.go index 884cbdb7125..7a823ac38ec 100644 --- a/security/threat_intelligence_hosts_item_components_request_builder.go +++ b/security/threat_intelligence_hosts_item_components_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemComponentsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_cookies_host_cookie_item_request_builder.go b/security/threat_intelligence_hosts_item_cookies_host_cookie_item_request_builder.go index 0e4095ee773..f6d6abf4742 100644 --- a/security/threat_intelligence_hosts_item_cookies_host_cookie_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_cookies_host_cookie_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemCookiesHostCookieItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_cookies_request_builder.go b/security/threat_intelligence_hosts_item_cookies_request_builder.go index fb1bb88cdab..c1ad250ed9d 100644 --- a/security/threat_intelligence_hosts_item_cookies_request_builder.go +++ b/security/threat_intelligence_hosts_item_cookies_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemCookiesRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_host_pairs_host_pair_item_request_builder.go b/security/threat_intelligence_hosts_item_host_pairs_host_pair_item_request_builder.go index d96c6274d16..fb5444e9f50 100644 --- a/security/threat_intelligence_hosts_item_host_pairs_host_pair_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_host_pairs_host_pair_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemHostPairsHostPairItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_host_pairs_request_builder.go b/security/threat_intelligence_hosts_item_host_pairs_request_builder.go index bc961278bb1..d686038668c 100644 --- a/security/threat_intelligence_hosts_item_host_pairs_request_builder.go +++ b/security/threat_intelligence_hosts_item_host_pairs_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemHostPairsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_parent_host_pairs_host_pair_item_request_builder.go b/security/threat_intelligence_hosts_item_parent_host_pairs_host_pair_item_request_builder.go index c8054e2acce..6cc53d8b1c3 100644 --- a/security/threat_intelligence_hosts_item_parent_host_pairs_host_pair_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_parent_host_pairs_host_pair_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemParentHostPairsHostPairItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go b/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go index 5bbd5a73e4b..c982dfabc8f 100644 --- a/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go +++ b/security/threat_intelligence_hosts_item_parent_host_pairs_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemParentHostPairsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_passive_dns_passive_dns_record_item_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_passive_dns_record_item_request_builder.go index b766eba3e7f..2f7a454542f 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_passive_dns_record_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_passive_dns_record_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsPassiveDnsRecordItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_passive_dns_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_request_builder.go index cd64ed3ca64..2619d983533 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_passive_dns_reverse_passive_dns_record_item_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_reverse_passive_dns_record_item_request_builder.go index f1ea59d4ef3..ec88dd97106 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_reverse_passive_dns_record_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_reverse_passive_dns_record_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsReversePassiveDnsRecordItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go b/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go index c73b1049e8e..8487d1e5fa4 100644 --- a/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go +++ b/security/threat_intelligence_hosts_item_passive_dns_reverse_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemPassiveDnsReverseRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_ports_host_port_item_request_builder.go b/security/threat_intelligence_hosts_item_ports_host_port_item_request_builder.go index bff3d7aa694..48ccbb4bb66 100644 --- a/security/threat_intelligence_hosts_item_ports_host_port_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_ports_host_port_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemPortsHostPortItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_ports_request_builder.go b/security/threat_intelligence_hosts_item_ports_request_builder.go index 112824a1107..7845dc75d0b 100644 --- a/security/threat_intelligence_hosts_item_ports_request_builder.go +++ b/security/threat_intelligence_hosts_item_ports_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemPortsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_reputation_request_builder.go b/security/threat_intelligence_hosts_item_reputation_request_builder.go index 433ed10f616..dd56658410e 100644 --- a/security/threat_intelligence_hosts_item_reputation_request_builder.go +++ b/security/threat_intelligence_hosts_item_reputation_request_builder.go @@ -121,7 +121,7 @@ func (m *ThreatIntelligenceHostsItemReputationRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a hostReputation object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ThreatIntelligenceHostsItemReputationRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property reputation in security @@ -150,7 +150,7 @@ func (m *ThreatIntelligenceHostsItemReputationRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_hosts_item_ssl_certificates_host_ssl_certificate_item_request_builder.go b/security/threat_intelligence_hosts_item_ssl_certificates_host_ssl_certificate_item_request_builder.go index 2651ec2526b..665c76bca37 100644 --- a/security/threat_intelligence_hosts_item_ssl_certificates_host_ssl_certificate_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_ssl_certificates_host_ssl_certificate_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemSslCertificatesHostSslCertificateItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go b/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go index bf16f36e257..45bfd4f98d2 100644 --- a/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go +++ b/security/threat_intelligence_hosts_item_ssl_certificates_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemSslCertificatesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_subdomains_request_builder.go b/security/threat_intelligence_hosts_item_subdomains_request_builder.go index 71ff0eb0932..e0fc11e8854 100644 --- a/security/threat_intelligence_hosts_item_subdomains_request_builder.go +++ b/security/threat_intelligence_hosts_item_subdomains_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemSubdomainsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_subdomains_subdomain_item_request_builder.go b/security/threat_intelligence_hosts_item_subdomains_subdomain_item_request_builder.go index 8174497ff44..b3745d9fd95 100644 --- a/security/threat_intelligence_hosts_item_subdomains_subdomain_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_subdomains_subdomain_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemSubdomainsSubdomainItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_trackers_host_tracker_item_request_builder.go b/security/threat_intelligence_hosts_item_trackers_host_tracker_item_request_builder.go index a2f2f2f34c5..3292f707ab1 100644 --- a/security/threat_intelligence_hosts_item_trackers_host_tracker_item_request_builder.go +++ b/security/threat_intelligence_hosts_item_trackers_host_tracker_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceHostsItemTrackersHostTrackerItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_trackers_request_builder.go b/security/threat_intelligence_hosts_item_trackers_request_builder.go index e859876fdfb..64cb3d8184e 100644 --- a/security/threat_intelligence_hosts_item_trackers_request_builder.go +++ b/security/threat_intelligence_hosts_item_trackers_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceHostsItemTrackersRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_item_whois_request_builder.go b/security/threat_intelligence_hosts_item_whois_request_builder.go index 3831a624978..6bfbdaff1b8 100644 --- a/security/threat_intelligence_hosts_item_whois_request_builder.go +++ b/security/threat_intelligence_hosts_item_whois_request_builder.go @@ -75,7 +75,7 @@ func (m *ThreatIntelligenceHostsItemWhoisRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_hosts_request_builder.go b/security/threat_intelligence_hosts_request_builder.go index ce8e5a21787..cb2ca0abd3a 100644 --- a/security/threat_intelligence_hosts_request_builder.go +++ b/security/threat_intelligence_hosts_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceHostsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hosts for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceHostsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go b/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go index 0dfbe728f9e..9c469764eff 100644 --- a/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go +++ b/security/threat_intelligence_intel_profiles_intelligence_profile_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a intelligenceProfile object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property intelProfiles in security @@ -154,7 +154,7 @@ func (m *ThreatIntelligenceIntelProfilesIntelligenceProfileItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_intel_profiles_item_indicators_intelligence_profile_indicator_item_request_builder.go b/security/threat_intelligence_intel_profiles_item_indicators_intelligence_profile_indicator_item_request_builder.go index 723a3494138..2ffd093ee15 100644 --- a/security/threat_intelligence_intel_profiles_item_indicators_intelligence_profile_indicator_item_request_builder.go +++ b/security/threat_intelligence_intel_profiles_item_indicators_intelligence_profile_indicator_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceIntelProfilesItemIndicatorsIntelligenceProfileIndicat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go b/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go index 95b56b78d8d..28a213cebc9 100644 --- a/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go +++ b/security/threat_intelligence_intel_profiles_item_indicators_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceIntelProfilesItemIndicatorsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_intel_profiles_request_builder.go b/security/threat_intelligence_intel_profiles_request_builder.go index 9965ef220f6..32a9bb70cd9 100644 --- a/security/threat_intelligence_intel_profiles_request_builder.go +++ b/security/threat_intelligence_intel_profiles_request_builder.go @@ -128,7 +128,7 @@ func (m *ThreatIntelligenceIntelProfilesRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to intelProfiles for security @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceIntelProfilesRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go b/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go index d9ea907b7c3..e95f7f049f1 100644 --- a/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go +++ b/security/threat_intelligence_intelligence_profile_indicators_intelligence_profile_indicator_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property intelligenceProfileIndicators in security @@ -154,7 +154,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsIntelligenceProfileIndic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_intelligence_profile_indicators_item_artifact_request_builder.go b/security/threat_intelligence_intelligence_profile_indicators_item_artifact_request_builder.go index a412af4fde3..3b344d3bb16 100644 --- a/security/threat_intelligence_intelligence_profile_indicators_item_artifact_request_builder.go +++ b/security/threat_intelligence_intelligence_profile_indicators_item_artifact_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsItemArtifactRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_intelligence_profile_indicators_request_builder.go b/security/threat_intelligence_intelligence_profile_indicators_request_builder.go index debf6037b2a..d9d0ef73ca8 100644 --- a/security/threat_intelligence_intelligence_profile_indicators_request_builder.go +++ b/security/threat_intelligence_intelligence_profile_indicators_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to intelligenceProfileIndicators for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceIntelligenceProfileIndicatorsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_passive_dns_records_item_artifact_request_builder.go b/security/threat_intelligence_passive_dns_records_item_artifact_request_builder.go index f473b875bf3..e9d61560fa2 100644 --- a/security/threat_intelligence_passive_dns_records_item_artifact_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_item_artifact_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsItemArtifactRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_passive_dns_records_item_parent_host_request_builder.go b/security/threat_intelligence_passive_dns_records_item_parent_host_request_builder.go index 20ab368ffa9..d3bcc4d85eb 100644 --- a/security/threat_intelligence_passive_dns_records_item_parent_host_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_item_parent_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsItemParentHostRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go b/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go index 58051945033..e795edbedb9 100644 --- a/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_passive_dns_record_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property passiveDnsRecords in security @@ -158,7 +158,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsPassiveDnsRecordItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_passive_dns_records_request_builder.go b/security/threat_intelligence_passive_dns_records_request_builder.go index 1e41d798595..7cfdfbc47e8 100644 --- a/security/threat_intelligence_passive_dns_records_request_builder.go +++ b/security/threat_intelligence_passive_dns_records_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to passiveDnsRecords for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligencePassiveDnsRecordsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_request_builder.go b/security/threat_intelligence_request_builder.go index d8cf4c9ac8b..fec759f2ca7 100644 --- a/security/threat_intelligence_request_builder.go +++ b/security/threat_intelligence_request_builder.go @@ -174,7 +174,7 @@ func (m *ThreatIntelligenceRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get threatIntelligence from security @@ -190,7 +190,7 @@ func (m *ThreatIntelligenceRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property threatIntelligence in security @@ -203,7 +203,7 @@ func (m *ThreatIntelligenceRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_ssl_certificates_item_related_hosts_host_item_request_builder.go b/security/threat_intelligence_ssl_certificates_item_related_hosts_host_item_request_builder.go index 8fd0533e7e5..39fd9944ca8 100644 --- a/security/threat_intelligence_ssl_certificates_item_related_hosts_host_item_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_item_related_hosts_host_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsHostItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_ssl_certificates_item_related_hosts_request_builder.go b/security/threat_intelligence_ssl_certificates_item_related_hosts_request_builder.go index ee72c4df19b..ec1cfd0f1c2 100644 --- a/security/threat_intelligence_ssl_certificates_item_related_hosts_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_item_related_hosts_request_builder.go @@ -99,7 +99,7 @@ func (m *ThreatIntelligenceSslCertificatesItemRelatedHostsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_ssl_certificates_request_builder.go b/security/threat_intelligence_ssl_certificates_request_builder.go index bb469d8f67d..22d96a79ca1 100644 --- a/security/threat_intelligence_ssl_certificates_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_request_builder.go @@ -128,7 +128,7 @@ func (m *ThreatIntelligenceSslCertificatesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sslCertificates for security @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceSslCertificatesRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go b/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go index e134210cc74..7a18d7b8f24 100644 --- a/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go +++ b/security/threat_intelligence_ssl_certificates_ssl_certificate_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of an sslCertificate object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sslCertificates in security @@ -154,7 +154,7 @@ func (m *ThreatIntelligenceSslCertificatesSslCertificateItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_subdomains_item_host_request_builder.go b/security/threat_intelligence_subdomains_item_host_request_builder.go index 1d80aac8707..4a9b4da6264 100644 --- a/security/threat_intelligence_subdomains_item_host_request_builder.go +++ b/security/threat_intelligence_subdomains_item_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceSubdomainsItemHostRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_subdomains_request_builder.go b/security/threat_intelligence_subdomains_request_builder.go index c3fed4ecd8f..4826ac99ecd 100644 --- a/security/threat_intelligence_subdomains_request_builder.go +++ b/security/threat_intelligence_subdomains_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceSubdomainsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to subdomains for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceSubdomainsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_subdomains_subdomain_item_request_builder.go b/security/threat_intelligence_subdomains_subdomain_item_request_builder.go index 48ff39bd63b..670a8a7d83b 100644 --- a/security/threat_intelligence_subdomains_subdomain_item_request_builder.go +++ b/security/threat_intelligence_subdomains_subdomain_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subdomains in security @@ -154,7 +154,7 @@ func (m *ThreatIntelligenceSubdomainsSubdomainItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_vulnerabilities_item_articles_article_item_request_builder.go b/security/threat_intelligence_vulnerabilities_item_articles_article_item_request_builder.go index ca05140dc35..c0a6f93060a 100644 --- a/security/threat_intelligence_vulnerabilities_item_articles_article_item_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_articles_article_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemArticlesArticleItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_vulnerabilities_item_articles_request_builder.go b/security/threat_intelligence_vulnerabilities_item_articles_request_builder.go index 21f9c94d1fc..22b4517f784 100644 --- a/security/threat_intelligence_vulnerabilities_item_articles_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_articles_request_builder.go @@ -99,7 +99,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemArticlesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_vulnerabilities_item_components_request_builder.go b/security/threat_intelligence_vulnerabilities_item_components_request_builder.go index 01cf2ec7916..0fe3e81328d 100644 --- a/security/threat_intelligence_vulnerabilities_item_components_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_components_request_builder.go @@ -128,7 +128,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to components for security @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go b/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go index ac2395da11f..4ab3ee8e9e5 100644 --- a/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_item_components_vulnerability_component_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a vulnerabilityComponent object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property components in security @@ -150,7 +150,7 @@ func (m *ThreatIntelligenceVulnerabilitiesItemComponentsVulnerabilityComponentIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_vulnerabilities_request_builder.go b/security/threat_intelligence_vulnerabilities_request_builder.go index 00c18f7d559..9dd0558224e 100644 --- a/security/threat_intelligence_vulnerabilities_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceVulnerabilitiesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to vulnerabilities for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceVulnerabilitiesRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go b/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go index 59b7fe0b397..a289e3e45f1 100644 --- a/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go +++ b/security/threat_intelligence_vulnerabilities_vulnerability_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property vulnerabilities in security @@ -158,7 +158,7 @@ func (m *ThreatIntelligenceVulnerabilitiesVulnerabilityItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_whois_history_records_item_host_request_builder.go b/security/threat_intelligence_whois_history_records_item_host_request_builder.go index 6caa7570fd9..7beb11fed10 100644 --- a/security/threat_intelligence_whois_history_records_item_host_request_builder.go +++ b/security/threat_intelligence_whois_history_records_item_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsItemHostRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_whois_history_records_request_builder.go b/security/threat_intelligence_whois_history_records_request_builder.go index 4184689d056..479f71f7670 100644 --- a/security/threat_intelligence_whois_history_records_request_builder.go +++ b/security/threat_intelligence_whois_history_records_request_builder.go @@ -125,7 +125,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to whoisHistoryRecords for security @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_whois_history_records_whois_history_record_item_request_builder.go b/security/threat_intelligence_whois_history_records_whois_history_record_item_request_builder.go index 12320548c81..8a5e2240a7a 100644 --- a/security/threat_intelligence_whois_history_records_whois_history_record_item_request_builder.go +++ b/security/threat_intelligence_whois_history_records_whois_history_record_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve details about whoisHistoryRecord objects.Note: List retrieval is not yet supported. @@ -138,7 +138,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property whoisHistoryRecords in security @@ -151,7 +151,7 @@ func (m *ThreatIntelligenceWhoisHistoryRecordsWhoisHistoryRecordItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_whois_records_item_history_request_builder.go b/security/threat_intelligence_whois_records_item_history_request_builder.go index 8b070bfc368..201edafb58f 100644 --- a/security/threat_intelligence_whois_records_item_history_request_builder.go +++ b/security/threat_intelligence_whois_records_item_history_request_builder.go @@ -102,7 +102,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHistoryRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_whois_records_item_history_whois_history_record_item_request_builder.go b/security/threat_intelligence_whois_records_item_history_whois_history_record_item_request_builder.go index 485ee4b611a..7e9ba5e6960 100644 --- a/security/threat_intelligence_whois_records_item_history_whois_history_record_item_request_builder.go +++ b/security/threat_intelligence_whois_records_item_history_whois_history_record_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHistoryWhoisHistoryRecordItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_whois_records_item_host_request_builder.go b/security/threat_intelligence_whois_records_item_host_request_builder.go index 8ef75241963..dfca85207d2 100644 --- a/security/threat_intelligence_whois_records_item_host_request_builder.go +++ b/security/threat_intelligence_whois_records_item_host_request_builder.go @@ -72,7 +72,7 @@ func (m *ThreatIntelligenceWhoisRecordsItemHostRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/threat_intelligence_whois_records_request_builder.go b/security/threat_intelligence_whois_records_request_builder.go index 5928424df4e..3acf0bfa77c 100644 --- a/security/threat_intelligence_whois_records_request_builder.go +++ b/security/threat_intelligence_whois_records_request_builder.go @@ -128,7 +128,7 @@ func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to whoisRecords for security @@ -141,7 +141,7 @@ func (m *ThreatIntelligenceWhoisRecordsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_intelligence_whois_records_whois_record_item_request_builder.go b/security/threat_intelligence_whois_records_whois_record_item_request_builder.go index 3bbba33f41a..148bc688b17 100644 --- a/security/threat_intelligence_whois_records_whois_record_item_request_builder.go +++ b/security/threat_intelligence_whois_records_whois_record_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -145,7 +145,7 @@ func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property whoisRecords in security @@ -158,7 +158,7 @@ func (m *ThreatIntelligenceWhoisRecordsWhoisRecordItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go b/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go index 927f1159ba0..cbce006fb53 100644 --- a/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go +++ b/security/threat_submission_email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an emailThreatSubmissionPolicy object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property emailThreatSubmissionPolicies in security @@ -150,7 +150,7 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesEmailThreatSubmissionPolic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_submission_email_threat_submission_policies_request_builder.go b/security/threat_submission_email_threat_submission_policies_request_builder.go index 0d1c928f90c..c29778954ed 100644 --- a/security/threat_submission_email_threat_submission_policies_request_builder.go +++ b/security/threat_submission_email_threat_submission_policies_request_builder.go @@ -128,7 +128,7 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to emailThreatSubmissionPolicies for security @@ -141,7 +141,7 @@ func (m *ThreatSubmissionEmailThreatSubmissionPoliciesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go b/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go index 78b27026ccd..ec28af1409d 100644 --- a/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go +++ b/security/threat_submission_email_threats_email_threat_submission_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an emailThreatSubmission object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property emailThreats in security @@ -150,7 +150,7 @@ func (m *ThreatSubmissionEmailThreatsEmailThreatSubmissionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_submission_email_threats_request_builder.go b/security/threat_submission_email_threats_request_builder.go index fd574a58b79..ebeb993a6e5 100644 --- a/security/threat_submission_email_threats_request_builder.go +++ b/security/threat_submission_email_threats_request_builder.go @@ -131,7 +131,7 @@ func (m *ThreatSubmissionEmailThreatsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new emailThreatSubmission object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ThreatSubmissionEmailThreatsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go b/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go index eec8f55d883..a06f851d7ba 100644 --- a/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go +++ b/security/threat_submission_file_threats_file_threat_submission_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a fileThreatSubmission object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fileThreats in security @@ -150,7 +150,7 @@ func (m *ThreatSubmissionFileThreatsFileThreatSubmissionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_submission_file_threats_request_builder.go b/security/threat_submission_file_threats_request_builder.go index 093596d1c20..b0f77543d04 100644 --- a/security/threat_submission_file_threats_request_builder.go +++ b/security/threat_submission_file_threats_request_builder.go @@ -128,7 +128,7 @@ func (m *ThreatSubmissionFileThreatsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to fileThreats for security @@ -141,7 +141,7 @@ func (m *ThreatSubmissionFileThreatsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_submission_request_builder.go b/security/threat_submission_request_builder.go index 1027d83903b..10a9de1483a 100644 --- a/security/threat_submission_request_builder.go +++ b/security/threat_submission_request_builder.go @@ -130,7 +130,7 @@ func (m *ThreatSubmissionRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a threat submission sent to Microsoft; for example, a suspicious email threat, URL threat, or file threat. @@ -146,7 +146,7 @@ func (m *ThreatSubmissionRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property threatSubmission in security @@ -159,7 +159,7 @@ func (m *ThreatSubmissionRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_submission_url_threats_request_builder.go b/security/threat_submission_url_threats_request_builder.go index d01bea551cd..a8a611d1e99 100644 --- a/security/threat_submission_url_threats_request_builder.go +++ b/security/threat_submission_url_threats_request_builder.go @@ -131,7 +131,7 @@ func (m *ThreatSubmissionUrlThreatsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new urlThreatSubmission object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ThreatSubmissionUrlThreatsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go b/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go index bac89d50fa1..b496e4eac76 100644 --- a/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go +++ b/security/threat_submission_url_threats_url_threat_submission_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an urlThreatSubmission object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property urlThreats in security @@ -150,7 +150,7 @@ func (m *ThreatSubmissionUrlThreatsUrlThreatSubmissionItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go b/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go index 40770771af1..e0b6ab55132 100644 --- a/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go +++ b/security/ti_indicators_delete_ti_indicators_by_external_id_request_builder.go @@ -85,7 +85,7 @@ func (m *TiIndicatorsDeleteTiIndicatorsByExternalIdRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/ti_indicators_delete_ti_indicators_request_builder.go b/security/ti_indicators_delete_ti_indicators_request_builder.go index 9a127063af7..0b1c77bed36 100644 --- a/security/ti_indicators_delete_ti_indicators_request_builder.go +++ b/security/ti_indicators_delete_ti_indicators_request_builder.go @@ -85,7 +85,7 @@ func (m *TiIndicatorsDeleteTiIndicatorsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/ti_indicators_request_builder.go b/security/ti_indicators_request_builder.go index 7962d266b0e..490ff26d72a 100644 --- a/security/ti_indicators_request_builder.go +++ b/security/ti_indicators_request_builder.go @@ -143,7 +143,7 @@ func (m *TiIndicatorsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new tiIndicator object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *TiIndicatorsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/ti_indicators_submit_ti_indicators_request_builder.go b/security/ti_indicators_submit_ti_indicators_request_builder.go index f4ade28e543..77d21e87d32 100644 --- a/security/ti_indicators_submit_ti_indicators_request_builder.go +++ b/security/ti_indicators_submit_ti_indicators_request_builder.go @@ -85,7 +85,7 @@ func (m *TiIndicatorsSubmitTiIndicatorsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/ti_indicators_ti_indicator_item_request_builder.go b/security/ti_indicators_ti_indicator_item_request_builder.go index 10813301c04..cb0e6d4e5b8 100644 --- a/security/ti_indicators_ti_indicator_item_request_builder.go +++ b/security/ti_indicators_ti_indicator_item_request_builder.go @@ -127,7 +127,7 @@ func (m *TiIndicatorsTiIndicatorItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a tiIndicator object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *TiIndicatorsTiIndicatorItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a tiIndicator object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *TiIndicatorsTiIndicatorItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/ti_indicators_update_ti_indicators_request_builder.go b/security/ti_indicators_update_ti_indicators_request_builder.go index 74363d1ae6d..b5911819fc5 100644 --- a/security/ti_indicators_update_ti_indicators_request_builder.go +++ b/security/ti_indicators_update_ti_indicators_request_builder.go @@ -85,7 +85,7 @@ func (m *TiIndicatorsUpdateTiIndicatorsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/trigger_types_request_builder.go b/security/trigger_types_request_builder.go index fdd8d390032..5efaf1e9f0e 100644 --- a/security/trigger_types_request_builder.go +++ b/security/trigger_types_request_builder.go @@ -122,7 +122,7 @@ func (m *TriggerTypesRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get triggerTypes from security @@ -138,7 +138,7 @@ func (m *TriggerTypesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property triggerTypes in security @@ -151,7 +151,7 @@ func (m *TriggerTypesRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/trigger_types_retention_event_types_request_builder.go b/security/trigger_types_retention_event_types_request_builder.go index d458b1762cd..60f8d820ed8 100644 --- a/security/trigger_types_retention_event_types_request_builder.go +++ b/security/trigger_types_retention_event_types_request_builder.go @@ -131,7 +131,7 @@ func (m *TriggerTypesRetentionEventTypesRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new retentionEventType object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TriggerTypesRetentionEventTypesRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go b/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go index ce3eb06ea12..49e7797c0ca 100644 --- a/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go +++ b/security/trigger_types_retention_event_types_retention_event_type_item_request_builder.go @@ -124,7 +124,7 @@ func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a retentionEventType object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property retentionEventTypes in security @@ -153,7 +153,7 @@ func (m *TriggerTypesRetentionEventTypesRetentionEventTypeItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/triggers_request_builder.go b/security/triggers_request_builder.go index bdcb4527411..a962093aea4 100644 --- a/security/triggers_request_builder.go +++ b/security/triggers_request_builder.go @@ -122,7 +122,7 @@ func (m *TriggersRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get triggers from security @@ -138,7 +138,7 @@ func (m *TriggersRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property triggers in security @@ -151,7 +151,7 @@ func (m *TriggersRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/triggers_retention_events_item_retention_event_type_request_builder.go b/security/triggers_retention_events_item_retention_event_type_request_builder.go index 0f0fb5a0530..81e6cd0746b 100644 --- a/security/triggers_retention_events_item_retention_event_type_request_builder.go +++ b/security/triggers_retention_events_item_retention_event_type_request_builder.go @@ -72,7 +72,7 @@ func (m *TriggersRetentionEventsItemRetentionEventTypeRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/security/triggers_retention_events_request_builder.go b/security/triggers_retention_events_request_builder.go index 928bbd7ddb3..d0089b2ff4e 100644 --- a/security/triggers_retention_events_request_builder.go +++ b/security/triggers_retention_events_request_builder.go @@ -131,7 +131,7 @@ func (m *TriggersRetentionEventsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new retentionEvent object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TriggersRetentionEventsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/triggers_retention_events_retention_event_item_request_builder.go b/security/triggers_retention_events_retention_event_item_request_builder.go index 530d64441d0..b16655e1199 100644 --- a/security/triggers_retention_events_retention_event_item_request_builder.go +++ b/security/triggers_retention_events_retention_event_item_request_builder.go @@ -128,7 +128,7 @@ func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a retentionEvent object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property retentionEvents in security @@ -157,7 +157,7 @@ func (m *TriggersRetentionEventsRetentionEventItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/user_security_profiles_request_builder.go b/security/user_security_profiles_request_builder.go index 16b3fb96f24..68fefe3821e 100644 --- a/security/user_security_profiles_request_builder.go +++ b/security/user_security_profiles_request_builder.go @@ -125,7 +125,7 @@ func (m *UserSecurityProfilesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userSecurityProfiles for security @@ -138,7 +138,7 @@ func (m *UserSecurityProfilesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/security/user_security_profiles_user_security_profile_item_request_builder.go b/security/user_security_profiles_user_security_profile_item_request_builder.go index 192815671b0..1c7d5b6090e 100644 --- a/security/user_security_profiles_user_security_profile_item_request_builder.go +++ b/security/user_security_profiles_user_security_profile_item_request_builder.go @@ -118,7 +118,7 @@ func (m *UserSecurityProfilesUserSecurityProfileItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get userSecurityProfiles from security @@ -134,7 +134,7 @@ func (m *UserSecurityProfilesUserSecurityProfileItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userSecurityProfiles in security @@ -147,7 +147,7 @@ func (m *UserSecurityProfilesUserSecurityProfileItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/delta_request_builder.go b/serviceprincipals/delta_request_builder.go index 4c5b787e584..5d981898eb8 100644 --- a/serviceprincipals/delta_request_builder.go +++ b/serviceprincipals/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/get_by_ids_request_builder.go b/serviceprincipals/get_by_ids_request_builder.go index 26905fc4d3e..6b25ac4c827 100644 --- a/serviceprincipals/get_by_ids_request_builder.go +++ b/serviceprincipals/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/get_user_owned_objects_request_builder.go b/serviceprincipals/get_user_owned_objects_request_builder.go index 48e8ef74123..730b7a86d33 100644 --- a/serviceprincipals/get_user_owned_objects_request_builder.go +++ b/serviceprincipals/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_add_token_signing_certificate_request_builder.go b/serviceprincipals/item_add_token_signing_certificate_request_builder.go index afafcff7acf..3d1e71e3da9 100644 --- a/serviceprincipals/item_add_token_signing_certificate_request_builder.go +++ b/serviceprincipals/item_add_token_signing_certificate_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemAddTokenSigningCertificateRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_app_management_policies_app_management_policy_item_request_builder.go b/serviceprincipals/item_app_management_policies_app_management_policy_item_request_builder.go index 8f2d2c33f3b..7a2a922b4d1 100644 --- a/serviceprincipals/item_app_management_policies_app_management_policy_item_request_builder.go +++ b/serviceprincipals/item_app_management_policies_app_management_policy_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemAppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the appManagementPolicy applied to this service principal. @@ -111,7 +111,7 @@ func (m *ItemAppManagementPoliciesAppManagementPolicyItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_app_management_policies_request_builder.go b/serviceprincipals/item_app_management_policies_request_builder.go index 137a067d26f..31dc62f2733 100644 --- a/serviceprincipals/item_app_management_policies_request_builder.go +++ b/serviceprincipals/item_app_management_policies_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemAppManagementPoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go b/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go index 466c13f5196..b50ba94dfe5 100644 --- a/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go +++ b/serviceprincipals/item_app_role_assigned_to_app_role_assignment_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation app role assignments for this app or service, granted to users, groups, and other service principals.Supports $expand. @@ -137,7 +137,7 @@ func (m *ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appRoleAssignedTo in servicePrincipals @@ -150,7 +150,7 @@ func (m *ItemAppRoleAssignedToAppRoleAssignmentItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_app_role_assigned_to_request_builder.go b/serviceprincipals/item_app_role_assigned_to_request_builder.go index 046dffc9d98..d788e8589c5 100644 --- a/serviceprincipals/item_app_role_assigned_to_request_builder.go +++ b/serviceprincipals/item_app_role_assigned_to_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemAppRoleAssignedToRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemAppRoleAssignedToRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go b/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go index 63201d0834a..545261f7c66 100644 --- a/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go +++ b/serviceprincipals/item_app_role_assignments_app_role_assignment_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation app role assignment for another app or service, granted to this service principal. Supports $expand. @@ -137,7 +137,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appRoleAssignments in servicePrincipals @@ -150,7 +150,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_app_role_assignments_request_builder.go b/serviceprincipals/item_app_role_assignments_request_builder.go index a38fbc0d282..aa5db93bd6c 100644 --- a/serviceprincipals/item_app_role_assignments_request_builder.go +++ b/serviceprincipals/item_app_role_assignments_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_check_member_groups_request_builder.go b/serviceprincipals/item_check_member_groups_request_builder.go index 67396f6b33c..acb01b94ba1 100644 --- a/serviceprincipals/item_check_member_groups_request_builder.go +++ b/serviceprincipals/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_check_member_objects_request_builder.go b/serviceprincipals/item_check_member_objects_request_builder.go index f58d44e3d38..cd684a791d0 100644 --- a/serviceprincipals/item_check_member_objects_request_builder.go +++ b/serviceprincipals/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go b/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go index f7b4f889099..cf69a3774b5 100644 --- a/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemClaimsMappingPoliciesItemRefRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go b/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go index 037bf42fd65..56ba8f58895 100644 --- a/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation assign a claimsMappingPolicy to a servicePrincipal. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *ItemClaimsMappingPoliciesRefRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_claims_mapping_policies_request_builder.go b/serviceprincipals/item_claims_mapping_policies_request_builder.go index e020080c99e..5ab55bf6c57 100644 --- a/serviceprincipals/item_claims_mapping_policies_request_builder.go +++ b/serviceprincipals/item_claims_mapping_policies_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemClaimsMappingPoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go index 355447c7990..d22b49122a8 100644 --- a/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_create_password_single_sign_on_credentials_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCreatePasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_created_objects_directory_object_item_request_builder.go b/serviceprincipals/item_created_objects_directory_object_item_request_builder.go index fb931efbf77..123165cd453 100644 --- a/serviceprincipals/item_created_objects_directory_object_item_request_builder.go +++ b/serviceprincipals/item_created_objects_directory_object_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemCreatedObjectsDirectoryObjectItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_created_objects_graph_service_principal_request_builder.go b/serviceprincipals/item_created_objects_graph_service_principal_request_builder.go index b70cf65a25f..702fcf3d318 100644 --- a/serviceprincipals/item_created_objects_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_created_objects_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemCreatedObjectsGraphServicePrincipalRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_created_objects_item_graph_service_principal_request_builder.go b/serviceprincipals/item_created_objects_item_graph_service_principal_request_builder.go index af1b6eae6df..8a696b534b6 100644 --- a/serviceprincipals/item_created_objects_item_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_created_objects_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemCreatedObjectsItemGraphServicePrincipalRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_created_objects_request_builder.go b/serviceprincipals/item_created_objects_request_builder.go index af0779b2f74..c58598f3440 100644 --- a/serviceprincipals/item_created_objects_request_builder.go +++ b/serviceprincipals/item_created_objects_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCreatedObjectsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go b/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go index c044ff31ac8..5d450ebb8ef 100644 --- a/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go +++ b/serviceprincipals/item_delegated_permission_classifications_delegated_permission_classification_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemDelegatedPermissionClassificationsDelegatedPermissionClassification requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the permission classifications for delegated permissions exposed by the app that this service principal represents. Supports $expand. @@ -137,7 +137,7 @@ func (m *ItemDelegatedPermissionClassificationsDelegatedPermissionClassification requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property delegatedPermissionClassifications in servicePrincipals @@ -150,7 +150,7 @@ func (m *ItemDelegatedPermissionClassificationsDelegatedPermissionClassification requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_delegated_permission_classifications_request_builder.go b/serviceprincipals/item_delegated_permission_classifications_request_builder.go index c42514fae47..10f5de748b6 100644 --- a/serviceprincipals/item_delegated_permission_classifications_request_builder.go +++ b/serviceprincipals/item_delegated_permission_classifications_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemDelegatedPermissionClassificationsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemDelegatedPermissionClassificationsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go index bf45005f8f8..9dcdec9cd45 100644 --- a/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_delete_password_single_sign_on_credentials_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemDeletePasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_endpoints_endpoint_item_request_builder.go b/serviceprincipals/item_endpoints_endpoint_item_request_builder.go index 8e332e05568..6cfb03022e4 100644 --- a/serviceprincipals/item_endpoints_endpoint_item_request_builder.go +++ b/serviceprincipals/item_endpoints_endpoint_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemEndpointsEndpointItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint endpoints that other applications can discover and use in their experiences. @@ -134,7 +134,7 @@ func (m *ItemEndpointsEndpointItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property endpoints in servicePrincipals @@ -147,7 +147,7 @@ func (m *ItemEndpointsEndpointItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_endpoints_request_builder.go b/serviceprincipals/item_endpoints_request_builder.go index 2ac9709eaab..9ed8887d01d 100644 --- a/serviceprincipals/item_endpoints_request_builder.go +++ b/serviceprincipals/item_endpoints_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemEndpointsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to endpoints for servicePrincipals @@ -138,7 +138,7 @@ func (m *ItemEndpointsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go b/serviceprincipals/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go index da3f6162817..c420a20662b 100644 --- a/serviceprincipals/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go +++ b/serviceprincipals/item_federated_identity_credentials_federated_identity_credential_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get federatedIdentityCredentials from servicePrincipals @@ -134,7 +134,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property federatedIdentityCredentials in servicePrincipals @@ -147,7 +147,7 @@ func (m *ItemFederatedIdentityCredentialsFederatedIdentityCredentialItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_federated_identity_credentials_request_builder.go b/serviceprincipals/item_federated_identity_credentials_request_builder.go index 3aef890cf89..e183f1a2649 100644 --- a/serviceprincipals/item_federated_identity_credentials_request_builder.go +++ b/serviceprincipals/item_federated_identity_credentials_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to federatedIdentityCredentials for servicePrincipals @@ -138,7 +138,7 @@ func (m *ItemFederatedIdentityCredentialsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_get_member_groups_request_builder.go b/serviceprincipals/item_get_member_groups_request_builder.go index ead0bf5f7a5..f1bd12cb881 100644 --- a/serviceprincipals/item_get_member_groups_request_builder.go +++ b/serviceprincipals/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_get_member_objects_request_builder.go b/serviceprincipals/item_get_member_objects_request_builder.go index 0eb1d178c1f..aacc1e9b978 100644 --- a/serviceprincipals/item_get_member_objects_request_builder.go +++ b/serviceprincipals/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go index aa7bcf252e2..947ceb41af1 100644 --- a/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_get_password_single_sign_on_credentials_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemGetPasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go index 20cb489b633..38d30f09483 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesItemRefRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go index 1b0ce028b99..129eb021443 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation assign a homeRealmDiscoveryPolicy to a servicePrincipal. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRefRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_home_realm_discovery_policies_request_builder.go b/serviceprincipals/item_home_realm_discovery_policies_request_builder.go index 1f922630e15..2b2fbdb021a 100644 --- a/serviceprincipals/item_home_realm_discovery_policies_request_builder.go +++ b/serviceprincipals/item_home_realm_discovery_policies_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemHomeRealmDiscoveryPoliciesRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_license_details_license_details_item_request_builder.go b/serviceprincipals/item_license_details_license_details_item_request_builder.go index e6775257173..7dcec7a549c 100644 --- a/serviceprincipals/item_license_details_license_details_item_request_builder.go +++ b/serviceprincipals/item_license_details_license_details_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemLicenseDetailsLicenseDetailsItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get licenseDetails from servicePrincipals @@ -134,7 +134,7 @@ func (m *ItemLicenseDetailsLicenseDetailsItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property licenseDetails in servicePrincipals @@ -147,7 +147,7 @@ func (m *ItemLicenseDetailsLicenseDetailsItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_license_details_request_builder.go b/serviceprincipals/item_license_details_request_builder.go index 7ff238113d4..038ba5dcf1e 100644 --- a/serviceprincipals/item_license_details_request_builder.go +++ b/serviceprincipals/item_license_details_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemLicenseDetailsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to licenseDetails for servicePrincipals @@ -138,7 +138,7 @@ func (m *ItemLicenseDetailsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_member_of_directory_object_item_request_builder.go b/serviceprincipals/item_member_of_directory_object_item_request_builder.go index 4f38d2f477f..4daac0f42df 100644 --- a/serviceprincipals/item_member_of_directory_object_item_request_builder.go +++ b/serviceprincipals/item_member_of_directory_object_item_request_builder.go @@ -84,7 +84,7 @@ func (m *ItemMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_member_of_graph_administrative_unit_request_builder.go b/serviceprincipals/item_member_of_graph_administrative_unit_request_builder.go index f1350335719..c0ea42f2690 100644 --- a/serviceprincipals/item_member_of_graph_administrative_unit_request_builder.go +++ b/serviceprincipals/item_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_member_of_graph_directory_role_request_builder.go b/serviceprincipals/item_member_of_graph_directory_role_request_builder.go index f3c1616f0bd..88afd908695 100644 --- a/serviceprincipals/item_member_of_graph_directory_role_request_builder.go +++ b/serviceprincipals/item_member_of_graph_directory_role_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphDirectoryRoleRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_member_of_graph_group_request_builder.go b/serviceprincipals/item_member_of_graph_group_request_builder.go index 81a9d3e9f6a..6c7d47be8f1 100644 --- a/serviceprincipals/item_member_of_graph_group_request_builder.go +++ b/serviceprincipals/item_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_member_of_item_graph_administrative_unit_request_builder.go b/serviceprincipals/item_member_of_item_graph_administrative_unit_request_builder.go index ef9a4ae3333..e694cc32938 100644 --- a/serviceprincipals/item_member_of_item_graph_administrative_unit_request_builder.go +++ b/serviceprincipals/item_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_member_of_item_graph_directory_role_request_builder.go b/serviceprincipals/item_member_of_item_graph_directory_role_request_builder.go index 9f3e3ba7ab6..891e9b3a729 100644 --- a/serviceprincipals/item_member_of_item_graph_directory_role_request_builder.go +++ b/serviceprincipals/item_member_of_item_graph_directory_role_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphDirectoryRoleRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_member_of_item_graph_group_request_builder.go b/serviceprincipals/item_member_of_item_graph_group_request_builder.go index a6438987746..d23683d1a51 100644 --- a/serviceprincipals/item_member_of_item_graph_group_request_builder.go +++ b/serviceprincipals/item_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_member_of_request_builder.go b/serviceprincipals/item_member_of_request_builder.go index 7d1309a070b..b0938906818 100644 --- a/serviceprincipals/item_member_of_request_builder.go +++ b/serviceprincipals/item_member_of_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go b/serviceprincipals/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go index c2136ef9a01..bbf8387b2d2 100644 --- a/serviceprincipals/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go +++ b/serviceprincipals/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_oauth2_permission_grants_request_builder.go b/serviceprincipals/item_oauth2_permission_grants_request_builder.go index f09184e49ea..11e99adea02 100644 --- a/serviceprincipals/item_oauth2_permission_grants_request_builder.go +++ b/serviceprincipals/item_oauth2_permission_grants_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemOauth2PermissionGrantsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owned_objects_directory_object_item_request_builder.go b/serviceprincipals/item_owned_objects_directory_object_item_request_builder.go index f56d464e97c..fc262420850 100644 --- a/serviceprincipals/item_owned_objects_directory_object_item_request_builder.go +++ b/serviceprincipals/item_owned_objects_directory_object_item_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnedObjectsDirectoryObjectItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owned_objects_graph_application_request_builder.go b/serviceprincipals/item_owned_objects_graph_application_request_builder.go index 4d27cf8db92..be4a905da03 100644 --- a/serviceprincipals/item_owned_objects_graph_application_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_application_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnedObjectsGraphApplicationRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owned_objects_graph_endpoint_request_builder.go b/serviceprincipals/item_owned_objects_graph_endpoint_request_builder.go index 1aa4ecff067..edd4faa2d62 100644 --- a/serviceprincipals/item_owned_objects_graph_endpoint_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_endpoint_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnedObjectsGraphEndpointRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owned_objects_graph_group_request_builder.go b/serviceprincipals/item_owned_objects_graph_group_request_builder.go index c0eea007e4f..59847af0393 100644 --- a/serviceprincipals/item_owned_objects_graph_group_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnedObjectsGraphGroupRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owned_objects_graph_service_principal_request_builder.go b/serviceprincipals/item_owned_objects_graph_service_principal_request_builder.go index 1ae605f3641..4c2ca9527bf 100644 --- a/serviceprincipals/item_owned_objects_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_owned_objects_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnedObjectsGraphServicePrincipalRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owned_objects_item_graph_application_request_builder.go b/serviceprincipals/item_owned_objects_item_graph_application_request_builder.go index 562cc8dad1d..b11f1f0e416 100644 --- a/serviceprincipals/item_owned_objects_item_graph_application_request_builder.go +++ b/serviceprincipals/item_owned_objects_item_graph_application_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnedObjectsItemGraphApplicationRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owned_objects_item_graph_endpoint_request_builder.go b/serviceprincipals/item_owned_objects_item_graph_endpoint_request_builder.go index 444ee2110e5..f15557f5b60 100644 --- a/serviceprincipals/item_owned_objects_item_graph_endpoint_request_builder.go +++ b/serviceprincipals/item_owned_objects_item_graph_endpoint_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnedObjectsItemGraphEndpointRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owned_objects_item_graph_group_request_builder.go b/serviceprincipals/item_owned_objects_item_graph_group_request_builder.go index b720e5f972e..f802d821711 100644 --- a/serviceprincipals/item_owned_objects_item_graph_group_request_builder.go +++ b/serviceprincipals/item_owned_objects_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnedObjectsItemGraphGroupRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owned_objects_item_graph_service_principal_request_builder.go b/serviceprincipals/item_owned_objects_item_graph_service_principal_request_builder.go index b01107f5bf0..598eb4f739c 100644 --- a/serviceprincipals/item_owned_objects_item_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_owned_objects_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnedObjectsItemGraphServicePrincipalRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owned_objects_request_builder.go b/serviceprincipals/item_owned_objects_request_builder.go index b59b327a6c0..1c23c7d4dc0 100644 --- a/serviceprincipals/item_owned_objects_request_builder.go +++ b/serviceprincipals/item_owned_objects_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemOwnedObjectsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owners_graph_endpoint_request_builder.go b/serviceprincipals/item_owners_graph_endpoint_request_builder.go index 82105707f5a..df3df196ff5 100644 --- a/serviceprincipals/item_owners_graph_endpoint_request_builder.go +++ b/serviceprincipals/item_owners_graph_endpoint_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphEndpointRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owners_graph_service_principal_request_builder.go b/serviceprincipals/item_owners_graph_service_principal_request_builder.go index 1b96af3d10d..e2779474b7b 100644 --- a/serviceprincipals/item_owners_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_owners_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphServicePrincipalRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owners_graph_user_request_builder.go b/serviceprincipals/item_owners_graph_user_request_builder.go index 5872eab2af9..f42dc54a522 100644 --- a/serviceprincipals/item_owners_graph_user_request_builder.go +++ b/serviceprincipals/item_owners_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnersGraphUserRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owners_item_graph_endpoint_request_builder.go b/serviceprincipals/item_owners_item_graph_endpoint_request_builder.go index 87050b3437d..b1d382f035c 100644 --- a/serviceprincipals/item_owners_item_graph_endpoint_request_builder.go +++ b/serviceprincipals/item_owners_item_graph_endpoint_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphEndpointRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owners_item_graph_service_principal_request_builder.go b/serviceprincipals/item_owners_item_graph_service_principal_request_builder.go index 78b0172ae34..c544e89b1fa 100644 --- a/serviceprincipals/item_owners_item_graph_service_principal_request_builder.go +++ b/serviceprincipals/item_owners_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphServicePrincipalRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owners_item_graph_user_request_builder.go b/serviceprincipals/item_owners_item_graph_user_request_builder.go index b5c74da5a70..f6376984353 100644 --- a/serviceprincipals/item_owners_item_graph_user_request_builder.go +++ b/serviceprincipals/item_owners_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnersItemGraphUserRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owners_item_ref_request_builder.go b/serviceprincipals/item_owners_item_ref_request_builder.go index fe55c7ebf13..787e5645b59 100644 --- a/serviceprincipals/item_owners_item_ref_request_builder.go +++ b/serviceprincipals/item_owners_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemOwnersItemRefRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_owners_ref_request_builder.go b/serviceprincipals/item_owners_ref_request_builder.go index 10fe3c09184..8ada1cb7f53 100644 --- a/serviceprincipals/item_owners_ref_request_builder.go +++ b/serviceprincipals/item_owners_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemOwnersRefRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -122,7 +122,7 @@ func (m *ItemOwnersRefRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_owners_request_builder.go b/serviceprincipals/item_owners_request_builder.go index d9d5308e36d..02b7ecd25e8 100644 --- a/serviceprincipals/item_owners_request_builder.go +++ b/serviceprincipals/item_owners_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_remote_desktop_security_configuration_request_builder.go b/serviceprincipals/item_remote_desktop_security_configuration_request_builder.go index 11603e72d98..7cfa770fcd8 100644 --- a/serviceprincipals/item_remote_desktop_security_configuration_request_builder.go +++ b/serviceprincipals/item_remote_desktop_security_configuration_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a remoteDesktopSecurityConfiguration object on a servicePrincipal. Use this configuration to view the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. Additionally you can view any targetDeviceGroups that have been configured for SSO. @@ -147,7 +147,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a remoteDesktopSecurityConfiguration object on the servicePrincipal. Use this configuration to enable or disable the Microsoft Entra ID Remote Desktop Services (RDS) authentication protocol to authenticate a user to Microsoft Entra joined or Microsoft Entra hybrid joined devices. @@ -160,7 +160,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_request_builder.go b/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_request_builder.go index 0c703f95ed7..d42bbcc1d66 100644 --- a/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_request_builder.go +++ b/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. @@ -144,7 +144,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_target_device_group_item_request_builder.go b/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_target_device_group_item_request_builder.go index 04605a368b0..c489f476675 100644 --- a/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_target_device_group_item_request_builder.go +++ b/serviceprincipals/item_remote_desktop_security_configuration_target_device_groups_target_device_group_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a targetDeviceGroup object for the remoteDesktopSecurityConfiguration object on the servicePrincipal. @@ -143,7 +143,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a targetDeviceGroup object for remoteDesktopSecurityConfiguration object on the servicePrincipal. You can configure a maximum of 10 target device groups for the remoteDesktopSecurityConfiguraiton object on the servicePrincipal. @@ -156,7 +156,7 @@ func (m *ItemRemoteDesktopSecurityConfigurationTargetDeviceGroupsTargetDeviceGro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_restore_request_builder.go b/serviceprincipals/item_restore_request_builder.go index 4192ebb7f20..33630895781 100644 --- a/serviceprincipals/item_restore_request_builder.go +++ b/serviceprincipals/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go b/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go index 87122e67daa..32436121162 100644 --- a/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go +++ b/serviceprincipals/item_synchronization_acquire_access_token_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSynchronizationAcquireAccessTokenRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_item_bulk_upload_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_bulk_upload_request_builder.go index 73f68fe603e..bae629fcd22 100644 --- a/serviceprincipals/item_synchronization_jobs_item_bulk_upload_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_bulk_upload_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSynchronizationJobsItemBulkUploadRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the bulk upload operation for the job. @@ -138,7 +138,7 @@ func (m *ItemSynchronizationJobsItemBulkUploadRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bulkUpload in servicePrincipals @@ -151,7 +151,7 @@ func (m *ItemSynchronizationJobsItemBulkUploadRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go index f1afe7513ae..4d9195a0430 100644 --- a/serviceprincipals/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_bulk_upload_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property bulkUpload in servicePrincipals @@ -98,7 +98,7 @@ func (m *ItemSynchronizationJobsItemBulkUploadValueContentRequestBuilder) ToPutR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go index f542bd6a5d6..a3c105dc560 100644 --- a/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_pause_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSynchronizationJobsItemPauseRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go index 0e0beb6162f..81288fa0429 100644 --- a/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_provision_on_demand_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSynchronizationJobsItemProvisionOnDemandRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go index 1e107a721a8..0cf82b96f55 100644 --- a/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_restart_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSynchronizationJobsItemRestartRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go index 23076078cf1..dd071b5f25e 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_directories_directory_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation contains the collection of directories and all of their objects. @@ -138,7 +138,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property directories in servicePrincipals @@ -151,7 +151,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesDirectoryDefinitionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go index 10b3a707132..13fb2bc0dd4 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_directories_item_discover_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesItemDiscoverRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_directories_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_directories_request_builder.go index e283ab98289..750cc4c0037 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_directories_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_directories_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to directories for servicePrincipals @@ -138,7 +138,7 @@ func (m *ItemSynchronizationJobsItemSchemaDirectoriesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go index ea1340158ca..43cb39107a1 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_filter_operators_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSynchronizationJobsItemSchemaFilterOperatorsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go index c18640fdff4..0caf0a4c057 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_functions_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSynchronizationJobsItemSchemaFunctionsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go index 5dd8d3162f8..0d66e15a1cb 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_parse_expression_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSynchronizationJobsItemSchemaParseExpressionRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go index 7d95f59b927..8c11b764b37 100644 --- a/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_schema_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. @@ -169,7 +169,7 @@ func (m *ItemSynchronizationJobsItemSchemaRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go index cf14c20e085..be158154738 100644 --- a/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_start_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSynchronizationJobsItemStartRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go b/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go index 1d6323cb44e..bf70113ec97 100644 --- a/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_item_validate_credentials_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSynchronizationJobsItemValidateCredentialsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_request_builder.go b/serviceprincipals/item_synchronization_jobs_request_builder.go index ce0edca76e4..97d7c74889d 100644 --- a/serviceprincipals/item_synchronization_jobs_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemSynchronizationJobsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemSynchronizationJobsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go b/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go index 4e5a585fea9..8f794a83564 100644 --- a/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_synchronization_job_item_request_builder.go @@ -148,7 +148,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property jobs in servicePrincipals @@ -177,7 +177,7 @@ func (m *ItemSynchronizationJobsSynchronizationJobItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_jobs_validate_credentials_request_builder.go b/serviceprincipals/item_synchronization_jobs_validate_credentials_request_builder.go index 13e30b84627..79cd269d06b 100644 --- a/serviceprincipals/item_synchronization_jobs_validate_credentials_request_builder.go +++ b/serviceprincipals/item_synchronization_jobs_validate_credentials_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemSynchronizationJobsValidateCredentialsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_ping_request_builder.go b/serviceprincipals/item_synchronization_ping_request_builder.go index 6a9e094d458..aa8b59cb579 100644 --- a/serviceprincipals/item_synchronization_ping_request_builder.go +++ b/serviceprincipals/item_synchronization_ping_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemSynchronizationPingRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_synchronization_request_builder.go b/serviceprincipals/item_synchronization_request_builder.go index d3d3bd28d9d..71423089a7e 100644 --- a/serviceprincipals/item_synchronization_request_builder.go +++ b/serviceprincipals/item_synchronization_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemSynchronizationRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the capability for Microsoft Entra identity synchronization through the Microsoft Graph API. @@ -154,7 +154,7 @@ func (m *ItemSynchronizationRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property synchronization in servicePrincipals @@ -167,7 +167,7 @@ func (m *ItemSynchronizationRequestBuilder) ToPutRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_secrets_request_builder.go b/serviceprincipals/item_synchronization_secrets_request_builder.go index 0b044cdd730..8790286165c 100644 --- a/serviceprincipals/item_synchronization_secrets_request_builder.go +++ b/serviceprincipals/item_synchronization_secrets_request_builder.go @@ -68,7 +68,7 @@ func (m *ItemSynchronizationSecretsRequestBuilder) ToPutRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(body)) for i, v := range body { if v != nil { diff --git a/serviceprincipals/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go index a2a7bdbe942..29f72cb2d5e 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_directories_directory_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation contains the collection of directories and all of their objects. @@ -138,7 +138,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property directories in servicePrincipals @@ -151,7 +151,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesDirectoryDefinitionIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go index 99e88184e4c..6d117c2b2e0 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_directories_item_discover_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesItemDiscoverRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_synchronization_templates_item_schema_directories_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_directories_request_builder.go index 6070c52c148..c18b9b96871 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_directories_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_directories_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to directories for servicePrincipals @@ -138,7 +138,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaDirectoriesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go index cdc6cd7b3b9..a7771c2aeeb 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_filter_operators_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFilterOperatorsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go index 0260a2a5c86..9888fce77bf 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_functions_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaFunctionsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go index ccfdd99b29a..d8309a75662 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_parse_expression_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaParseExpressionRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_templates_item_schema_request_builder.go b/serviceprincipals/item_synchronization_templates_item_schema_request_builder.go index f097bfe6fd4..8685e090e54 100644 --- a/serviceprincipals/item_synchronization_templates_item_schema_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_item_schema_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation default synchronization schema for the jobs based on this template. @@ -150,7 +150,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property schema in servicePrincipals @@ -163,7 +163,7 @@ func (m *ItemSynchronizationTemplatesItemSchemaRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_templates_request_builder.go b/serviceprincipals/item_synchronization_templates_request_builder.go index 33fdb376fac..e1707096984 100644 --- a/serviceprincipals/item_synchronization_templates_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemSynchronizationTemplatesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to templates for servicePrincipals @@ -141,7 +141,7 @@ func (m *ItemSynchronizationTemplatesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go b/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go index 4811611a408..9d859622ba3 100644 --- a/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go +++ b/serviceprincipals/item_synchronization_templates_synchronization_template_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation pre-configured synchronization settings for a particular application. @@ -141,7 +141,7 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update (override) the synchronization template associated with a given application. This API is available in the following national cloud deployments. @@ -154,7 +154,7 @@ func (m *ItemSynchronizationTemplatesSynchronizationTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/item_token_issuance_policies_request_builder.go b/serviceprincipals/item_token_issuance_policies_request_builder.go index bf71a076fd1..6b5a597d59e 100644 --- a/serviceprincipals/item_token_issuance_policies_request_builder.go +++ b/serviceprincipals/item_token_issuance_policies_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemTokenIssuancePoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_token_issuance_policies_token_issuance_policy_item_request_builder.go b/serviceprincipals/item_token_issuance_policies_token_issuance_policy_item_request_builder.go index 84e46050958..685f326c949 100644 --- a/serviceprincipals/item_token_issuance_policies_token_issuance_policy_item_request_builder.go +++ b/serviceprincipals/item_token_issuance_policies_token_issuance_policy_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTokenIssuancePoliciesTokenIssuancePolicyItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_token_lifetime_policies_request_builder.go b/serviceprincipals/item_token_lifetime_policies_request_builder.go index 7da1d5655ce..a648695fd1c 100644 --- a/serviceprincipals/item_token_lifetime_policies_request_builder.go +++ b/serviceprincipals/item_token_lifetime_policies_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemTokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_token_lifetime_policies_token_lifetime_policy_item_request_builder.go b/serviceprincipals/item_token_lifetime_policies_token_lifetime_policy_item_request_builder.go index 509ae593d98..6c73051cfdc 100644 --- a/serviceprincipals/item_token_lifetime_policies_token_lifetime_policy_item_request_builder.go +++ b/serviceprincipals/item_token_lifetime_policies_token_lifetime_policy_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTokenLifetimePoliciesTokenLifetimePolicyItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_transitive_member_of_directory_object_item_request_builder.go b/serviceprincipals/item_transitive_member_of_directory_object_item_request_builder.go index 73a4dea1958..d764b2bd388 100644 --- a/serviceprincipals/item_transitive_member_of_directory_object_item_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_directory_object_item_request_builder.go @@ -84,7 +84,7 @@ func (m *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_transitive_member_of_graph_administrative_unit_request_builder.go b/serviceprincipals/item_transitive_member_of_graph_administrative_unit_request_builder.go index 183a1cb738c..dc9ac4f85a7 100644 --- a/serviceprincipals/item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_transitive_member_of_graph_directory_role_request_builder.go b/serviceprincipals/item_transitive_member_of_graph_directory_role_request_builder.go index ea8d306626e..179455768b7 100644 --- a/serviceprincipals/item_transitive_member_of_graph_directory_role_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_graph_directory_role_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphDirectoryRoleRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_transitive_member_of_graph_group_request_builder.go b/serviceprincipals/item_transitive_member_of_graph_group_request_builder.go index 05fb0442705..b3b9336102c 100644 --- a/serviceprincipals/item_transitive_member_of_graph_group_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphGroupRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/serviceprincipals/item_transitive_member_of_item_graph_administrative_unit_request_builder.go index f3c986a6adf..fd676b5a82d 100644 --- a/serviceprincipals/item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_transitive_member_of_item_graph_directory_role_request_builder.go b/serviceprincipals/item_transitive_member_of_item_graph_directory_role_request_builder.go index 32c460b8feb..58e55805692 100644 --- a/serviceprincipals/item_transitive_member_of_item_graph_directory_role_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_item_graph_directory_role_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphDirectoryRoleRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_transitive_member_of_item_graph_group_request_builder.go b/serviceprincipals/item_transitive_member_of_item_graph_group_request_builder.go index f0cc704d528..335340b0af0 100644 --- a/serviceprincipals/item_transitive_member_of_item_graph_group_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_transitive_member_of_request_builder.go b/serviceprincipals/item_transitive_member_of_request_builder.go index 55e0f59ac47..2fa1910c9c3 100644 --- a/serviceprincipals/item_transitive_member_of_request_builder.go +++ b/serviceprincipals/item_transitive_member_of_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go b/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go index 7261373a034..31290614a70 100644 --- a/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go +++ b/serviceprincipals/item_update_password_single_sign_on_credentials_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemUpdatePasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/service_principal_item_request_builder.go b/serviceprincipals/service_principal_item_request_builder.go index 03491c3f7f4..45177f5ccdd 100644 --- a/serviceprincipals/service_principal_item_request_builder.go +++ b/serviceprincipals/service_principal_item_request_builder.go @@ -227,7 +227,7 @@ func (m *ServicePrincipalItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. @@ -243,7 +243,7 @@ func (m *ServicePrincipalItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // TokenIssuancePolicies provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.servicePrincipal entity. @@ -264,7 +264,7 @@ func (m *ServicePrincipalItemRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/service_principals_request_builder.go b/serviceprincipals/service_principals_request_builder.go index 29cfa8e2818..35c9b11c61c 100644 --- a/serviceprincipals/service_principals_request_builder.go +++ b/serviceprincipals/service_principals_request_builder.go @@ -143,7 +143,7 @@ func (m *ServicePrincipalsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new servicePrincipal object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ServicePrincipalsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipals/validate_properties_request_builder.go b/serviceprincipals/validate_properties_request_builder.go index d113cf700c4..401a7266f8a 100644 --- a/serviceprincipals/validate_properties_request_builder.go +++ b/serviceprincipals/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go b/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go index c80aa303fce..82120f8a76f 100644 --- a/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go +++ b/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go @@ -130,7 +130,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. @@ -146,7 +146,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of servicePrincipal object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/settings/directory_setting_item_request_builder.go b/settings/directory_setting_item_request_builder.go index f4ae0053f99..0495b02d4f0 100644 --- a/settings/directory_setting_item_request_builder.go +++ b/settings/directory_setting_item_request_builder.go @@ -127,7 +127,7 @@ func (m *DirectorySettingItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of a specific directory setting object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *DirectorySettingItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a specific directory setting object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *DirectorySettingItemRequestBuilder) ToPatchRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/settings/settings_request_builder.go b/settings/settings_request_builder.go index a1f5137a6e5..1653b91f4dc 100644 --- a/settings/settings_request_builder.go +++ b/settings/settings_request_builder.go @@ -129,7 +129,7 @@ func (m *SettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -142,7 +142,7 @@ func (m *SettingsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_created_by_user_mailbox_settings_request_builder.go b/shares/item_created_by_user_mailbox_settings_request_builder.go index 743fa91712d..13d614f22ec 100644 --- a/shares/item_created_by_user_mailbox_settings_request_builder.go +++ b/shares/item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_created_by_user_request_builder.go b/shares/item_created_by_user_request_builder.go index 85ce6eae81d..3a605e60a20 100644 --- a/shares/item_created_by_user_request_builder.go +++ b/shares/item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_created_by_user_service_provisioning_errors_request_builder.go b/shares/item_created_by_user_service_provisioning_errors_request_builder.go index c0598ef1b11..52241607f17 100644 --- a/shares/item_created_by_user_service_provisioning_errors_request_builder.go +++ b/shares/item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_drive_item_content_request_builder.go b/shares/item_drive_item_content_request_builder.go index cfad2b9bedd..b5e68f1d931 100644 --- a/shares/item_drive_item_content_request_builder.go +++ b/shares/item_drive_item_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemDriveItemContentRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *ItemDriveItemContentRequestBuilder) ToPutRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/shares/item_drive_item_request_builder.go b/shares/item_drive_item_request_builder.go index 1044e7f8029..feac64068a4 100644 --- a/shares/item_drive_item_request_builder.go +++ b/shares/item_drive_item_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemDriveItemRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_items_drive_item_item_request_builder.go b/shares/item_items_drive_item_item_request_builder.go index daa5ced6116..6e6bb8cdacd 100644 --- a/shares/item_items_drive_item_item_request_builder.go +++ b/shares/item_items_drive_item_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemItemsDriveItemItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_items_item_content_request_builder.go b/shares/item_items_item_content_request_builder.go index 50bc3c85e47..9d575bb026e 100644 --- a/shares/item_items_item_content_request_builder.go +++ b/shares/item_items_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemItemsItemContentRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemItemsItemContentRequestBuilder) ToPutRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/shares/item_items_request_builder.go b/shares/item_items_request_builder.go index 62ebcef903f..b82b1de1b2d 100644 --- a/shares/item_items_request_builder.go +++ b/shares/item_items_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_last_modified_by_user_mailbox_settings_request_builder.go b/shares/item_last_modified_by_user_mailbox_settings_request_builder.go index 93ba60d2449..e2ca973127a 100644 --- a/shares/item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/shares/item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_last_modified_by_user_request_builder.go b/shares/item_last_modified_by_user_request_builder.go index 1cc61446939..2cac27ec401 100644 --- a/shares/item_last_modified_by_user_request_builder.go +++ b/shares/item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemLastModifiedByUserRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_last_modified_by_user_service_provisioning_errors_request_builder.go b/shares/item_last_modified_by_user_service_provisioning_errors_request_builder.go index 064fd36d062..4cdbab77b1e 100644 --- a/shares/item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/shares/item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl str func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_activities_request_builder.go b/shares/item_list_activities_request_builder.go index 890ac9770d3..dbc0262f384 100644 --- a/shares/item_list_activities_request_builder.go +++ b/shares/item_list_activities_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemListActivitiesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for shares @@ -123,7 +123,7 @@ func (m *ItemListActivitiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_columns_column_definition_item_request_builder.go b/shares/item_list_columns_column_definition_item_request_builder.go index 889d762d227..d3b922501ac 100644 --- a/shares/item_list_columns_column_definition_item_request_builder.go +++ b/shares/item_list_columns_column_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemListColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of field definitions for this list. @@ -138,7 +138,7 @@ func (m *ItemListColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columns in shares @@ -151,7 +151,7 @@ func (m *ItemListColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_columns_item_source_column_request_builder.go b/shares/item_list_columns_item_source_column_request_builder.go index 535ce3af331..9ea7f4149be 100644 --- a/shares/item_list_columns_item_source_column_request_builder.go +++ b/shares/item_list_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListColumnsItemSourceColumnRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_columns_request_builder.go b/shares/item_list_columns_request_builder.go index fdaaab62734..bd1db21a681 100644 --- a/shares/item_list_columns_request_builder.go +++ b/shares/item_list_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListColumnsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemListColumnsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go b/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go index c98fb264586..10c442dac70 100644 --- a/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/shares/item_list_content_types_add_copy_from_content_type_hub_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemListContentTypesAddCopyFromContentTypeHubRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_content_types_add_copy_request_builder.go b/shares/item_list_content_types_add_copy_request_builder.go index 69081ed1fd6..30e5abfd1f4 100644 --- a/shares/item_list_content_types_add_copy_request_builder.go +++ b/shares/item_list_content_types_add_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemListContentTypesAddCopyRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_content_types_content_type_item_request_builder.go b/shares/item_list_content_types_content_type_item_request_builder.go index d55f2db9154..fa3b3469b57 100644 --- a/shares/item_list_content_types_content_type_item_request_builder.go +++ b/shares/item_list_content_types_content_type_item_request_builder.go @@ -154,7 +154,7 @@ func (m *ItemListContentTypesContentTypeItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of content types present in this list. @@ -170,7 +170,7 @@ func (m *ItemListContentTypesContentTypeItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentTypes in shares @@ -183,7 +183,7 @@ func (m *ItemListContentTypesContentTypeItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go b/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go index 50bc0da1338..4a0264a64b6 100644 --- a/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go +++ b/shares/item_list_content_types_get_compatible_hub_content_types_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemListContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go b/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go index be853a80760..93bf24ed733 100644 --- a/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go +++ b/shares/item_list_content_types_item_associate_with_hub_sites_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListContentTypesItemAssociateWithHubSitesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_content_types_item_base_request_builder.go b/shares/item_list_content_types_item_base_request_builder.go index a3f5104fbb8..20a8e2f8283 100644 --- a/shares/item_list_content_types_item_base_request_builder.go +++ b/shares/item_list_content_types_item_base_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListContentTypesItemBaseRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_content_types_item_base_types_content_type_item_request_builder.go b/shares/item_list_content_types_item_base_types_content_type_item_request_builder.go index 39f1a26c467..78a40b6610e 100644 --- a/shares/item_list_content_types_item_base_types_content_type_item_request_builder.go +++ b/shares/item_list_content_types_item_base_types_content_type_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListContentTypesItemBaseTypesContentTypeItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_content_types_item_base_types_request_builder.go b/shares/item_list_content_types_item_base_types_request_builder.go index 7b21150fe68..415a7950f39 100644 --- a/shares/item_list_content_types_item_base_types_request_builder.go +++ b/shares/item_list_content_types_item_base_types_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemListContentTypesItemBaseTypesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_content_types_item_column_links_column_link_item_request_builder.go b/shares/item_list_content_types_item_column_links_column_link_item_request_builder.go index 1361dc8d089..214604ffa85 100644 --- a/shares/item_list_content_types_item_column_links_column_link_item_request_builder.go +++ b/shares/item_list_content_types_item_column_links_column_link_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of columns that are required by this content type @@ -134,7 +134,7 @@ func (m *ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columnLinks in shares @@ -147,7 +147,7 @@ func (m *ItemListContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_content_types_item_column_links_request_builder.go b/shares/item_list_content_types_item_column_links_request_builder.go index 58eb3aa9a14..7515691de3a 100644 --- a/shares/item_list_content_types_item_column_links_request_builder.go +++ b/shares/item_list_content_types_item_column_links_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListContentTypesItemColumnLinksRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to columnLinks for shares @@ -138,7 +138,7 @@ func (m *ItemListContentTypesItemColumnLinksRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_content_types_item_column_positions_column_definition_item_request_builder.go b/shares/item_list_content_types_item_column_positions_column_definition_item_request_builder.go index f33e0c53edc..69c84d7234e 100644 --- a/shares/item_list_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/shares/item_list_content_types_item_column_positions_column_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListContentTypesItemColumnPositionsColumnDefinitionItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_content_types_item_column_positions_request_builder.go b/shares/item_list_content_types_item_column_positions_request_builder.go index 8a0462bc5b9..054e66724bb 100644 --- a/shares/item_list_content_types_item_column_positions_request_builder.go +++ b/shares/item_list_content_types_item_column_positions_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemListContentTypesItemColumnPositionsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go b/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go index 0f919a4b5f3..4b100235a3f 100644 --- a/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go +++ b/shares/item_list_content_types_item_columns_column_definition_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemListContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_content_types_item_columns_item_source_column_request_builder.go b/shares/item_list_content_types_item_columns_item_source_column_request_builder.go index f5054821b09..882af77cd5b 100644 --- a/shares/item_list_content_types_item_columns_item_source_column_request_builder.go +++ b/shares/item_list_content_types_item_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListContentTypesItemColumnsItemSourceColumnRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_content_types_item_columns_request_builder.go b/shares/item_list_content_types_item_columns_request_builder.go index 32e30c7e113..bfd77bcd2e8 100644 --- a/shares/item_list_content_types_item_columns_request_builder.go +++ b/shares/item_list_content_types_item_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemListContentTypesItemColumnsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go b/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go index 2b329da5cb1..7f3e736ffbb 100644 --- a/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go +++ b/shares/item_list_content_types_item_copy_to_default_content_location_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListContentTypesItemCopyToDefaultContentLocationRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_content_types_item_is_published_request_builder.go b/shares/item_list_content_types_item_is_published_request_builder.go index 409b63e1227..20e14112e8e 100644 --- a/shares/item_list_content_types_item_is_published_request_builder.go +++ b/shares/item_list_content_types_item_is_published_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemListContentTypesItemIsPublishedRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_content_types_item_publish_request_builder.go b/shares/item_list_content_types_item_publish_request_builder.go index e879d3c5c5d..23ee6464eb0 100644 --- a/shares/item_list_content_types_item_publish_request_builder.go +++ b/shares/item_list_content_types_item_publish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListContentTypesItemPublishRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_content_types_item_unpublish_request_builder.go b/shares/item_list_content_types_item_unpublish_request_builder.go index 64df3de235d..738dfd65880 100644 --- a/shares/item_list_content_types_item_unpublish_request_builder.go +++ b/shares/item_list_content_types_item_unpublish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListContentTypesItemUnpublishRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_content_types_request_builder.go b/shares/item_list_content_types_request_builder.go index c4d6c02906b..7a0cb3ad924 100644 --- a/shares/item_list_content_types_request_builder.go +++ b/shares/item_list_content_types_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemListContentTypesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentTypes for shares @@ -153,7 +153,7 @@ func (m *ItemListContentTypesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_created_by_user_mailbox_settings_request_builder.go b/shares/item_list_created_by_user_mailbox_settings_request_builder.go index dfcc49bbab3..4a1c9878a01 100644 --- a/shares/item_list_created_by_user_mailbox_settings_request_builder.go +++ b/shares/item_list_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_created_by_user_request_builder.go b/shares/item_list_created_by_user_request_builder.go index aebe7942e8d..0e9456124e2 100644 --- a/shares/item_list_created_by_user_request_builder.go +++ b/shares/item_list_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListCreatedByUserRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_created_by_user_service_provisioning_errors_request_builder.go b/shares/item_list_created_by_user_service_provisioning_errors_request_builder.go index b0d165bd043..5cb18adaf86 100644 --- a/shares/item_list_created_by_user_service_provisioning_errors_request_builder.go +++ b/shares/item_list_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl stri func (m *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_drive_request_builder.go b/shares/item_list_drive_request_builder.go index b8060b1cfc0..b21f9be59c1 100644 --- a/shares/item_list_drive_request_builder.go +++ b/shares/item_list_drive_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListDriveRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_item_request_builder.go b/shares/item_list_item_request_builder.go index 3b669257018..2641dbf2cf5 100644 --- a/shares/item_list_item_request_builder.go +++ b/shares/item_list_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListItemRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_delta_request_builder.go b/shares/item_list_items_delta_request_builder.go index 872a8d39bc3..833b67fac0b 100644 --- a/shares/item_list_items_delta_request_builder.go +++ b/shares/item_list_items_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemListItemsDeltaRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_delta_with_token_request_builder.go b/shares/item_list_items_delta_with_token_request_builder.go index 4e272754c14..fad1954dc26 100644 --- a/shares/item_list_items_delta_with_token_request_builder.go +++ b/shares/item_list_items_delta_with_token_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemListItemsDeltaWithTokenRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go b/shares/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go index b2d83c817f4..51a66d0dd08 100644 --- a/shares/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go +++ b/shares/item_list_items_item_activities_item_activity_o_l_d_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of recent activities that took place on this item. @@ -142,7 +142,7 @@ func (m *ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in shares @@ -155,7 +155,7 @@ func (m *ItemListItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go b/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go index 33f8c0a736f..16a174fbd40 100644 --- a/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go +++ b/shares/item_list_items_item_activities_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemContentRequestBuilder) ToPutReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/shares/item_list_items_item_activities_item_drive_item_request_builder.go b/shares/item_list_items_item_activities_item_drive_item_request_builder.go index 90d561f9aa6..352251ac458 100644 --- a/shares/item_list_items_item_activities_item_drive_item_request_builder.go +++ b/shares/item_list_items_item_activities_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemListItemsItemActivitiesItemDriveItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_activities_item_list_item_request_builder.go b/shares/item_list_items_item_activities_item_list_item_request_builder.go index 70cc25658d7..0d3bf49728d 100644 --- a/shares/item_list_items_item_activities_item_list_item_request_builder.go +++ b/shares/item_list_items_item_activities_item_list_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListItemsItemActivitiesItemListItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_activities_request_builder.go b/shares/item_list_items_item_activities_request_builder.go index 164e0410bad..002efe3662d 100644 --- a/shares/item_list_items_item_activities_request_builder.go +++ b/shares/item_list_items_item_activities_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListItemsItemActivitiesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for shares @@ -138,7 +138,7 @@ func (m *ItemListItemsItemActivitiesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_analytics_request_builder.go b/shares/item_list_items_item_analytics_request_builder.go index 1a75406f29a..125d9fb3ade 100644 --- a/shares/item_list_items_item_analytics_request_builder.go +++ b/shares/item_list_items_item_analytics_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListItemsItemAnalyticsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_create_link_request_builder.go b/shares/item_list_items_item_create_link_request_builder.go index 954ea36ef63..c6f519443b1 100644 --- a/shares/item_list_items_item_create_link_request_builder.go +++ b/shares/item_list_items_item_create_link_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemListItemsItemCreateLinkRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_created_by_user_mailbox_settings_request_builder.go b/shares/item_list_items_item_created_by_user_mailbox_settings_request_builder.go index 84b3a33b361..610cef57e56 100644 --- a/shares/item_list_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/shares/item_list_items_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_created_by_user_request_builder.go b/shares/item_list_items_item_created_by_user_request_builder.go index 429767eae20..e51908c4eff 100644 --- a/shares/item_list_items_item_created_by_user_request_builder.go +++ b/shares/item_list_items_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListItemsItemCreatedByUserRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_created_by_user_service_provisioning_errors_request_builder.go b/shares/item_list_items_item_created_by_user_service_provisioning_errors_request_builder.go index 2c616ca4516..1b286731f8f 100644 --- a/shares/item_list_items_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/shares/item_list_items_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder(ra func (m *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go b/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go index d25687ab226..05b5cd52d40 100644 --- a/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property documentSetVersions in shares @@ -161,7 +161,7 @@ func (m *ItemListItemsItemDocumentSetVersionsDocumentSetVersionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_document_set_versions_item_fields_request_builder.go b/shares/item_list_items_item_document_set_versions_item_fields_request_builder.go index 4e5b3d5b5fa..85e72d6844c 100644 --- a/shares/item_list_items_item_document_set_versions_item_fields_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_item_fields_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of the fields and values for this version of the list item. @@ -134,7 +134,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fields in shares @@ -147,7 +147,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go b/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go index a5a9c4b747d..b8977a9b6a5 100644 --- a/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_item_restore_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListItemsItemDocumentSetVersionsItemRestoreRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_document_set_versions_request_builder.go b/shares/item_list_items_item_document_set_versions_request_builder.go index 9d7dee35f55..51e79b2026f 100644 --- a/shares/item_list_items_item_document_set_versions_request_builder.go +++ b/shares/item_list_items_item_document_set_versions_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new version of a document set item in a list. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemListItemsItemDocumentSetVersionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_drive_item_content_request_builder.go b/shares/item_list_items_item_drive_item_content_request_builder.go index f727a9bd680..c557ec986a8 100644 --- a/shares/item_list_items_item_drive_item_content_request_builder.go +++ b/shares/item_list_items_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemListItemsItemDriveItemContentRequestBuilder) ToPutRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/shares/item_list_items_item_drive_item_request_builder.go b/shares/item_list_items_item_drive_item_request_builder.go index edf3e99ad47..65716491c78 100644 --- a/shares/item_list_items_item_drive_item_request_builder.go +++ b/shares/item_list_items_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemListItemsItemDriveItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_fields_request_builder.go b/shares/item_list_items_item_fields_request_builder.go index 7ea31817d57..2a3b5cc214a 100644 --- a/shares/item_list_items_item_fields_request_builder.go +++ b/shares/item_list_items_item_fields_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemListItemsItemFieldsRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the values of the columns set on this list item. @@ -137,7 +137,7 @@ func (m *ItemListItemsItemFieldsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties on a listItem][]. This API is available in the following [national cloud deployments. @@ -150,7 +150,7 @@ func (m *ItemListItemsItemFieldsRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/shares/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 2211bd90885..802afdcff5f 100644 --- a/shares/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/shares/item_list_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemListItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTim requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/shares/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go index bb9e966cd72..1aacb797c9d 100644 --- a/shares/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/shares/item_list_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_last_modified_by_user_request_builder.go b/shares/item_list_items_item_last_modified_by_user_request_builder.go index f27332d7d8c..931eaa7afdf 100644 --- a/shares/item_list_items_item_last_modified_by_user_request_builder.go +++ b/shares/item_list_items_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListItemsItemLastModifiedByUserRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/shares/item_list_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go index 59011d515d0..edf66e244e8 100644 --- a/shares/item_list_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/shares/item_list_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuild func (m *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_versions_item_fields_request_builder.go b/shares/item_list_items_item_versions_item_fields_request_builder.go index 01d083cb6c0..3b848c51d2f 100644 --- a/shares/item_list_items_item_versions_item_fields_request_builder.go +++ b/shares/item_list_items_item_versions_item_fields_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListItemsItemVersionsItemFieldsRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of the fields and values for this version of the list item. @@ -134,7 +134,7 @@ func (m *ItemListItemsItemVersionsItemFieldsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fields in shares @@ -147,7 +147,7 @@ func (m *ItemListItemsItemVersionsItemFieldsRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_versions_item_restore_version_request_builder.go b/shares/item_list_items_item_versions_item_restore_version_request_builder.go index 177abeddbbd..de54c3aa743 100644 --- a/shares/item_list_items_item_versions_item_restore_version_request_builder.go +++ b/shares/item_list_items_item_versions_item_restore_version_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemListItemsItemVersionsItemRestoreVersionRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_items_item_versions_list_item_version_item_request_builder.go b/shares/item_list_items_item_versions_list_item_version_item_request_builder.go index 46f4080d7f1..2b44d727a06 100644 --- a/shares/item_list_items_item_versions_list_item_version_item_request_builder.go +++ b/shares/item_list_items_item_versions_list_item_version_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemListItemsItemVersionsListItemVersionItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of previous versions of the list item. @@ -142,7 +142,7 @@ func (m *ItemListItemsItemVersionsListItemVersionItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property versions in shares @@ -155,7 +155,7 @@ func (m *ItemListItemsItemVersionsListItemVersionItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_item_versions_request_builder.go b/shares/item_list_items_item_versions_request_builder.go index 24d80ab49d1..16feabe55c8 100644 --- a/shares/item_list_items_item_versions_request_builder.go +++ b/shares/item_list_items_item_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListItemsItemVersionsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to versions for shares @@ -138,7 +138,7 @@ func (m *ItemListItemsItemVersionsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_list_item_item_request_builder.go b/shares/item_list_items_list_item_item_request_builder.go index 0babb2cd58e..d2b1402b6ca 100644 --- a/shares/item_list_items_list_item_item_request_builder.go +++ b/shares/item_list_items_list_item_item_request_builder.go @@ -160,7 +160,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. @@ -176,7 +176,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property items in shares @@ -189,7 +189,7 @@ func (m *ItemListItemsListItemItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_items_request_builder.go b/shares/item_list_items_request_builder.go index 6ad39b66c25..71c32e24d98 100644 --- a/shares/item_list_items_request_builder.go +++ b/shares/item_list_items_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemListItemsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. @@ -146,7 +146,7 @@ func (m *ItemListItemsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_last_modified_by_user_mailbox_settings_request_builder.go b/shares/item_list_last_modified_by_user_mailbox_settings_request_builder.go index 0c34fb61620..966bef7c501 100644 --- a/shares/item_list_last_modified_by_user_mailbox_settings_request_builder.go +++ b/shares/item_list_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_last_modified_by_user_request_builder.go b/shares/item_list_last_modified_by_user_request_builder.go index beef294e865..b2051eaa4af 100644 --- a/shares/item_list_last_modified_by_user_request_builder.go +++ b/shares/item_list_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListLastModifiedByUserRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_last_modified_by_user_service_provisioning_errors_request_builder.go b/shares/item_list_last_modified_by_user_service_provisioning_errors_request_builder.go index d08477ad05d..605ab2c14ca 100644 --- a/shares/item_list_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/shares/item_list_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl func (m *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_operations_request_builder.go b/shares/item_list_operations_request_builder.go index 53dbc5adca2..3c965069365 100644 --- a/shares/item_list_operations_request_builder.go +++ b/shares/item_list_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListOperationsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for shares @@ -138,7 +138,7 @@ func (m *ItemListOperationsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_operations_rich_long_running_operation_item_request_builder.go b/shares/item_list_operations_rich_long_running_operation_item_request_builder.go index 7e72017e04a..eec845d715f 100644 --- a/shares/item_list_operations_rich_long_running_operation_item_request_builder.go +++ b/shares/item_list_operations_rich_long_running_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListOperationsRichLongRunningOperationItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of long-running operations on the list. @@ -134,7 +134,7 @@ func (m *ItemListOperationsRichLongRunningOperationItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in shares @@ -147,7 +147,7 @@ func (m *ItemListOperationsRichLongRunningOperationItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_request_builder.go b/shares/item_list_request_builder.go index 544f3af960f..9c26e4690ec 100644 --- a/shares/item_list_request_builder.go +++ b/shares/item_list_request_builder.go @@ -154,7 +154,7 @@ func (m *ItemListRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation used to access the underlying list @@ -170,7 +170,7 @@ func (m *ItemListRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property list in shares @@ -183,7 +183,7 @@ func (m *ItemListRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_subscriptions_item_reauthorize_request_builder.go b/shares/item_list_subscriptions_item_reauthorize_request_builder.go index cfaa2a59780..e557e2776fc 100644 --- a/shares/item_list_subscriptions_item_reauthorize_request_builder.go +++ b/shares/item_list_subscriptions_item_reauthorize_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListSubscriptionsItemReauthorizeRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_list_subscriptions_request_builder.go b/shares/item_list_subscriptions_request_builder.go index b749696200a..c8a78db02da 100644 --- a/shares/item_list_subscriptions_request_builder.go +++ b/shares/item_list_subscriptions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListSubscriptionsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to subscriptions for shares @@ -138,7 +138,7 @@ func (m *ItemListSubscriptionsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_list_subscriptions_subscription_item_request_builder.go b/shares/item_list_subscriptions_subscription_item_request_builder.go index 645ae7bd9e1..dde1768476b 100644 --- a/shares/item_list_subscriptions_subscription_item_request_builder.go +++ b/shares/item_list_subscriptions_subscription_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemListSubscriptionsSubscriptionItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the set of subscriptions on the list. @@ -138,7 +138,7 @@ func (m *ItemListSubscriptionsSubscriptionItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subscriptions in shares @@ -151,7 +151,7 @@ func (m *ItemListSubscriptionsSubscriptionItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_permission_grant_request_builder.go b/shares/item_permission_grant_request_builder.go index 1f2c0a909b1..8e695d00b49 100644 --- a/shares/item_permission_grant_request_builder.go +++ b/shares/item_permission_grant_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemPermissionGrantRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_permission_request_builder.go b/shares/item_permission_request_builder.go index 41be10e42dd..c231892ed33 100644 --- a/shares/item_permission_request_builder.go +++ b/shares/item_permission_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemPermissionRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation used to access the permission representing the underlying sharing link @@ -142,7 +142,7 @@ func (m *ItemPermissionRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permission in shares @@ -155,7 +155,7 @@ func (m *ItemPermissionRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_permission_revoke_grants_request_builder.go b/shares/item_permission_revoke_grants_request_builder.go index ee02b8d5918..274a6ccb289 100644 --- a/shares/item_permission_revoke_grants_request_builder.go +++ b/shares/item_permission_revoke_grants_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemPermissionRevokeGrantsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/item_root_content_request_builder.go b/shares/item_root_content_request_builder.go index 8818efb0a94..0bf24270c7f 100644 --- a/shares/item_root_content_request_builder.go +++ b/shares/item_root_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemRootContentRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemRootContentRequestBuilder) ToPutRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/shares/item_root_request_builder.go b/shares/item_root_request_builder.go index 95bb9cbf566..40697c891e7 100644 --- a/shares/item_root_request_builder.go +++ b/shares/item_root_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemRootRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/item_site_request_builder.go b/shares/item_site_request_builder.go index 58cfb68fded..0f80390e2ab 100644 --- a/shares/item_site_request_builder.go +++ b/shares/item_site_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSiteRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/shares/shared_drive_item_item_request_builder.go b/shares/shared_drive_item_item_request_builder.go index 99581c6b057..88d94207d0c 100644 --- a/shares/shared_drive_item_item_request_builder.go +++ b/shares/shared_drive_item_item_request_builder.go @@ -157,7 +157,7 @@ func (m *SharedDriveItemItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -173,7 +173,7 @@ func (m *SharedDriveItemItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in shares @@ -186,7 +186,7 @@ func (m *SharedDriveItemItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/shares/shares_request_builder.go b/shares/shares_request_builder.go index b00af9b864e..cd0aa94307a 100644 --- a/shares/shares_request_builder.go +++ b/shares/shares_request_builder.go @@ -125,7 +125,7 @@ func (m *SharesRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to shares @@ -138,7 +138,7 @@ func (m *SharesRequestBuilder) ToPostRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/add_request_builder.go b/sites/add_request_builder.go index 7af4fb768a6..2f05dd29934 100644 --- a/sites/add_request_builder.go +++ b/sites/add_request_builder.go @@ -85,7 +85,7 @@ func (m *AddRequestBuilder) ToPostRequestInformation(ctx context.Context, body A requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/delta_request_builder.go b/sites/delta_request_builder.go index de69c5c220d..4deb748d937 100644 --- a/sites/delta_request_builder.go +++ b/sites/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/get_all_sites_request_builder.go b/sites/get_all_sites_request_builder.go index fecaaa36277..9d00d1dcdaa 100644 --- a/sites/get_all_sites_request_builder.go +++ b/sites/get_all_sites_request_builder.go @@ -101,7 +101,7 @@ func (m *GetAllSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_analytics_all_time_request_builder.go b/sites/item_analytics_all_time_request_builder.go index 0475166e8f2..386fc06298f 100644 --- a/sites/item_analytics_all_time_request_builder.go +++ b/sites/item_analytics_all_time_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemAnalyticsAllTimeRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go b/sites/item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go index d079a60da7f..ce3f3c82ebf 100644 --- a/sites/item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activities_item_activity_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation exposes the itemActivities represented in this itemActivityStat resource. @@ -138,7 +138,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in sites @@ -151,7 +151,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemActivityItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go b/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go index 245835ee394..e6dfef6dfea 100644 --- a/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemContentRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go b/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go index 7cb52c466f7..3a1fec1eff6 100644 --- a/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activities_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesItemDriveItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_analytics_item_activity_stats_item_activities_request_builder.go b/sites/item_analytics_item_activity_stats_item_activities_request_builder.go index a9ffe06738f..0b598393270 100644 --- a/sites/item_analytics_item_activity_stats_item_activities_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activities_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for sites @@ -138,7 +138,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivitiesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go b/sites/item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go index 3090d5332be..1bd59a99f42 100644 --- a/sites/item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go +++ b/sites/item_analytics_item_activity_stats_item_activity_stat_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get itemActivityStats from sites @@ -138,7 +138,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property itemActivityStats in sites @@ -151,7 +151,7 @@ func (m *ItemAnalyticsItemActivityStatsItemActivityStatItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_analytics_item_activity_stats_request_builder.go b/sites/item_analytics_item_activity_stats_request_builder.go index c1d9792ac7a..6cf2e0d996b 100644 --- a/sites/item_analytics_item_activity_stats_request_builder.go +++ b/sites/item_analytics_item_activity_stats_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemAnalyticsItemActivityStatsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to itemActivityStats for sites @@ -138,7 +138,7 @@ func (m *ItemAnalyticsItemActivityStatsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_analytics_last_seven_days_request_builder.go b/sites/item_analytics_last_seven_days_request_builder.go index e2484f46b9a..4c638e11273 100644 --- a/sites/item_analytics_last_seven_days_request_builder.go +++ b/sites/item_analytics_last_seven_days_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemAnalyticsLastSevenDaysRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_analytics_request_builder.go b/sites/item_analytics_request_builder.go index 0732600a57d..55c8a7ee2e6 100644 --- a/sites/item_analytics_request_builder.go +++ b/sites/item_analytics_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemAnalyticsRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation analytics about the view activities that took place in this site. @@ -146,7 +146,7 @@ func (m *ItemAnalyticsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property analytics in sites @@ -159,7 +159,7 @@ func (m *ItemAnalyticsRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_columns_column_definition_item_request_builder.go b/sites/item_columns_column_definition_item_request_builder.go index 022a105b438..8f572d26fbb 100644 --- a/sites/item_columns_column_definition_item_request_builder.go +++ b/sites/item_columns_column_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of column definitions reusable across lists under this site. @@ -138,7 +138,7 @@ func (m *ItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columns in sites @@ -151,7 +151,7 @@ func (m *ItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_columns_item_source_column_request_builder.go b/sites/item_columns_item_source_column_request_builder.go index 49cbb6fa957..6a7d7f55833 100644 --- a/sites/item_columns_item_source_column_request_builder.go +++ b/sites/item_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemColumnsItemSourceColumnRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_columns_request_builder.go b/sites/item_columns_request_builder.go index 67e3ffaf36e..5f001aa148a 100644 --- a/sites/item_columns_request_builder.go +++ b/sites/item_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemColumnsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a column for a site][site] by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemColumnsRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go b/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go index b574d326ccb..e2dc8ad7f4c 100644 --- a/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/sites/item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemContentTypesAddCopyFromContentTypeHubRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_content_types_add_copy_request_builder.go b/sites/item_content_types_add_copy_request_builder.go index f224c5be0aa..c0935446741 100644 --- a/sites/item_content_types_add_copy_request_builder.go +++ b/sites/item_content_types_add_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemContentTypesAddCopyRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_content_types_content_type_item_request_builder.go b/sites/item_content_types_content_type_item_request_builder.go index 724ed0af3c7..4640fb7f902 100644 --- a/sites/item_content_types_content_type_item_request_builder.go +++ b/sites/item_content_types_content_type_item_request_builder.go @@ -163,7 +163,7 @@ func (m *ItemContentTypesContentTypeItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. @@ -179,7 +179,7 @@ func (m *ItemContentTypesContentTypeItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a content type][contentType]. This API is available in the following [national cloud deployments. @@ -192,7 +192,7 @@ func (m *ItemContentTypesContentTypeItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_content_types_get_compatible_hub_content_types_request_builder.go b/sites/item_content_types_get_compatible_hub_content_types_request_builder.go index d200aa61b38..9257b7faf4f 100644 --- a/sites/item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/sites/item_content_types_get_compatible_hub_content_types_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemContentTypesGetCompatibleHubContentTypesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_content_types_item_associate_with_hub_sites_request_builder.go b/sites/item_content_types_item_associate_with_hub_sites_request_builder.go index 58df070092a..6f7068c1bf7 100644 --- a/sites/item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/sites/item_content_types_item_associate_with_hub_sites_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemContentTypesItemAssociateWithHubSitesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_content_types_item_base_request_builder.go b/sites/item_content_types_item_base_request_builder.go index 2d1f52e4ae8..f47e3803ed6 100644 --- a/sites/item_content_types_item_base_request_builder.go +++ b/sites/item_content_types_item_base_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemContentTypesItemBaseRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_content_types_item_base_types_content_type_item_request_builder.go b/sites/item_content_types_item_base_types_content_type_item_request_builder.go index e15a5c6086e..d5f73fcbe10 100644 --- a/sites/item_content_types_item_base_types_content_type_item_request_builder.go +++ b/sites/item_content_types_item_base_types_content_type_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_content_types_item_base_types_request_builder.go b/sites/item_content_types_item_base_types_request_builder.go index 0800eb13e49..f4e9b034aae 100644 --- a/sites/item_content_types_item_base_types_request_builder.go +++ b/sites/item_content_types_item_base_types_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemContentTypesItemBaseTypesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_content_types_item_column_links_column_link_item_request_builder.go b/sites/item_content_types_item_column_links_column_link_item_request_builder.go index 0d7a66c7037..9bf567891ef 100644 --- a/sites/item_content_types_item_column_links_column_link_item_request_builder.go +++ b/sites/item_content_types_item_column_links_column_link_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of columns that are required by this content type @@ -134,7 +134,7 @@ func (m *ItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columnLinks in sites @@ -147,7 +147,7 @@ func (m *ItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_content_types_item_column_links_request_builder.go b/sites/item_content_types_item_column_links_request_builder.go index 3eaef71caf2..0e9edd94c5b 100644 --- a/sites/item_content_types_item_column_links_request_builder.go +++ b/sites/item_content_types_item_column_links_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemContentTypesItemColumnLinksRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to columnLinks for sites @@ -138,7 +138,7 @@ func (m *ItemContentTypesItemColumnLinksRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_content_types_item_column_positions_column_definition_item_request_builder.go b/sites/item_content_types_item_column_positions_column_definition_item_request_builder.go index 6656a86ade2..5fea9571af2 100644 --- a/sites/item_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/sites/item_content_types_item_column_positions_column_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemContentTypesItemColumnPositionsColumnDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_content_types_item_column_positions_request_builder.go b/sites/item_content_types_item_column_positions_request_builder.go index dad68ca27ff..3c811f5c789 100644 --- a/sites/item_content_types_item_column_positions_request_builder.go +++ b/sites/item_content_types_item_column_positions_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemContentTypesItemColumnPositionsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_content_types_item_columns_column_definition_item_request_builder.go b/sites/item_content_types_item_columns_column_definition_item_request_builder.go index 323436c7253..e9bff8c4060 100644 --- a/sites/item_content_types_item_columns_column_definition_item_request_builder.go +++ b/sites/item_content_types_item_columns_column_definition_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_content_types_item_columns_item_source_column_request_builder.go b/sites/item_content_types_item_columns_item_source_column_request_builder.go index 14e43a42f6d..324371957e0 100644 --- a/sites/item_content_types_item_columns_item_source_column_request_builder.go +++ b/sites/item_content_types_item_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemContentTypesItemColumnsItemSourceColumnRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_content_types_item_columns_request_builder.go b/sites/item_content_types_item_columns_request_builder.go index 89133f4588d..15919f3e7e3 100644 --- a/sites/item_content_types_item_columns_request_builder.go +++ b/sites/item_content_types_item_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemContentTypesItemColumnsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemContentTypesItemColumnsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_content_types_item_copy_to_default_content_location_request_builder.go b/sites/item_content_types_item_copy_to_default_content_location_request_builder.go index 6dfb65ccb7e..7811eb64ffd 100644 --- a/sites/item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/sites/item_content_types_item_copy_to_default_content_location_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemContentTypesItemCopyToDefaultContentLocationRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_content_types_item_is_published_request_builder.go b/sites/item_content_types_item_is_published_request_builder.go index 30eba8b7e78..29aa7c46523 100644 --- a/sites/item_content_types_item_is_published_request_builder.go +++ b/sites/item_content_types_item_is_published_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemContentTypesItemIsPublishedRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_content_types_item_publish_request_builder.go b/sites/item_content_types_item_publish_request_builder.go index a2c65c78aec..035aea36f6b 100644 --- a/sites/item_content_types_item_publish_request_builder.go +++ b/sites/item_content_types_item_publish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemContentTypesItemPublishRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_content_types_item_unpublish_request_builder.go b/sites/item_content_types_item_unpublish_request_builder.go index 6d417191ef9..a3054724255 100644 --- a/sites/item_content_types_item_unpublish_request_builder.go +++ b/sites/item_content_types_item_unpublish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemContentTypesItemUnpublishRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_content_types_request_builder.go b/sites/item_content_types_request_builder.go index efe285bd751..cc8a8317aa0 100644 --- a/sites/item_content_types_request_builder.go +++ b/sites/item_content_types_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemContentTypesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new contentType][] for a [site][]. This API is available in the following [national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemContentTypesRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_created_by_user_mailbox_settings_request_builder.go b/sites/item_created_by_user_mailbox_settings_request_builder.go index ab16d285d89..093a55d0807 100644 --- a/sites/item_created_by_user_mailbox_settings_request_builder.go +++ b/sites/item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_created_by_user_request_builder.go b/sites/item_created_by_user_request_builder.go index 7497d17e167..44f8aa90c2b 100644 --- a/sites/item_created_by_user_request_builder.go +++ b/sites/item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_created_by_user_service_provisioning_errors_request_builder.go b/sites/item_created_by_user_service_provisioning_errors_request_builder.go index 83705d235cf..75781d234b1 100644 --- a/sites/item_created_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl string, func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_drive_request_builder.go b/sites/item_drive_request_builder.go index 0d4050ce090..f176ccebccb 100644 --- a/sites/item_drive_request_builder.go +++ b/sites/item_drive_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDriveRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_drives_drive_item_request_builder.go b/sites/item_drives_drive_item_request_builder.go index aa2c8d58636..64b69352d68 100644 --- a/sites/item_drives_drive_item_request_builder.go +++ b/sites/item_drives_drive_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDrivesDriveItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_drives_request_builder.go b/sites/item_drives_request_builder.go index 0aa06f0104a..f8ab6586bb4 100644 --- a/sites/item_drives_request_builder.go +++ b/sites/item_drives_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemDrivesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_external_columns_column_definition_item_request_builder.go b/sites/item_external_columns_column_definition_item_request_builder.go index ac8f137a098..071dc6773f7 100644 --- a/sites/item_external_columns_column_definition_item_request_builder.go +++ b/sites/item_external_columns_column_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemExternalColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_external_columns_request_builder.go b/sites/item_external_columns_request_builder.go index 6afdce9f09b..d0a582a294f 100644 --- a/sites/item_external_columns_request_builder.go +++ b/sites/item_external_columns_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemExternalColumnsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/sites/item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index e3269d048b8..5bb8fb658e1 100644 --- a/sites/item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/sites/item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go b/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go index f87fce1bead..438aece286b 100644 --- a/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go +++ b/sites/item_get_applicable_content_types_for_list_with_list_id_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemGetApplicableContentTypesForListWithListIdRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_get_by_path_with_path_request_builder.go b/sites/item_get_by_path_with_path_request_builder.go index ed17fc72a87..26381885e59 100644 --- a/sites/item_get_by_path_with_path_request_builder.go +++ b/sites/item_get_by_path_with_path_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemGetByPathWithPathRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index 639ef56ef32..36c60530e06 100644 --- a/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/sites/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -75,7 +75,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go b/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go index 4382701e5aa..9fe3620e284 100644 --- a/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go +++ b/sites/item_information_protection_bitlocker_recovery_keys_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_information_protection_bitlocker_request_builder.go b/sites/item_information_protection_bitlocker_request_builder.go index 36df9b4cb98..2dd349804bb 100644 --- a/sites/item_information_protection_bitlocker_request_builder.go +++ b/sites/item_information_protection_bitlocker_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemInformationProtectionBitlockerRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go b/sites/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go index bf4034c2bd7..aa479479118 100644 --- a/sites/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go +++ b/sites/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dataLossPreventionPolicies from sites @@ -134,7 +134,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dataLossPreventionPolicies in sites @@ -147,7 +147,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go b/sites/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go index 331c510b582..9625b3f8600 100644 --- a/sites/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go +++ b/sites/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_data_loss_prevention_policies_request_builder.go b/sites/item_information_protection_data_loss_prevention_policies_request_builder.go index 5d6dbe99796..0c156553036 100644 --- a/sites/item_information_protection_data_loss_prevention_policies_request_builder.go +++ b/sites/item_information_protection_data_loss_prevention_policies_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dataLossPreventionPolicies for sites @@ -142,7 +142,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_decrypt_buffer_request_builder.go b/sites/item_information_protection_decrypt_buffer_request_builder.go index cad43104c06..c44adeab6a6 100644 --- a/sites/item_information_protection_decrypt_buffer_request_builder.go +++ b/sites/item_information_protection_decrypt_buffer_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemInformationProtectionDecryptBufferRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_encrypt_buffer_request_builder.go b/sites/item_information_protection_encrypt_buffer_request_builder.go index a3a5bda2e2a..4d9b0200818 100644 --- a/sites/item_information_protection_encrypt_buffer_request_builder.go +++ b/sites/item_information_protection_encrypt_buffer_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemInformationProtectionEncryptBufferRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go b/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go index f89cf9a2694..8d10ce82531 100644 --- a/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go +++ b/sites/item_information_protection_policy_labels_evaluate_application_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go b/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go index b33fa8016c5..37da067b733 100644 --- a/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go +++ b/sites/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go b/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go index 357a13c09fd..5a09a2e7078 100644 --- a/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go +++ b/sites/item_information_protection_policy_labels_evaluate_removal_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_policy_labels_extract_label_request_builder.go b/sites/item_information_protection_policy_labels_extract_label_request_builder.go index 98bca8f869b..19db749a39e 100644 --- a/sites/item_information_protection_policy_labels_extract_label_request_builder.go +++ b/sites/item_information_protection_policy_labels_extract_label_request_builder.go @@ -65,7 +65,7 @@ func (m *ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go b/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go index 64d8c79fd0f..dff3177a9f3 100644 --- a/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go +++ b/sites/item_information_protection_policy_labels_information_protection_label_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property labels in sites @@ -156,7 +156,7 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_policy_labels_request_builder.go b/sites/item_information_protection_policy_labels_request_builder.go index 204c98addff..710cd7befe6 100644 --- a/sites/item_information_protection_policy_labels_request_builder.go +++ b/sites/item_information_protection_policy_labels_request_builder.go @@ -148,7 +148,7 @@ func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to labels for sites @@ -162,7 +162,7 @@ func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_policy_request_builder.go b/sites/item_information_protection_policy_request_builder.go index 44ac641447b..a6a6e02a243 100644 --- a/sites/item_information_protection_policy_request_builder.go +++ b/sites/item_information_protection_policy_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemInformationProtectionPolicyRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get policy from sites @@ -143,7 +143,7 @@ func (m *ItemInformationProtectionPolicyRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policy in sites @@ -157,7 +157,7 @@ func (m *ItemInformationProtectionPolicyRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_request_builder.go b/sites/item_information_protection_request_builder.go index 243057c6655..f88b5c908b1 100644 --- a/sites/item_information_protection_request_builder.go +++ b/sites/item_information_protection_request_builder.go @@ -154,7 +154,7 @@ func (m *ItemInformationProtectionRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get informationProtection from sites @@ -170,7 +170,7 @@ func (m *ItemInformationProtectionRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property informationProtection in sites @@ -183,7 +183,7 @@ func (m *ItemInformationProtectionRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_sensitivity_labels_evaluate_request_builder.go b/sites/item_information_protection_sensitivity_labels_evaluate_request_builder.go index 992a422b1c6..196bfd04c5a 100644 --- a/sites/item_information_protection_sensitivity_labels_evaluate_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go b/sites/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go index 310d16a32f0..34ea3ffed93 100644 --- a/sites/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go b/sites/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go index 77d8166dd43..033197aff2c 100644 --- a/sites/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sublabels for sites @@ -142,7 +142,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go b/sites/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go index 0dc24e903c6..1748e5d5c69 100644 --- a/sites/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sublabels from sites @@ -134,7 +134,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sublabels in sites @@ -147,7 +147,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_sensitivity_labels_request_builder.go b/sites/item_information_protection_sensitivity_labels_request_builder.go index 7e6ce317380..6b466425c88 100644 --- a/sites/item_information_protection_sensitivity_labels_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemInformationProtectionSensitivityLabelsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sensitivityLabels for sites @@ -142,7 +142,7 @@ func (m *ItemInformationProtectionSensitivityLabelsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go b/sites/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go index 972b92233d9..1068e9917f8 100644 --- a/sites/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/sites/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sensitivityLabels from sites @@ -138,7 +138,7 @@ func (m *ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityLabels in sites @@ -151,7 +151,7 @@ func (m *ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_sensitivity_policy_settings_request_builder.go b/sites/item_information_protection_sensitivity_policy_settings_request_builder.go index 3fc2927571a..203fe55a83d 100644 --- a/sites/item_information_protection_sensitivity_policy_settings_request_builder.go +++ b/sites/item_information_protection_sensitivity_policy_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sensitivityPolicySettings from sites @@ -134,7 +134,7 @@ func (m *ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityPolicySettings in sites @@ -147,7 +147,7 @@ func (m *ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_sign_digest_request_builder.go b/sites/item_information_protection_sign_digest_request_builder.go index 2a2dd9b675f..33cad33cd14 100644 --- a/sites/item_information_protection_sign_digest_request_builder.go +++ b/sites/item_information_protection_sign_digest_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemInformationProtectionSignDigestRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_threat_assessment_requests_item_results_request_builder.go b/sites/item_information_protection_threat_assessment_requests_item_results_request_builder.go index 6735e555d4e..95e439b0b87 100644 --- a/sites/item_information_protection_threat_assessment_requests_item_results_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_item_results_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to results for sites @@ -138,7 +138,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go b/sites/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go index 189f8be19eb..0aedafb3378 100644 --- a/sites/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAsses requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it. @@ -134,7 +134,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAsses requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property results in sites @@ -147,7 +147,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAsses requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_threat_assessment_requests_request_builder.go b/sites/item_information_protection_threat_assessment_requests_request_builder.go index 9eefa67850e..67ee8b3fa64 100644 --- a/sites/item_information_protection_threat_assessment_requests_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go b/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go index 12ed8369e6c..faab49901d2 100644 --- a/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/sites/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property threatAssessmentRequests in sites @@ -154,7 +154,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_information_protection_verify_signature_request_builder.go b/sites/item_information_protection_verify_signature_request_builder.go index 5f209b4f63c..18c385727c1 100644 --- a/sites/item_information_protection_verify_signature_request_builder.go +++ b/sites/item_information_protection_verify_signature_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemInformationProtectionVerifySignatureRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_items_base_item_item_request_builder.go b/sites/item_items_base_item_item_request_builder.go index cde5789772c..2d1578b2ed0 100644 --- a/sites/item_items_base_item_item_request_builder.go +++ b/sites/item_items_base_item_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemItemsBaseItemItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_items_request_builder.go b/sites/item_items_request_builder.go index 786b7174942..de39b8a6e46 100644 --- a/sites/item_items_request_builder.go +++ b/sites/item_items_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_last_modified_by_user_mailbox_settings_request_builder.go b/sites/item_last_modified_by_user_mailbox_settings_request_builder.go index 022c861fafc..aea3e5b9a80 100644 --- a/sites/item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/sites/item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_last_modified_by_user_request_builder.go b/sites/item_last_modified_by_user_request_builder.go index 3646c463d25..cce43ff6446 100644 --- a/sites/item_last_modified_by_user_request_builder.go +++ b/sites/item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemLastModifiedByUserRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_last_modified_by_user_service_provisioning_errors_request_builder.go b/sites/item_last_modified_by_user_service_provisioning_errors_request_builder.go index 286802f8189..f27ff5195ab 100644 --- a/sites/item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(rawUrl str func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_activities_request_builder.go b/sites/item_lists_item_activities_request_builder.go index 8639b6e2bc0..8953d1d023c 100644 --- a/sites/item_lists_item_activities_request_builder.go +++ b/sites/item_lists_item_activities_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemListsItemActivitiesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for sites @@ -123,7 +123,7 @@ func (m *ItemListsItemActivitiesRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_columns_column_definition_item_request_builder.go b/sites/item_lists_item_columns_column_definition_item_request_builder.go index b17c2205290..36f514a76e3 100644 --- a/sites/item_lists_item_columns_column_definition_item_request_builder.go +++ b/sites/item_lists_item_columns_column_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemListsItemColumnsColumnDefinitionItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of field definitions for this list. @@ -138,7 +138,7 @@ func (m *ItemListsItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columns in sites @@ -151,7 +151,7 @@ func (m *ItemListsItemColumnsColumnDefinitionItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_columns_item_source_column_request_builder.go b/sites/item_lists_item_columns_item_source_column_request_builder.go index 9c940e3445e..7e2963f2cbb 100644 --- a/sites/item_lists_item_columns_item_source_column_request_builder.go +++ b/sites/item_lists_item_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListsItemColumnsItemSourceColumnRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_columns_request_builder.go b/sites/item_lists_item_columns_request_builder.go index c5d823a37ab..d760f0c421b 100644 --- a/sites/item_lists_item_columns_request_builder.go +++ b/sites/item_lists_item_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListsItemColumnsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemListsItemColumnsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go b/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go index 69d50aee537..0474c1591b6 100644 --- a/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go +++ b/sites/item_lists_item_content_types_add_copy_from_content_type_hub_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemListsItemContentTypesAddCopyFromContentTypeHubRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_content_types_add_copy_request_builder.go b/sites/item_lists_item_content_types_add_copy_request_builder.go index fc7ad7ada52..d094abf618f 100644 --- a/sites/item_lists_item_content_types_add_copy_request_builder.go +++ b/sites/item_lists_item_content_types_add_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemListsItemContentTypesAddCopyRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_content_types_content_type_item_request_builder.go b/sites/item_lists_item_content_types_content_type_item_request_builder.go index 3ae14899d56..d66a731ee4c 100644 --- a/sites/item_lists_item_content_types_content_type_item_request_builder.go +++ b/sites/item_lists_item_content_types_content_type_item_request_builder.go @@ -154,7 +154,7 @@ func (m *ItemListsItemContentTypesContentTypeItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of content types present in this list. @@ -170,7 +170,7 @@ func (m *ItemListsItemContentTypesContentTypeItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contentTypes in sites @@ -183,7 +183,7 @@ func (m *ItemListsItemContentTypesContentTypeItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go b/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go index 81e6f23b5c2..d527dab4ea1 100644 --- a/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go +++ b/sites/item_lists_item_content_types_get_compatible_hub_content_types_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemListsItemContentTypesGetCompatibleHubContentTypesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go b/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go index 1473473f3d2..7f20f782d41 100644 --- a/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go +++ b/sites/item_lists_item_content_types_item_associate_with_hub_sites_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListsItemContentTypesItemAssociateWithHubSitesRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_content_types_item_base_request_builder.go b/sites/item_lists_item_content_types_item_base_request_builder.go index 97205e2e2f3..bdcffd3a19f 100644 --- a/sites/item_lists_item_content_types_item_base_request_builder.go +++ b/sites/item_lists_item_content_types_item_base_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListsItemContentTypesItemBaseRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_content_types_item_base_types_content_type_item_request_builder.go b/sites/item_lists_item_content_types_item_base_types_content_type_item_request_builder.go index e885e8a11dd..698bfc34baf 100644 --- a/sites/item_lists_item_content_types_item_base_types_content_type_item_request_builder.go +++ b/sites/item_lists_item_content_types_item_base_types_content_type_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListsItemContentTypesItemBaseTypesContentTypeItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_content_types_item_base_types_request_builder.go b/sites/item_lists_item_content_types_item_base_types_request_builder.go index 8f6f78c5c5c..611b7b8321b 100644 --- a/sites/item_lists_item_content_types_item_base_types_request_builder.go +++ b/sites/item_lists_item_content_types_item_base_types_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemListsItemContentTypesItemBaseTypesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_content_types_item_column_links_column_link_item_request_builder.go b/sites/item_lists_item_content_types_item_column_links_column_link_item_request_builder.go index 19b68acee23..c965a67ed3f 100644 --- a/sites/item_lists_item_content_types_item_column_links_column_link_item_request_builder.go +++ b/sites/item_lists_item_content_types_item_column_links_column_link_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of columns that are required by this content type @@ -134,7 +134,7 @@ func (m *ItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property columnLinks in sites @@ -147,7 +147,7 @@ func (m *ItemListsItemContentTypesItemColumnLinksColumnLinkItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_content_types_item_column_links_request_builder.go b/sites/item_lists_item_content_types_item_column_links_request_builder.go index e1b76a9a8b2..5715deaba19 100644 --- a/sites/item_lists_item_content_types_item_column_links_request_builder.go +++ b/sites/item_lists_item_content_types_item_column_links_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListsItemContentTypesItemColumnLinksRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to columnLinks for sites @@ -138,7 +138,7 @@ func (m *ItemListsItemContentTypesItemColumnLinksRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go b/sites/item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go index f9a3d3ee736..adc35429223 100644 --- a/sites/item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go +++ b/sites/item_lists_item_content_types_item_column_positions_column_definition_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListsItemContentTypesItemColumnPositionsColumnDefinitionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_content_types_item_column_positions_request_builder.go b/sites/item_lists_item_content_types_item_column_positions_request_builder.go index 6c3ded5b1f8..bad1ce88a3d 100644 --- a/sites/item_lists_item_content_types_item_column_positions_request_builder.go +++ b/sites/item_lists_item_content_types_item_column_positions_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemListsItemContentTypesItemColumnPositionsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go b/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go index db76a2f17cb..3e6dc9bfba3 100644 --- a/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go +++ b/sites/item_lists_item_content_types_item_columns_column_definition_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemListsItemContentTypesItemColumnsColumnDefinitionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_content_types_item_columns_item_source_column_request_builder.go b/sites/item_lists_item_content_types_item_columns_item_source_column_request_builder.go index ebe02afe27e..229a7e1b82e 100644 --- a/sites/item_lists_item_content_types_item_columns_item_source_column_request_builder.go +++ b/sites/item_lists_item_content_types_item_columns_item_source_column_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListsItemContentTypesItemColumnsItemSourceColumnRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_content_types_item_columns_request_builder.go b/sites/item_lists_item_content_types_item_columns_request_builder.go index 212c3922fce..d3b04fa77bb 100644 --- a/sites/item_lists_item_content_types_item_columns_request_builder.go +++ b/sites/item_lists_item_content_types_item_columns_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemListsItemContentTypesItemColumnsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go b/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go index 0c47dd00ba0..8c352a706d7 100644 --- a/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go +++ b/sites/item_lists_item_content_types_item_copy_to_default_content_location_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListsItemContentTypesItemCopyToDefaultContentLocationRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_content_types_item_is_published_request_builder.go b/sites/item_lists_item_content_types_item_is_published_request_builder.go index c079f4f0b5a..bd1ace13721 100644 --- a/sites/item_lists_item_content_types_item_is_published_request_builder.go +++ b/sites/item_lists_item_content_types_item_is_published_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemListsItemContentTypesItemIsPublishedRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_content_types_item_publish_request_builder.go b/sites/item_lists_item_content_types_item_publish_request_builder.go index b918cd88268..80806f3216b 100644 --- a/sites/item_lists_item_content_types_item_publish_request_builder.go +++ b/sites/item_lists_item_content_types_item_publish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListsItemContentTypesItemPublishRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_content_types_item_unpublish_request_builder.go b/sites/item_lists_item_content_types_item_unpublish_request_builder.go index c489b9f7603..b5975ddf689 100644 --- a/sites/item_lists_item_content_types_item_unpublish_request_builder.go +++ b/sites/item_lists_item_content_types_item_unpublish_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListsItemContentTypesItemUnpublishRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_content_types_request_builder.go b/sites/item_lists_item_content_types_request_builder.go index c023a0dc41c..5a9df951073 100644 --- a/sites/item_lists_item_content_types_request_builder.go +++ b/sites/item_lists_item_content_types_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemListsItemContentTypesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contentTypes for sites @@ -153,7 +153,7 @@ func (m *ItemListsItemContentTypesRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_created_by_user_mailbox_settings_request_builder.go b/sites/item_lists_item_created_by_user_mailbox_settings_request_builder.go index ee6307e18fe..654a1e10e8e 100644 --- a/sites/item_lists_item_created_by_user_mailbox_settings_request_builder.go +++ b/sites/item_lists_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListsItemCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListsItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_created_by_user_request_builder.go b/sites/item_lists_item_created_by_user_request_builder.go index d7d8696f9bf..b6041c72a3d 100644 --- a/sites/item_lists_item_created_by_user_request_builder.go +++ b/sites/item_lists_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListsItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_created_by_user_service_provisioning_errors_request_builder.go b/sites/item_lists_item_created_by_user_service_provisioning_errors_request_builder.go index cb0f1cb4fad..170630d52c5 100644 --- a/sites/item_lists_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_lists_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl func (m *ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_drive_request_builder.go b/sites/item_lists_item_drive_request_builder.go index 3b77392a5fd..dde200b0dff 100644 --- a/sites/item_lists_item_drive_request_builder.go +++ b/sites/item_lists_item_drive_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListsItemDriveRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_delta_request_builder.go b/sites/item_lists_item_items_delta_request_builder.go index ec20f5c3034..6d27ae2e8f8 100644 --- a/sites/item_lists_item_items_delta_request_builder.go +++ b/sites/item_lists_item_items_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemListsItemItemsDeltaRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_delta_with_token_request_builder.go b/sites/item_lists_item_items_delta_with_token_request_builder.go index 0026520392e..56efd8cae4c 100644 --- a/sites/item_lists_item_items_delta_with_token_request_builder.go +++ b/sites/item_lists_item_items_delta_with_token_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemListsItemItemsDeltaWithTokenRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go b/sites/item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go index 9caacdede76..591a5dd831c 100644 --- a/sites/item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go +++ b/sites/item_lists_item_items_item_activities_item_activity_o_l_d_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of recent activities that took place on this item. @@ -142,7 +142,7 @@ func (m *ItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in sites @@ -155,7 +155,7 @@ func (m *ItemListsItemItemsItemActivitiesItemActivityOLDItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go b/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go index 596680ef1de..5b5b9346736 100644 --- a/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go +++ b/sites/item_lists_item_items_item_activities_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemListsItemItemsItemActivitiesItemDriveItemContentRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/sites/item_lists_item_items_item_activities_item_drive_item_request_builder.go b/sites/item_lists_item_items_item_activities_item_drive_item_request_builder.go index 69a65ac428a..19a468edb7b 100644 --- a/sites/item_lists_item_items_item_activities_item_drive_item_request_builder.go +++ b/sites/item_lists_item_items_item_activities_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemListsItemItemsItemActivitiesItemDriveItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_activities_item_list_item_request_builder.go b/sites/item_lists_item_items_item_activities_item_list_item_request_builder.go index 7268468fa2a..ea1962d926d 100644 --- a/sites/item_lists_item_items_item_activities_item_list_item_request_builder.go +++ b/sites/item_lists_item_items_item_activities_item_list_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListsItemItemsItemActivitiesItemListItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_activities_request_builder.go b/sites/item_lists_item_items_item_activities_request_builder.go index 32312283680..a8c7bd8e376 100644 --- a/sites/item_lists_item_items_item_activities_request_builder.go +++ b/sites/item_lists_item_items_item_activities_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListsItemItemsItemActivitiesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for sites @@ -138,7 +138,7 @@ func (m *ItemListsItemItemsItemActivitiesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_analytics_request_builder.go b/sites/item_lists_item_items_item_analytics_request_builder.go index e673e0ecca2..5fbfce20927 100644 --- a/sites/item_lists_item_items_item_analytics_request_builder.go +++ b/sites/item_lists_item_items_item_analytics_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemListsItemItemsItemAnalyticsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_create_link_request_builder.go b/sites/item_lists_item_items_item_create_link_request_builder.go index 1357a361a4a..47ef43aecc9 100644 --- a/sites/item_lists_item_items_item_create_link_request_builder.go +++ b/sites/item_lists_item_items_item_create_link_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemListsItemItemsItemCreateLinkRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go b/sites/item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go index c72f9f2e5d0..98b482a483c 100644 --- a/sites/item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/sites/item_lists_item_items_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListsItemItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_created_by_user_request_builder.go b/sites/item_lists_item_items_item_created_by_user_request_builder.go index 316b7b2f6a7..2308158040a 100644 --- a/sites/item_lists_item_items_item_created_by_user_request_builder.go +++ b/sites/item_lists_item_items_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListsItemItemsItemCreatedByUserRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_created_by_user_service_provisioning_errors_request_builder.go b/sites/item_lists_item_items_item_created_by_user_service_provisioning_errors_request_builder.go index e677b3a10d4..f5e3a96b4b6 100644 --- a/sites/item_lists_item_items_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_lists_item_items_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuild func (m *ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListsItemItemsItemCreatedByUserServiceProvisioningErrorsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go index 0816e7f9474..faa3b0fd059 100644 --- a/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_document_set_version_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property documentSetVersions in sites @@ -161,7 +161,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsDocumentSetVersionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_document_set_versions_item_fields_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_item_fields_request_builder.go index e2a3ff0a285..37844e77386 100644 --- a/sites/item_lists_item_items_item_document_set_versions_item_fields_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_item_fields_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of the fields and values for this version of the list item. @@ -134,7 +134,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fields in sites @@ -147,7 +147,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsItemFieldsRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go index 27a51eab9c5..b4384463cc0 100644 --- a/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_item_restore_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsItemRestoreRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_document_set_versions_request_builder.go b/sites/item_lists_item_items_item_document_set_versions_request_builder.go index d98ead6b50f..57812654f51 100644 --- a/sites/item_lists_item_items_item_document_set_versions_request_builder.go +++ b/sites/item_lists_item_items_item_document_set_versions_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new version of a document set item in a list. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemListsItemItemsItemDocumentSetVersionsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_drive_item_content_request_builder.go b/sites/item_lists_item_items_item_drive_item_content_request_builder.go index a10e83517c9..d01a8f2a5be 100644 --- a/sites/item_lists_item_items_item_drive_item_content_request_builder.go +++ b/sites/item_lists_item_items_item_drive_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemListsItemItemsItemDriveItemContentRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -99,7 +99,7 @@ func (m *ItemListsItemItemsItemDriveItemContentRequestBuilder) ToPutRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/sites/item_lists_item_items_item_drive_item_request_builder.go b/sites/item_lists_item_items_item_drive_item_request_builder.go index 00b0dd5ea1d..bf438044b83 100644 --- a/sites/item_lists_item_items_item_drive_item_request_builder.go +++ b/sites/item_lists_item_items_item_drive_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemListsItemItemsItemDriveItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_fields_request_builder.go b/sites/item_lists_item_items_item_fields_request_builder.go index 8de646733e6..964dfd85a7b 100644 --- a/sites/item_lists_item_items_item_fields_request_builder.go +++ b/sites/item_lists_item_items_item_fields_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemListsItemItemsItemFieldsRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the values of the columns set on this list item. @@ -137,7 +137,7 @@ func (m *ItemListsItemItemsItemFieldsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties on a listItem][]. This API is available in the following [national cloud deployments. @@ -150,7 +150,7 @@ func (m *ItemListsItemItemsItemFieldsRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go b/sites/item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go index 6df076476a1..839ba4c9a42 100644 --- a/sites/item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go +++ b/sites/item_lists_item_items_item_get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/sites/item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go index ee402656057..a50ae626801 100644 --- a/sites/item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/sites/item_lists_item_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListsItemItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_last_modified_by_user_request_builder.go b/sites/item_lists_item_items_item_last_modified_by_user_request_builder.go index e3c7d30e812..576649e9c41 100644 --- a/sites/item_lists_item_items_item_last_modified_by_user_request_builder.go +++ b/sites/item_lists_item_items_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListsItemItemsItemLastModifiedByUserRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/sites/item_lists_item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go index 8aa6b88ceeb..873808bff3e 100644 --- a/sites/item_lists_item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_lists_item_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequest func (m *ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsReques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListsItemItemsItemLastModifiedByUserServiceProvisioningErrorsReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_versions_item_fields_request_builder.go b/sites/item_lists_item_items_item_versions_item_fields_request_builder.go index d440d7ea244..f8477194884 100644 --- a/sites/item_lists_item_items_item_versions_item_fields_request_builder.go +++ b/sites/item_lists_item_items_item_versions_item_fields_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListsItemItemsItemVersionsItemFieldsRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of the fields and values for this version of the list item. @@ -134,7 +134,7 @@ func (m *ItemListsItemItemsItemVersionsItemFieldsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fields in sites @@ -147,7 +147,7 @@ func (m *ItemListsItemItemsItemVersionsItemFieldsRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_versions_item_restore_version_request_builder.go b/sites/item_lists_item_items_item_versions_item_restore_version_request_builder.go index 497b67ba38e..80c607c7a94 100644 --- a/sites/item_lists_item_items_item_versions_item_restore_version_request_builder.go +++ b/sites/item_lists_item_items_item_versions_item_restore_version_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemListsItemItemsItemVersionsItemRestoreVersionRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_items_item_versions_list_item_version_item_request_builder.go b/sites/item_lists_item_items_item_versions_list_item_version_item_request_builder.go index 252b1387077..cfbdd66ce45 100644 --- a/sites/item_lists_item_items_item_versions_list_item_version_item_request_builder.go +++ b/sites/item_lists_item_items_item_versions_list_item_version_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of previous versions of the list item. @@ -142,7 +142,7 @@ func (m *ItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property versions in sites @@ -155,7 +155,7 @@ func (m *ItemListsItemItemsItemVersionsListItemVersionItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_item_versions_request_builder.go b/sites/item_lists_item_items_item_versions_request_builder.go index 9bc366b1b15..4bbde31a41b 100644 --- a/sites/item_lists_item_items_item_versions_request_builder.go +++ b/sites/item_lists_item_items_item_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListsItemItemsItemVersionsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to versions for sites @@ -138,7 +138,7 @@ func (m *ItemListsItemItemsItemVersionsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_list_item_item_request_builder.go b/sites/item_lists_item_items_list_item_item_request_builder.go index 413df276e5d..05822da0a1f 100644 --- a/sites/item_lists_item_items_list_item_item_request_builder.go +++ b/sites/item_lists_item_items_list_item_item_request_builder.go @@ -160,7 +160,7 @@ func (m *ItemListsItemItemsListItemItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. @@ -176,7 +176,7 @@ func (m *ItemListsItemItemsListItemItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property items in sites @@ -189,7 +189,7 @@ func (m *ItemListsItemItemsListItemItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_items_request_builder.go b/sites/item_lists_item_items_request_builder.go index db5700a40de..c162fbfdcbc 100644 --- a/sites/item_lists_item_items_request_builder.go +++ b/sites/item_lists_item_items_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemListsItemItemsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. @@ -146,7 +146,7 @@ func (m *ItemListsItemItemsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go b/sites/item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go index e504fdd9853..5997bea3305 100644 --- a/sites/item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/sites/item_lists_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemListsItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_last_modified_by_user_request_builder.go b/sites/item_lists_item_last_modified_by_user_request_builder.go index dab6b1a988d..8e91ef5a2be 100644 --- a/sites/item_lists_item_last_modified_by_user_request_builder.go +++ b/sites/item_lists_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemListsItemLastModifiedByUserRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/sites/item_lists_item_last_modified_by_user_service_provisioning_errors_request_builder.go index 98d2bd8d903..4c702d4274a 100644 --- a/sites/item_lists_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_lists_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(r func (m *ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemListsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemListsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemListsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_operations_request_builder.go b/sites/item_lists_item_operations_request_builder.go index 84d89204d6e..b05034260dc 100644 --- a/sites/item_lists_item_operations_request_builder.go +++ b/sites/item_lists_item_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListsItemOperationsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for sites @@ -138,7 +138,7 @@ func (m *ItemListsItemOperationsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_operations_rich_long_running_operation_item_request_builder.go b/sites/item_lists_item_operations_rich_long_running_operation_item_request_builder.go index 72409534bfe..8cffcd185cb 100644 --- a/sites/item_lists_item_operations_rich_long_running_operation_item_request_builder.go +++ b/sites/item_lists_item_operations_rich_long_running_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of long-running operations on the list. @@ -134,7 +134,7 @@ func (m *ItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in sites @@ -147,7 +147,7 @@ func (m *ItemListsItemOperationsRichLongRunningOperationItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go b/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go index 70ccc366da7..474b2135bde 100644 --- a/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go +++ b/sites/item_lists_item_subscriptions_item_reauthorize_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemListsItemSubscriptionsItemReauthorizeRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_lists_item_subscriptions_request_builder.go b/sites/item_lists_item_subscriptions_request_builder.go index ca56c8b55fb..aebad91fbea 100644 --- a/sites/item_lists_item_subscriptions_request_builder.go +++ b/sites/item_lists_item_subscriptions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemListsItemSubscriptionsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to subscriptions for sites @@ -138,7 +138,7 @@ func (m *ItemListsItemSubscriptionsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_item_subscriptions_subscription_item_request_builder.go b/sites/item_lists_item_subscriptions_subscription_item_request_builder.go index 426cfebde36..743b5884660 100644 --- a/sites/item_lists_item_subscriptions_subscription_item_request_builder.go +++ b/sites/item_lists_item_subscriptions_subscription_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemListsItemSubscriptionsSubscriptionItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the set of subscriptions on the list. @@ -138,7 +138,7 @@ func (m *ItemListsItemSubscriptionsSubscriptionItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property subscriptions in sites @@ -151,7 +151,7 @@ func (m *ItemListsItemSubscriptionsSubscriptionItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_list_item_request_builder.go b/sites/item_lists_list_item_request_builder.go index 1b96777bb44..a79f5636f39 100644 --- a/sites/item_lists_list_item_request_builder.go +++ b/sites/item_lists_list_item_request_builder.go @@ -157,7 +157,7 @@ func (m *ItemListsListItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation return the metadata for a list][]. This API is available in the following [national cloud deployments. @@ -173,7 +173,7 @@ func (m *ItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property lists in sites @@ -186,7 +186,7 @@ func (m *ItemListsListItemRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_lists_request_builder.go b/sites/item_lists_request_builder.go index 0f1ffa43b92..da82d3eb6e6 100644 --- a/sites/item_lists_request_builder.go +++ b/sites/item_lists_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemListsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new list][] in a [site][]. This API is available in the following [national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemListsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index be3124d83f7..3bb124d70cc 100644 --- a/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/sites/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index 31b19acb7c5..652a638909c 100644 --- a/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/sites/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go b/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go index 748d8d9e320..572ad3f63e1 100644 --- a/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go index 60ed230d3c6..ec4b62db415 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go index 041e09149ae..7d2f3989669 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index 4d6e0866033..6d0d2985d4a 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go index 665790cfa1b..20faf30a0f1 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 3fa380baf83..b8e857efd1b 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index d9d872a7c84..fd30f4118af 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroup requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go index df50f0f79e7..ab917c3bdf5 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index a2d9c3c5ce0..16aaa13e7c9 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 2c7df41dd05..de70bb0e28c 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index c1e040be0c3..50e554cfb06 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNot requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 60b97a98002..6853bfff81c 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go index 6dcb1256c0b..4e5ad1dffa7 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 00a2d9edc7b..b63a4fd4562 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in sites @@ -171,7 +171,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go index 65229613405..264c6256633 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for sites @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go index 8fdeb61c1d7..0267e8a40f7 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go index a1abc70a7df..0c2f023f2d7 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroup requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go index 6a302dce3c8..fb77cc1c74b 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the section group. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in sites @@ -167,7 +167,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index 8e521fb9178..48e8e2e1bcf 100644 --- a/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified section group. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_section_groups_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_request_builder.go index 7937204f488..0b9a6a38332 100644 --- a/sites/item_onenote_notebooks_item_section_groups_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section group in the specified notebook. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go b/sites/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go index 24d22e7ed18..45e2c59919f 100644 --- a/sites/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the section groups in the notebook. Read-only. Nullable. @@ -150,7 +150,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sectionGroups in sites @@ -163,7 +163,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index 48f46bd9066..15e4352ac08 100644 --- a/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 7c5bc7da7a8..8b57b3e4b35 100644 --- a/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go index a183dbdf489..83d932126c2 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index c1e97a268df..3f712a8eced 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 28555341a77..ca21af529d3 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go index b9afb725bf9..6466f8ebc1b 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go index 3c10b3a2f5c..2a8e7e2e842 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go index d7825895545..a84f00040a1 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go index 532bada5ef7..64e618962d3 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in sites @@ -171,7 +171,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_sections_item_pages_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_pages_request_builder.go index e5ac6da0283..d876b5c9058 100644 --- a/sites/item_onenote_notebooks_item_sections_item_pages_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for sites @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go index 99c1e48a00c..a9237942e13 100644 --- a/sites/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go b/sites/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go index 64612923bd0..6b673bd6f1c 100644 --- a/sites/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go b/sites/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go index a94752e72cd..52c9aca0ccd 100644 --- a/sites/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the notebook. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in sites @@ -167,7 +167,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_item_sections_request_builder.go b/sites/item_onenote_notebooks_item_sections_request_builder.go index d66d9dea32f..5aa2b34ebbf 100644 --- a/sites/item_onenote_notebooks_item_sections_request_builder.go +++ b/sites/item_onenote_notebooks_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified notebook. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_notebook_item_request_builder.go b/sites/item_onenote_notebooks_notebook_item_request_builder.go index ab57fa8a389..5f9c01c0d12 100644 --- a/sites/item_onenote_notebooks_notebook_item_request_builder.go +++ b/sites/item_onenote_notebooks_notebook_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property notebooks in sites @@ -162,7 +162,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_notebooks_request_builder.go b/sites/item_onenote_notebooks_request_builder.go index 86576c64317..85d8a7ad182 100644 --- a/sites/item_onenote_notebooks_request_builder.go +++ b/sites/item_onenote_notebooks_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new OneNote notebook. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_operations_onenote_operation_item_request_builder.go b/sites/item_onenote_operations_onenote_operation_item_request_builder.go index c93d864fc4a..11e45b8dae6 100644 --- a/sites/item_onenote_operations_onenote_operation_item_request_builder.go +++ b/sites/item_onenote_operations_onenote_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in sites @@ -150,7 +150,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_operations_request_builder.go b/sites/item_onenote_operations_request_builder.go index 1f80514c360..6729720dafa 100644 --- a/sites/item_onenote_operations_request_builder.go +++ b/sites/item_onenote_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for sites @@ -138,7 +138,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_pages_item_content_request_builder.go b/sites/item_onenote_pages_item_content_request_builder.go index f29a8fb1a24..878b98c995d 100644 --- a/sites/item_onenote_pages_item_content_request_builder.go +++ b/sites/item_onenote_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenotePagesItemContentRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenotePagesItemContentRequestBuilder) ToPutRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/sites/item_onenote_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_pages_item_copy_to_section_request_builder.go index 6b78282c301..27ef65f50f9 100644 --- a/sites/item_onenote_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenotePagesItemCopyToSectionRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_pages_item_onenote_patch_content_request_builder.go b/sites/item_onenote_pages_item_onenote_patch_content_request_builder.go index 50ba4f58a65..1077d210644 100644 --- a/sites/item_onenote_pages_item_onenote_patch_content_request_builder.go +++ b/sites/item_onenote_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenotePagesItemOnenotePatchContentRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_pages_item_parent_notebook_request_builder.go b/sites/item_onenote_pages_item_parent_notebook_request_builder.go index 7817728a45f..46848c4a4c9 100644 --- a/sites/item_onenote_pages_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenotePagesItemParentNotebookRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_pages_item_parent_section_request_builder.go b/sites/item_onenote_pages_item_parent_section_request_builder.go index ad9806f7323..18eadb21e25 100644 --- a/sites/item_onenote_pages_item_parent_section_request_builder.go +++ b/sites/item_onenote_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenotePagesItemParentSectionRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_pages_item_preview_request_builder.go b/sites/item_onenote_pages_item_preview_request_builder.go index c9105888f38..26e7378b31d 100644 --- a/sites/item_onenote_pages_item_preview_request_builder.go +++ b/sites/item_onenote_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenotePagesItemPreviewRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_pages_onenote_page_item_request_builder.go b/sites/item_onenote_pages_onenote_page_item_request_builder.go index 4d2757b3892..05edce411bb 100644 --- a/sites/item_onenote_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_pages_onenote_page_item_request_builder.go @@ -145,7 +145,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. @@ -161,7 +161,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in sites @@ -174,7 +174,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_pages_request_builder.go b/sites/item_onenote_pages_request_builder.go index 6b71fd6c183..773fd17c337 100644 --- a/sites/item_onenote_pages_request_builder.go +++ b/sites/item_onenote_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenotePagesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for sites @@ -138,7 +138,7 @@ func (m *ItemOnenotePagesRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_request_builder.go b/sites/item_onenote_request_builder.go index 0d9d38c065e..1e49477174a 100644 --- a/sites/item_onenote_request_builder.go +++ b/sites/item_onenote_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get onenote from sites @@ -158,7 +158,7 @@ func (m *ItemOnenoteRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property onenote in sites @@ -171,7 +171,7 @@ func (m *ItemOnenoteRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_resources_item_content_request_builder.go b/sites/item_onenote_resources_item_content_request_builder.go index c2167f9f4d5..4f17b6da2f3 100644 --- a/sites/item_onenote_resources_item_content_request_builder.go +++ b/sites/item_onenote_resources_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property resources in sites @@ -99,7 +99,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/sites/item_onenote_resources_onenote_resource_item_request_builder.go b/sites/item_onenote_resources_onenote_resource_item_request_builder.go index d820b95434c..d45bf004b39 100644 --- a/sites/item_onenote_resources_onenote_resource_item_request_builder.go +++ b/sites/item_onenote_resources_onenote_resource_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in sites @@ -151,7 +151,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_resources_request_builder.go b/sites/item_onenote_resources_request_builder.go index d9b0d8d675f..273f190268c 100644 --- a/sites/item_onenote_resources_request_builder.go +++ b/sites/item_onenote_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteResourcesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resources for sites @@ -138,7 +138,7 @@ func (m *ItemOnenoteResourcesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_section_groups_item_parent_notebook_request_builder.go b/sites/item_onenote_section_groups_item_parent_notebook_request_builder.go index 70706a70d33..7b5428159a1 100644 --- a/sites/item_onenote_section_groups_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_section_groups_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_section_groups_item_parent_section_group_request_builder.go b/sites/item_onenote_section_groups_item_parent_section_group_request_builder.go index 7d3c39d4068..1e19e513e29 100644 --- a/sites/item_onenote_section_groups_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_section_groups_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_section_groups_item_section_groups_request_builder.go b/sites/item_onenote_section_groups_item_section_groups_request_builder.go index c9846f831ed..3c84b82ec97 100644 --- a/sites/item_onenote_section_groups_item_section_groups_request_builder.go +++ b/sites/item_onenote_section_groups_item_section_groups_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go b/sites/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go index 91650cb93a4..9ea3c59b220 100644 --- a/sites/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/sites/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 2f743806c37..cbd216c5db4 100644 --- a/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index a85e0ef6efd..c06df85dd94 100644 --- a/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go index 096416a0855..e82b805141f 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 81ef9bcada7..553dc205988 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 7b526913a19..08b18f3290e 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index 3951591f103..39d81dbe63d 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index b679df32988..84c0bbb489d 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go index b756c9f8517..9a30e0df751 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 7d4011263d9..ebe2ce597d9 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in sites @@ -171,7 +171,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_section_groups_item_sections_item_pages_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_pages_request_builder.go index d5a03021073..204ff865c5c 100644 --- a/sites/item_onenote_section_groups_item_sections_item_pages_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for sites @@ -138,7 +138,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go index f75068b1d81..806f7a17ed3 100644 --- a/sites/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go b/sites/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go index 1725372ab30..0627b990105 100644 --- a/sites/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go b/sites/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go index 03ec819471a..d296cf36913 100644 --- a/sites/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the section group. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in sites @@ -167,7 +167,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_section_groups_item_sections_request_builder.go b/sites/item_onenote_section_groups_item_sections_request_builder.go index 7500d3e1f6d..be8287cd949 100644 --- a/sites/item_onenote_section_groups_item_sections_request_builder.go +++ b/sites/item_onenote_section_groups_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified section group. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_section_groups_request_builder.go b/sites/item_onenote_section_groups_request_builder.go index 56085edd241..f4ebbd20659 100644 --- a/sites/item_onenote_section_groups_request_builder.go +++ b/sites/item_onenote_section_groups_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sectionGroups for sites @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_section_groups_section_group_item_request_builder.go b/sites/item_onenote_section_groups_section_group_item_request_builder.go index 3721e958363..26d74f8e155 100644 --- a/sites/item_onenote_section_groups_section_group_item_request_builder.go +++ b/sites/item_onenote_section_groups_section_group_item_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sectionGroups in sites @@ -166,7 +166,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go b/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go index 0f303ccd756..56a545253a0 100644 --- a/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/sites/item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go b/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go index 89b275074a3..12709c4cf9d 100644 --- a/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/sites/item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_sections_item_pages_item_content_request_builder.go b/sites/item_onenote_sections_item_pages_item_content_request_builder.go index c76f1accc33..aaa808ccbc8 100644 --- a/sites/item_onenote_sections_item_pages_item_content_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToPutRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index eb56ebb85f4..877537119a6 100644 --- a/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go b/sites/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go index bded8e86e30..19db6419aa1 100644 --- a/sites/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go b/sites/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go index 1e9ea717497..85a55952202 100644 --- a/sites/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_sections_item_pages_item_parent_section_request_builder.go b/sites/item_onenote_sections_item_pages_item_parent_section_request_builder.go index 6851a297d14..48ef2451e83 100644 --- a/sites/item_onenote_sections_item_pages_item_parent_section_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_sections_item_pages_item_preview_request_builder.go b/sites/item_onenote_sections_item_pages_item_preview_request_builder.go index 60884e05917..7530af73479 100644 --- a/sites/item_onenote_sections_item_pages_item_preview_request_builder.go +++ b/sites/item_onenote_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_sections_item_pages_onenote_page_item_request_builder.go b/sites/item_onenote_sections_item_pages_onenote_page_item_request_builder.go index 57b8db67b95..e57f14a6f3b 100644 --- a/sites/item_onenote_sections_item_pages_onenote_page_item_request_builder.go +++ b/sites/item_onenote_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in sites @@ -171,7 +171,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_sections_item_pages_request_builder.go b/sites/item_onenote_sections_item_pages_request_builder.go index 0c50db2ffb4..c08b40e905b 100644 --- a/sites/item_onenote_sections_item_pages_request_builder.go +++ b/sites/item_onenote_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for sites @@ -138,7 +138,7 @@ func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_sections_item_parent_notebook_request_builder.go b/sites/item_onenote_sections_item_parent_notebook_request_builder.go index a6cda0d7e57..d6f4e4dd10e 100644 --- a/sites/item_onenote_sections_item_parent_notebook_request_builder.go +++ b/sites/item_onenote_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemParentNotebookRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_sections_item_parent_section_group_request_builder.go b/sites/item_onenote_sections_item_parent_section_group_request_builder.go index 5716eca71b7..78f66529768 100644 --- a/sites/item_onenote_sections_item_parent_section_group_request_builder.go +++ b/sites/item_onenote_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_onenote_sections_onenote_section_item_request_builder.go b/sites/item_onenote_sections_onenote_section_item_request_builder.go index 68be1b05b0b..82ff80a7d19 100644 --- a/sites/item_onenote_sections_onenote_section_item_request_builder.go +++ b/sites/item_onenote_sections_onenote_section_item_request_builder.go @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in sites @@ -170,7 +170,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_onenote_sections_request_builder.go b/sites/item_onenote_sections_request_builder.go index dff17132a63..c87a306e0c3 100644 --- a/sites/item_onenote_sections_request_builder.go +++ b/sites/item_onenote_sections_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sections for sites @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_operations_request_builder.go b/sites/item_operations_request_builder.go index 4a3672a125e..8b61f1314ce 100644 --- a/sites/item_operations_request_builder.go +++ b/sites/item_operations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for sites @@ -141,7 +141,7 @@ func (m *ItemOperationsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_operations_rich_long_running_operation_item_request_builder.go b/sites/item_operations_rich_long_running_operation_item_request_builder.go index 1e5a473ca1f..61ef6fc407f 100644 --- a/sites/item_operations_rich_long_running_operation_item_request_builder.go +++ b/sites/item_operations_rich_long_running_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemOperationsRichLongRunningOperationItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of a richLongRunningOperation object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemOperationsRichLongRunningOperationItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in sites @@ -150,7 +150,7 @@ func (m *ItemOperationsRichLongRunningOperationItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_pages_base_site_page_item_request_builder.go b/sites/item_pages_base_site_page_item_request_builder.go index c1b514f69d6..22b03097e36 100644 --- a/sites/item_pages_base_site_page_item_request_builder.go +++ b/sites/item_pages_base_site_page_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemPagesBaseSitePageItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the metadata for a baseSitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. @@ -145,7 +145,7 @@ func (m *ItemPagesBaseSitePageItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in sites @@ -158,7 +158,7 @@ func (m *ItemPagesBaseSitePageItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_pages_item_created_by_user_mailbox_settings_request_builder.go b/sites/item_pages_item_created_by_user_mailbox_settings_request_builder.go index f925a88f4b2..ccc17ce2a9e 100644 --- a/sites/item_pages_item_created_by_user_mailbox_settings_request_builder.go +++ b/sites/item_pages_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemPagesItemCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemPagesItemCreatedByUserMailboxSettingsRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_pages_item_created_by_user_request_builder.go b/sites/item_pages_item_created_by_user_request_builder.go index 2bf75e4141c..ba17eaa6d78 100644 --- a/sites/item_pages_item_created_by_user_request_builder.go +++ b/sites/item_pages_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemPagesItemCreatedByUserRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_pages_item_created_by_user_service_provisioning_errors_request_builder.go b/sites/item_pages_item_created_by_user_service_provisioning_errors_request_builder.go index 107c8ad2251..b8393af8a13 100644 --- a/sites/item_pages_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_pages_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUrl func (m *ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemPagesItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemPagesItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get( } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemPagesItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go b/sites/item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go index 04ebda16f2a..4c6c64f6f59 100644 --- a/sites/item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/sites/item_pages_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemPagesItemLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_pages_item_last_modified_by_user_request_builder.go b/sites/item_pages_item_last_modified_by_user_request_builder.go index bea3b15467b..274789826a6 100644 --- a/sites/item_pages_item_last_modified_by_user_request_builder.go +++ b/sites/item_pages_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemPagesItemLastModifiedByUserRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_pages_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/sites/item_pages_item_last_modified_by_user_service_provisioning_errors_request_builder.go index f303cbe0c41..38a8fe79ad8 100644 --- a/sites/item_pages_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_pages_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder(r func (m *ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemPagesItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemPagesItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemPagesItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_pages_request_builder.go b/sites/item_pages_request_builder.go index 9b526a562d7..51d362d4436 100644 --- a/sites/item_pages_request_builder.go +++ b/sites/item_pages_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new sitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemPagesRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_permissions_item_grant_request_builder.go b/sites/item_permissions_item_grant_request_builder.go index 0a596dc50d8..d828455e1cb 100644 --- a/sites/item_permissions_item_grant_request_builder.go +++ b/sites/item_permissions_item_grant_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemPermissionsItemGrantRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_permissions_item_revoke_grants_request_builder.go b/sites/item_permissions_item_revoke_grants_request_builder.go index b4c3eb9d68d..dd2bf605c6b 100644 --- a/sites/item_permissions_item_revoke_grants_request_builder.go +++ b/sites/item_permissions_item_revoke_grants_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemPermissionsItemRevokeGrantsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_permissions_permission_item_request_builder.go b/sites/item_permissions_permission_item_request_builder.go index d53ffef6679..a8c81ea4dae 100644 --- a/sites/item_permissions_permission_item_request_builder.go +++ b/sites/item_permissions_permission_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPermissionsPermissionItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemPermissionsPermissionItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the permission object on a site. This API is available in the following national cloud deployments. @@ -161,7 +161,7 @@ func (m *ItemPermissionsPermissionItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_permissions_request_builder.go b/sites/item_permissions_request_builder.go index b4747fd5143..796f36fa299 100644 --- a/sites/item_permissions_request_builder.go +++ b/sites/item_permissions_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new permission object on a site. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemPermissionsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_recycle_bin_created_by_user_mailbox_settings_request_builder.go b/sites/item_recycle_bin_created_by_user_mailbox_settings_request_builder.go index c135f3fb7f5..5d1aa787db7 100644 --- a/sites/item_recycle_bin_created_by_user_mailbox_settings_request_builder.go +++ b/sites/item_recycle_bin_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_recycle_bin_created_by_user_request_builder.go b/sites/item_recycle_bin_created_by_user_request_builder.go index c378a3a2abb..6f4bc013b71 100644 --- a/sites/item_recycle_bin_created_by_user_request_builder.go +++ b/sites/item_recycle_bin_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemRecycleBinCreatedByUserRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go b/sites/item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go index d91fe2872a9..fd5b6002d5a 100644 --- a/sites/item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_recycle_bin_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder(rawUr func (m *ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemRecycleBinCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemRecycleBinCreatedByUserServiceProvisioningErrorsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go b/sites/item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go index eeb1b635d91..ec1c54d78e8 100644 --- a/sites/item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go +++ b/sites/item_recycle_bin_items_item_created_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemRecycleBinItemsItemCreatedByUserMailboxSettingsRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_recycle_bin_items_item_created_by_user_request_builder.go b/sites/item_recycle_bin_items_item_created_by_user_request_builder.go index dfed929d9ad..a118bf359ae 100644 --- a/sites/item_recycle_bin_items_item_created_by_user_request_builder.go +++ b/sites/item_recycle_bin_items_item_created_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemRecycleBinItemsItemCreatedByUserRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_recycle_bin_items_item_created_by_user_service_provisioning_errors_request_builder.go b/sites/item_recycle_bin_items_item_created_by_user_service_provisioning_errors_request_builder.go index 480c8a53905..eed2749b50a 100644 --- a/sites/item_recycle_bin_items_item_created_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_recycle_bin_items_item_created_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuil func (m *ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBui } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemRecycleBinItemsItemCreatedByUserServiceProvisioningErrorsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_recycle_bin_items_item_last_modified_by_user_mailbox_settings_request_builder.go b/sites/item_recycle_bin_items_item_last_modified_by_user_mailbox_settings_request_builder.go index d6d5b225126..7b503cdba13 100644 --- a/sites/item_recycle_bin_items_item_last_modified_by_user_mailbox_settings_request_builder.go +++ b/sites/item_recycle_bin_items_item_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemRecycleBinItemsItemLastModifiedByUserMailboxSettingsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_recycle_bin_items_item_last_modified_by_user_request_builder.go b/sites/item_recycle_bin_items_item_last_modified_by_user_request_builder.go index b88ab45c85a..2524f71daad 100644 --- a/sites/item_recycle_bin_items_item_last_modified_by_user_request_builder.go +++ b/sites/item_recycle_bin_items_item_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemRecycleBinItemsItemLastModifiedByUserRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_recycle_bin_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go b/sites/item_recycle_bin_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go index 9613f32862a..317dea29a0c 100644 --- a/sites/item_recycle_bin_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_recycle_bin_items_item_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsReques func (m *ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemRecycleBinItemsItemLastModifiedByUserServiceProvisioningErrorsReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_recycle_bin_items_recycle_bin_item_item_request_builder.go b/sites/item_recycle_bin_items_recycle_bin_item_item_request_builder.go index 779b5e76cf0..8a7b9f7c324 100644 --- a/sites/item_recycle_bin_items_recycle_bin_item_item_request_builder.go +++ b/sites/item_recycle_bin_items_recycle_bin_item_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of the recycleBinItems deleted by a user. @@ -142,7 +142,7 @@ func (m *ItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property items in sites @@ -155,7 +155,7 @@ func (m *ItemRecycleBinItemsRecycleBinItemItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_recycle_bin_items_request_builder.go b/sites/item_recycle_bin_items_request_builder.go index a40b543c761..ceeca82bdf1 100644 --- a/sites/item_recycle_bin_items_request_builder.go +++ b/sites/item_recycle_bin_items_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemRecycleBinItemsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to items for sites @@ -141,7 +141,7 @@ func (m *ItemRecycleBinItemsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go b/sites/item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go index 54dfcc4b359..8c594bce62c 100644 --- a/sites/item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go +++ b/sites/item_recycle_bin_last_modified_by_user_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemRecycleBinLastModifiedByUserMailboxSettingsRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_recycle_bin_last_modified_by_user_request_builder.go b/sites/item_recycle_bin_last_modified_by_user_request_builder.go index 134b3f70c96..d98fd3fad26 100644 --- a/sites/item_recycle_bin_last_modified_by_user_request_builder.go +++ b/sites/item_recycle_bin_last_modified_by_user_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemRecycleBinLastModifiedByUserRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_recycle_bin_last_modified_by_user_service_provisioning_errors_request_builder.go b/sites/item_recycle_bin_last_modified_by_user_service_provisioning_errors_request_builder.go index 4527534289c..e8d5b5c66ea 100644 --- a/sites/item_recycle_bin_last_modified_by_user_service_provisioning_errors_request_builder.go +++ b/sites/item_recycle_bin_last_modified_by_user_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder( func (m *ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Count()(*ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilder) { return NewItemRecycleBinLastModifiedByUserServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemRecycleBinLastModifiedByUserServiceProvisioningErrorsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_recycle_bin_request_builder.go b/sites/item_recycle_bin_request_builder.go index 272714b4297..139e027204d 100644 --- a/sites/item_recycle_bin_request_builder.go +++ b/sites/item_recycle_bin_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemRecycleBinRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a container for a collection of recycleBinItem resources in this site. @@ -146,7 +146,7 @@ func (m *ItemRecycleBinRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property recycleBin in sites @@ -159,7 +159,7 @@ func (m *ItemRecycleBinRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_sites_request_builder.go b/sites/item_sites_request_builder.go index 9a045e82149..eb724d4ce95 100644 --- a/sites/item_sites_request_builder.go +++ b/sites/item_sites_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemSitesRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_sites_site_item_request_builder.go b/sites/item_sites_site_item_request_builder.go index 0ff9cbd9adf..e1fd1c9cc6b 100644 --- a/sites/item_sites_site_item_request_builder.go +++ b/sites/item_sites_site_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemSitesSiteItemRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_group_item_request_builder.go b/sites/item_term_store_groups_group_item_request_builder.go index b5f971f03f6..a8ef3cda12b 100644 --- a/sites/item_term_store_groups_group_item_request_builder.go +++ b/sites/item_term_store_groups_group_item_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTermStoreGroupsGroupItemRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTermStoreGroupsGroupItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groups in sites @@ -157,7 +157,7 @@ func (m *ItemTermStoreGroupsGroupItemRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index bfbbefb16f4..dead3a43e3a 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemFro requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go index cbca8a1c3d6..c67893ad815 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemSet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index df688566ec8..85ee82cf6ef 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsItemToT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go index 3369c17bc14..91969f530d7 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go index cdf40fd972d..dacc5a3d04b 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemRelationsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go index ce8a31d9e1e..ed55f0fb6b5 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_request_builder.go index a3862ad736d..56456ddb06f 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go index 50850591d0a..992cbdb40e4 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemChildrenTermItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go index 3bcff368c81..f326afa761e 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemFromTermRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go index e95063345b1..c6bfcac4f2b 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemSetRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go index a81902eb724..bd8830b5d7c 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsItemToTermRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go index f17ba4de82d..bf08889782f 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRelationItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_children_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_relations_request_builder.go index d9ef16e4cee..db6a64ed53a 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemRelationsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_children_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_item_set_request_builder.go index c69aaba1644..0325f6facc0 100644 --- a/sites/item_term_store_groups_item_sets_item_children_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenItemSetRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_children_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_request_builder.go index f19dc4873d7..c19ecde1fbe 100644 --- a/sites/item_term_store_groups_item_sets_item_children_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new term object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_children_term_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_children_term_item_request_builder.go index bfe466928b3..670a9cdf1cf 100644 --- a/sites/item_term_store_groups_item_sets_item_children_term_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_children_term_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children terms of set in term [store]. @@ -146,7 +146,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in sites @@ -159,7 +159,7 @@ func (m *ItemTermStoreGroupsItemSetsItemChildrenTermItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_parent_group_request_builder.go b/sites/item_term_store_groups_item_sets_item_parent_group_request_builder.go index 41aa4e72cd4..d683a2f468d 100644 --- a/sites/item_term_store_groups_item_sets_item_parent_group_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_parent_group_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the parent [group] that contains the set. @@ -134,7 +134,7 @@ func (m *ItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property parentGroup in sites @@ -147,7 +147,7 @@ func (m *ItemTermStoreGroupsItemSetsItemParentGroupRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go index b72be595dd2..bff4d98d2ef 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsItemFromTermRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_relations_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_item_set_request_builder.go index 51c57efeaca..7d7b8321579 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsItemSetRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go index 5033bf3c642..73c1a331893 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsItemToTermRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go index 80feb5bbef0..6ba2a32e98e 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. @@ -142,7 +142,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsRelationItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_relations_request_builder.go index 83dceca76b7..1a479aeb624 100644 --- a/sites/item_term_store_groups_item_sets_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_relations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -141,7 +141,7 @@ func (m *ItemTermStoreGroupsItemSetsItemRelationsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index c0a42e644fe..1bd43249d01 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 9e61169ca35..2cc3ace4873 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemSetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 3d7b3fb9101..3b46d2b9940 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsItemToTerm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 52a1461bc9a..cddf2b766ae 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRelationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go index 68d837c6963..4c493f58127 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemRelationsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go index 107dbc91744..d53498a94a9 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_request_builder.go index 729abb667d5..53ea6e5ea06 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go index 4674bedac26..5f96a8223a7 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go index ca7874ce145..462a5b048e4 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemFromTermRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go index 015b396b469..2b3a8e506f9 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go index e7e5c8b1132..4c3f8b605fe 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsItemToTermRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go index 8dac228dd1f..4a6f8f18eca 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRelationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go index 998ffc58708..a860744f662 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemRelationsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_terms_item_set_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_item_set_request_builder.go index 7c65430f86b..caa8b384805 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_item_set_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsItemSetRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_groups_item_sets_item_terms_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_request_builder.go index cf80b2916e6..2f65c7d74b2 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to terms for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go b/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go index db1be7a291e..ff7d8df3c5e 100644 --- a/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_item_terms_term_item_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a term object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *ItemTermStoreGroupsItemSetsItemTermsTermItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_request_builder.go b/sites/item_term_store_groups_item_sets_request_builder.go index 5be31e96ca0..2126fd835d7 100644 --- a/sites/item_term_store_groups_item_sets_request_builder.go +++ b/sites/item_term_store_groups_item_sets_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTermStoreGroupsItemSetsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sets for sites @@ -141,7 +141,7 @@ func (m *ItemTermStoreGroupsItemSetsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_item_sets_set_item_request_builder.go b/sites/item_term_store_groups_item_sets_set_item_request_builder.go index 0c41850d25e..f9e022a4041 100644 --- a/sites/item_term_store_groups_item_sets_set_item_request_builder.go +++ b/sites/item_term_store_groups_item_sets_set_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemTermStoreGroupsItemSetsSetItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation all sets under the group in a term [store]. @@ -150,7 +150,7 @@ func (m *ItemTermStoreGroupsItemSetsSetItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sets in sites @@ -163,7 +163,7 @@ func (m *ItemTermStoreGroupsItemSetsSetItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_groups_request_builder.go b/sites/item_term_store_groups_request_builder.go index 4e12cc6432c..c3f9932fec6 100644 --- a/sites/item_term_store_groups_request_builder.go +++ b/sites/item_term_store_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTermStoreGroupsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new group object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTermStoreGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_request_builder.go b/sites/item_term_store_request_builder.go index c043602567e..598558f8988 100644 --- a/sites/item_term_store_request_builder.go +++ b/sites/item_term_store_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemTermStoreRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a store object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ItemTermStoreRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property termStore in sites @@ -158,7 +158,7 @@ func (m *ItemTermStoreRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index 3d661b9a6c4..bf590f44094 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemFromTermReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go index 1cb71142977..7af659eda4d 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemSetRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 678a630e847..683e9d1d238 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsItemToTermRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go index f30686c726b..516babdbd19 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRelationItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_children_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_relations_request_builder.go index 6335d69d3b7..2e7d322f0e5 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemRelationsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_children_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_children_item_children_item_set_request_builder.go index ffefbd6cb8a..20e55803fe4 100644 --- a/sites/item_term_store_sets_item_children_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenItemSetRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_children_item_children_request_builder.go b/sites/item_term_store_sets_item_children_item_children_request_builder.go index 6bae0d9b960..41196eae065 100644 --- a/sites/item_term_store_sets_item_children_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_children_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_children_item_children_term_item_request_builder.go index 0cf98338189..32806461d32 100644 --- a/sites/item_term_store_sets_item_children_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemChildrenItemChildrenTermItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go index 2557b60ddd8..965447dac44 100644 --- a/sites/item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsItemFromTermRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_item_set_request_builder.go index 1064743fa62..4693192e28b 100644 --- a/sites/item_term_store_sets_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsItemSetRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go index 9c69ee81c33..f2d63470047 100644 --- a/sites/item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsItemToTermRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_relation_item_request_builder.go index c35012691d8..b563f004bb7 100644 --- a/sites/item_term_store_sets_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsRelationItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_children_item_relations_request_builder.go index 1fd9117c36a..d740c2fd1ee 100644 --- a/sites/item_term_store_sets_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemChildrenItemRelationsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_children_item_set_request_builder.go index 3a5a330f366..ad84caa4f5c 100644 --- a/sites/item_term_store_sets_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemChildrenItemSetRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_children_request_builder.go b/sites/item_term_store_sets_item_children_request_builder.go index 7c0d97991f6..e3d8f64fa26 100644 --- a/sites/item_term_store_sets_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_children_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTermStoreSetsItemChildrenRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new term object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTermStoreSetsItemChildrenRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_children_term_item_request_builder.go index 620cf7a7444..3368b39f88d 100644 --- a/sites/item_term_store_sets_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_children_term_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemTermStoreSetsItemChildrenTermItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children terms of set in term [store]. @@ -146,7 +146,7 @@ func (m *ItemTermStoreSetsItemChildrenTermItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in sites @@ -159,7 +159,7 @@ func (m *ItemTermStoreSetsItemChildrenTermItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_request_builder.go b/sites/item_term_store_sets_item_parent_group_request_builder.go index b6f4e58b6c1..2ab3502328f 100644 --- a/sites/item_term_store_sets_item_parent_group_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemTermStoreSetsItemParentGroupRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the parent [group] that contains the set. @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemParentGroupRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property parentGroup in sites @@ -151,7 +151,7 @@ func (m *ItemTermStoreSetsItemParentGroupRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index 0fe2264dd36..92108192f9f 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go index 16dbb71ca9f..1a808e1302a 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 295aa800b60..61c15bf3cd0 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go index cd3281b1a78..400fee76b41 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go index 7c7eed098df..0b535902c53 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemRelatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go index fe257cf5bc1..b63d1c03a4e 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go index 64d9a047a68..0f7bc756c5d 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go index 90a618a3b57..cb53e90b2bd 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemChildrenTermItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go index 6c763c96538..6c3234ebbef 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemFromTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go index 3bbd78e9fc6..dde9e28bcbd 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemSetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go index 34b3215721d..670ecab839d 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsItemToTerm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go index 5bbdab1614c..5333435a4af 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRelationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go index 6c74b8334db..f4e4c7d2817 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemRelationsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go index 4803dbc06d1..bcf7f793279 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenItemSetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go index 00165d6f281..511cfd8490d 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new term object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go index 596907fe0b7..a31c9d95baa 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_children_term_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children terms of set in term [store]. @@ -146,7 +146,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in sites @@ -159,7 +159,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go index 203ad02e404..00e7917e47c 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsItemFromTermRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go index 48c44c5f52e..a72709c1a76 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsItemSetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go index 1fdd335bc2c..f5755434d92 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsItemToTermRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go index 9faee791a84..a48eabdf51d 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRelationItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go index cce6230fd7c..d8a14908c0b 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_relations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -141,7 +141,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemRelationsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index c21bc7a8249..d912b69c1a3 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 0a0219e0841..0e329f30524 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 4e81e8ea0a7..be4f1104f30 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 3511b2dd7fc..477e817d0fc 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go index e7e65d47227..82dcaac506e 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemRelationsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go index 366c5affba0..1aba75777d2 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenItemSetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go index 1a27365dfa9..258c1b11e77 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go index 97c53c7759c..7aa0ba650c5 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemChildrenTermItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go index 6d98926380a..4b39020d554 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemFromTermR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go index b40eb27a4d3..39c69a87547 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemSetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go index dc4a47e1bef..1c55e9b0179 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsItemToTermReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go index 83ced3c2e9d..23d6277c5ed 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRelationItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go index 2e105f76f2f..49ced5ba01c 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemRelationsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go index 2ee3d51fa6e..0e53b203abd 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsItemSetRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go index a419d4d0d30..24bf319dd23 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to terms for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go index 16b60adbdd8..449e40fbdf6 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_item_terms_term_item_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a term object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsItemTermsTermItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_request_builder.go index 3c6064af54c..573a0e3935b 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sets for sites @@ -141,7 +141,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_parent_group_sets_set_item_request_builder.go b/sites/item_term_store_sets_item_parent_group_sets_set_item_request_builder.go index e46ccffb479..a624e0394a1 100644 --- a/sites/item_term_store_sets_item_parent_group_sets_set_item_request_builder.go +++ b/sites/item_term_store_sets_item_parent_group_sets_set_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation all sets under the group in a term [store]. @@ -146,7 +146,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sets in sites @@ -159,7 +159,7 @@ func (m *ItemTermStoreSetsItemParentGroupSetsSetItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_relations_item_from_term_request_builder.go index 2bc558dee87..e2c74bd67a7 100644 --- a/sites/item_term_store_sets_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemRelationsItemFromTermRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_relations_item_set_request_builder.go index c5ffb48ace8..d6c8235cbcd 100644 --- a/sites/item_term_store_sets_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemRelationsItemSetRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_relations_item_to_term_request_builder.go index 1da3556aebd..16a0ea89163 100644 --- a/sites/item_term_store_sets_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemRelationsItemToTermRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_relations_relation_item_request_builder.go index 0f89987927e..9cd254b88ac 100644 --- a/sites/item_term_store_sets_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemRelationsRelationItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemRelationsRelationItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemRelationsRelationItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_relations_request_builder.go b/sites/item_term_store_sets_item_relations_request_builder.go index 137d305b704..de6a639428e 100644 --- a/sites/item_term_store_sets_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_relations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTermStoreSetsItemRelationsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -141,7 +141,7 @@ func (m *ItemTermStoreSetsItemRelationsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 2c7f1fa869a..0335c068829 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemFromTermRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 54114ad49f6..01ad4f319cf 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index b67ca90f107..cc63058291d 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsItemToTermRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 28d97437038..f0fff5847c5 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRelationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_terms_item_children_item_relations_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_relations_request_builder.go index ceacbfba01a..1eb592c46c0 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemRelationsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_terms_item_children_item_set_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_item_set_request_builder.go index 1ff73337e26..9cd15bc9681 100644 --- a/sites/item_term_store_sets_item_terms_item_children_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenItemSetRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_terms_item_children_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_request_builder.go index 1297d6c6627..d43de2d5e4c 100644 --- a/sites/item_term_store_sets_item_terms_item_children_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_terms_item_children_term_item_request_builder.go b/sites/item_term_store_sets_item_terms_item_children_term_item_request_builder.go index dd3ced524c1..55aca2b5586 100644 --- a/sites/item_term_store_sets_item_terms_item_children_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemTermsItemChildrenTermItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go index f001f470c7c..1410daa7eec 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsItemFromTermRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_terms_item_relations_item_set_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_item_set_request_builder.go index 3affceaa981..322a4171df3 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsItemSetRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go index 4516f8a5072..8c9a20e15ff 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsItemToTermRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go index 71a58d3dace..8001d1bb4df 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in sites @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsRelationItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_terms_item_relations_request_builder.go b/sites/item_term_store_sets_item_terms_item_relations_request_builder.go index 571b22c9fc0..b4ed62b6a21 100644 --- a/sites/item_term_store_sets_item_terms_item_relations_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemTermsItemRelationsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_terms_item_set_request_builder.go b/sites/item_term_store_sets_item_terms_item_set_request_builder.go index 23ef418c17b..8f3dcfa8a20 100644 --- a/sites/item_term_store_sets_item_terms_item_set_request_builder.go +++ b/sites/item_term_store_sets_item_terms_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTermStoreSetsItemTermsItemSetRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/sites/item_term_store_sets_item_terms_request_builder.go b/sites/item_term_store_sets_item_terms_request_builder.go index 0d33ff9b132..fbee5927024 100644 --- a/sites/item_term_store_sets_item_terms_request_builder.go +++ b/sites/item_term_store_sets_item_terms_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to terms for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsItemTermsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_item_terms_term_item_request_builder.go b/sites/item_term_store_sets_item_terms_term_item_request_builder.go index 213f452ef1f..8f9c04075f2 100644 --- a/sites/item_term_store_sets_item_terms_term_item_request_builder.go +++ b/sites/item_term_store_sets_item_terms_term_item_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a term object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *ItemTermStoreSetsItemTermsTermItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_request_builder.go b/sites/item_term_store_sets_request_builder.go index f36113a980c..6e75be601c3 100644 --- a/sites/item_term_store_sets_request_builder.go +++ b/sites/item_term_store_sets_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTermStoreSetsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sets for sites @@ -138,7 +138,7 @@ func (m *ItemTermStoreSetsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/item_term_store_sets_set_item_request_builder.go b/sites/item_term_store_sets_set_item_request_builder.go index 9ff9fa128ca..cd660f845cd 100644 --- a/sites/item_term_store_sets_set_item_request_builder.go +++ b/sites/item_term_store_sets_set_item_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemTermStoreSetsSetItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a set object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *ItemTermStoreSetsSetItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a set object. This API is available in the following national cloud deployments. @@ -172,7 +172,7 @@ func (m *ItemTermStoreSetsSetItemRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/remove_request_builder.go b/sites/remove_request_builder.go index 14868a4d25e..01868112310 100644 --- a/sites/remove_request_builder.go +++ b/sites/remove_request_builder.go @@ -85,7 +85,7 @@ func (m *RemoveRequestBuilder) ToPostRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/site_item_request_builder.go b/sites/site_item_request_builder.go index 73f036c02b1..4a15b1a74ad 100644 --- a/sites/site_item_request_builder.go +++ b/sites/site_item_request_builder.go @@ -185,7 +185,7 @@ func (m *SiteItemRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in sites @@ -198,7 +198,7 @@ func (m *SiteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/sites/sites_request_builder.go b/sites/sites_request_builder.go index 2aa460dae6b..5d69576bf09 100644 --- a/sites/sites_request_builder.go +++ b/sites/sites_request_builder.go @@ -118,7 +118,7 @@ func (m *SitesRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/business_scenarios_business_scenario_item_request_builder.go b/solutions/business_scenarios_business_scenario_item_request_builder.go index d9c53eb7e84..f138a0f988a 100644 --- a/solutions/business_scenarios_business_scenario_item_request_builder.go +++ b/solutions/business_scenarios_business_scenario_item_request_builder.go @@ -131,7 +131,7 @@ func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a businessScenario object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a businessScenario object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *BusinessScenariosBusinessScenarioItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_get_plan_request_builder.go b/solutions/business_scenarios_item_planner_get_plan_request_builder.go index 3df903a967b..7566878f64f 100644 --- a/solutions/business_scenarios_item_planner_get_plan_request_builder.go +++ b/solutions/business_scenarios_item_planner_get_plan_request_builder.go @@ -63,7 +63,7 @@ func (m *BusinessScenariosItemPlannerGetPlanRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go b/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go index b07d4f825a2..03b57cafab4 100644 --- a/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go +++ b/solutions/business_scenarios_item_planner_plan_configuration_localizations_planner_plan_configuration_localization_item_request_builder.go @@ -127,7 +127,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanCo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanCo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsPlannerPlanCo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go b/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go index 1fccfab3330..9b5772cd7cd 100644 --- a/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go +++ b/solutions/business_scenarios_item_planner_plan_configuration_localizations_request_builder.go @@ -131,7 +131,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationLocalizationsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go b/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go index 13c50e85c2b..d76acbdcd63 100644 --- a/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go +++ b/solutions/business_scenarios_item_planner_plan_configuration_request_builder.go @@ -128,7 +128,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a plannerPlanConfiguration object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a plannerPlanConfiguration object for a businessScenario. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *BusinessScenariosItemPlannerPlanConfigurationRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_request_builder.go b/solutions/business_scenarios_item_planner_request_builder.go index c801f624ac6..0fe54d488b5 100644 --- a/solutions/business_scenarios_item_planner_request_builder.go +++ b/solutions/business_scenarios_item_planner_request_builder.go @@ -137,7 +137,7 @@ func (m *BusinessScenariosItemPlannerRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a businessScenarioPlanner object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *BusinessScenariosItemPlannerRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property planner in solutions @@ -166,7 +166,7 @@ func (m *BusinessScenariosItemPlannerRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_task_configuration_request_builder.go b/solutions/business_scenarios_item_planner_task_configuration_request_builder.go index c3ceb0214e3..8e877d8cdba 100644 --- a/solutions/business_scenarios_item_planner_task_configuration_request_builder.go +++ b/solutions/business_scenarios_item_planner_task_configuration_request_builder.go @@ -124,7 +124,7 @@ func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a plannerTaskConfiguration object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a plannerTaskConfiguration object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *BusinessScenariosItemPlannerTaskConfigurationRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go b/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go index 30c74ee505b..918f8374884 100644 --- a/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_business_scenario_task_item_request_builder.go @@ -143,7 +143,7 @@ func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a businessScenarioTask object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a businessScenarioTask object. This API is available in the following national cloud deployments. @@ -172,7 +172,7 @@ func (m *BusinessScenariosItemPlannerTasksBusinessScenarioTaskItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go index 58b4a1137d5..141ccdcf073 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_assigned_to_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedToTaskBoardFormat in solutions @@ -153,7 +153,7 @@ func (m *BusinessScenariosItemPlannerTasksItemAssignedToTaskBoardFormatRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go index 88d5761735f..5a8d0780dcf 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_bucket_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bucketTaskBoardFormat in solutions @@ -153,7 +153,7 @@ func (m *BusinessScenariosItemPlannerTasksItemBucketTaskBoardFormatRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go index 662682f5e03..fc226ad32a0 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in solutions @@ -153,7 +153,7 @@ func (m *BusinessScenariosItemPlannerTasksItemDetailsRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go b/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go index d7e4193e581..64b5192b532 100644 --- a/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_item_progress_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property progressTaskBoardFormat in solutions @@ -153,7 +153,7 @@ func (m *BusinessScenariosItemPlannerTasksItemProgressTaskBoardFormatRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_item_planner_tasks_request_builder.go b/solutions/business_scenarios_item_planner_tasks_request_builder.go index 99150faa7a9..e629b4ba2af 100644 --- a/solutions/business_scenarios_item_planner_tasks_request_builder.go +++ b/solutions/business_scenarios_item_planner_tasks_request_builder.go @@ -131,7 +131,7 @@ func (m *BusinessScenariosItemPlannerTasksRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new businessScenarioTask object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *BusinessScenariosItemPlannerTasksRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/business_scenarios_request_builder.go b/solutions/business_scenarios_request_builder.go index 0ebba21b976..46b45777c5e 100644 --- a/solutions/business_scenarios_request_builder.go +++ b/solutions/business_scenarios_request_builder.go @@ -131,7 +131,7 @@ func (m *BusinessScenariosRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new businessScenario object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *BusinessScenariosRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/solutions_request_builder.go b/solutions/solutions_request_builder.go index fb25c50c209..d43ca704b57 100644 --- a/solutions/solutions_request_builder.go +++ b/solutions/solutions_request_builder.go @@ -102,7 +102,7 @@ func (m *SolutionsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update solutions @@ -115,7 +115,7 @@ func (m *SolutionsRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_events_cancel_request_builder.go b/solutions/virtual_events_events_cancel_request_builder.go new file mode 100644 index 00000000000..3ca9b4950d5 --- /dev/null +++ b/solutions/virtual_events_events_cancel_request_builder.go @@ -0,0 +1,65 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsEventsCancelRequestBuilder provides operations to call the cancel method. +type VirtualEventsEventsCancelRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsEventsCancelRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsCancelRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEventsEventsCancelRequestBuilderInternal instantiates a new CancelRequestBuilder and sets the default values. +func NewVirtualEventsEventsCancelRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsCancelRequestBuilder) { + m := &VirtualEventsEventsCancelRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/cancel", pathParameters), + } + return m +} +// NewVirtualEventsEventsCancelRequestBuilder instantiates a new CancelRequestBuilder and sets the default values. +func NewVirtualEventsEventsCancelRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsCancelRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsEventsCancelRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action cancel +func (m *VirtualEventsEventsCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEventsEventsCancelRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action cancel +func (m *VirtualEventsEventsCancelRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsCancelRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsEventsCancelRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsCancelRequestBuilder) { + return NewVirtualEventsEventsCancelRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_attendee_report_request_builder.go b/solutions/virtual_events_events_item_presenters_item_profile_photo_request_builder.go similarity index 68% rename from solutions/virtual_events_events_item_sessions_item_attendee_report_request_builder.go rename to solutions/virtual_events_events_item_presenters_item_profile_photo_request_builder.go index 65f61e44636..8185f02127c 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendee_report_request_builder.go +++ b/solutions/virtual_events_events_item_presenters_item_profile_photo_request_builder.go @@ -6,39 +6,39 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder struct { +// VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder provides operations to manage the media for the solutionsRoot entity. +type VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration struct { +// VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration struct { +// VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// NewVirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderInternal instantiates a new AttendeeReportRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/attendeeReport", pathParameters), +// NewVirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderInternal instantiates a new ProfilePhotoRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder) { + m := &VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/presenters/{virtualEventPresenter%2Did}/profilePhoto", pathParameters), } return m } -// NewVirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder instantiates a new AttendeeReportRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) { +// NewVirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder instantiates a new ProfilePhotoRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderInternal(urlParams, requestAdapter) + return NewVirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderInternal(urlParams, requestAdapter) } -// Get get attendeeReport for the navigation property sessions from solutions -func (m *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration)([]byte, error) { +// Get get profilePhoto for the navigation property presenters from solutions +func (m *VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -56,8 +56,8 @@ func (m *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) Get(ct } return res.([]byte), nil } -// Put update attendeeReport for the navigation property sessions in solutions -func (m *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration)([]byte, error) { +// Put update profilePhoto for the navigation property presenters in solutions +func (m *VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { return nil, err @@ -75,8 +75,8 @@ func (m *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) Put(ct } return res.([]byte), nil } -// ToGetRequestInformation get attendeeReport for the navigation property sessions from solutions -func (m *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToGetRequestInformation get profilePhoto for the navigation property presenters from solutions +func (m *VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) @@ -85,11 +85,11 @@ func (m *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update attendeeReport for the navigation property sessions in solutions -func (m *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToPutRequestInformation update profilePhoto for the navigation property presenters in solutions +func (m *VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) @@ -98,11 +98,11 @@ func (m *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) ToPutR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +func (m *VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder) { + return NewVirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_count_request_builder.go b/solutions/virtual_events_events_item_presenters_item_sessions_count_request_builder.go similarity index 50% rename from solutions/virtual_events_events_item_sessions_item_transcripts_count_request_builder.go rename to solutions/virtual_events_events_item_presenters_item_sessions_count_request_builder.go index 95a0172146a..c95b1f9ad01 100644 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_count_request_builder.go +++ b/solutions/virtual_events_events_item_presenters_item_sessions_count_request_builder.go @@ -6,41 +6,41 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder provides operations to count the resources in the collection. -type VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder struct { +// VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder provides operations to count the resources in the collection. +type VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderGetQueryParameters get the number of the resource -type VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderGetQueryParameters struct { +// VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderGetQueryParameters get the number of the resource +type VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Search items by search phrases Search *string `uriparametername:"%24search"` } -// VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderGetRequestConfiguration struct { +// VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderGetQueryParameters + QueryParameters *VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderGetQueryParameters } -// NewVirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts/$count{?%24search,%24filter}", pathParameters), +// NewVirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder) { + m := &VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/presenters/{virtualEventPresenter%2Did}/sessions/$count{?%24search,%24filter}", pathParameters), } return m } -// NewVirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) { +// NewVirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderInternal(urlParams, requestAdapter) + return NewVirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderGetRequestConfiguration)(*int32, error) { +func (m *VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -59,7 +59,7 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) Get( return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +func (m *VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { @@ -75,6 +75,6 @@ func (m *VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) ToGe return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +func (m *VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder) { + return NewVirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/solutions/virtual_events_events_item_presenters_item_sessions_request_builder.go b/solutions/virtual_events_events_item_presenters_item_sessions_request_builder.go new file mode 100644 index 00000000000..d1e7729be86 --- /dev/null +++ b/solutions/virtual_events_events_item_presenters_item_sessions_request_builder.go @@ -0,0 +1,108 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsEventsItemPresentersItemSessionsRequestBuilder provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. +type VirtualEventsEventsItemPresentersItemSessionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsEventsItemPresentersItemSessionsRequestBuilderGetQueryParameters get sessions from solutions +type VirtualEventsEventsItemPresentersItemSessionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// VirtualEventsEventsItemPresentersItemSessionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemPresentersItemSessionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEventsEventsItemPresentersItemSessionsRequestBuilderGetQueryParameters +} +// ByVirtualEventSessionId provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. +func (m *VirtualEventsEventsItemPresentersItemSessionsRequestBuilder) ByVirtualEventSessionId(virtualEventSessionId string)(*VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if virtualEventSessionId != "" { + urlTplParams["virtualEventSession%2Did"] = virtualEventSessionId + } + return NewVirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewVirtualEventsEventsItemPresentersItemSessionsRequestBuilderInternal instantiates a new SessionsRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemPresentersItemSessionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemPresentersItemSessionsRequestBuilder) { + m := &VirtualEventsEventsItemPresentersItemSessionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/presenters/{virtualEventPresenter%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewVirtualEventsEventsItemPresentersItemSessionsRequestBuilder instantiates a new SessionsRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemPresentersItemSessionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemPresentersItemSessionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsEventsItemPresentersItemSessionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *VirtualEventsEventsItemPresentersItemSessionsRequestBuilder) Count()(*VirtualEventsEventsItemPresentersItemSessionsCountRequestBuilder) { + return NewVirtualEventsEventsItemPresentersItemSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get sessions from solutions +func (m *VirtualEventsEventsItemPresentersItemSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemPresentersItemSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateVirtualEventSessionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionCollectionResponseable), nil +} +// ToGetRequestInformation get sessions from solutions +func (m *VirtualEventsEventsItemPresentersItemSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemPresentersItemSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsEventsItemPresentersItemSessionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemPresentersItemSessionsRequestBuilder) { + return NewVirtualEventsEventsItemPresentersItemSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_presenters_item_sessions_virtual_event_session_item_request_builder.go b/solutions/virtual_events_events_item_presenters_item_sessions_virtual_event_session_item_request_builder.go new file mode 100644 index 00000000000..8e299af4ea5 --- /dev/null +++ b/solutions/virtual_events_events_item_presenters_item_sessions_virtual_event_session_item_request_builder.go @@ -0,0 +1,81 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. +type VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetQueryParameters get sessions from solutions +type VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetQueryParameters +} +// NewVirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderInternal instantiates a new VirtualEventSessionItemRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) { + m := &VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/presenters/{virtualEventPresenter%2Did}/sessions/{virtualEventSession%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewVirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder instantiates a new VirtualEventSessionItemRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get sessions from solutions +func (m *VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateVirtualEventSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable), nil +} +// ToGetRequestInformation get sessions from solutions +func (m *VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) { + return NewVirtualEventsEventsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_presenters_request_builder.go b/solutions/virtual_events_events_item_presenters_request_builder.go index 151d2397e37..b4550b76d2c 100644 --- a/solutions/virtual_events_events_item_presenters_request_builder.go +++ b/solutions/virtual_events_events_item_presenters_request_builder.go @@ -125,7 +125,7 @@ func (m *VirtualEventsEventsItemPresentersRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to presenters for solutions @@ -138,7 +138,7 @@ func (m *VirtualEventsEventsItemPresentersRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_events_item_presenters_virtual_event_presenter_item_request_builder.go b/solutions/virtual_events_events_item_presenters_virtual_event_presenter_item_request_builder.go index 11a1cfdf211..b6b32d43b16 100644 --- a/solutions/virtual_events_events_item_presenters_virtual_event_presenter_item_request_builder.go +++ b/solutions/virtual_events_events_item_presenters_virtual_event_presenter_item_request_builder.go @@ -108,6 +108,14 @@ func (m *VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable), nil } +// ProfilePhoto provides operations to manage the media for the solutionsRoot entity. +func (m *VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilder) ProfilePhoto()(*VirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilder) { + return NewVirtualEventsEventsItemPresentersItemProfilePhotoRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Sessions provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. +func (m *VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilder) Sessions()(*VirtualEventsEventsItemPresentersItemSessionsRequestBuilder) { + return NewVirtualEventsEventsItemPresentersItemSessionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property presenters for solutions func (m *VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -118,7 +126,7 @@ func (m *VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation presenters' information of the virtual event. @@ -134,7 +142,7 @@ func (m *VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property presenters in solutions @@ -147,7 +155,7 @@ func (m *VirtualEventsEventsItemPresentersVirtualEventPresenterItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_events_item_sessions_item_alternative_recording_request_builder.go b/solutions/virtual_events_events_item_sessions_item_alternative_recording_request_builder.go deleted file mode 100644 index 195057af711..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_alternative_recording_request_builder.go +++ /dev/null @@ -1,108 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderInternal instantiates a new AlternativeRecordingRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/alternativeRecording", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder instantiates a new AlternativeRecordingRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get alternativeRecording for the navigation property sessions from solutions -func (m *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put update alternativeRecording for the navigation property sessions in solutions -func (m *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation get alternativeRecording for the navigation property sessions from solutions -func (m *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation update alternativeRecording for the navigation property sessions in solutions -func (m *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go index 54bf187a9fb..e7f71de4139 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of attendance records of an attendance report. Read-only. @@ -134,7 +134,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceRecords in solutions @@ -147,7 +147,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go index a8ba57e8968..b4b79efb167 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go @@ -128,7 +128,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceRecords for solutions @@ -141,7 +141,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsItemAttendanceRecor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go index 0e9b45f49eb..5fd0705c209 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go @@ -7,7 +7,7 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. type VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } @@ -18,7 +18,7 @@ type VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReport // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters 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. +// VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters get attendanceReports from solutions type VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,10 +74,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceRe } return nil } -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 +// Get get attendanceReports from solutions func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -125,10 +122,10 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get attendanceReports from solutions func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -141,7 +138,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceReports in solutions @@ -154,7 +151,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_events_item_sessions_item_attendance_reports_request_builder.go b/solutions/virtual_events_events_item_sessions_item_attendance_reports_request_builder.go index ab92727b576..95829bf85c0 100644 --- a/solutions/virtual_events_events_item_sessions_item_attendance_reports_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_attendance_reports_request_builder.go @@ -7,11 +7,11 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. type VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilderGetQueryParameters 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. +// VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilderGetQueryParameters get attendanceReports from solutions type VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,7 +46,7 @@ type VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilderPostReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportId(meetingAttendanceReportId string)(*VirtualEventsEventsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { @@ -74,10 +74,7 @@ func NewVirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder(rawUr func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) Count()(*VirtualEventsEventsItemSessionsItemAttendanceReportsCountRequestBuilder) { return NewVirtualEventsEventsItemSessionsItemAttendanceReportsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 +// Get get attendanceReports from solutions func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +112,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get attendanceReports from solutions func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -128,7 +125,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceReports for solutions @@ -141,7 +138,7 @@ func (m *VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_events_item_sessions_item_broadcast_recording_request_builder.go b/solutions/virtual_events_events_item_sessions_item_broadcast_recording_request_builder.go deleted file mode 100644 index 9c4b5941306..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_broadcast_recording_request_builder.go +++ /dev/null @@ -1,108 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderInternal instantiates a new BroadcastRecordingRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/broadcastRecording", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder instantiates a new BroadcastRecordingRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get broadcastRecording for the navigation property sessions from solutions -func (m *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put update broadcastRecording for the navigation property sessions in solutions -func (m *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation get broadcastRecording for the navigation property sessions from solutions -func (m *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation update broadcastRecording for the navigation property sessions in solutions -func (m *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go deleted file mode 100644 index ddb13174920..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go +++ /dev/null @@ -1,80 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder provides operations to count the resources in the collection. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetQueryParameters get the number of the resource -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetQueryParameters struct { - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` -} -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetQueryParameters -} -// NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords/$count{?%24search,%24filter}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get the number of the resource -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetRequestConfiguration)(*int32, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(*int32), nil -} -// ToGetRequestInformation get the number of the resource -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go deleted file mode 100644 index 07fff33d08c..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go +++ /dev/null @@ -1,154 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters -} -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if attendanceRecordId != "" { - urlTplParams["attendanceRecord%2Did"] = attendanceRecordId - } - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderInternal instantiates a new AttendanceRecordsRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder instantiates a new AttendanceRecordsRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Count()(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAttendanceRecordCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable), nil -} -// Post create new navigation property to attendanceRecords for solutions -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAttendanceRecordFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil -} -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPostRequestInformation create new navigation property to attendanceRecords for solutions -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_request_builder.go b/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_request_builder.go deleted file mode 100644 index e51ea7faf9f..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_request_builder.go +++ /dev/null @@ -1,167 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder provides operations to manage the meetingAttendanceReport property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderGetQueryParameters 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. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderGetQueryParameters -} -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// AttendanceRecords provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) AttendanceRecords()(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderInternal instantiates a new MeetingAttendanceReportRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder instantiates a new MeetingAttendanceReportRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderInternal(urlParams, requestAdapter) -} -// Delete delete navigation property meetingAttendanceReport for solutions -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingAttendanceReportFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable), nil -} -// Patch update the navigation property meetingAttendanceReport in solutions -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingAttendanceReportFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable), nil -} -// ToDeleteRequestInformation delete navigation property meetingAttendanceReport for solutions -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property meetingAttendanceReport in solutions -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_presenters_count_request_builder.go similarity index 73% rename from solutions/virtual_events_events_item_sessions_item_recordings_count_request_builder.go rename to solutions/virtual_events_events_item_sessions_item_presenters_count_request_builder.go index 99e833b38d9..af359093171 100644 --- a/solutions/virtual_events_events_item_sessions_item_recordings_count_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_presenters_count_request_builder.go @@ -6,41 +6,41 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder provides operations to count the resources in the collection. -type VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder struct { +// VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder provides operations to count the resources in the collection. +type VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderGetQueryParameters get the number of the resource -type VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderGetQueryParameters struct { +// VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderGetQueryParameters get the number of the resource +type VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Search items by search phrases Search *string `uriparametername:"%24search"` } -// VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderGetRequestConfiguration struct { +// VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderGetQueryParameters + QueryParameters *VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderGetQueryParameters } -// NewVirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recordings/$count{?%24search,%24filter}", pathParameters), +// NewVirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder) { + m := &VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/presenters/$count{?%24search,%24filter}", pathParameters), } return m } -// NewVirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) { +// NewVirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderInternal(urlParams, requestAdapter) + return NewVirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -func (m *VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderGetRequestConfiguration)(*int32, error) { +func (m *VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderGetRequestConfiguration)(*int32, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -59,7 +59,7 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) Get(c return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -func (m *VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +func (m *VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { @@ -75,6 +75,6 @@ func (m *VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) ToGet return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +func (m *VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/solutions/virtual_events_events_item_sessions_item_presenters_item_profile_photo_request_builder.go b/solutions/virtual_events_events_item_sessions_item_presenters_item_profile_photo_request_builder.go new file mode 100644 index 00000000000..e07897ec141 --- /dev/null +++ b/solutions/virtual_events_events_item_sessions_item_presenters_item_profile_photo_request_builder.go @@ -0,0 +1,108 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder provides operations to manage the media for the solutionsRoot entity. +type VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderInternal instantiates a new ProfilePhotoRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) { + m := &VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/presenters/{virtualEventPresenter%2Did}/profilePhoto", pathParameters), + } + return m +} +// NewVirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder instantiates a new ProfilePhotoRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get profilePhoto for the navigation property presenters from solutions +func (m *VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// Put update profilePhoto for the navigation property presenters in solutions +func (m *VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration)([]byte, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToGetRequestInformation get profilePhoto for the navigation property presenters from solutions +func (m *VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") + return requestInfo, nil +} +// ToPutRequestInformation update profilePhoto for the navigation property presenters in solutions +func (m *VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT + requestInfo.Headers.TryAdd("Accept", "application/json") + requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_presenters_request_builder.go b/solutions/virtual_events_events_item_sessions_item_presenters_request_builder.go new file mode 100644 index 00000000000..1e54c4d97dc --- /dev/null +++ b/solutions/virtual_events_events_item_sessions_item_presenters_request_builder.go @@ -0,0 +1,108 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsEventsItemSessionsItemPresentersRequestBuilder provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. +type VirtualEventsEventsItemSessionsItemPresentersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsEventsItemSessionsItemPresentersRequestBuilderGetQueryParameters get presenters from solutions +type VirtualEventsEventsItemSessionsItemPresentersRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// VirtualEventsEventsItemSessionsItemPresentersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemSessionsItemPresentersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEventsEventsItemSessionsItemPresentersRequestBuilderGetQueryParameters +} +// ByVirtualEventPresenterId provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. +func (m *VirtualEventsEventsItemSessionsItemPresentersRequestBuilder) ByVirtualEventPresenterId(virtualEventPresenterId string)(*VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if virtualEventPresenterId != "" { + urlTplParams["virtualEventPresenter%2Did"] = virtualEventPresenterId + } + return NewVirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewVirtualEventsEventsItemSessionsItemPresentersRequestBuilderInternal instantiates a new PresentersRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSessionsItemPresentersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemPresentersRequestBuilder) { + m := &VirtualEventsEventsItemSessionsItemPresentersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/presenters{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewVirtualEventsEventsItemSessionsItemPresentersRequestBuilder instantiates a new PresentersRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSessionsItemPresentersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemPresentersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsEventsItemSessionsItemPresentersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *VirtualEventsEventsItemSessionsItemPresentersRequestBuilder) Count()(*VirtualEventsEventsItemSessionsItemPresentersCountRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemPresentersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get presenters from solutions +func (m *VirtualEventsEventsItemSessionsItemPresentersRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemPresentersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateVirtualEventPresenterCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterCollectionResponseable), nil +} +// ToGetRequestInformation get presenters from solutions +func (m *VirtualEventsEventsItemSessionsItemPresentersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemPresentersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsEventsItemSessionsItemPresentersRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemPresentersRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemPresentersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_presenters_virtual_event_presenter_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_presenters_virtual_event_presenter_item_request_builder.go new file mode 100644 index 00000000000..bfdce045dd7 --- /dev/null +++ b/solutions/virtual_events_events_item_sessions_item_presenters_virtual_event_presenter_item_request_builder.go @@ -0,0 +1,85 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. +type VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetQueryParameters get presenters from solutions +type VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetQueryParameters +} +// NewVirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderInternal instantiates a new VirtualEventPresenterItemRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) { + m := &VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/presenters/{virtualEventPresenter%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewVirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder instantiates a new VirtualEventPresenterItemRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get presenters from solutions +func (m *VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateVirtualEventPresenterFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable), nil +} +// ProfilePhoto provides operations to manage the media for the solutionsRoot entity. +func (m *VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) ProfilePhoto()(*VirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemPresentersItemProfilePhotoRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get presenters from solutions +func (m *VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_recording_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recording_request_builder.go deleted file mode 100644 index e1cf9c54204..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_recording_request_builder.go +++ /dev/null @@ -1,108 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemRecordingRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsEventsItemSessionsItemRecordingRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsEventsItemSessionsItemRecordingRequestBuilderInternal instantiates a new RecordingRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRecordingRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recording", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemRecordingRequestBuilder instantiates a new RecordingRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRecordingRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get recording for the navigation property sessions from solutions -func (m *VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put update recording for the navigation property sessions in solutions -func (m *VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation get recording for the navigation property sessions from solutions -func (m *VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation update recording for the navigation property sessions in solutions -func (m *VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_call_recording_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recordings_call_recording_item_request_builder.go deleted file mode 100644 index 52a454e2536..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_recordings_call_recording_item_request_builder.go +++ /dev/null @@ -1,167 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters 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. -type VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters -} -// VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderInternal instantiates a new CallRecordingItemRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recordings/{callRecording%2Did}{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder instantiates a new CallRecordingItemRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Content provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) Content()(*VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Delete delete navigation property recordings for solutions -func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil -} -// Patch update the navigation property recordings in solutions -func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil -} -// ToDeleteRequestInformation delete navigation property recordings for solutions -func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property recordings in solutions -func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_delta_get_response.go b/solutions/virtual_events_events_item_sessions_item_recordings_delta_get_response.go deleted file mode 100644 index 42e42fe91d6..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_recordings_delta_get_response.go +++ /dev/null @@ -1,88 +0,0 @@ -package solutions - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" -) - -// VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse -type VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse struct { - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponse -} -// NewVirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse instantiates a new VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse()(*VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse) { - m := &VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse{ - BaseDeltaFunctionResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseDeltaFunctionResponse(), - } - return m -} -// CreateVirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateVirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewVirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse(), nil -} -// GetFieldDeserializers the deserialization information for the current model -func (m *VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() - res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, len(val)) - for i, v := range val { - if v != nil { - res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) - } - } - m.SetValue(res) - } - return nil - } - return res -} -// GetValue gets the value property value. The value property -func (m *VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) { - val, err := m.GetBackingStore().Get("value") - if err != nil { - panic(err) - } - if val != nil { - return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) - } - return nil -} -// Serialize serializes information the current object -func (m *VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.BaseDeltaFunctionResponse.Serialize(writer) - if err != nil { - return err - } - if m.GetValue() != nil { - cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) - for i, v := range m.GetValue() { - if v != nil { - cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) - } - } - err = writer.WriteCollectionOfObjectValues("value", cast) - if err != nil { - return err - } - } - return nil -} -// SetValue sets the value property value. The value property -func (m *VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable)() { - err := m.GetBackingStore().Set("value", value) - if err != nil { - panic(err) - } -} -// VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponseable -type VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponseable interface { - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponseable - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) - SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable)() -} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_delta_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recordings_delta_request_builder.go deleted file mode 100644 index 250a7a7dc27..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_recordings_delta_request_builder.go +++ /dev/null @@ -1,110 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder provides operations to call the delta method. -type VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderGetQueryParameters invoke function delta -type VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderGetQueryParameters -} -// NewVirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderInternal instantiates a new DeltaRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recordings/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder instantiates a new DeltaRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderInternal(urlParams, requestAdapter) -} -// Get invoke function delta -// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. -func (m *VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(VirtualEventsEventsItemSessionsItemRecordingsDeltaResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsEventsItemSessionsItemRecordingsDeltaResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(VirtualEventsEventsItemSessionsItemRecordingsDeltaResponseable), nil -} -// GetAsDeltaGetResponse invoke function delta -func (m *VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponseable), nil -} -// ToGetRequestInformation invoke function delta -func (m *VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_delta_response.go b/solutions/virtual_events_events_item_sessions_item_recordings_delta_response.go deleted file mode 100644 index 18956c13a0b..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_recordings_delta_response.go +++ /dev/null @@ -1,28 +0,0 @@ -package solutions - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -// VirtualEventsEventsItemSessionsItemRecordingsDeltaResponse -// Deprecated: This class is obsolete. Use deltaGetResponse instead. -type VirtualEventsEventsItemSessionsItemRecordingsDeltaResponse struct { - VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse -} -// NewVirtualEventsEventsItemSessionsItemRecordingsDeltaResponse instantiates a new VirtualEventsEventsItemSessionsItemRecordingsDeltaResponse and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsDeltaResponse()(*VirtualEventsEventsItemSessionsItemRecordingsDeltaResponse) { - m := &VirtualEventsEventsItemSessionsItemRecordingsDeltaResponse{ - VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse: *NewVirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponse(), - } - return m -} -// CreateVirtualEventsEventsItemSessionsItemRecordingsDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateVirtualEventsEventsItemSessionsItemRecordingsDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewVirtualEventsEventsItemSessionsItemRecordingsDeltaResponse(), nil -} -// VirtualEventsEventsItemSessionsItemRecordingsDeltaResponseable -// Deprecated: This class is obsolete. Use deltaGetResponse instead. -type VirtualEventsEventsItemSessionsItemRecordingsDeltaResponseable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - VirtualEventsEventsItemSessionsItemRecordingsDeltaGetResponseable -} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_item_content_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recordings_item_content_request_builder.go deleted file mode 100644 index e91718b8e64..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_recordings_item_content_request_builder.go +++ /dev/null @@ -1,109 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderInternal instantiates a new ContentRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recordings/{callRecording%2Did}/content", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder instantiates a new ContentRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderInternal(urlParams, requestAdapter) -} -// Get the content of the recording. Read-only. -func (m *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put the content of the recording. Read-only. -func (m *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil -} -// ToGetRequestInformation the content of the recording. Read-only. -func (m *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation the content of the recording. Read-only. -func (m *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_recordings_request_builder.go b/solutions/virtual_events_events_item_sessions_item_recordings_request_builder.go deleted file mode 100644 index ca9f2d07060..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_recordings_request_builder.go +++ /dev/null @@ -1,155 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetQueryParameters 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. -type VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetQueryParameters -} -// VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByCallRecordingId provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) ByCallRecordingId(callRecordingId string)(*VirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if callRecordingId != "" { - urlTplParams["callRecording%2Did"] = callRecordingId - } - return NewVirtualEventsEventsItemSessionsItemRecordingsCallRecordingItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsEventsItemSessionsItemRecordingsRequestBuilderInternal instantiates a new RecordingsRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recordings{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemRecordingsRequestBuilder instantiates a new RecordingsRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRecordingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRecordingsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) Count()(*VirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Delta provides operations to call the delta method. -func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) Delta()(*VirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get 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. -func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable), nil -} -// Post create new navigation property to recordings for solutions -func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPostRequestInformation create new navigation property to recordings for solutions -func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, requestConfiguration *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go deleted file mode 100644 index e9b760d4cca..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ /dev/null @@ -1,169 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters 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. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters -} -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal instantiates a new MeetingRegistrationQuestionItemRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions/{meetingRegistrationQuestion%2Did}{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder instantiates a new MeetingRegistrationQuestionItemRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Delete delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-delete?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-get?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationQuestionFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil -} -// Patch 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-update?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationQuestionFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil -} -// ToDeleteRequestInformation delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation 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. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_request_builder.go deleted file mode 100644 index 1ed2d400b1d..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_request_builder.go +++ /dev/null @@ -1,157 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters 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. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters -} -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByMeetingRegistrationQuestionId provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionId(meetingRegistrationQuestionId string)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if meetingRegistrationQuestionId != "" { - urlTplParams["meetingRegistrationQuestion%2Did"] = meetingRegistrationQuestionId - } - return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderInternal instantiates a new CustomQuestionsRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder instantiates a new CustomQuestionsRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) Count()(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-list-customquestions?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationQuestionCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionCollectionResponseable), nil -} -// Post 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-post-customquestions?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationQuestionFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPostRequestInformation 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. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_registrants_count_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_registrants_count_request_builder.go deleted file mode 100644 index d83e6a1c4e3..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_registration_registrants_count_request_builder.go +++ /dev/null @@ -1,80 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder provides operations to count the resources in the collection. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetQueryParameters get the number of the resource -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetQueryParameters struct { - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` -} -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetQueryParameters -} -// NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants/$count{?%24search,%24filter}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get the number of the resource -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetRequestConfiguration)(*int32, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(*int32), nil -} -// ToGetRequestInformation get the number of the resource -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go deleted file mode 100644 index 4c95f8df9cf..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ /dev/null @@ -1,160 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetQueryParameters registrants of the online meeting. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetQueryParameters -} -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderInternal instantiates a new MeetingRegistrantBaseItemRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants/{meetingRegistrantBase%2Did}{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder instantiates a new MeetingRegistrantBaseItemRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Delete delete navigation property registrants for solutions -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get registrants of the online meeting. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrantBaseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable), nil -} -// Patch update the navigation property registrants in solutions -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrantBaseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable), nil -} -// ToDeleteRequestInformation delete navigation property registrants for solutions -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation registrants of the online meeting. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property registrants in solutions -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_registration_registrants_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registration_registrants_request_builder.go deleted file mode 100644 index 331f8bc1202..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_registration_registrants_request_builder.go +++ /dev/null @@ -1,151 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderGetQueryParameters registrants of the online meeting. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderGetQueryParameters -} -// VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByMeetingRegistrantBaseId provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseId(meetingRegistrantBaseId string)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if meetingRegistrantBaseId != "" { - urlTplParams["meetingRegistrantBase%2Did"] = meetingRegistrantBaseId - } - return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderInternal instantiates a new RegistrantsRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder instantiates a new RegistrantsRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) Count()(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get registrants of the online meeting. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrantBaseCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseCollectionResponseable), nil -} -// Post create new navigation property to registrants for solutions -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrantBaseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable), nil -} -// ToGetRequestInformation registrants of the online meeting. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPostRequestInformation create new navigation property to registrants for solutions -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationRegistrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_registrations_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registrations_request_builder.go index 86521253126..264f536950a 100644 --- a/solutions/virtual_events_events_item_sessions_item_registrations_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registrations_request_builder.go @@ -99,7 +99,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/virtual_events_events_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go index 07e29868f09..3cd69c55045 100644 --- a/solutions/virtual_events_events_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go @@ -72,7 +72,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationsVirtualEventRegistratio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_call_transcript_item_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_call_transcript_item_request_builder.go deleted file mode 100644 index 808717e0349..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_call_transcript_item_request_builder.go +++ /dev/null @@ -1,171 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters 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. -type VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters -} -// VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderInternal instantiates a new CallTranscriptItemRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder instantiates a new CallTranscriptItemRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Content provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) Content()(*VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Delete delete navigation property transcripts for solutions -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil -} -// MetadataContent provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) MetadataContent()(*VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Patch update the navigation property transcripts in solutions -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil -} -// ToDeleteRequestInformation delete navigation property transcripts for solutions -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property transcripts in solutions -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_delta_get_response.go b/solutions/virtual_events_events_item_sessions_item_transcripts_delta_get_response.go deleted file mode 100644 index 976acf9bed3..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_delta_get_response.go +++ /dev/null @@ -1,88 +0,0 @@ -package solutions - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" -) - -// VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse -type VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse struct { - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponse -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse instantiates a new VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse()(*VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse) { - m := &VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse{ - BaseDeltaFunctionResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseDeltaFunctionResponse(), - } - return m -} -// CreateVirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateVirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse(), nil -} -// GetFieldDeserializers the deserialization information for the current model -func (m *VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() - res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, len(val)) - for i, v := range val { - if v != nil { - res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) - } - } - m.SetValue(res) - } - return nil - } - return res -} -// GetValue gets the value property value. The value property -func (m *VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) { - val, err := m.GetBackingStore().Get("value") - if err != nil { - panic(err) - } - if val != nil { - return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) - } - return nil -} -// Serialize serializes information the current object -func (m *VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.BaseDeltaFunctionResponse.Serialize(writer) - if err != nil { - return err - } - if m.GetValue() != nil { - cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) - for i, v := range m.GetValue() { - if v != nil { - cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) - } - } - err = writer.WriteCollectionOfObjectValues("value", cast) - if err != nil { - return err - } - } - return nil -} -// SetValue sets the value property value. The value property -func (m *VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable)() { - err := m.GetBackingStore().Set("value", value) - if err != nil { - panic(err) - } -} -// VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponseable -type VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponseable interface { - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponseable - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) - SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable)() -} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_delta_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_delta_request_builder.go deleted file mode 100644 index bcf32691aff..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_delta_request_builder.go +++ /dev/null @@ -1,110 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder provides operations to call the delta method. -type VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderGetQueryParameters invoke function delta -type VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderGetQueryParameters -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderInternal instantiates a new DeltaRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder instantiates a new DeltaRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderInternal(urlParams, requestAdapter) -} -// Get invoke function delta -// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(VirtualEventsEventsItemSessionsItemTranscriptsDeltaResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsEventsItemSessionsItemTranscriptsDeltaResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(VirtualEventsEventsItemSessionsItemTranscriptsDeltaResponseable), nil -} -// GetAsDeltaGetResponse invoke function delta -func (m *VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponseable), nil -} -// ToGetRequestInformation invoke function delta -func (m *VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_delta_response.go b/solutions/virtual_events_events_item_sessions_item_transcripts_delta_response.go deleted file mode 100644 index 4826fe2f7d6..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_delta_response.go +++ /dev/null @@ -1,28 +0,0 @@ -package solutions - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -// VirtualEventsEventsItemSessionsItemTranscriptsDeltaResponse -// Deprecated: This class is obsolete. Use deltaGetResponse instead. -type VirtualEventsEventsItemSessionsItemTranscriptsDeltaResponse struct { - VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaResponse instantiates a new VirtualEventsEventsItemSessionsItemTranscriptsDeltaResponse and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaResponse()(*VirtualEventsEventsItemSessionsItemTranscriptsDeltaResponse) { - m := &VirtualEventsEventsItemSessionsItemTranscriptsDeltaResponse{ - VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse: *NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponse(), - } - return m -} -// CreateVirtualEventsEventsItemSessionsItemTranscriptsDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateVirtualEventsEventsItemSessionsItemTranscriptsDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaResponse(), nil -} -// VirtualEventsEventsItemSessionsItemTranscriptsDeltaResponseable -// Deprecated: This class is obsolete. Use deltaGetResponse instead. -type VirtualEventsEventsItemSessionsItemTranscriptsDeltaResponseable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - VirtualEventsEventsItemSessionsItemTranscriptsDeltaGetResponseable -} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_item_content_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_item_content_request_builder.go deleted file mode 100644 index 2c59f92dce5..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_item_content_request_builder.go +++ /dev/null @@ -1,112 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderInternal instantiates a new ContentRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}/content", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder instantiates a new ContentRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderInternal(urlParams, requestAdapter) -} -// Get the content of the transcript. Read-only. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put the content of the transcript. Read-only. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil -} -// ToGetRequestInformation the content of the transcript. Read-only. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation the content of the transcript. Read-only. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_item_metadata_content_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_item_metadata_content_request_builder.go deleted file mode 100644 index 9311ef9d69c..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_item_metadata_content_request_builder.go +++ /dev/null @@ -1,111 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderInternal instantiates a new MetadataContentRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}/metadataContent", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder instantiates a new MetadataContentRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderInternal(urlParams, requestAdapter) -} -// Get the time-aligned metadata of the utterances in the transcript. Read-only. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put the time-aligned metadata of the utterances in the transcript. Read-only. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_item_transcripts_request_builder.go b/solutions/virtual_events_events_item_sessions_item_transcripts_request_builder.go deleted file mode 100644 index 89034aee638..00000000000 --- a/solutions/virtual_events_events_item_sessions_item_transcripts_request_builder.go +++ /dev/null @@ -1,158 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters 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. -type VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters -} -// VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByCallTranscriptId provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) ByCallTranscriptId(callTranscriptId string)(*VirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if callTranscriptId != "" { - urlTplParams["callTranscript%2Did"] = callTranscriptId - } - return NewVirtualEventsEventsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderInternal instantiates a new TranscriptsRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder instantiates a new TranscriptsRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) Count()(*VirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Delta provides operations to call the delta method. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) Delta()(*VirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 -func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptCollectionResponseable), nil -} -// Post create new navigation property to transcripts for solutions -func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPostRequestInformation create new navigation property to transcripts for solutions -func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, requestConfiguration *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_events_item_sessions_request_builder.go b/solutions/virtual_events_events_item_sessions_request_builder.go index 3129bc2b9d2..935feceadc7 100644 --- a/solutions/virtual_events_events_item_sessions_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_request_builder.go @@ -125,7 +125,7 @@ func (m *VirtualEventsEventsItemSessionsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sessions for solutions @@ -138,7 +138,7 @@ func (m *VirtualEventsEventsItemSessionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_events_item_sessions_virtual_event_session_item_request_builder.go b/solutions/virtual_events_events_item_sessions_virtual_event_session_item_request_builder.go index d3647299885..8b73a8794db 100644 --- a/solutions/virtual_events_events_item_sessions_virtual_event_session_item_request_builder.go +++ b/solutions/virtual_events_events_item_sessions_virtual_event_session_item_request_builder.go @@ -41,22 +41,10 @@ type VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilderPatchRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AlternativeRecording provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) AlternativeRecording()(*VirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemAlternativeRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// AttendanceReports provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// AttendanceReports provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) AttendanceReports()(*VirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilder) { return NewVirtualEventsEventsItemSessionsItemAttendanceReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// AttendeeReport provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) AttendeeReport()(*VirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemAttendeeReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// BroadcastRecording provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) BroadcastRecording()(*VirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemBroadcastRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // NewVirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilderInternal instantiates a new VirtualEventSessionItemRequestBuilder and sets the default values. func NewVirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) { m := &VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder{ @@ -105,10 +93,6 @@ func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) G } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable), nil } -// MeetingAttendanceReport provides operations to manage the meetingAttendanceReport property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) MeetingAttendanceReport()(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // Patch update the navigation property sessions in solutions func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable, requestConfiguration *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); @@ -128,17 +112,9 @@ func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable), nil } -// Recording provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) Recording()(*VirtualEventsEventsItemSessionsItemRecordingRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Recordings provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) Recordings()(*VirtualEventsEventsItemSessionsItemRecordingsRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRecordingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Registration provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) Registration()(*VirtualEventsEventsItemSessionsItemRegistrationRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +// Presenters provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. +func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) Presenters()(*VirtualEventsEventsItemSessionsItemPresentersRequestBuilder) { + return NewVirtualEventsEventsItemSessionsItemPresentersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // Registrations provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) Registrations()(*VirtualEventsEventsItemSessionsItemRegistrationsRequestBuilder) { @@ -154,7 +130,7 @@ func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation sessions of the virtual event. @@ -170,7 +146,7 @@ func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sessions in solutions @@ -183,17 +159,13 @@ func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err } return requestInfo, nil } -// Transcripts provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) Transcripts()(*VirtualEventsEventsItemSessionsItemTranscriptsRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemTranscriptsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. func (m *VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder) { return NewVirtualEventsEventsItemSessionsVirtualEventSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/solutions/virtual_events_events_publish_request_builder.go b/solutions/virtual_events_events_publish_request_builder.go new file mode 100644 index 00000000000..c1a1d89b40d --- /dev/null +++ b/solutions/virtual_events_events_publish_request_builder.go @@ -0,0 +1,65 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsEventsPublishRequestBuilder provides operations to call the publish method. +type VirtualEventsEventsPublishRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsEventsPublishRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsPublishRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEventsEventsPublishRequestBuilderInternal instantiates a new PublishRequestBuilder and sets the default values. +func NewVirtualEventsEventsPublishRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsPublishRequestBuilder) { + m := &VirtualEventsEventsPublishRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/publish", pathParameters), + } + return m +} +// NewVirtualEventsEventsPublishRequestBuilder instantiates a new PublishRequestBuilder and sets the default values. +func NewVirtualEventsEventsPublishRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsPublishRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsEventsPublishRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action publish +func (m *VirtualEventsEventsPublishRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEventsEventsPublishRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action publish +func (m *VirtualEventsEventsPublishRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsPublishRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsEventsPublishRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsPublishRequestBuilder) { + return NewVirtualEventsEventsPublishRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_request_builder.go b/solutions/virtual_events_events_request_builder.go index d57e0a2442d..9113e72282c 100644 --- a/solutions/virtual_events_events_request_builder.go +++ b/solutions/virtual_events_events_request_builder.go @@ -57,6 +57,10 @@ func (m *VirtualEventsEventsRequestBuilder) ByVirtualEventId(virtualEventId stri } return NewVirtualEventsEventsVirtualEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) } +// Cancel provides operations to call the cancel method. +func (m *VirtualEventsEventsRequestBuilder) Cancel()(*VirtualEventsEventsCancelRequestBuilder) { + return NewVirtualEventsEventsCancelRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewVirtualEventsEventsRequestBuilderInternal instantiates a new EventsRequestBuilder and sets the default values. func NewVirtualEventsEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsRequestBuilder) { m := &VirtualEventsEventsRequestBuilder{ @@ -112,6 +116,10 @@ func (m *VirtualEventsEventsRequestBuilder) Post(ctx context.Context, body ie233 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventable), nil } +// Publish provides operations to call the publish method. +func (m *VirtualEventsEventsRequestBuilder) Publish()(*VirtualEventsEventsPublishRequestBuilder) { + return NewVirtualEventsEventsPublishRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation get events from solutions func (m *VirtualEventsEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -125,7 +133,7 @@ func (m *VirtualEventsEventsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to events for solutions @@ -138,7 +146,7 @@ func (m *VirtualEventsEventsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_events_virtual_event_item_request_builder.go b/solutions/virtual_events_events_virtual_event_item_request_builder.go index 38b849e145b..d9171ce2845 100644 --- a/solutions/virtual_events_events_virtual_event_item_request_builder.go +++ b/solutions/virtual_events_events_virtual_event_item_request_builder.go @@ -126,7 +126,7 @@ func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get events from solutions @@ -142,7 +142,7 @@ func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property events in solutions @@ -155,7 +155,7 @@ func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_request_builder.go b/solutions/virtual_events_request_builder.go index b356b6e677c..fcf64fa9bf5 100644 --- a/solutions/virtual_events_request_builder.go +++ b/solutions/virtual_events_request_builder.go @@ -122,7 +122,7 @@ func (m *VirtualEventsRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get virtualEvents from solutions @@ -138,7 +138,7 @@ func (m *VirtualEventsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property virtualEvents in solutions @@ -151,7 +151,7 @@ func (m *VirtualEventsRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_get_by_user_id_and_role_with_user_id_with_role_request_builder.go b/solutions/virtual_events_webinars_get_by_user_id_and_role_with_user_id_with_role_request_builder.go index fec40de7ea5..1d41cf277c3 100644 --- a/solutions/virtual_events_webinars_get_by_user_id_and_role_with_user_id_with_role_request_builder.go +++ b/solutions/virtual_events_webinars_get_by_user_id_and_role_with_user_id_with_role_request_builder.go @@ -107,7 +107,7 @@ func (m *VirtualEventsWebinarsGetByUserIdAndRoleWithUserIdWithRoleRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/virtual_events_webinars_get_by_user_role_with_role_request_builder.go b/solutions/virtual_events_webinars_get_by_user_role_with_role_request_builder.go index 04b36432c20..e7bb7534274 100644 --- a/solutions/virtual_events_webinars_get_by_user_role_with_role_request_builder.go +++ b/solutions/virtual_events_webinars_get_by_user_role_with_role_request_builder.go @@ -104,7 +104,7 @@ func (m *VirtualEventsWebinarsGetByUserRoleWithRoleRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendee_report_request_builder.go b/solutions/virtual_events_webinars_item_presenters_item_profile_photo_request_builder.go similarity index 66% rename from solutions/virtual_events_webinars_item_sessions_item_attendee_report_request_builder.go rename to solutions/virtual_events_webinars_item_presenters_item_profile_photo_request_builder.go index 02737262855..470e1fd4bd8 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendee_report_request_builder.go +++ b/solutions/virtual_events_webinars_item_presenters_item_profile_photo_request_builder.go @@ -6,39 +6,39 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder struct { +// VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder provides operations to manage the media for the solutionsRoot entity. +type VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration struct { +// VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration struct { +// VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// NewVirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderInternal instantiates a new AttendeeReportRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/attendeeReport", pathParameters), +// NewVirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderInternal instantiates a new ProfilePhotoRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder) { + m := &VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters/{virtualEventPresenter%2Did}/profilePhoto", pathParameters), } return m } -// NewVirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder instantiates a new AttendeeReportRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) { +// NewVirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder instantiates a new ProfilePhotoRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderInternal(urlParams, requestAdapter) + return NewVirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderInternal(urlParams, requestAdapter) } -// Get get attendeeReport for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration)([]byte, error) { +// Get get profilePhoto for the navigation property presenters from solutions +func (m *VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -56,8 +56,8 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) Get( } return res.([]byte), nil } -// Put update attendeeReport for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration)([]byte, error) { +// Put update profilePhoto for the navigation property presenters in solutions +func (m *VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { return nil, err @@ -75,8 +75,8 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) Put( } return res.([]byte), nil } -// ToGetRequestInformation get attendeeReport for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToGetRequestInformation get profilePhoto for the navigation property presenters from solutions +func (m *VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) @@ -85,11 +85,11 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update attendeeReport for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToPutRequestInformation update profilePhoto for the navigation property presenters in solutions +func (m *VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) @@ -98,11 +98,11 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) ToPu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +func (m *VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder) { + return NewVirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_count_request_builder.go b/solutions/virtual_events_webinars_item_presenters_item_sessions_count_request_builder.go similarity index 50% rename from solutions/virtual_events_webinars_item_sessions_item_transcripts_count_request_builder.go rename to solutions/virtual_events_webinars_item_presenters_item_sessions_count_request_builder.go index d9074770535..ee24579b6fb 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_presenters_item_sessions_count_request_builder.go @@ -6,41 +6,41 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder provides operations to count the resources in the collection. -type VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder struct { +// VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder provides operations to count the resources in the collection. +type VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderGetQueryParameters get the number of the resource -type VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderGetQueryParameters struct { +// VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderGetQueryParameters get the number of the resource +type VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Search items by search phrases Search *string `uriparametername:"%24search"` } -// VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderGetRequestConfiguration struct { +// VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderGetQueryParameters + QueryParameters *VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderGetQueryParameters } -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts/$count{?%24search,%24filter}", pathParameters), +// NewVirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder) { + m := &VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters/{virtualEventPresenter%2Did}/sessions/$count{?%24search,%24filter}", pathParameters), } return m } -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) { +// NewVirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderInternal(urlParams, requestAdapter) + return NewVirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderGetRequestConfiguration)(*int32, error) { +func (m *VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -59,7 +59,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) Ge return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +func (m *VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { @@ -75,6 +75,6 @@ func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) To return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +func (m *VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/solutions/virtual_events_webinars_item_presenters_item_sessions_request_builder.go b/solutions/virtual_events_webinars_item_presenters_item_sessions_request_builder.go new file mode 100644 index 00000000000..cd1396fe6b4 --- /dev/null +++ b/solutions/virtual_events_webinars_item_presenters_item_sessions_request_builder.go @@ -0,0 +1,108 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. +type VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderGetQueryParameters get sessions from solutions +type VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderGetQueryParameters +} +// ByVirtualEventSessionId provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. +func (m *VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder) ByVirtualEventSessionId(virtualEventSessionId string)(*VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if virtualEventSessionId != "" { + urlTplParams["virtualEventSession%2Did"] = virtualEventSessionId + } + return NewVirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewVirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderInternal instantiates a new SessionsRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder) { + m := &VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters/{virtualEventPresenter%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewVirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder instantiates a new SessionsRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder) Count()(*VirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilder) { + return NewVirtualEventsWebinarsItemPresentersItemSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get sessions from solutions +func (m *VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateVirtualEventSessionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionCollectionResponseable), nil +} +// ToGetRequestInformation get sessions from solutions +func (m *VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder) { + return NewVirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_presenters_item_sessions_virtual_event_session_item_request_builder.go b/solutions/virtual_events_webinars_item_presenters_item_sessions_virtual_event_session_item_request_builder.go new file mode 100644 index 00000000000..aa9c58a64e4 --- /dev/null +++ b/solutions/virtual_events_webinars_item_presenters_item_sessions_virtual_event_session_item_request_builder.go @@ -0,0 +1,81 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. +type VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetQueryParameters get sessions from solutions +type VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetQueryParameters +} +// NewVirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderInternal instantiates a new VirtualEventSessionItemRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) { + m := &VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters/{virtualEventPresenter%2Did}/sessions/{virtualEventSession%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewVirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder instantiates a new VirtualEventSessionItemRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get sessions from solutions +func (m *VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateVirtualEventSessionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable), nil +} +// ToGetRequestInformation get sessions from solutions +func (m *VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder) { + return NewVirtualEventsWebinarsItemPresentersItemSessionsVirtualEventSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_presenters_request_builder.go b/solutions/virtual_events_webinars_item_presenters_request_builder.go index c386465ddb5..2f676b7c715 100644 --- a/solutions/virtual_events_webinars_item_presenters_request_builder.go +++ b/solutions/virtual_events_webinars_item_presenters_request_builder.go @@ -125,7 +125,7 @@ func (m *VirtualEventsWebinarsItemPresentersRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to presenters for solutions @@ -138,7 +138,7 @@ func (m *VirtualEventsWebinarsItemPresentersRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go b/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go index cdd4b114f7f..7a14f23da7e 100644 --- a/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_presenters_virtual_event_presenter_item_request_builder.go @@ -108,6 +108,14 @@ func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable), nil } +// ProfilePhoto provides operations to manage the media for the solutionsRoot entity. +func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilder) ProfilePhoto()(*VirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilder) { + return NewVirtualEventsWebinarsItemPresentersItemProfilePhotoRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Sessions provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. +func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilder) Sessions()(*VirtualEventsWebinarsItemPresentersItemSessionsRequestBuilder) { + return NewVirtualEventsWebinarsItemPresentersItemSessionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property presenters for solutions func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -118,7 +126,7 @@ func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation presenters' information of the virtual event. @@ -134,7 +142,7 @@ func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property presenters in solutions @@ -147,7 +155,7 @@ func (m *VirtualEventsWebinarsItemPresentersVirtualEventPresenterItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_item_registration_configuration_request_builder.go b/solutions/virtual_events_webinars_item_registration_configuration_request_builder.go index 2c760cdfd1a..676e7c2bff9 100644 --- a/solutions/virtual_events_webinars_item_registration_configuration_request_builder.go +++ b/solutions/virtual_events_webinars_item_registration_configuration_request_builder.go @@ -72,7 +72,7 @@ func (m *VirtualEventsWebinarsItemRegistrationConfigurationRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_alternative_recording_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_alternative_recording_request_builder.go deleted file mode 100644 index 28b0c4e46c7..00000000000 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_alternative_recording_request_builder.go +++ /dev/null @@ -1,108 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderInternal instantiates a new AlternativeRecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) { - m := &VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions/{virtualEventSession%2Did}/alternativeRecording", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder instantiates a new AlternativeRecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get alternativeRecording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put update alternativeRecording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation get alternativeRecording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation update alternativeRecording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_attendee_report_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_attendee_report_request_builder.go deleted file mode 100644 index 4b951a7e292..00000000000 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_attendee_report_request_builder.go +++ /dev/null @@ -1,108 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderInternal instantiates a new AttendeeReportRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) { - m := &VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions/{virtualEventSession%2Did}/attendeeReport", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder instantiates a new AttendeeReportRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get attendeeReport for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put update attendeeReport for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation get attendeeReport for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation update attendeeReport for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) { - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_broadcast_recording_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_item_broadcast_recording_request_builder.go deleted file mode 100644 index 03fb2197cba..00000000000 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_broadcast_recording_request_builder.go +++ /dev/null @@ -1,108 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderInternal instantiates a new BroadcastRecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) { - m := &VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions/{virtualEventSession%2Did}/broadcastRecording", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder instantiates a new BroadcastRecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get broadcastRecording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put update broadcastRecording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation get broadcastRecording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation update broadcastRecording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go index f92e0a6e6f8..4d9516ea72b 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go @@ -99,7 +99,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_virtual_event_session_item_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_virtual_event_session_item_request_builder.go index c9f26162340..507651e3f90 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_virtual_event_session_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_item_sessions_virtual_event_session_item_request_builder.go @@ -27,18 +27,6 @@ type VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRe // Request query parameters QueryParameters *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilderGetQueryParameters } -// AlternativeRecording provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder) AlternativeRecording()(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAlternativeRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// AttendeeReport provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder) AttendeeReport()(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilder) { - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemAttendeeReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// BroadcastRecording provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder) BroadcastRecording()(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemBroadcastRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // NewVirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilderInternal instantiates a new VirtualEventSessionItemRequestBuilder and sets the default values. func NewVirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder) { m := &VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder{ @@ -71,10 +59,6 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionIt } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable), nil } -// Recording provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder) Recording()(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // ToGetRequestInformation sessions of the webinar. func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() @@ -88,7 +72,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsVirtualEventSessionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/virtual_events_webinars_item_registrations_request_builder.go b/solutions/virtual_events_webinars_item_registrations_request_builder.go index d1002bb5f8e..37e3c19013f 100644 --- a/solutions/virtual_events_webinars_item_registrations_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_request_builder.go @@ -128,7 +128,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to registrations for solutions @@ -141,7 +141,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go b/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go index 7d182b2e6e3..0e10f423219 100644 --- a/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_virtual_event_registration_item_request_builder.go @@ -125,7 +125,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a virtualEventRegistration object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property registrations in solutions @@ -154,7 +154,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsVirtualEventRegistrationItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_item_sessions_item_alternative_recording_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_alternative_recording_request_builder.go deleted file mode 100644 index 590b8af400c..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_alternative_recording_request_builder.go +++ /dev/null @@ -1,108 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderInternal instantiates a new AlternativeRecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/alternativeRecording", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder instantiates a new AlternativeRecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get alternativeRecording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put update alternativeRecording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation get alternativeRecording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation update alternativeRecording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go index 76aaf1d6954..145282beb33 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of attendance records of an attendance report. Read-only. @@ -134,7 +134,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceRecords in solutions @@ -147,7 +147,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go index 1edfc4ae448..7af256ae956 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_item_attendance_records_request_builder.go @@ -128,7 +128,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceRecords for solutions @@ -141,7 +141,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsItemAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go index 0807d42419e..0e673a4afba 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_meeting_attendance_report_item_request_builder.go @@ -7,7 +7,7 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. type VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } @@ -18,7 +18,7 @@ type VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceRepo // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters 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. +// VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters get attendanceReports from solutions type VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,10 +74,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendance } return nil } -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 +// Get get attendanceReports from solutions func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -125,10 +122,10 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendance requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get attendanceReports from solutions func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -141,7 +138,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendance requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceReports in solutions @@ -154,7 +151,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendance requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_request_builder.go index c024e373928..f1dd345eefa 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_attendance_reports_request_builder.go @@ -7,11 +7,11 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. type VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilderGetQueryParameters 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. +// VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilderGetQueryParameters get attendanceReports from solutions type VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,7 +46,7 @@ type VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilderPostReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportId(meetingAttendanceReportId string)(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { @@ -74,10 +74,7 @@ func NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder(raw func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) Count()(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsCountRequestBuilder) { return NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 +// Get get attendanceReports from solutions func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +112,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get attendanceReports from solutions func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -128,7 +125,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceReports for solutions @@ -141,7 +138,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_item_sessions_item_broadcast_recording_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_broadcast_recording_request_builder.go deleted file mode 100644 index bdb5d08eda6..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_broadcast_recording_request_builder.go +++ /dev/null @@ -1,108 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderInternal instantiates a new BroadcastRecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/broadcastRecording", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder instantiates a new BroadcastRecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get broadcastRecording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put update broadcastRecording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation get broadcastRecording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation update broadcastRecording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go deleted file mode 100644 index 42534b64178..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go +++ /dev/null @@ -1,160 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderInternal instantiates a new AttendanceRecordItemRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords/{attendanceRecord%2Did}{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder instantiates a new AttendanceRecordItemRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Delete delete navigation property attendanceRecords for solutions -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get list of attendance records of an attendance report. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAttendanceRecordFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil -} -// Patch update the navigation property attendanceRecords in solutions -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAttendanceRecordFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil -} -// ToDeleteRequestInformation delete navigation property attendanceRecords for solutions -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation list of attendance records of an attendance report. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property attendanceRecords in solutions -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go deleted file mode 100644 index 95b20c39067..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_count_request_builder.go +++ /dev/null @@ -1,80 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder provides operations to count the resources in the collection. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetQueryParameters get the number of the resource -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetQueryParameters struct { - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetQueryParameters -} -// NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords/$count{?%24search,%24filter}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get the number of the resource -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetRequestConfiguration)(*int32, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(*int32), nil -} -// ToGetRequestInformation get the number of the resource -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go deleted file mode 100644 index 0b837344314..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_attendance_records_request_builder.go +++ /dev/null @@ -1,154 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByAttendanceRecordId provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ByAttendanceRecordId(attendanceRecordId string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if attendanceRecordId != "" { - urlTplParams["attendanceRecord%2Did"] = attendanceRecordId - } - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderInternal instantiates a new AttendanceRecordsRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder instantiates a new AttendanceRecordsRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Count()(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAttendanceRecordCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordCollectionResponseable), nil -} -// Post create new navigation property to attendanceRecords for solutions -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAttendanceRecordFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil -} -// ToGetRequestInformation get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPostRequestInformation create new navigation property to attendanceRecords for solutions -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_request_builder.go deleted file mode 100644 index 4cd67c36098..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_meeting_attendance_report_request_builder.go +++ /dev/null @@ -1,167 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder provides operations to manage the meetingAttendanceReport property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderGetQueryParameters 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. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// AttendanceRecords provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) AttendanceRecords()(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportAttendanceRecordsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderInternal instantiates a new MeetingAttendanceReportRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder instantiates a new MeetingAttendanceReportRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderInternal(urlParams, requestAdapter) -} -// Delete delete navigation property meetingAttendanceReport for solutions -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingAttendanceReportFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable), nil -} -// Patch update the navigation property meetingAttendanceReport in solutions -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingAttendanceReportFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable), nil -} -// ToDeleteRequestInformation delete navigation property meetingAttendanceReport for solutions -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property meetingAttendanceReport in solutions -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_presenters_count_request_builder.go similarity index 73% rename from solutions/virtual_events_webinars_item_sessions_item_recordings_count_request_builder.go rename to solutions/virtual_events_webinars_item_sessions_item_presenters_count_request_builder.go index 2e1e00a9543..c41e365190f 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_count_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_presenters_count_request_builder.go @@ -6,41 +6,41 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder provides operations to count the resources in the collection. -type VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder struct { +// VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder provides operations to count the resources in the collection. +type VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderGetQueryParameters get the number of the resource -type VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderGetQueryParameters struct { +// VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderGetQueryParameters get the number of the resource +type VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Search items by search phrases Search *string `uriparametername:"%24search"` } -// VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderGetRequestConfiguration struct { +// VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderGetQueryParameters + QueryParameters *VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderGetQueryParameters } -// NewVirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recordings/$count{?%24search,%24filter}", pathParameters), +// NewVirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder) { + m := &VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/presenters/$count{?%24search,%24filter}", pathParameters), } return m } -// NewVirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) { +// NewVirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderInternal(urlParams, requestAdapter) + return NewVirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderGetRequestConfiguration)(*int32, error) { +func (m *VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderGetRequestConfiguration)(*int32, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -59,7 +59,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) Get return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +func (m *VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { @@ -75,6 +75,6 @@ func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) ToG return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +func (m *VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_recording_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_presenters_item_profile_photo_request_builder.go similarity index 56% rename from solutions/virtual_events_webinars_item_registrations_item_sessions_item_recording_request_builder.go rename to solutions/virtual_events_webinars_item_sessions_item_presenters_item_profile_photo_request_builder.go index dc5a938119d..1f2a71b1e32 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_item_recording_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_presenters_item_profile_photo_request_builder.go @@ -6,39 +6,39 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder struct { +// VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder provides operations to manage the media for the solutionsRoot entity. +type VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration struct { +// VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration struct { +// VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderInternal instantiates a new RecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) { - m := &VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions/{virtualEventSession%2Did}/recording", pathParameters), +// NewVirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderInternal instantiates a new ProfilePhotoRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) { + m := &VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/presenters/{virtualEventPresenter%2Did}/profilePhoto", pathParameters), } return m } -// NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder instantiates a new RecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) { +// NewVirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder instantiates a new ProfilePhotoRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderInternal(urlParams, requestAdapter) + return NewVirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderInternal(urlParams, requestAdapter) } -// Get get recording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { +// Get get profilePhoto for the navigation property presenters from solutions +func (m *VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -56,8 +56,8 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestB } return res.([]byte), nil } -// Put update recording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { +// Put update profilePhoto for the navigation property presenters in solutions +func (m *VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration)([]byte, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { return nil, err @@ -75,8 +75,8 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestB } return res.([]byte), nil } -// ToGetRequestInformation get recording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToGetRequestInformation get profilePhoto for the navigation property presenters from solutions +func (m *VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) @@ -85,11 +85,11 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } -// ToPutRequestInformation update recording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToPutRequestInformation update profilePhoto for the navigation property presenters in solutions +func (m *VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) @@ -98,11 +98,11 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemRegistrationsItemSessionsItemRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +func (m *VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/solutions/virtual_events_webinars_item_sessions_item_presenters_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_presenters_request_builder.go new file mode 100644 index 00000000000..bed87efe688 --- /dev/null +++ b/solutions/virtual_events_webinars_item_sessions_item_presenters_request_builder.go @@ -0,0 +1,108 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. +type VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderGetQueryParameters get presenters from solutions +type VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderGetQueryParameters +} +// ByVirtualEventPresenterId provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. +func (m *VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder) ByVirtualEventPresenterId(virtualEventPresenterId string)(*VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if virtualEventPresenterId != "" { + urlTplParams["virtualEventPresenter%2Did"] = virtualEventPresenterId + } + return NewVirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewVirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderInternal instantiates a new PresentersRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder) { + m := &VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/presenters{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewVirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder instantiates a new PresentersRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder) Count()(*VirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemPresentersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get presenters from solutions +func (m *VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateVirtualEventPresenterCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterCollectionResponseable), nil +} +// ToGetRequestInformation get presenters from solutions +func (m *VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_presenters_virtual_event_presenter_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_presenters_virtual_event_presenter_item_request_builder.go new file mode 100644 index 00000000000..9d5c013e86a --- /dev/null +++ b/solutions/virtual_events_webinars_item_sessions_item_presenters_virtual_event_presenter_item_request_builder.go @@ -0,0 +1,85 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. +type VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetQueryParameters get presenters from solutions +type VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetQueryParameters +} +// NewVirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderInternal instantiates a new VirtualEventPresenterItemRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) { + m := &VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/presenters/{virtualEventPresenter%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewVirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder instantiates a new VirtualEventPresenterItemRequestBuilder and sets the default values. +func NewVirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get presenters from solutions +func (m *VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateVirtualEventPresenterFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventPresenterable), nil +} +// ProfilePhoto provides operations to manage the media for the solutionsRoot entity. +func (m *VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) ProfilePhoto()(*VirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemPresentersItemProfilePhotoRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get presenters from solutions +func (m *VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemPresentersVirtualEventPresenterItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recording_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recording_request_builder.go deleted file mode 100644 index 29da62d54e2..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_recording_request_builder.go +++ /dev/null @@ -1,108 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderInternal instantiates a new RecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recording", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder instantiates a new RecordingRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get recording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put update recording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation get recording for the navigation property sessions from solutions -func (m *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation update recording for the navigation property sessions in solutions -func (m *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_call_recording_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_call_recording_item_request_builder.go deleted file mode 100644 index eee8185d754..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_call_recording_item_request_builder.go +++ /dev/null @@ -1,167 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters 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. -type VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderInternal instantiates a new CallRecordingItemRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recordings/{callRecording%2Did}{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder instantiates a new CallRecordingItemRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Content provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) Content()(*VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Delete delete navigation property recordings for solutions -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil -} -// Patch update the navigation property recordings in solutions -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil -} -// ToDeleteRequestInformation delete navigation property recordings for solutions -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property recordings in solutions -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_get_response.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_get_response.go deleted file mode 100644 index 69ff09f1314..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_get_response.go +++ /dev/null @@ -1,88 +0,0 @@ -package solutions - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" -) - -// VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse -type VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse struct { - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponse -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse instantiates a new VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse()(*VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse) { - m := &VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse{ - BaseDeltaFunctionResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseDeltaFunctionResponse(), - } - return m -} -// CreateVirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateVirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse(), nil -} -// GetFieldDeserializers the deserialization information for the current model -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() - res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, len(val)) - for i, v := range val { - if v != nil { - res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) - } - } - m.SetValue(res) - } - return nil - } - return res -} -// GetValue gets the value property value. The value property -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) { - val, err := m.GetBackingStore().Get("value") - if err != nil { - panic(err) - } - if val != nil { - return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) - } - return nil -} -// Serialize serializes information the current object -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.BaseDeltaFunctionResponse.Serialize(writer) - if err != nil { - return err - } - if m.GetValue() != nil { - cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) - for i, v := range m.GetValue() { - if v != nil { - cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) - } - } - err = writer.WriteCollectionOfObjectValues("value", cast) - if err != nil { - return err - } - } - return nil -} -// SetValue sets the value property value. The value property -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable)() { - err := m.GetBackingStore().Set("value", value) - if err != nil { - panic(err) - } -} -// VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponseable -type VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponseable interface { - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponseable - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) - SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable)() -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_request_builder.go deleted file mode 100644 index 9542c9af48c..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_request_builder.go +++ /dev/null @@ -1,110 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder provides operations to call the delta method. -type VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderGetQueryParameters invoke function delta -type VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderGetQueryParameters -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderInternal instantiates a new DeltaRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recordings/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder instantiates a new DeltaRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderInternal(urlParams, requestAdapter) -} -// Get invoke function delta -// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(VirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(VirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponseable), nil -} -// GetAsDeltaGetResponse invoke function delta -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponseable), nil -} -// ToGetRequestInformation invoke function delta -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_response.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_response.go deleted file mode 100644 index 5878488573d..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_delta_response.go +++ /dev/null @@ -1,28 +0,0 @@ -package solutions - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -// VirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponse -// Deprecated: This class is obsolete. Use deltaGetResponse instead. -type VirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponse struct { - VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponse instantiates a new VirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponse and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponse()(*VirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponse) { - m := &VirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponse{ - VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse: *NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponse(), - } - return m -} -// CreateVirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateVirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponse(), nil -} -// VirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponseable -// Deprecated: This class is obsolete. Use deltaGetResponse instead. -type VirtualEventsWebinarsItemSessionsItemRecordingsDeltaResponseable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - VirtualEventsWebinarsItemSessionsItemRecordingsDeltaGetResponseable -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_item_content_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_item_content_request_builder.go deleted file mode 100644 index 0a8f775e736..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_item_content_request_builder.go +++ /dev/null @@ -1,109 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderInternal instantiates a new ContentRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recordings/{callRecording%2Did}/content", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder instantiates a new ContentRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderInternal(urlParams, requestAdapter) -} -// Get the content of the recording. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put the content of the recording. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil -} -// ToGetRequestInformation the content of the recording. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation the content of the recording. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_recordings_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_recordings_request_builder.go deleted file mode 100644 index 93ac85081e1..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_recordings_request_builder.go +++ /dev/null @@ -1,155 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetQueryParameters 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. -type VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByCallRecordingId provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) ByCallRecordingId(callRecordingId string)(*VirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if callRecordingId != "" { - urlTplParams["callRecording%2Did"] = callRecordingId - } - return NewVirtualEventsWebinarsItemSessionsItemRecordingsCallRecordingItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderInternal instantiates a new RecordingsRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recordings{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder instantiates a new RecordingsRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) Count()(*VirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Delta provides operations to call the delta method. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) Delta()(*VirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get 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. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingCollectionResponseable), nil -} -// Post create new navigation property to recordings for solutions -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable), nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPostRequestInformation create new navigation property to recordings for solutions -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_count_request_builder.go deleted file mode 100644 index b846bb08029..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_count_request_builder.go +++ /dev/null @@ -1,80 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder provides operations to count the resources in the collection. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetQueryParameters get the number of the resource -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetQueryParameters struct { - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` -} -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetQueryParameters -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions/$count{?%24search,%24filter}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get the number of the resource -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(*int32), nil -} -// ToGetRequestInformation get the number of the resource -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go deleted file mode 100644 index d969a6c7c84..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ /dev/null @@ -1,169 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters 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. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal instantiates a new MeetingRegistrationQuestionItemRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions/{meetingRegistrationQuestion%2Did}{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder instantiates a new MeetingRegistrationQuestionItemRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Delete delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-delete?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-get?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationQuestionFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil -} -// Patch 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistrationquestion-update?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationQuestionFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil -} -// ToDeleteRequestInformation delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation 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. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_request_builder.go deleted file mode 100644 index b450de81f45..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_custom_questions_request_builder.go +++ /dev/null @@ -1,157 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters 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. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByMeetingRegistrationQuestionId provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) ByMeetingRegistrationQuestionId(meetingRegistrationQuestionId string)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if meetingRegistrationQuestionId != "" { - urlTplParams["meetingRegistrationQuestion%2Did"] = meetingRegistrationQuestionId - } - return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsMeetingRegistrationQuestionItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderInternal instantiates a new CustomQuestionsRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder instantiates a new CustomQuestionsRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) Count()(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-list-customquestions?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationQuestionCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionCollectionResponseable), nil -} -// Post 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-post-customquestions?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationQuestionFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable), nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPostRequestInformation 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. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationQuestionable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_count_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_count_request_builder.go deleted file mode 100644 index 97b04f9b6ac..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_count_request_builder.go +++ /dev/null @@ -1,80 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder provides operations to count the resources in the collection. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetQueryParameters get the number of the resource -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetQueryParameters struct { - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetQueryParameters -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants/$count{?%24search,%24filter}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get the number of the resource -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetRequestConfiguration)(*int32, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(*int32), nil -} -// ToGetRequestInformation get the number of the resource -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go deleted file mode 100644 index add805a0fd8..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ /dev/null @@ -1,160 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetQueryParameters registrants of the online meeting. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderInternal instantiates a new MeetingRegistrantBaseItemRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants/{meetingRegistrantBase%2Did}{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder instantiates a new MeetingRegistrantBaseItemRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Delete delete navigation property registrants for solutions -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get registrants of the online meeting. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrantBaseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable), nil -} -// Patch update the navigation property registrants in solutions -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrantBaseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable), nil -} -// ToDeleteRequestInformation delete navigation property registrants for solutions -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation registrants of the online meeting. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property registrants in solutions -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_request_builder.go deleted file mode 100644 index fdc09450b1e..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_registrants_request_builder.go +++ /dev/null @@ -1,151 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderGetQueryParameters registrants of the online meeting. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByMeetingRegistrantBaseId provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) ByMeetingRegistrantBaseId(meetingRegistrantBaseId string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if meetingRegistrantBaseId != "" { - urlTplParams["meetingRegistrantBase%2Did"] = meetingRegistrantBaseId - } - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsMeetingRegistrantBaseItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderInternal instantiates a new RegistrantsRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder instantiates a new RegistrantsRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) Count()(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get registrants of the online meeting. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrantBaseCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseCollectionResponseable), nil -} -// Post create new navigation property to registrants for solutions -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrantBaseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable), nil -} -// ToGetRequestInformation registrants of the online meeting. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPostRequestInformation create new navigation property to registrants for solutions -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrantBaseable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registration_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registration_request_builder.go deleted file mode 100644 index 5ef34f9e6a1..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_registration_request_builder.go +++ /dev/null @@ -1,177 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderGetQueryParameters get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. -type VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderInternal instantiates a new RegistrationRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder instantiates a new RegistrationRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderInternal(urlParams, requestAdapter) -} -// CustomQuestions provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) CustomQuestions()(*VirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationCustomQuestionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Delete disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalmeetingregistration-delete?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/externalmeetingregistration-get?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable), nil -} -// Patch 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingregistration-update?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateMeetingRegistrationFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable), nil -} -// Registrants provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) Registrants()(*VirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRegistrantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// ToDeleteRequestInformation disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation 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. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingRegistrationable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_registrations_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registrations_request_builder.go index fd003c107db..bc15c257130 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registrations_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registrations_request_builder.go @@ -99,7 +99,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/virtual_events_webinars_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go index 03900643af8..6f08ae2bc06 100644 --- a/solutions/virtual_events_webinars_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_item_registrations_virtual_event_registration_item_request_builder.go @@ -72,7 +72,7 @@ func (m *VirtualEventsWebinarsItemSessionsItemRegistrationsVirtualEventRegistrat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_call_transcript_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_call_transcript_item_request_builder.go deleted file mode 100644 index 63322da8e78..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_call_transcript_item_request_builder.go +++ /dev/null @@ -1,171 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters 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. -type VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderInternal instantiates a new CallTranscriptItemRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}{?%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder instantiates a new CallTranscriptItemRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Content provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) Content()(*VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Delete delete navigation property transcripts for solutions -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil -} -// MetadataContent provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) MetadataContent()(*VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Patch update the navigation property transcripts in solutions -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil -} -// ToDeleteRequestInformation delete navigation property transcripts for solutions -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - return requestInfo, nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property transcripts in solutions -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_get_response.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_get_response.go deleted file mode 100644 index 84b24ee4330..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_get_response.go +++ /dev/null @@ -1,88 +0,0 @@ -package solutions - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" -) - -// VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse -type VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse struct { - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponse -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse instantiates a new VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse()(*VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse) { - m := &VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse{ - BaseDeltaFunctionResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseDeltaFunctionResponse(), - } - return m -} -// CreateVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse(), nil -} -// GetFieldDeserializers the deserialization information for the current model -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() - res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, len(val)) - for i, v := range val { - if v != nil { - res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) - } - } - m.SetValue(res) - } - return nil - } - return res -} -// GetValue gets the value property value. The value property -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) { - val, err := m.GetBackingStore().Get("value") - if err != nil { - panic(err) - } - if val != nil { - return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) - } - return nil -} -// Serialize serializes information the current object -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.BaseDeltaFunctionResponse.Serialize(writer) - if err != nil { - return err - } - if m.GetValue() != nil { - cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) - for i, v := range m.GetValue() { - if v != nil { - cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) - } - } - err = writer.WriteCollectionOfObjectValues("value", cast) - if err != nil { - return err - } - } - return nil -} -// SetValue sets the value property value. The value property -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable)() { - err := m.GetBackingStore().Set("value", value) - if err != nil { - panic(err) - } -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponseable -type VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponseable interface { - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponseable - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) - SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable)() -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_request_builder.go deleted file mode 100644 index 730729def5f..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_request_builder.go +++ /dev/null @@ -1,110 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder provides operations to call the delta method. -type VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderGetQueryParameters invoke function delta -type VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderGetQueryParameters -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderInternal instantiates a new DeltaRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder instantiates a new DeltaRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderInternal(urlParams, requestAdapter) -} -// Get invoke function delta -// Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponseable), nil -} -// GetAsDeltaGetResponse invoke function delta -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponseable), nil -} -// ToGetRequestInformation invoke function delta -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_response.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_response.go deleted file mode 100644 index 3deb933f02f..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_delta_response.go +++ /dev/null @@ -1,28 +0,0 @@ -package solutions - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -// VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponse -// Deprecated: This class is obsolete. Use deltaGetResponse instead. -type VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponse struct { - VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponse instantiates a new VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponse and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponse()(*VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponse) { - m := &VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponse{ - VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse: *NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponse(), - } - return m -} -// CreateVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -func CreateVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponse(), nil -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponseable -// Deprecated: This class is obsolete. Use deltaGetResponse instead. -type VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaResponseable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaGetResponseable -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_content_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_content_request_builder.go deleted file mode 100644 index 445aec998a0..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_content_request_builder.go +++ /dev/null @@ -1,112 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderInternal instantiates a new ContentRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}/content", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder instantiates a new ContentRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderInternal(urlParams, requestAdapter) -} -// Get the content of the transcript. Read-only. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put the content of the transcript. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil -} -// ToGetRequestInformation the content of the transcript. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation the content of the transcript. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_metadata_content_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_metadata_content_request_builder.go deleted file mode 100644 index d5b49901f41..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_item_metadata_content_request_builder.go +++ /dev/null @@ -1,111 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder provides operations to manage the media for the solutionsRoot entity. -type VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderInternal instantiates a new MetadataContentRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}/metadataContent", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder instantiates a new MetadataContentRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderInternal(urlParams, requestAdapter) -} -// Get the time-aligned metadata of the utterances in the transcript. Read-only. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// Put the time-aligned metadata of the utterances in the transcript. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration)([]byte, error) { - requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.([]byte), nil -} -// ToGetRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") - return requestInfo, nil -} -// ToPutRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) ToPutRequestInformation(ctx context.Context, body []byte, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") - requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsItemMetadataContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_item_transcripts_request_builder.go b/solutions/virtual_events_webinars_item_sessions_item_transcripts_request_builder.go deleted file mode 100644 index 0eafeabf937..00000000000 --- a/solutions/virtual_events_webinars_item_sessions_item_transcripts_request_builder.go +++ /dev/null @@ -1,158 +0,0 @@ -package solutions - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -type VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters 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. -type VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Order items by property values - Orderby []string `uriparametername:"%24orderby"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetQueryParameters -} -// VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByCallTranscriptId provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) ByCallTranscriptId(callTranscriptId string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if callTranscriptId != "" { - urlTplParams["callTranscript%2Did"] = callTranscriptId - } - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsCallTranscriptItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderInternal instantiates a new TranscriptsRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) { - m := &VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), - } - return m -} -// NewVirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder instantiates a new TranscriptsRequestBuilder and sets the default values. -func NewVirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) Count()(*VirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Delta provides operations to call the delta method. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) Delta()(*VirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptCollectionResponseable), nil -} -// Post create new navigation property to transcripts for solutions -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable), nil -} -// ToGetRequestInformation 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. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - return requestInfo, nil -} -// ToPostRequestInformation create new navigation property to transcripts for solutions -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, requestConfiguration *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate - requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters - requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/solutions/virtual_events_webinars_item_sessions_request_builder.go b/solutions/virtual_events_webinars_item_sessions_request_builder.go index e92142293f9..e26a9a8721e 100644 --- a/solutions/virtual_events_webinars_item_sessions_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_request_builder.go @@ -125,7 +125,7 @@ func (m *VirtualEventsWebinarsItemSessionsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sessions for solutions @@ -138,7 +138,7 @@ func (m *VirtualEventsWebinarsItemSessionsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_item_sessions_virtual_event_session_item_request_builder.go b/solutions/virtual_events_webinars_item_sessions_virtual_event_session_item_request_builder.go index a4e22f596d6..87d38c9cc7e 100644 --- a/solutions/virtual_events_webinars_item_sessions_virtual_event_session_item_request_builder.go +++ b/solutions/virtual_events_webinars_item_sessions_virtual_event_session_item_request_builder.go @@ -41,22 +41,10 @@ type VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilderPatch // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// AlternativeRecording provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) AlternativeRecording()(*VirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemAlternativeRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// AttendanceReports provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// AttendanceReports provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) AttendanceReports()(*VirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilder) { return NewVirtualEventsWebinarsItemSessionsItemAttendanceReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// AttendeeReport provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) AttendeeReport()(*VirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemAttendeeReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// BroadcastRecording provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) BroadcastRecording()(*VirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemBroadcastRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // NewVirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilderInternal instantiates a new VirtualEventSessionItemRequestBuilder and sets the default values. func NewVirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) { m := &VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder{ @@ -105,10 +93,6 @@ func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable), nil } -// MeetingAttendanceReport provides operations to manage the meetingAttendanceReport property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) MeetingAttendanceReport()(*VirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemMeetingAttendanceReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // Patch update the navigation property sessions in solutions func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable, requestConfiguration *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); @@ -128,17 +112,9 @@ func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable), nil } -// Recording provides operations to manage the media for the solutionsRoot entity. -func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) Recording()(*VirtualEventsWebinarsItemSessionsItemRecordingRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Recordings provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) Recordings()(*VirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRecordingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Registration provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) Registration()(*VirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemRegistrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +// Presenters provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. +func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) Presenters()(*VirtualEventsWebinarsItemSessionsItemPresentersRequestBuilder) { + return NewVirtualEventsWebinarsItemSessionsItemPresentersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // Registrations provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) Registrations()(*VirtualEventsWebinarsItemSessionsItemRegistrationsRequestBuilder) { @@ -154,7 +130,7 @@ func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation sessions of the virtual event. @@ -170,7 +146,7 @@ func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sessions in solutions @@ -183,17 +159,13 @@ func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err } return requestInfo, nil } -// Transcripts provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. -func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) Transcripts()(*VirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilder) { - return NewVirtualEventsWebinarsItemSessionsItemTranscriptsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. func (m *VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder) { return NewVirtualEventsWebinarsItemSessionsVirtualEventSessionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/solutions/virtual_events_webinars_request_builder.go b/solutions/virtual_events_webinars_request_builder.go index ebe4e84b72d..90aecffcae2 100644 --- a/solutions/virtual_events_webinars_request_builder.go +++ b/solutions/virtual_events_webinars_request_builder.go @@ -133,7 +133,7 @@ func (m *VirtualEventsWebinarsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to webinars for solutions @@ -146,7 +146,7 @@ func (m *VirtualEventsWebinarsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go b/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go index 7daccb446b6..8f9cda789d0 100644 --- a/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go +++ b/solutions/virtual_events_webinars_virtual_event_webinar_item_request_builder.go @@ -137,7 +137,7 @@ func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a virtualEventWebinar object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property webinars in solutions @@ -166,7 +166,7 @@ func (m *VirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/subscribedskus/subscribed_sku_item_request_builder.go b/subscribedskus/subscribed_sku_item_request_builder.go index b9b8cfe2cf3..db1f63e54a4 100644 --- a/subscribedskus/subscribed_sku_item_request_builder.go +++ b/subscribedskus/subscribed_sku_item_request_builder.go @@ -119,7 +119,7 @@ func (m *SubscribedSkuItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. @@ -135,7 +135,7 @@ func (m *SubscribedSkuItemRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in subscribedSkus @@ -148,7 +148,7 @@ func (m *SubscribedSkuItemRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/subscribedskus/subscribed_skus_request_builder.go b/subscribedskus/subscribed_skus_request_builder.go index d541c1faef9..6d54b43acbe 100644 --- a/subscribedskus/subscribed_skus_request_builder.go +++ b/subscribedskus/subscribed_skus_request_builder.go @@ -114,7 +114,7 @@ func (m *SubscribedSkusRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to subscribedSkus @@ -127,7 +127,7 @@ func (m *SubscribedSkusRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/subscriptions/item_reauthorize_request_builder.go b/subscriptions/item_reauthorize_request_builder.go index 61335047714..271442fbdee 100644 --- a/subscriptions/item_reauthorize_request_builder.go +++ b/subscriptions/item_reauthorize_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemReauthorizeRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/subscriptions/subscription_item_request_builder.go b/subscriptions/subscription_item_request_builder.go index cdcf8fc0aa8..1ade43e2d81 100644 --- a/subscriptions/subscription_item_request_builder.go +++ b/subscriptions/subscription_item_request_builder.go @@ -129,7 +129,7 @@ func (m *SubscriptionItemRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -145,7 +145,7 @@ func (m *SubscriptionItemRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -158,7 +158,7 @@ func (m *SubscriptionItemRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/subscriptions/subscriptions_request_builder.go b/subscriptions/subscriptions_request_builder.go index 5f9c845530e..4a9a7c7da91 100644 --- a/subscriptions/subscriptions_request_builder.go +++ b/subscriptions/subscriptions_request_builder.go @@ -115,7 +115,7 @@ func (m *SubscriptionsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -128,7 +128,7 @@ func (m *SubscriptionsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/all_messages_request_builder.go b/teams/all_messages_request_builder.go index f65cf78ff19..462e7c882b6 100644 --- a/teams/all_messages_request_builder.go +++ b/teams/all_messages_request_builder.go @@ -101,7 +101,7 @@ func (m *AllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/get_all_messages_request_builder.go b/teams/get_all_messages_request_builder.go index 4dee2621129..d2c97f03108 100644 --- a/teams/get_all_messages_request_builder.go +++ b/teams/get_all_messages_request_builder.go @@ -103,7 +103,7 @@ func (m *GetAllMessagesRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_all_channels_channel_item_request_builder.go b/teams/item_all_channels_channel_item_request_builder.go index 363b1377e58..c2ff616d383 100644 --- a/teams/item_all_channels_channel_item_request_builder.go +++ b/teams/item_all_channels_channel_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemAllChannelsChannelItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_all_channels_request_builder.go b/teams/item_all_channels_request_builder.go index cac22a1e75d..8808717fa45 100644 --- a/teams/item_all_channels_request_builder.go +++ b/teams/item_all_channels_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAllChannelsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_archive_request_builder.go b/teams/item_archive_request_builder.go index d34f4fad278..e2718687456 100644 --- a/teams/item_archive_request_builder.go +++ b/teams/item_archive_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemArchiveRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_all_messages_request_builder.go b/teams/item_channels_all_messages_request_builder.go index e64a4d3078e..a602f6bbf4b 100644 --- a/teams/item_channels_all_messages_request_builder.go +++ b/teams/item_channels_all_messages_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemChannelsAllMessagesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_channel_item_request_builder.go b/teams/item_channels_channel_item_request_builder.go index ab4b4e3c3c6..9f1f3d9aa6f 100644 --- a/teams/item_channels_channel_item_request_builder.go +++ b/teams/item_channels_channel_item_request_builder.go @@ -163,7 +163,7 @@ func (m *ItemChannelsChannelItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -179,7 +179,7 @@ func (m *ItemChannelsChannelItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of the specified channel. This API is available in the following national cloud deployments. @@ -192,7 +192,7 @@ func (m *ItemChannelsChannelItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_get_all_messages_request_builder.go b/teams/item_channels_get_all_messages_request_builder.go index 136590ec190..4c1b6ed63bf 100644 --- a/teams/item_channels_get_all_messages_request_builder.go +++ b/teams/item_channels_get_all_messages_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemChannelsGetAllMessagesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_complete_migration_request_builder.go b/teams/item_channels_item_complete_migration_request_builder.go index 1eede7b00c2..cfbbc248977 100644 --- a/teams/item_channels_item_complete_migration_request_builder.go +++ b/teams/item_channels_item_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChannelsItemCompleteMigrationRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 91f296713a3..a34bb0dff79 100644 --- a/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teams/item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -93,7 +93,7 @@ func (m *ItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrinc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_files_folder_content_request_builder.go b/teams/item_channels_item_files_folder_content_request_builder.go index 2285b6db364..04822c7a5ee 100644 --- a/teams/item_channels_item_files_folder_content_request_builder.go +++ b/teams/item_channels_item_files_folder_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemChannelsItemFilesFolderContentRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *ItemChannelsItemFilesFolderContentRequestBuilder) ToPutRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teams/item_channels_item_files_folder_request_builder.go b/teams/item_channels_item_files_folder_request_builder.go index 2a955781730..70b529c861f 100644 --- a/teams/item_channels_item_files_folder_request_builder.go +++ b/teams/item_channels_item_files_folder_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemChannelsItemFilesFolderRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_members_add_request_builder.go b/teams/item_channels_item_members_add_request_builder.go index c09f4602370..801adb60e6a 100644 --- a/teams/item_channels_item_members_add_request_builder.go +++ b/teams/item_channels_item_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemChannelsItemMembersAddRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_members_conversation_member_item_request_builder.go b/teams/item_channels_item_members_conversation_member_item_request_builder.go index c4ac1073c4e..23389ca5d58 100644 --- a/teams/item_channels_item_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a channel. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in 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. @@ -156,7 +156,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_members_request_builder.go b/teams/item_channels_item_members_request_builder.go index 46b28b2207a..fca93ae4cfc 100644 --- a/teams/item_channels_item_members_request_builder.go +++ b/teams/item_channels_item_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemChannelsItemMembersRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemChannelsItemMembersRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_chat_message_item_request_builder.go b/teams/item_channels_item_messages_chat_message_item_request_builder.go index 449167ecc3d..3ca66789516 100644 --- a/teams/item_channels_item_messages_chat_message_item_request_builder.go +++ b/teams/item_channels_item_messages_chat_message_item_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -169,7 +169,7 @@ func (m *ItemChannelsItemMessagesChatMessageItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_delta_request_builder.go b/teams/item_channels_item_messages_delta_request_builder.go index 16523790831..053d878b2c7 100644 --- a/teams/item_channels_item_messages_delta_request_builder.go +++ b/teams/item_channels_item_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemChannelsItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 82744561e12..516ebceaf29 100644 --- a/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teams @@ -154,7 +154,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsChatMessageHostedContentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 7b7df5f6887..7edeb742c6e 100644 --- a/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teams @@ -101,7 +101,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsItemValueContentRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teams/item_channels_item_messages_item_hosted_contents_request_builder.go b/teams/item_channels_item_messages_item_hosted_contents_request_builder.go index e7e9a6e47cc..e362a640ea4 100644 --- a/teams/item_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teams/item_channels_item_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teams @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesItemHostedContentsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go index 9116d3297bf..a734c1b9d7d 100644 --- a/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in teams @@ -162,7 +162,7 @@ func (m *ItemChannelsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_item_replies_delta_request_builder.go b/teams/item_channels_item_messages_item_replies_delta_request_builder.go index a7c12e598c0..74d01d5f6ce 100644 --- a/teams/item_channels_item_messages_item_replies_delta_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 624c602ed43..e0bd14f546d 100644 --- a/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teams @@ -154,7 +154,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsChatMessageHostedC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 65d1213f460..8b650f7b77f 100644 --- a/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teams @@ -101,7 +101,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsItemValueContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 8cd4634466b..6ce4509248a 100644 --- a/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teams @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemHostedContentsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_item_replies_item_set_reaction_request_builder.go b/teams/item_channels_item_messages_item_replies_item_set_reaction_request_builder.go index a093c9516a3..3630d072da0 100644 --- a/teams/item_channels_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemSetReactionRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go index 77985782b51..9261ff5315b 100644 --- a/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 449707ee1d5..8e52bed1d92 100644 --- a/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go b/teams/item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go index 9ba2b4a603a..87cb50de89e 100644 --- a/teams/item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_item_replies_request_builder.go b/teams/item_channels_item_messages_item_replies_request_builder.go index 32f253c51e2..7f73fd324f9 100644 --- a/teams/item_channels_item_messages_item_replies_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_item_set_reaction_request_builder.go b/teams/item_channels_item_messages_item_set_reaction_request_builder.go index 8320bcff80b..629ff9112a0 100644 --- a/teams/item_channels_item_messages_item_set_reaction_request_builder.go +++ b/teams/item_channels_item_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemChannelsItemMessagesItemSetReactionRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_item_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_soft_delete_request_builder.go index ea389b9e2db..1f721d37da2 100644 --- a/teams/item_channels_item_messages_item_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChannelsItemMessagesItemSoftDeleteRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go b/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go index 17df7fd3321..51aa3ea8497 100644 --- a/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teams/item_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_messages_item_unset_reaction_request_builder.go b/teams/item_channels_item_messages_item_unset_reaction_request_builder.go index 6d0ff7844b4..0b359759c0d 100644 --- a/teams/item_channels_item_messages_item_unset_reaction_request_builder.go +++ b/teams/item_channels_item_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemChannelsItemMessagesItemUnsetReactionRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index f132a46c00a..2cadc3ae53e 100644 --- a/teams/item_channels_item_messages_request_builder.go +++ b/teams/item_channels_item_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// Post send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *ItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// ToPostRequestInformation send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. func (m *ItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *ItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_provision_email_request_builder.go b/teams/item_channels_item_provision_email_request_builder.go index d7e7dedde23..9ce08b7fde0 100644 --- a/teams/item_channels_item_provision_email_request_builder.go +++ b/teams/item_channels_item_provision_email_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemChannelsItemProvisionEmailRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_remove_email_request_builder.go b/teams/item_channels_item_remove_email_request_builder.go index feb1b24cfcc..35f577a9ba3 100644 --- a/teams/item_channels_item_remove_email_request_builder.go +++ b/teams/item_channels_item_remove_email_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChannelsItemRemoveEmailRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teams/item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index a3e659d835f..336bc408480 100644 --- a/teams/item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersConversationMemberItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go index a84f553abad..c2d4517f690 100644 --- a/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_shared_with_teams_item_team_request_builder.go b/teams/item_channels_item_shared_with_teams_item_team_request_builder.go index b378744875f..1b4bd35c19c 100644 --- a/teams/item_channels_item_shared_with_teams_item_team_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemChannelsItemSharedWithTeamsItemTeamRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_shared_with_teams_request_builder.go b/teams/item_channels_item_shared_with_teams_request_builder.go index f9ccb111373..5bbd997b53e 100644 --- a/teams/item_channels_item_shared_with_teams_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemChannelsItemSharedWithTeamsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedWithTeams for teams @@ -141,7 +141,7 @@ func (m *ItemChannelsItemSharedWithTeamsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index c67a83d412d..8c96c0c2137 100644 --- a/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teams/item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedWithTeams in teams @@ -161,7 +161,7 @@ func (m *ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_tabs_item_teams_app_request_builder.go b/teams/item_channels_item_tabs_item_teams_app_request_builder.go index d43594c722f..19f42e52b54 100644 --- a/teams/item_channels_item_tabs_item_teams_app_request_builder.go +++ b/teams/item_channels_item_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemChannelsItemTabsItemTeamsAppRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_channels_item_tabs_request_builder.go b/teams/item_channels_item_tabs_request_builder.go index ec95a178bb8..06a5367a517 100644 --- a/teams/item_channels_item_tabs_request_builder.go +++ b/teams/item_channels_item_tabs_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemChannelsItemTabsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tabs for teams @@ -141,7 +141,7 @@ func (m *ItemChannelsItemTabsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_item_tabs_teams_tab_item_request_builder.go b/teams/item_channels_item_tabs_teams_tab_item_request_builder.go index ad1a2e31f95..3b42db2f2e9 100644 --- a/teams/item_channels_item_tabs_teams_tab_item_request_builder.go +++ b/teams/item_channels_item_tabs_teams_tab_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemChannelsItemTabsTeamsTabItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. @@ -138,7 +138,7 @@ func (m *ItemChannelsItemTabsTeamsTabItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tabs in teams @@ -151,7 +151,7 @@ func (m *ItemChannelsItemTabsTeamsTabItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_channels_request_builder.go b/teams/item_channels_request_builder.go index 2384d6d8f14..3c474e62591 100644 --- a/teams/item_channels_request_builder.go +++ b/teams/item_channels_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemChannelsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -152,7 +152,7 @@ func (m *ItemChannelsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_clone_request_builder.go b/teams/item_clone_request_builder.go index ef2bd6aa3dc..774a2694a1d 100644 --- a/teams/item_clone_request_builder.go +++ b/teams/item_clone_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloneRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_complete_migration_request_builder.go b/teams/item_complete_migration_request_builder.go index da388bfc947..20dec9e5129 100644 --- a/teams/item_complete_migration_request_builder.go +++ b/teams/item_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCompleteMigrationRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_group_request_builder.go b/teams/item_group_request_builder.go index 911d5b14a49..9f26e9b6bf2 100644 --- a/teams/item_group_request_builder.go +++ b/teams/item_group_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemGroupRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_group_service_provisioning_errors_request_builder.go b/teams/item_group_service_provisioning_errors_request_builder.go index e752a539ae9..c0ba0b9660f 100644 --- a/teams/item_group_service_provisioning_errors_request_builder.go +++ b/teams/item_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemGroupServiceProvisioningErrorsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_incoming_channels_channel_item_request_builder.go b/teams/item_incoming_channels_channel_item_request_builder.go index bfc577f44c2..00219ccc1a8 100644 --- a/teams/item_incoming_channels_channel_item_request_builder.go +++ b/teams/item_incoming_channels_channel_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemIncomingChannelsChannelItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of channels shared with the team. @@ -111,7 +111,7 @@ func (m *ItemIncomingChannelsChannelItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_incoming_channels_request_builder.go b/teams/item_incoming_channels_request_builder.go index e1895976f9c..dbea72590dc 100644 --- a/teams/item_incoming_channels_request_builder.go +++ b/teams/item_incoming_channels_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemIncomingChannelsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_installed_apps_item_teams_app_definition_request_builder.go b/teams/item_installed_apps_item_teams_app_definition_request_builder.go index 7d65f55bf9b..5805e5878ce 100644 --- a/teams/item_installed_apps_item_teams_app_definition_request_builder.go +++ b/teams/item_installed_apps_item_teams_app_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_installed_apps_item_teams_app_request_builder.go b/teams/item_installed_apps_item_teams_app_request_builder.go index 575c51a3c8b..a6379358224 100644 --- a/teams/item_installed_apps_item_teams_app_request_builder.go +++ b/teams/item_installed_apps_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemInstalledAppsItemTeamsAppRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_installed_apps_item_upgrade_request_builder.go b/teams/item_installed_apps_item_upgrade_request_builder.go index b3a2b9b680e..3f8ad9b49d4 100644 --- a/teams/item_installed_apps_item_upgrade_request_builder.go +++ b/teams/item_installed_apps_item_upgrade_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemInstalledAppsItemUpgradeRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_installed_apps_request_builder.go b/teams/item_installed_apps_request_builder.go index c7b4f4ae91e..0ddf73ffc68 100644 --- a/teams/item_installed_apps_request_builder.go +++ b/teams/item_installed_apps_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemInstalledAppsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation install an app to the specified team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemInstalledAppsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_installed_apps_teams_app_installation_item_request_builder.go b/teams/item_installed_apps_teams_app_installation_item_request_builder.go index b628002d420..ae3097be7e5 100644 --- a/teams/item_installed_apps_teams_app_installation_item_request_builder.go +++ b/teams/item_installed_apps_teams_app_installation_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the app installed in the specified team. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property installedApps in teams @@ -161,7 +161,7 @@ func (m *ItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_members_add_request_builder.go b/teams/item_members_add_request_builder.go index 7e6667fdeda..d07fba756c0 100644 --- a/teams/item_members_add_request_builder.go +++ b/teams/item_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemMembersAddRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_members_conversation_member_item_request_builder.go b/teams/item_members_conversation_member_item_request_builder.go index 8db68217d11..128795fdc5f 100644 --- a/teams/item_members_conversation_member_item_request_builder.go +++ b/teams/item_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a team. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in a team. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_members_request_builder.go b/teams/item_members_request_builder.go index 145348372fe..e1973f0807c 100644 --- a/teams/item_members_request_builder.go +++ b/teams/item_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a new conversation member to a team. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_operations_request_builder.go b/teams/item_operations_request_builder.go index a33919a2e4b..750e91001e0 100644 --- a/teams/item_operations_request_builder.go +++ b/teams/item_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for teams @@ -138,7 +138,7 @@ func (m *ItemOperationsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_operations_teams_async_operation_item_request_builder.go b/teams/item_operations_teams_async_operation_item_request_builder.go index 1b368be421e..f3960e74292 100644 --- a/teams/item_operations_teams_async_operation_item_request_builder.go +++ b/teams/item_operations_teams_async_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the async operations that ran or are running on this team. @@ -134,7 +134,7 @@ func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in teams @@ -147,7 +147,7 @@ func (m *ItemOperationsTeamsAsyncOperationItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_owners_item_mailbox_settings_request_builder.go b/teams/item_owners_item_mailbox_settings_request_builder.go index ed863c62e11..b0a658cd8de 100644 --- a/teams/item_owners_item_mailbox_settings_request_builder.go +++ b/teams/item_owners_item_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemOwnersItemMailboxSettingsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemOwnersItemMailboxSettingsRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_owners_item_service_provisioning_errors_request_builder.go b/teams/item_owners_item_service_provisioning_errors_request_builder.go index e22376b6cc5..661ad45e506 100644 --- a/teams/item_owners_item_service_provisioning_errors_request_builder.go +++ b/teams/item_owners_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemOwnersItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemOwnersItemServiceProvisioningErrorsRequestBuilder(rawUrl string, req func (m *ItemOwnersItemServiceProvisioningErrorsRequestBuilder) Count()(*ItemOwnersItemServiceProvisioningErrorsCountRequestBuilder) { return NewItemOwnersItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemOwnersItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOwnersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemOwnersItemServiceProvisioningErrorsRequestBuilder) Get(ctx context. } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemOwnersItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOwnersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemOwnersItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_owners_request_builder.go b/teams/item_owners_request_builder.go index 17861ef6e6e..55b802e6266 100644 --- a/teams/item_owners_request_builder.go +++ b/teams/item_owners_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_owners_user_item_request_builder.go b/teams/item_owners_user_item_request_builder.go index a24e9daa399..24b8a6b60ed 100644 --- a/teams/item_owners_user_item_request_builder.go +++ b/teams/item_owners_user_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemOwnersUserItemRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_permission_grants_request_builder.go b/teams/item_permission_grants_request_builder.go index 8e15225a86e..95ab4f56357 100644 --- a/teams/item_permission_grants_request_builder.go +++ b/teams/item_permission_grants_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionGrants for teams @@ -141,7 +141,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_permission_grants_resource_specific_permission_grant_item_request_builder.go b/teams/item_permission_grants_resource_specific_permission_grant_item_request_builder.go index 7618b112558..6417a1ecba8 100644 --- a/teams/item_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/teams/item_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of permissions granted to apps to access the team. @@ -134,7 +134,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionGrants in teams @@ -147,7 +147,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_photo_request_builder.go b/teams/item_photo_request_builder.go index f986e22b10c..ef536e9c43c 100644 --- a/teams/item_photo_request_builder.go +++ b/teams/item_photo_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemPhotoRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property photo in teams @@ -115,7 +115,7 @@ func (m *ItemPhotoRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_photo_value_content_request_builder.go b/teams/item_photo_value_content_request_builder.go index 830d0bc3432..990b4a69ab3 100644 --- a/teams/item_photo_value_content_request_builder.go +++ b/teams/item_photo_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemPhotoValueContentRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photo in teams @@ -98,7 +98,7 @@ func (m *ItemPhotoValueContentRequestBuilder) ToPutRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teams/item_primary_channel_complete_migration_request_builder.go b/teams/item_primary_channel_complete_migration_request_builder.go index 7ef12fc5fe5..13c6649c80a 100644 --- a/teams/item_primary_channel_complete_migration_request_builder.go +++ b/teams/item_primary_channel_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPrimaryChannelCompleteMigrationRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 220818c4f74..48951fcb301 100644 --- a/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teams/item_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -93,7 +93,7 @@ func (m *ItemPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPri requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_files_folder_content_request_builder.go b/teams/item_primary_channel_files_folder_content_request_builder.go index a770e8a2f33..c0bfcc7b036 100644 --- a/teams/item_primary_channel_files_folder_content_request_builder.go +++ b/teams/item_primary_channel_files_folder_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *ItemPrimaryChannelFilesFolderContentRequestBuilder) ToPutRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teams/item_primary_channel_files_folder_request_builder.go b/teams/item_primary_channel_files_folder_request_builder.go index bad2474683b..3d097c54434 100644 --- a/teams/item_primary_channel_files_folder_request_builder.go +++ b/teams/item_primary_channel_files_folder_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemPrimaryChannelFilesFolderRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_members_add_request_builder.go b/teams/item_primary_channel_members_add_request_builder.go index b9df9a2653d..f3a5a240418 100644 --- a/teams/item_primary_channel_members_add_request_builder.go +++ b/teams/item_primary_channel_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemPrimaryChannelMembersAddRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_members_conversation_member_item_request_builder.go b/teams/item_primary_channel_members_conversation_member_item_request_builder.go index 8db7ea568c5..d2d0905dfa1 100644 --- a/teams/item_primary_channel_members_conversation_member_item_request_builder.go +++ b/teams/item_primary_channel_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a channel. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in 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. @@ -156,7 +156,7 @@ func (m *ItemPrimaryChannelMembersConversationMemberItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_members_request_builder.go b/teams/item_primary_channel_members_request_builder.go index 2c7500976cc..1e85a148ed9 100644 --- a/teams/item_primary_channel_members_request_builder.go +++ b/teams/item_primary_channel_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemPrimaryChannelMembersRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemPrimaryChannelMembersRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_chat_message_item_request_builder.go b/teams/item_primary_channel_messages_chat_message_item_request_builder.go index 7bb3553e6dc..8272a7e7105 100644 --- a/teams/item_primary_channel_messages_chat_message_item_request_builder.go +++ b/teams/item_primary_channel_messages_chat_message_item_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -169,7 +169,7 @@ func (m *ItemPrimaryChannelMessagesChatMessageItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_delta_request_builder.go b/teams/item_primary_channel_messages_delta_request_builder.go index d1fad43cfa7..68087582ba3 100644 --- a/teams/item_primary_channel_messages_delta_request_builder.go +++ b/teams/item_primary_channel_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPrimaryChannelMessagesDeltaRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 2c97ded3e66..80c6bec7c94 100644 --- a/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teams @@ -154,7 +154,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsChatMessageHostedContentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index 999b40a80b9..52f72d49960 100644 --- a/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teams @@ -101,7 +101,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsItemValueContentRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go b/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go index 56820f09aa1..d2ce2a1e6b0 100644 --- a/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/teams/item_primary_channel_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teams @@ -141,7 +141,7 @@ func (m *ItemPrimaryChannelMessagesItemHostedContentsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go index 9f59735fb88..7317a4b2746 100644 --- a/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in teams @@ -162,7 +162,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesChatMessageItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_item_replies_delta_request_builder.go b/teams/item_primary_channel_messages_item_replies_delta_request_builder.go index 04c4048916f..3c3f2f517ae 100644 --- a/teams/item_primary_channel_messages_item_replies_delta_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index d8771b66fc5..0be311df2e0 100644 --- a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHoste requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHoste requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teams @@ -154,7 +154,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsChatMessageHoste requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 679612f44be..121a208a6f6 100644 --- a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContent requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teams @@ -101,7 +101,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsItemValueContent requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index 619368c27a6..bbf28b733c8 100644 --- a/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teams @@ -141,7 +141,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemHostedContentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_item_replies_item_set_reaction_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_set_reaction_request_builder.go index ff0cde0a4f6..908b6129250 100644 --- a/teams/item_primary_channel_messages_item_replies_item_set_reaction_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemSetReactionRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index bf5315b465a..e75c5580d37 100644 --- a/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemSoftDeleteRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index f7f38b66003..333af24fec5 100644 --- a/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go b/teams/item_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go index ad057618d0c..f46b2277372 100644 --- a/teams/item_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_item_replies_request_builder.go b/teams/item_primary_channel_messages_item_replies_request_builder.go index 3c048ecfe58..cecea092058 100644 --- a/teams/item_primary_channel_messages_item_replies_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_item_set_reaction_request_builder.go b/teams/item_primary_channel_messages_item_set_reaction_request_builder.go index b3063b787ce..b01d6a88261 100644 --- a/teams/item_primary_channel_messages_item_set_reaction_request_builder.go +++ b/teams/item_primary_channel_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemPrimaryChannelMessagesItemSetReactionRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_item_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_soft_delete_request_builder.go index 30c97405eee..c6eb50666af 100644 --- a/teams/item_primary_channel_messages_item_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPrimaryChannelMessagesItemSoftDeleteRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go b/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go index 2fcb3b2d957..cc2d4a09e9b 100644 --- a/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/teams/item_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_messages_item_unset_reaction_request_builder.go b/teams/item_primary_channel_messages_item_unset_reaction_request_builder.go index a817e76ed89..c66413e9233 100644 --- a/teams/item_primary_channel_messages_item_unset_reaction_request_builder.go +++ b/teams/item_primary_channel_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_messages_request_builder.go b/teams/item_primary_channel_messages_request_builder.go index 8e3e6ec4ae1..fecd9a19370 100644 --- a/teams/item_primary_channel_messages_request_builder.go +++ b/teams/item_primary_channel_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *ItemPrimaryChannelMessagesRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// Post send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *ItemPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// ToPostRequestInformation send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. func (m *ItemPrimaryChannelMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *ItemPrimaryChannelMessagesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_provision_email_request_builder.go b/teams/item_primary_channel_provision_email_request_builder.go index 1276726bcad..8ecfebc42ad 100644 --- a/teams/item_primary_channel_provision_email_request_builder.go +++ b/teams/item_primary_channel_provision_email_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemPrimaryChannelProvisionEmailRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_remove_email_request_builder.go b/teams/item_primary_channel_remove_email_request_builder.go index acf37dc871d..8c313f0457e 100644 --- a/teams/item_primary_channel_remove_email_request_builder.go +++ b/teams/item_primary_channel_remove_email_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPrimaryChannelRemoveEmailRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_request_builder.go b/teams/item_primary_channel_request_builder.go index 967a0162673..c3195b1f6b6 100644 --- a/teams/item_primary_channel_request_builder.go +++ b/teams/item_primary_channel_request_builder.go @@ -157,7 +157,7 @@ func (m *ItemPrimaryChannelRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the default channel, General, of a team. This API is available in the following national cloud deployments. @@ -173,7 +173,7 @@ func (m *ItemPrimaryChannelRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property primaryChannel in teams @@ -186,7 +186,7 @@ func (m *ItemPrimaryChannelRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teams/item_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 74e70ba5491..b21013bb017 100644 --- a/teams/item_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersConversationMemberIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index da747360dc3..437177e5997 100644 --- a/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsItemAllowedMembersRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_shared_with_teams_item_team_request_builder.go b/teams/item_primary_channel_shared_with_teams_item_team_request_builder.go index c276586275e..91971b8b1b1 100644 --- a/teams/item_primary_channel_shared_with_teams_item_team_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_shared_with_teams_request_builder.go b/teams/item_primary_channel_shared_with_teams_request_builder.go index 9a1c336ea92..f660f528e45 100644 --- a/teams/item_primary_channel_shared_with_teams_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedWithTeams for teams @@ -141,7 +141,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 431562139cc..a2f2d951ca0 100644 --- a/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teams/item_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedWithTeams in teams @@ -161,7 +161,7 @@ func (m *ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_tabs_item_teams_app_request_builder.go b/teams/item_primary_channel_tabs_item_teams_app_request_builder.go index 950d4747cd2..a43d917f36c 100644 --- a/teams/item_primary_channel_tabs_item_teams_app_request_builder.go +++ b/teams/item_primary_channel_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemPrimaryChannelTabsItemTeamsAppRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_primary_channel_tabs_request_builder.go b/teams/item_primary_channel_tabs_request_builder.go index 3b3898d6457..a98ae4efa69 100644 --- a/teams/item_primary_channel_tabs_request_builder.go +++ b/teams/item_primary_channel_tabs_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPrimaryChannelTabsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tabs for teams @@ -141,7 +141,7 @@ func (m *ItemPrimaryChannelTabsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_primary_channel_tabs_teams_tab_item_request_builder.go b/teams/item_primary_channel_tabs_teams_tab_item_request_builder.go index eff63d4b89b..ed151c7ed81 100644 --- a/teams/item_primary_channel_tabs_teams_tab_item_request_builder.go +++ b/teams/item_primary_channel_tabs_teams_tab_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemPrimaryChannelTabsTeamsTabItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. @@ -138,7 +138,7 @@ func (m *ItemPrimaryChannelTabsTeamsTabItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tabs in teams @@ -151,7 +151,7 @@ func (m *ItemPrimaryChannelTabsTeamsTabItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_day_notes_count_request_builder.go b/teams/item_schedule_day_notes_count_request_builder.go new file mode 100644 index 00000000000..f843ac00f01 --- /dev/null +++ b/teams/item_schedule_day_notes_count_request_builder.go @@ -0,0 +1,80 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemScheduleDayNotesCountRequestBuilder provides operations to count the resources in the collection. +type ItemScheduleDayNotesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemScheduleDayNotesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemScheduleDayNotesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemScheduleDayNotesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemScheduleDayNotesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemScheduleDayNotesCountRequestBuilderGetQueryParameters +} +// NewItemScheduleDayNotesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewItemScheduleDayNotesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleDayNotesCountRequestBuilder) { + m := &ItemScheduleDayNotesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewItemScheduleDayNotesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewItemScheduleDayNotesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleDayNotesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemScheduleDayNotesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *ItemScheduleDayNotesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleDayNotesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *ItemScheduleDayNotesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleDayNotesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemScheduleDayNotesCountRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleDayNotesCountRequestBuilder) { + return NewItemScheduleDayNotesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go b/teams/item_schedule_day_notes_day_note_item_request_builder.go similarity index 51% rename from solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go rename to teams/item_schedule_day_notes_day_note_item_request_builder.go index 3d16ccc4809..4b37e9376d1 100644 --- a/solutions/virtual_events_events_item_sessions_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go +++ b/teams/item_schedule_day_notes_day_note_item_request_builder.go @@ -1,4 +1,4 @@ -package solutions +package teams import ( "context" @@ -7,55 +7,55 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder struct { +// ItemScheduleDayNotesDayNoteItemRequestBuilder provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +type ItemScheduleDayNotesDayNoteItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderDeleteRequestConfiguration struct { +// ItemScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetQueryParameters list of attendance records of an attendance report. Read-only. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetQueryParameters struct { +// ItemScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters get dayNotes from teams +type ItemScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` } -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetRequestConfiguration struct { +// ItemScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetQueryParameters + QueryParameters *ItemScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters } -// VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderPatchRequestConfiguration struct { +// ItemScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderInternal instantiates a new AttendanceRecordItemRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords/{attendanceRecord%2Did}{?%24select,%24expand}", pathParameters), +// NewItemScheduleDayNotesDayNoteItemRequestBuilderInternal instantiates a new DayNoteItemRequestBuilder and sets the default values. +func NewItemScheduleDayNotesDayNoteItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleDayNotesDayNoteItemRequestBuilder) { + m := &ItemScheduleDayNotesDayNoteItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24select,%24expand}", pathParameters), } return m } -// NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder instantiates a new AttendanceRecordItemRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { +// NewItemScheduleDayNotesDayNoteItemRequestBuilder instantiates a new DayNoteItemRequestBuilder and sets the default values. +func NewItemScheduleDayNotesDayNoteItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleDayNotesDayNoteItemRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderInternal(urlParams, requestAdapter) + return NewItemScheduleDayNotesDayNoteItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property attendanceRecords for solutions -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderDeleteRequestConfiguration)(error) { +// Delete delete navigation property dayNotes for teams +func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { return err @@ -70,8 +70,8 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRec } return nil } -// Get list of attendance records of an attendance report. Read-only. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, error) { +// Get get dayNotes from teams +func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -80,17 +80,17 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRec "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAttendanceRecordFromDiscriminatorValue, errorMapping) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil } -// Patch update the navigation property attendanceRecords in solutions -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, error) { +// Patch update the navigation property dayNotes in teams +func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { return nil, err @@ -99,17 +99,17 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRec "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAttendanceRecordFromDiscriminatorValue, errorMapping) + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) if err != nil { return nil, err } if res == nil { return nil, nil } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable), nil + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil } -// ToDeleteRequestInformation delete navigation property attendanceRecords for solutions -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToDeleteRequestInformation delete navigation property dayNotes for teams +func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) @@ -118,11 +118,11 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of attendance records of an attendance report. Read-only. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToGetRequestInformation get dayNotes from teams +func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { @@ -134,11 +134,11 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property attendanceRecords in solutions -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttendanceRecordable, requestConfiguration *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +// ToPatchRequestInformation update the navigation property dayNotes in teams +func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { requestInfo.Headers.AddAll(requestConfiguration.Headers) @@ -147,7 +147,7 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err @@ -155,6 +155,6 @@ func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRec return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemMeetingAttendanceReportAttendanceRecordsAttendanceRecordItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +func (m *ItemScheduleDayNotesDayNoteItemRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleDayNotesDayNoteItemRequestBuilder) { + return NewItemScheduleDayNotesDayNoteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/teams/item_schedule_day_notes_request_builder.go b/teams/item_schedule_day_notes_request_builder.go new file mode 100644 index 00000000000..ab9ed70e38e --- /dev/null +++ b/teams/item_schedule_day_notes_request_builder.go @@ -0,0 +1,151 @@ +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemScheduleDayNotesRequestBuilder provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +type ItemScheduleDayNotesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemScheduleDayNotesRequestBuilderGetQueryParameters get dayNotes from teams +type ItemScheduleDayNotesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemScheduleDayNotesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemScheduleDayNotesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemScheduleDayNotesRequestBuilderGetQueryParameters +} +// ItemScheduleDayNotesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemScheduleDayNotesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByDayNoteId provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +func (m *ItemScheduleDayNotesRequestBuilder) ByDayNoteId(dayNoteId string)(*ItemScheduleDayNotesDayNoteItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if dayNoteId != "" { + urlTplParams["dayNote%2Did"] = dayNoteId + } + return NewItemScheduleDayNotesDayNoteItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemScheduleDayNotesRequestBuilderInternal instantiates a new DayNotesRequestBuilder and sets the default values. +func NewItemScheduleDayNotesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleDayNotesRequestBuilder) { + m := &ItemScheduleDayNotesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewItemScheduleDayNotesRequestBuilder instantiates a new DayNotesRequestBuilder and sets the default values. +func NewItemScheduleDayNotesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemScheduleDayNotesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemScheduleDayNotesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *ItemScheduleDayNotesRequestBuilder) Count()(*ItemScheduleDayNotesCountRequestBuilder) { + return NewItemScheduleDayNotesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dayNotes from teams +func (m *ItemScheduleDayNotesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemScheduleDayNotesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteCollectionResponseable), nil +} +// Post create new navigation property to dayNotes for teams +func (m *ItemScheduleDayNotesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemScheduleDayNotesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil +} +// ToGetRequestInformation get dayNotes from teams +func (m *ItemScheduleDayNotesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemScheduleDayNotesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dayNotes for teams +func (m *ItemScheduleDayNotesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemScheduleDayNotesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemScheduleDayNotesRequestBuilder) WithUrl(rawUrl string)(*ItemScheduleDayNotesRequestBuilder) { + return NewItemScheduleDayNotesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index 8f64a837331..101bb869c50 100644 --- a/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/teams/item_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property offerShiftRequests in teams @@ -150,7 +150,7 @@ func (m *ItemScheduleOfferShiftRequestsOfferShiftRequestItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_offer_shift_requests_request_builder.go b/teams/item_schedule_offer_shift_requests_request_builder.go index 3aff0b79f60..7e7f973bee9 100644 --- a/teams/item_schedule_offer_shift_requests_request_builder.go +++ b/teams/item_schedule_offer_shift_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemScheduleOfferShiftRequestsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemScheduleOfferShiftRequestsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index 0a786b2d948..9700308e9a8 100644 --- a/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/teams/item_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property openShiftChangeRequests in teams @@ -150,7 +150,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsOpenShiftChangeRequestItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_open_shift_change_requests_request_builder.go b/teams/item_schedule_open_shift_change_requests_request_builder.go index 13f2050e8f0..ef736e83337 100644 --- a/teams/item_schedule_open_shift_change_requests_request_builder.go +++ b/teams/item_schedule_open_shift_change_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemScheduleOpenShiftChangeRequestsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_open_shifts_open_shift_item_request_builder.go b/teams/item_schedule_open_shifts_open_shift_item_request_builder.go index 60b5b6b1217..1ef48b3ff99 100644 --- a/teams/item_schedule_open_shifts_open_shift_item_request_builder.go +++ b/teams/item_schedule_open_shifts_open_shift_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an openShift object. @@ -156,7 +156,7 @@ func (m *ItemScheduleOpenShiftsOpenShiftItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_open_shifts_request_builder.go b/teams/item_schedule_open_shifts_request_builder.go index adebbbab84a..367c09c5c12 100644 --- a/teams/item_schedule_open_shifts_request_builder.go +++ b/teams/item_schedule_open_shifts_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemScheduleOpenShiftsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of an openshift object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemScheduleOpenShiftsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_request_builder.go b/teams/item_schedule_request_builder.go index 0ae95a858c3..054d44e7e3e 100644 --- a/teams/item_schedule_request_builder.go +++ b/teams/item_schedule_request_builder.go @@ -54,6 +54,10 @@ func NewItemScheduleRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 urlParams["request-raw-url"] = rawUrl return NewItemScheduleRequestBuilderInternal(urlParams, requestAdapter) } +// DayNotes provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +func (m *ItemScheduleRequestBuilder) DayNotes()(*ItemScheduleDayNotesRequestBuilder) { + return NewItemScheduleDayNotesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Delete delete navigation property schedule for teams func (m *ItemScheduleRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemScheduleRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -165,7 +169,7 @@ func (m *ItemScheduleRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -181,7 +185,7 @@ func (m *ItemScheduleRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property schedule in teams @@ -194,7 +198,7 @@ func (m *ItemScheduleRequestBuilder) ToPutRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_scheduling_groups_request_builder.go b/teams/item_schedule_scheduling_groups_request_builder.go index 01746f3313b..9a425bbb19a 100644 --- a/teams/item_schedule_scheduling_groups_request_builder.go +++ b/teams/item_schedule_scheduling_groups_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemScheduleSchedulingGroupsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new schedulingGroup. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemScheduleSchedulingGroupsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go index b3068db30a5..8318691d997 100644 --- a/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/teams/item_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *ItemScheduleSchedulingGroupsSchedulingGroupItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_share_request_builder.go b/teams/item_schedule_share_request_builder.go index 042697ce38f..403a7066e3f 100644 --- a/teams/item_schedule_share_request_builder.go +++ b/teams/item_schedule_share_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemScheduleShareRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_shifts_request_builder.go b/teams/item_schedule_shifts_request_builder.go index 3c2375bb4d7..44a25a872d7 100644 --- a/teams/item_schedule_shifts_request_builder.go +++ b/teams/item_schedule_shifts_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemScheduleShiftsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -142,7 +142,7 @@ func (m *ItemScheduleShiftsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_shifts_shift_item_request_builder.go b/teams/item_schedule_shifts_shift_item_request_builder.go index 52287bcd2f9..92e36f08033 100644 --- a/teams/item_schedule_shifts_shift_item_request_builder.go +++ b/teams/item_schedule_shifts_shift_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. @@ -154,7 +154,7 @@ func (m *ItemScheduleShiftsShiftItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_swap_shifts_change_requests_request_builder.go b/teams/item_schedule_swap_shifts_change_requests_request_builder.go index 709a2e7b9db..d2850fa5215 100644 --- a/teams/item_schedule_swap_shifts_change_requests_request_builder.go +++ b/teams/item_schedule_swap_shifts_change_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index 4aec7c04dd1..02e05f2ce6c 100644 --- a/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/teams/item_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property swapShiftsChangeRequests in teams @@ -150,7 +150,7 @@ func (m *ItemScheduleSwapShiftsChangeRequestsSwapShiftsChangeRequestItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_time_cards_clock_in_request_builder.go b/teams/item_schedule_time_cards_clock_in_request_builder.go index 3fdf85862d4..68745c50199 100644 --- a/teams/item_schedule_time_cards_clock_in_request_builder.go +++ b/teams/item_schedule_time_cards_clock_in_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemScheduleTimeCardsClockInRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_time_cards_item_clock_out_request_builder.go b/teams/item_schedule_time_cards_item_clock_out_request_builder.go index 38b6bd79ea5..e895bf1e8fd 100644 --- a/teams/item_schedule_time_cards_item_clock_out_request_builder.go +++ b/teams/item_schedule_time_cards_item_clock_out_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemScheduleTimeCardsItemClockOutRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_time_cards_item_confirm_request_builder.go b/teams/item_schedule_time_cards_item_confirm_request_builder.go index b4cc8ded479..ffa265c236d 100644 --- a/teams/item_schedule_time_cards_item_confirm_request_builder.go +++ b/teams/item_schedule_time_cards_item_confirm_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemScheduleTimeCardsItemConfirmRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_schedule_time_cards_item_end_break_request_builder.go b/teams/item_schedule_time_cards_item_end_break_request_builder.go index a67c51ec610..86a49f30804 100644 --- a/teams/item_schedule_time_cards_item_end_break_request_builder.go +++ b/teams/item_schedule_time_cards_item_end_break_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemScheduleTimeCardsItemEndBreakRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_time_cards_item_start_break_request_builder.go b/teams/item_schedule_time_cards_item_start_break_request_builder.go index 0cafe876400..f3015ca7c8f 100644 --- a/teams/item_schedule_time_cards_item_start_break_request_builder.go +++ b/teams/item_schedule_time_cards_item_start_break_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemScheduleTimeCardsItemStartBreakRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_time_cards_request_builder.go b/teams/item_schedule_time_cards_request_builder.go index c4dc4af30fe..6db0b53f812 100644 --- a/teams/item_schedule_time_cards_request_builder.go +++ b/teams/item_schedule_time_cards_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemScheduleTimeCardsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a timeCard instance in a schedule. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemScheduleTimeCardsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_time_cards_time_card_item_request_builder.go b/teams/item_schedule_time_cards_time_card_item_request_builder.go index 2aaaab50d9f..0e731f6fd35 100644 --- a/teams/item_schedule_time_cards_time_card_item_request_builder.go +++ b/teams/item_schedule_time_cards_time_card_item_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeCard with updated values. @@ -172,7 +172,7 @@ func (m *ItemScheduleTimeCardsTimeCardItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_time_off_reasons_request_builder.go b/teams/item_schedule_time_off_reasons_request_builder.go index 50a37f5b47e..4a93625e25c 100644 --- a/teams/item_schedule_time_off_reasons_request_builder.go +++ b/teams/item_schedule_time_off_reasons_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemScheduleTimeOffReasonsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new timeOffReason. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemScheduleTimeOffReasonsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go index c95fd387a14..a24a638083a 100644 --- a/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/teams/item_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *ItemScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_time_off_requests_request_builder.go b/teams/item_schedule_time_off_requests_request_builder.go index 8fdbaa04160..a9486bec634 100644 --- a/teams/item_schedule_time_off_requests_request_builder.go +++ b/teams/item_schedule_time_off_requests_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemScheduleTimeOffRequestsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to timeOffRequests for teams @@ -139,7 +139,7 @@ func (m *ItemScheduleTimeOffRequestsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go b/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go index 22e900c4203..aee959cd36c 100644 --- a/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/teams/item_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. @@ -138,7 +138,7 @@ func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property timeOffRequests in teams @@ -151,7 +151,7 @@ func (m *ItemScheduleTimeOffRequestsTimeOffRequestItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_times_off_request_builder.go b/teams/item_schedule_times_off_request_builder.go index 550c7f1e81b..463483e05e1 100644 --- a/teams/item_schedule_times_off_request_builder.go +++ b/teams/item_schedule_times_off_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemScheduleTimesOffRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemScheduleTimesOffRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_schedule_times_off_time_off_item_request_builder.go b/teams/item_schedule_times_off_time_off_item_request_builder.go index 52a36ec79cf..40395ca03ef 100644 --- a/teams/item_schedule_times_off_time_off_item_request_builder.go +++ b/teams/item_schedule_times_off_time_off_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *ItemScheduleTimesOffTimeOffItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_send_activity_notification_request_builder.go b/teams/item_send_activity_notification_request_builder.go index 0d4b6711297..5af4dbae78e 100644 --- a/teams/item_send_activity_notification_request_builder.go +++ b/teams/item_send_activity_notification_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSendActivityNotificationRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_tags_item_members_request_builder.go b/teams/item_tags_item_members_request_builder.go index c953832b788..09c094baa9d 100644 --- a/teams/item_tags_item_members_request_builder.go +++ b/teams/item_tags_item_members_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTagsItemMembersRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTagsItemMembersRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go b/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go index 0c32ec003e8..18245ee437e 100644 --- a/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/teams/item_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in teams @@ -153,7 +153,7 @@ func (m *ItemTagsItemMembersTeamworkTagMemberItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_tags_request_builder.go b/teams/item_tags_request_builder.go index 83c42b48559..1e5868cf3eb 100644 --- a/teams/item_tags_request_builder.go +++ b/teams/item_tags_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a standard tag for members in the team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_tags_teamwork_tag_item_request_builder.go b/teams/item_tags_teamwork_tag_item_request_builder.go index 8db58986953..afd70c44940 100644 --- a/teams/item_tags_teamwork_tag_item_request_builder.go +++ b/teams/item_tags_teamwork_tag_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTagsTeamworkTagItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a tag object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemTagsTeamworkTagItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a teamworkTag object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemTagsTeamworkTagItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/item_template_definition_request_builder.go b/teams/item_template_definition_request_builder.go index b9866e23986..70bec3d7958 100644 --- a/teams/item_template_definition_request_builder.go +++ b/teams/item_template_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTemplateDefinitionRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_template_request_builder.go b/teams/item_template_request_builder.go index 613475ed0fa..e4f3ddce8eb 100644 --- a/teams/item_template_request_builder.go +++ b/teams/item_template_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTemplateRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/item_unarchive_request_builder.go b/teams/item_unarchive_request_builder.go index fe273dccdef..00db3be6b27 100644 --- a/teams/item_unarchive_request_builder.go +++ b/teams/item_unarchive_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemUnarchiveRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teams/team_item_request_builder.go b/teams/team_item_request_builder.go index a1fa39e7c60..c88407f096d 100644 --- a/teams/team_item_request_builder.go +++ b/teams/team_item_request_builder.go @@ -200,7 +200,7 @@ func (m *TeamItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of the specified team. This API is available in the following national cloud deployments. @@ -216,7 +216,7 @@ func (m *TeamItemRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of the specified team. This API is available in the following national cloud deployments. @@ -229,7 +229,7 @@ func (m *TeamItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teams/teams_request_builder.go b/teams/teams_request_builder.go index 93c7adc2376..4e669a26fee 100644 --- a/teams/teams_request_builder.go +++ b/teams/teams_request_builder.go @@ -139,7 +139,7 @@ func (m *TeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new team. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *TeamsRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamstemplates/teams_template_item_request_builder.go b/teamstemplates/teams_template_item_request_builder.go index 3c19865c200..a9fcace4567 100644 --- a/teamstemplates/teams_template_item_request_builder.go +++ b/teamstemplates/teams_template_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TeamsTemplateItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from teamsTemplates by key @@ -134,7 +134,7 @@ func (m *TeamsTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in teamsTemplates @@ -147,7 +147,7 @@ func (m *TeamsTemplateItemRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamstemplates/teams_templates_request_builder.go b/teamstemplates/teams_templates_request_builder.go index 75cad5ca807..9b41eef78bc 100644 --- a/teamstemplates/teams_templates_request_builder.go +++ b/teamstemplates/teams_templates_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamsTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to teamsTemplates @@ -138,7 +138,7 @@ func (m *TeamsTemplatesRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_all_channels_channel_item_request_builder.go b/teamtemplatedefinition/item_team_definition_all_channels_channel_item_request_builder.go index bdb4d11de02..190e4d94b85 100644 --- a/teamtemplatedefinition/item_team_definition_all_channels_channel_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_all_channels_channel_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionAllChannelsChannelItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go b/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go index e4d95199caa..669c6cf4afa 100644 --- a/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_all_channels_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemTeamDefinitionAllChannelsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_archive_request_builder.go b/teamtemplatedefinition/item_team_definition_archive_request_builder.go index 03b83ce7d86..bccdd9f0808 100644 --- a/teamtemplatedefinition/item_team_definition_archive_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_archive_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionArchiveRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_all_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_all_messages_request_builder.go index a0d730c9e49..53d81d844a6 100644 --- a/teamtemplatedefinition/item_team_definition_channels_all_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_all_messages_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTeamDefinitionChannelsAllMessagesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go index 2a17878a52c..3ee9b7cb222 100644 --- a/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go @@ -163,7 +163,7 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -179,7 +179,7 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of the specified channel. This API is available in the following national cloud deployments. @@ -192,7 +192,7 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go index 8509c6f0c73..66cbccfc551 100644 --- a/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_get_all_messages_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemTeamDefinitionChannelsGetAllMessagesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go index 7f3881c4768..fe93d0ce3dd 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionChannelsItemCompleteMigrationRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index ce7d4fc9f0d..46cdcef1cb6 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -93,7 +93,7 @@ func (m *ItemTeamDefinitionChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go index 46470fbefbd..fe4ea6fa784 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderContentRequestBuilder) ToPutRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go index d5d61031287..790fa56690a 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_files_folder_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemTeamDefinitionChannelsItemFilesFolderRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go index 6924dc5ae63..8b55e377581 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersAddRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go index 2a90fe580e0..919f2744326 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a channel. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in 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. @@ -156,7 +156,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersConversationMemberItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go index 94165d7e851..fff81f7f802 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionChannelsItemMembersRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go index 72f6209af04..408fece4f54 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_chat_message_item_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -169,7 +169,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesChatMessageItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go index c411016735a..7a6f6ec9f87 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesDeltaRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index d4db1ebb9f1..a86de4b14a7 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teamTemplateDefinition @@ -154,7 +154,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsChatMessageHost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 4b9e75aeeff..b40e652e68a 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueConten requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teamTemplateDefinition @@ -101,7 +101,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsItemValueConten requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go index a9b9483406e..9274c7e1c51 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teamTemplateDefinition @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemHostedContentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go index f8076e7501f..b59fba9a301 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in teamTemplateDefinition @@ -162,7 +162,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesChatMessageItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go index 4f2f900fbae..acda5563226 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesDeltaRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 03c329ced78..d35f868e104 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teamTemplateDefinition @@ -154,7 +154,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsChat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index b6b500f58ed..0e294bd5b7a 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teamTemplateDefinition @@ -101,7 +101,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 18e049c51b7..5f4f843f695 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teamTemplateDefinition @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemHostedContentsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go index 0b61525702e..abb1cf5ae51 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemSetReactionRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go index e69b1aa0333..ed6cc5ec6ac 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemSoftDeleteRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 95897ab2fa5..196b85cd86e 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUndoSoftDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go index e844e07f972..b083006e211 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesItemUnsetReactionReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go index 6e1e90fa677..1abb8d18666 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemRepliesRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_set_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_set_reaction_request_builder.go index 7bfcef6cca4..4e2d7326b06 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_set_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemSetReactionRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go index 8e9ac2545b2..37e9b42c868 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemSoftDeleteRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go index 931f2388fb8..09035d60f35 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go index 164949054b8..bf5fd60821a 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesItemUnsetReactionRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go index bddbbe9989b..1612185cde3 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// Post send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// ToPostRequestInformation send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionChannelsItemMessagesRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go index b7a2ea073af..9215129781a 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_provision_email_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamDefinitionChannelsItemProvisionEmailRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go index a30ed3ff596..47ba7d05ff9 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_remove_email_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 9737f69efa7..23358075a8a 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersConversa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 2a227867d9b..5406034f057 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemAllowedMembersRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go index 7183cd9073a..d8224435a13 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsItemTeamRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go index 603dc009857..5b92316979f 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedWithTeams for teamTemplateDefinition @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 73a308b9f40..fe3f5a8c1f0 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedWithTeams in teamTemplateDefinition @@ -161,7 +161,7 @@ func (m *ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_tabs_item_teams_app_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_tabs_item_teams_app_request_builder.go index bfddef3981e..c9d0a249524 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_tabs_item_teams_app_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsItemTeamsAppRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go index 88130d759b6..eb8ce83ffd8 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_tabs_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tabs for teamTemplateDefinition @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go index a9b5efaf641..05a3618c2f0 100644 --- a/teamtemplatedefinition/item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. @@ -138,7 +138,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tabs in teamTemplateDefinition @@ -151,7 +151,7 @@ func (m *ItemTeamDefinitionChannelsItemTabsTeamsTabItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_channels_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_request_builder.go index 5e1c1d19be2..29e2038310e 100644 --- a/teamtemplatedefinition/item_team_definition_channels_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemTeamDefinitionChannelsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -152,7 +152,7 @@ func (m *ItemTeamDefinitionChannelsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_clone_request_builder.go b/teamtemplatedefinition/item_team_definition_clone_request_builder.go index fa579e7409a..69401f56e2d 100644 --- a/teamtemplatedefinition/item_team_definition_clone_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_clone_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionCloneRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go index e0dbb075ea8..b32accf9330 100644 --- a/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionCompleteMigrationRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_group_request_builder.go b/teamtemplatedefinition/item_team_definition_group_request_builder.go index cdbc900f274..0dd701f6fc9 100644 --- a/teamtemplatedefinition/item_team_definition_group_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_group_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemTeamDefinitionGroupRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_group_service_provisioning_errors_request_builder.go b/teamtemplatedefinition/item_team_definition_group_service_provisioning_errors_request_builder.go index ac28e16ba0e..8db31164f17 100644 --- a/teamtemplatedefinition/item_team_definition_group_service_provisioning_errors_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTeamDefinitionGroupServiceProvisioningErrorsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_incoming_channels_channel_item_request_builder.go b/teamtemplatedefinition/item_team_definition_incoming_channels_channel_item_request_builder.go index 548d9f9931c..377f0aff0a8 100644 --- a/teamtemplatedefinition/item_team_definition_incoming_channels_channel_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_incoming_channels_channel_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of channels shared with the team. @@ -111,7 +111,7 @@ func (m *ItemTeamDefinitionIncomingChannelsChannelItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go b/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go index 0b469f25a54..fe076ac41c6 100644 --- a/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_incoming_channels_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemTeamDefinitionIncomingChannelsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_definition_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_definition_request_builder.go index 637ba8fbe33..b03138e35c2 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_definition_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionInstalledAppsItemTeamsAppDefinitionRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_request_builder.go index 9a6d18f09f1..52caa44a792 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionInstalledAppsItemTeamsAppRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go index d5375d365b0..60243ebbf19 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_item_upgrade_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionInstalledAppsItemUpgradeRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go index daf441df47c..d2f0c95ba89 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation install an app to the specified team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamDefinitionInstalledAppsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go b/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go index 6d4fa966ec7..a9296c43691 100644 --- a/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_installed_apps_teams_app_installation_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the app installed in the specified team. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property installedApps in teamTemplateDefinition @@ -161,7 +161,7 @@ func (m *ItemTeamDefinitionInstalledAppsTeamsAppInstallationItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_members_add_request_builder.go index 631ece8a4a7..3e68501506d 100644 --- a/teamtemplatedefinition/item_team_definition_members_add_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemTeamDefinitionMembersAddRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go index 30395f5b21c..520d9f489f3 100644 --- a/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a team. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in a team. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemTeamDefinitionMembersConversationMemberItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_members_request_builder.go b/teamtemplatedefinition/item_team_definition_members_request_builder.go index 8674f0e7f5e..31f7765ed8c 100644 --- a/teamtemplatedefinition/item_team_definition_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamDefinitionMembersRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a new conversation member to a team. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionMembersRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_operations_request_builder.go b/teamtemplatedefinition/item_team_definition_operations_request_builder.go index 4ae6199d9a8..96111c310da 100644 --- a/teamtemplatedefinition/item_team_definition_operations_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamDefinitionOperationsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for teamTemplateDefinition @@ -138,7 +138,7 @@ func (m *ItemTeamDefinitionOperationsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_operations_teams_async_operation_item_request_builder.go b/teamtemplatedefinition/item_team_definition_operations_teams_async_operation_item_request_builder.go index a08fe156ceb..7bba4dea0ee 100644 --- a/teamtemplatedefinition/item_team_definition_operations_teams_async_operation_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_operations_teams_async_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the async operations that ran or are running on this team. @@ -134,7 +134,7 @@ func (m *ItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in teamTemplateDefinition @@ -147,7 +147,7 @@ func (m *ItemTeamDefinitionOperationsTeamsAsyncOperationItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_owners_item_mailbox_settings_request_builder.go b/teamtemplatedefinition/item_team_definition_owners_item_mailbox_settings_request_builder.go index 1a0776aa128..74f5bcd56f8 100644 --- a/teamtemplatedefinition/item_team_definition_owners_item_mailbox_settings_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_owners_item_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemTeamDefinitionOwnersItemMailboxSettingsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemTeamDefinitionOwnersItemMailboxSettingsRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_owners_item_service_provisioning_errors_request_builder.go b/teamtemplatedefinition/item_team_definition_owners_item_service_provisioning_errors_request_builder.go index 819e58af5d9..dcb8f98a7c9 100644 --- a/teamtemplatedefinition/item_team_definition_owners_item_service_provisioning_errors_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_owners_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder(rawU func (m *ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder) Count()(*ItemTeamDefinitionOwnersItemServiceProvisioningErrorsCountRequestBuilder) { return NewItemTeamDefinitionOwnersItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder) Ge } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_owners_request_builder.go b/teamtemplatedefinition/item_team_definition_owners_request_builder.go index c5c0ff44297..6bc6b6681dd 100644 --- a/teamtemplatedefinition/item_team_definition_owners_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_owners_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemTeamDefinitionOwnersRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_owners_user_item_request_builder.go b/teamtemplatedefinition/item_team_definition_owners_user_item_request_builder.go index a95d0c38bff..d7e87c2fe2d 100644 --- a/teamtemplatedefinition/item_team_definition_owners_user_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_owners_user_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemTeamDefinitionOwnersUserItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go index 6733eeda1d4..aec1c855785 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionGrants for teamTemplateDefinition @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionPermissionGrantsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go b/teamtemplatedefinition/item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go index 5b5bb761c2b..96a36526680 100644 --- a/teamtemplatedefinition/item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of permissions granted to apps to access the team. @@ -134,7 +134,7 @@ func (m *ItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionGrants in teamTemplateDefinition @@ -147,7 +147,7 @@ func (m *ItemTeamDefinitionPermissionGrantsResourceSpecificPermissionGrantItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_photo_request_builder.go b/teamtemplatedefinition/item_team_definition_photo_request_builder.go index d64da66fdd3..5992c78f2be 100644 --- a/teamtemplatedefinition/item_team_definition_photo_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_photo_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemTeamDefinitionPhotoRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property photo in teamTemplateDefinition @@ -115,7 +115,7 @@ func (m *ItemTeamDefinitionPhotoRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_photo_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_photo_value_content_request_builder.go index 88bb2da9b92..25b4b1c2e8c 100644 --- a/teamtemplatedefinition/item_team_definition_photo_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_photo_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemTeamDefinitionPhotoValueContentRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photo in teamTemplateDefinition @@ -98,7 +98,7 @@ func (m *ItemTeamDefinitionPhotoValueContentRequestBuilder) ToPutRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go index b4800408c8a..484af377fd1 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionPrimaryChannelCompleteMigrationRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 1b319388f30..1ef154a9c4f 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -93,7 +93,7 @@ func (m *ItemTeamDefinitionPrimaryChannelDoesUserHaveAccessuserIdUserIdTenantIdT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go index 894c4300e8e..895bd885407 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderContentRequestBuilder) ToPut requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go index 9b43bf37799..22b4738b3dc 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_files_folder_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemTeamDefinitionPrimaryChannelFilesFolderRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go index f7e9fbd22f4..321b2bfe458 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersAddRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go index f6ccde33cd1..17ce77b6283 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a channel. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in 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. @@ -156,7 +156,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersConversationMemberItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go index a27f2151fac..99d24644252 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMembersRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go index 8416fbbd237..92c47d78c0a 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_chat_message_item_request_builder.go @@ -140,7 +140,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -169,7 +169,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesChatMessageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go index 593b722ceda..83b3e227012 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesDeltaRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index d609f4bb08c..4a3395d302a 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teamTemplateDefinition @@ -154,7 +154,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsChatMessageHo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index 07eab07fde6..ee27338a2b4 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teamTemplateDefinition @@ -101,7 +101,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsItemValueCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go index a253fb9de03..4237b987609 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teamTemplateDefinition @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemHostedContentsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go index 2af191da8e0..36a8c2b2991 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in teamTemplateDefinition @@ -162,7 +162,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesChatMessageItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go index 48e73d16e97..e622128fa7d 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesDeltaRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 042eaa43aed..20fa002dcf9 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teamTemplateDefinition @@ -154,7 +154,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsCh requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 635cf3fd4a5..aed7648537a 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teamTemplateDefinition @@ -101,7 +101,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index 6f0aae4f423..6aeb10dc965 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teamTemplateDefinition @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemHostedContentsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go index 39e53595e2a..ee0f1155ba8 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSetReactionReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index e7184001e85..290dea0c9d4 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemSoftDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index 8ca30ffcca6..6fa7b8ab582 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUndoSoftDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go index 5a65b028705..ee8b8c3a626 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesItemUnsetReactionReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go index 23edd97b3d2..01a55911a81 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemRepliesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go index 6de990d6b6f..5b4c18f48eb 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemSetReactionRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go index 2d3648fcf3e..815942e4537 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemSoftDeleteRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go index f99cdfa29c7..33b525382d8 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemUndoSoftDeleteRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go index 2965f96c7ab..f6310a3c9b8 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesItemUnsetReactionRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go index 54994d37b00..cd4fa53235b 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Get(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// Post send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// ToPostRequestInformation send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go index cdd02857395..4d3e92e0989 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_provision_email_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamDefinitionPrimaryChannelProvisionEmailRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go index f4841c1d3fa..f7ccd7069bc 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_remove_email_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go index 4022aec99b8..df9139fa273 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go @@ -157,7 +157,7 @@ func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the default channel, General, of a team. This API is available in the following national cloud deployments. @@ -173,7 +173,7 @@ func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property primaryChannel in teamTemplateDefinition @@ -186,7 +186,7 @@ func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index d3d32b065a3..7ed70bd7766 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersConver requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index f757c72df5c..980af8fcda4 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemAllowedMembersReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go index 6b30dcc413e..68bb18235d9 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsItemTeamRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go index 3ea10a6b3f8..de29467c6b8 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedWithTeams for teamTemplateDefinition @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index e5559f68066..4a1da868d97 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedWithTeams in teamTemplateDefinition @@ -161,7 +161,7 @@ func (m *ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go index 9ec8486eed6..0ae9c1a5aff 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsItemTeamsAppRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go index 626ecdb9ae4..3f9136d047c 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tabs for teamTemplateDefinition @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go index bec102afa53..67b7f57f95c 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. @@ -138,7 +138,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tabs in teamTemplateDefinition @@ -151,7 +151,7 @@ func (m *ItemTeamDefinitionPrimaryChannelTabsTeamsTabItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_request_builder.go b/teamtemplatedefinition/item_team_definition_request_builder.go index 5af285b1d60..e688348df7d 100644 --- a/teamtemplatedefinition/item_team_definition_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_request_builder.go @@ -197,7 +197,7 @@ func (m *ItemTeamDefinitionRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties of the team associated with a teamTemplateDefinition object. This API is available in the following national cloud deployments. @@ -213,7 +213,7 @@ func (m *ItemTeamDefinitionRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property teamDefinition in teamTemplateDefinition @@ -226,7 +226,7 @@ func (m *ItemTeamDefinitionRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_day_notes_count_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_day_notes_count_request_builder.go new file mode 100644 index 00000000000..e6059de6692 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_schedule_day_notes_count_request_builder.go @@ -0,0 +1,80 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionScheduleDayNotesCountRequestBuilder provides operations to count the resources in the collection. +type ItemTeamDefinitionScheduleDayNotesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetQueryParameters +} +// NewItemTeamDefinitionScheduleDayNotesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewItemTeamDefinitionScheduleDayNotesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionScheduleDayNotesCountRequestBuilder) { + m := &ItemTeamDefinitionScheduleDayNotesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes/$count{?%24search,%24filter}", pathParameters), + } + return m +} +// NewItemTeamDefinitionScheduleDayNotesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewItemTeamDefinitionScheduleDayNotesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionScheduleDayNotesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionScheduleDayNotesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +func (m *ItemTeamDefinitionScheduleDayNotesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +func (m *ItemTeamDefinitionScheduleDayNotesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamDefinitionScheduleDayNotesCountRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleDayNotesCountRequestBuilder) { + return NewItemTeamDefinitionScheduleDayNotesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_day_notes_day_note_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_day_notes_day_note_item_request_builder.go new file mode 100644 index 00000000000..39a3043ad35 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_schedule_day_notes_day_note_item_request_builder.go @@ -0,0 +1,160 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +type ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters get dayNotes from teamTemplateDefinition +type ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters +} +// ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderInternal instantiates a new DayNoteItemRequestBuilder and sets the default values. +func NewItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) { + m := &ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes/{dayNote%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder instantiates a new DayNoteItemRequestBuilder and sets the default values. +func NewItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dayNotes for teamTemplateDefinition +func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dayNotes from teamTemplateDefinition +func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil +} +// Patch update the navigation property dayNotes in teamTemplateDefinition +func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil +} +// ToDeleteRequestInformation delete navigation property dayNotes for teamTemplateDefinition +func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get dayNotes from teamTemplateDefinition +func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dayNotes in teamTemplateDefinition +func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) { + return NewItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_day_notes_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_day_notes_request_builder.go new file mode 100644 index 00000000000..11903cf96ca --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_schedule_day_notes_request_builder.go @@ -0,0 +1,151 @@ +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionScheduleDayNotesRequestBuilder provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +type ItemTeamDefinitionScheduleDayNotesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionScheduleDayNotesRequestBuilderGetQueryParameters get dayNotes from teamTemplateDefinition +type ItemTeamDefinitionScheduleDayNotesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemTeamDefinitionScheduleDayNotesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionScheduleDayNotesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemTeamDefinitionScheduleDayNotesRequestBuilderGetQueryParameters +} +// ItemTeamDefinitionScheduleDayNotesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionScheduleDayNotesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByDayNoteId provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleDayNotesRequestBuilder) ByDayNoteId(dayNoteId string)(*ItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if dayNoteId != "" { + urlTplParams["dayNote%2Did"] = dayNoteId + } + return NewItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemTeamDefinitionScheduleDayNotesRequestBuilderInternal instantiates a new DayNotesRequestBuilder and sets the default values. +func NewItemTeamDefinitionScheduleDayNotesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionScheduleDayNotesRequestBuilder) { + m := &ItemTeamDefinitionScheduleDayNotesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewItemTeamDefinitionScheduleDayNotesRequestBuilder instantiates a new DayNotesRequestBuilder and sets the default values. +func NewItemTeamDefinitionScheduleDayNotesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionScheduleDayNotesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionScheduleDayNotesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *ItemTeamDefinitionScheduleDayNotesRequestBuilder) Count()(*ItemTeamDefinitionScheduleDayNotesCountRequestBuilder) { + return NewItemTeamDefinitionScheduleDayNotesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dayNotes from teamTemplateDefinition +func (m *ItemTeamDefinitionScheduleDayNotesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleDayNotesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteCollectionResponseable), nil +} +// Post create new navigation property to dayNotes for teamTemplateDefinition +func (m *ItemTeamDefinitionScheduleDayNotesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamDefinitionScheduleDayNotesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil +} +// ToGetRequestInformation get dayNotes from teamTemplateDefinition +func (m *ItemTeamDefinitionScheduleDayNotesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleDayNotesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dayNotes for teamTemplateDefinition +func (m *ItemTeamDefinitionScheduleDayNotesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *ItemTeamDefinitionScheduleDayNotesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *ItemTeamDefinitionScheduleDayNotesRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionScheduleDayNotesRequestBuilder) { + return NewItemTeamDefinitionScheduleDayNotesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index 2a8331f1a92..c226d2f1953 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property offerShiftRequests in teamTemplateDefinition @@ -150,7 +150,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsOfferShiftRequestItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go index 5d0a315c428..3bc9c4e59dc 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_offer_shift_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamDefinitionScheduleOfferShiftRequestsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index 945eab27151..0cbfbdc56a4 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property openShiftChangeRequests in teamTemplateDefinition @@ -150,7 +150,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsOpenShiftChangeRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go index 00e10db78aa..6e929389314 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shift_change_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftChangeRequestsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go index 52370643b7c..280587eb5d5 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an openShift object. @@ -156,7 +156,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsOpenShiftItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go index 888da031adc..b4aefb1296c 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_open_shifts_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of an openshift object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamDefinitionScheduleOpenShiftsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_request_builder.go index 6a17c0a2cd2..901bfbedcce 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_request_builder.go @@ -54,6 +54,10 @@ func NewItemTeamDefinitionScheduleRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemTeamDefinitionScheduleRequestBuilderInternal(urlParams, requestAdapter) } +// DayNotes provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +func (m *ItemTeamDefinitionScheduleRequestBuilder) DayNotes()(*ItemTeamDefinitionScheduleDayNotesRequestBuilder) { + return NewItemTeamDefinitionScheduleDayNotesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Delete delete navigation property schedule for teamTemplateDefinition func (m *ItemTeamDefinitionScheduleRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamDefinitionScheduleRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -165,7 +169,7 @@ func (m *ItemTeamDefinitionScheduleRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -181,7 +185,7 @@ func (m *ItemTeamDefinitionScheduleRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property schedule in teamTemplateDefinition @@ -194,7 +198,7 @@ func (m *ItemTeamDefinitionScheduleRequestBuilder) ToPutRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go index 51a60ac9291..adfa2d2ba66 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new schedulingGroup. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go index 9d43a41ddbd..1d0b0dd95b8 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *ItemTeamDefinitionScheduleSchedulingGroupsSchedulingGroupItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go index b166184282b..ff4b9608be2 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_share_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionScheduleShareRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go index 11f75e395c0..1142509ed60 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_shifts_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -142,7 +142,7 @@ func (m *ItemTeamDefinitionScheduleShiftsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go index 618373ec094..b92e11a999d 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_shifts_shift_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. @@ -154,7 +154,7 @@ func (m *ItemTeamDefinitionScheduleShiftsShiftItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go index ddf4b01866b..26ee09f5b89 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index 557a6fb8c40..df56243fe71 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property swapShiftsChangeRequests in teamTemplateDefinition @@ -150,7 +150,7 @@ func (m *ItemTeamDefinitionScheduleSwapShiftsChangeRequestsSwapShiftsChangeReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go index 3e69e7008e5..e398ab30d44 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_clock_in_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsClockInRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go index b1ed3370a59..9f62f40ed02 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_clock_out_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsItemClockOutRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go index 8197ba240f2..93b06476895 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_confirm_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsItemConfirmRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go index a1f12412e32..c8eb60083ee 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_end_break_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsItemEndBreakRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go index 5b6b7e0ec22..0d94dd5e578 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_item_start_break_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsItemStartBreakRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go index 6902934cb32..1ed1a0ca2ec 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a timeCard instance in a schedule. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go index e2e24e3bf08..5758fa47611 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_cards_time_card_item_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeCard with updated values. @@ -172,7 +172,7 @@ func (m *ItemTeamDefinitionScheduleTimeCardsTimeCardItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go index 81c96b43ea1..68e9b798019 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new timeOffReason. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go index 6b75fee263a..3a42cfb435f 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffReasonsTimeOffReasonItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go index de92ba1e3df..87227c848d8 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to timeOffRequests for teamTemplateDefinition @@ -139,7 +139,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go index 2be634d19f4..fecfda8fb5a 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. @@ -138,7 +138,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property timeOffRequests in teamTemplateDefinition @@ -151,7 +151,7 @@ func (m *ItemTeamDefinitionScheduleTimeOffRequestsTimeOffRequestItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go index 395cc3c3eb2..12b9db277f9 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_times_off_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go b/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go index 0a25d1d35d3..c3cd2697ae9 100644 --- a/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_schedule_times_off_time_off_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *ItemTeamDefinitionScheduleTimesOffTimeOffItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go b/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go index 632207a9ebd..f293bb548f3 100644 --- a/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_send_activity_notification_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionSendActivityNotificationRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go index 3970590d80d..c0212dd3562 100644 --- a/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_item_members_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamDefinitionTagsItemMembersRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go index ec7f29c1195..69b5e7c1a5f 100644 --- a/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in teamTemplateDefinition @@ -153,7 +153,7 @@ func (m *ItemTeamDefinitionTagsItemMembersTeamworkTagMemberItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_tags_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_request_builder.go index b59ed47da99..a1512baeaf3 100644 --- a/teamtemplatedefinition/item_team_definition_tags_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamDefinitionTagsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a standard tag for members in the team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamDefinitionTagsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go b/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go index af17a4c1b67..a5e3a101b7f 100644 --- a/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_tags_teamwork_tag_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a tag object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a teamworkTag object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *ItemTeamDefinitionTagsTeamworkTagItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/item_team_definition_template_definition_request_builder.go b/teamtemplatedefinition/item_team_definition_template_definition_request_builder.go index 4d466f54ff0..b81badd638f 100644 --- a/teamtemplatedefinition/item_team_definition_template_definition_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_template_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionTemplateDefinitionRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_template_request_builder.go b/teamtemplatedefinition/item_team_definition_template_request_builder.go index e25450c57d3..9bc896804e3 100644 --- a/teamtemplatedefinition/item_team_definition_template_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_template_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamDefinitionTemplateRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go b/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go index b27fc026de5..5e847542e4a 100644 --- a/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_unarchive_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamDefinitionUnarchiveRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamtemplatedefinition/team_template_definition_item_request_builder.go b/teamtemplatedefinition/team_template_definition_item_request_builder.go index 820a75f655b..5b60ac8b4d5 100644 --- a/teamtemplatedefinition/team_template_definition_item_request_builder.go +++ b/teamtemplatedefinition/team_template_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *TeamTemplateDefinitionItemRequestBuilder) ToDeleteRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get entity from teamTemplateDefinition by key @@ -138,7 +138,7 @@ func (m *TeamTemplateDefinitionItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update entity in teamTemplateDefinition @@ -151,7 +151,7 @@ func (m *TeamTemplateDefinitionItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamtemplatedefinition/team_template_definition_request_builder.go b/teamtemplatedefinition/team_template_definition_request_builder.go index 1507c6207e9..eff0f935f45 100644 --- a/teamtemplatedefinition/team_template_definition_request_builder.go +++ b/teamtemplatedefinition/team_template_definition_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplateDefinitionRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add new entity to teamTemplateDefinition @@ -138,7 +138,7 @@ func (m *TeamTemplateDefinitionRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_chats_deleted_chat_item_request_builder.go b/teamwork/deleted_chats_deleted_chat_item_request_builder.go index a3b7b09f931..b3432c2ef42 100644 --- a/teamwork/deleted_chats_deleted_chat_item_request_builder.go +++ b/teamwork/deleted_chats_deleted_chat_item_request_builder.go @@ -121,7 +121,7 @@ func (m *DeletedChatsDeletedChatItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a deletedChat object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *DeletedChatsDeletedChatItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deletedChats in teamwork @@ -150,7 +150,7 @@ func (m *DeletedChatsDeletedChatItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_chats_item_undo_delete_request_builder.go b/teamwork/deleted_chats_item_undo_delete_request_builder.go index 880e481ca4d..52839f7f76a 100644 --- a/teamwork/deleted_chats_item_undo_delete_request_builder.go +++ b/teamwork/deleted_chats_item_undo_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *DeletedChatsItemUndoDeleteRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_chats_request_builder.go b/teamwork/deleted_chats_request_builder.go index d2d4c1ae98c..ab327a4d0f7 100644 --- a/teamwork/deleted_chats_request_builder.go +++ b/teamwork/deleted_chats_request_builder.go @@ -125,7 +125,7 @@ func (m *DeletedChatsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deletedChats for teamwork @@ -138,7 +138,7 @@ func (m *DeletedChatsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_deleted_team_item_request_builder.go b/teamwork/deleted_teams_deleted_team_item_request_builder.go index 9c5b3cf64f9..5bd6c846a26 100644 --- a/teamwork/deleted_teams_deleted_team_item_request_builder.go +++ b/teamwork/deleted_teams_deleted_team_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeletedTeamsDeletedTeamItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of deleted teams. @@ -138,7 +138,7 @@ func (m *DeletedTeamsDeletedTeamItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deletedTeams in teamwork @@ -151,7 +151,7 @@ func (m *DeletedTeamsDeletedTeamItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_get_all_messages_request_builder.go b/teamwork/deleted_teams_get_all_messages_request_builder.go index bf95860189b..a8a9ce4eda4 100644 --- a/teamwork/deleted_teams_get_all_messages_request_builder.go +++ b/teamwork/deleted_teams_get_all_messages_request_builder.go @@ -103,7 +103,7 @@ func (m *DeletedTeamsGetAllMessagesRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_all_messages_request_builder.go b/teamwork/deleted_teams_item_channels_all_messages_request_builder.go index 333b065372c..4bbae2e2307 100644 --- a/teamwork/deleted_teams_item_channels_all_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_all_messages_request_builder.go @@ -101,7 +101,7 @@ func (m *DeletedTeamsItemChannelsAllMessagesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_channel_item_request_builder.go b/teamwork/deleted_teams_item_channels_channel_item_request_builder.go index deacd9bf7af..1653cf97475 100644 --- a/teamwork/deleted_teams_item_channels_channel_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_channel_item_request_builder.go @@ -154,7 +154,7 @@ func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the channels those are either shared with this deleted team or created in this deleted team. @@ -170,7 +170,7 @@ func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property channels in teamwork @@ -183,7 +183,7 @@ func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go b/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go index e69618ee30c..64becee5031 100644 --- a/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_get_all_messages_request_builder.go @@ -103,7 +103,7 @@ func (m *DeletedTeamsItemChannelsGetAllMessagesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go b/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go index d27947db1e1..b7d814ac7d1 100644 --- a/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *DeletedTeamsItemChannelsItemCompleteMigrationRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go b/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go index 87e46ed3446..dadd0e1d313 100644 --- a/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.go @@ -93,7 +93,7 @@ func (m *DeletedTeamsItemChannelsItemDoesUserHaveAccessuserIdUserIdTenantIdTenan requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go b/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go index a4797890127..084b1454f17 100644 --- a/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_files_folder_content_request_builder.go @@ -89,7 +89,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderContentRequestBuilder) ToPutRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go b/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go index 55bfebf6a13..b576b5c31da 100644 --- a/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_files_folder_request_builder.go @@ -79,7 +79,7 @@ func (m *DeletedTeamsItemChannelsItemFilesFolderRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go b/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go index 7bf5aadd34c..69a149e9272 100644 --- a/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *DeletedTeamsItemChannelsItemMembersAddRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go index 4d6438a0fa4..3bf6abc6291 100644 --- a/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a channel. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in 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. @@ -156,7 +156,7 @@ func (m *DeletedTeamsItemChannelsItemMembersConversationMemberItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_members_request_builder.go b/teamwork/deleted_teams_item_channels_item_members_request_builder.go index 96bb3779b05..53892d537d3 100644 --- a/teamwork/deleted_teams_item_channels_item_members_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_members_request_builder.go @@ -135,7 +135,7 @@ func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *DeletedTeamsItemChannelsItemMembersRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go index 0e05ca32af2..544efa3076d 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_chat_message_item_request_builder.go @@ -140,7 +140,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -169,7 +169,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesChatMessageItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go index eda58a0e915..62d8bb4b8a5 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesDeltaRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index dee4315fb74..9549ebc4be8 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHosted requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHosted requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teamwork @@ -154,7 +154,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsChatMessageHosted requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 7b0576cce49..7d7915181b6 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsItemValueContentR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teamwork @@ -101,7 +101,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsItemValueContentR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go index 53435a5b617..a41b9df1b02 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teamwork @@ -141,7 +141,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemHostedContentsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go index 5f7ceafd60d..9010968f7f2 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in teamwork @@ -162,7 +162,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesChatMessageItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go index 2a8a3af388b..ea958eb054f 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesDeltaRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 296561e04b7..cc29fe6b72d 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teamwork @@ -154,7 +154,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsChatMe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index b4b2bf3e212..9433288a0be 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsItemVa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teamwork @@ -101,7 +101,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsItemVa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index 3a83769fe77..30115a30bed 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teamwork @@ -141,7 +141,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemHostedContentsReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_set_reaction_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_set_reaction_request_builder.go index 69ea3927b72..a4a9e51f8ce 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemSetReactionRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go index 2d0667469cb..f6ded30a090 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemSoftDeleteRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 263507ca2c0..23653747e4c 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemUndoSoftDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go index b457bc9f20b..747d85500f2 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go index d68cd36190f..86c290b21d5 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_set_reaction_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_set_reaction_request_builder.go index 095ed43966f..16d3f56effd 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_set_reaction_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemSetReactionRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go index bf22174979e..25fcceb273f 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemSoftDeleteRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go index e850b3bca00..22bb7cbf356 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemUndoSoftDeleteRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_unset_reaction_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_unset_reaction_request_builder.go index 3bbb97e8dee..fda48c78c19 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_unset_reaction_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_messages_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_request_builder.go index e55b9991bfd..e7ae74c64a0 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) Get(ctx context.Con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// Post send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// ToPostRequestInformation send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go b/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go index a00527a7f85..cb4a8fc89a0 100644 --- a/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_provision_email_request_builder.go @@ -63,7 +63,7 @@ func (m *DeletedTeamsItemChannelsItemProvisionEmailRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go b/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go index 22074cd0e02..2cb7955e8d2 100644 --- a/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_remove_email_request_builder.go @@ -59,7 +59,7 @@ func (m *DeletedTeamsItemChannelsItemRemoveEmailRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 800d5302410..17f5e0b83a4 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -72,7 +72,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersConversati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go index b09439750ce..a99bf3daef9 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -102,7 +102,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemAllowedMembersRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_team_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_team_request_builder.go index aa237048103..84dd8700ef0 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_team_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsItemTeamRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go index 23dd8711ba0..052d6a4d583 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_request_builder.go @@ -128,7 +128,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedWithTeams for teamwork @@ -141,7 +141,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 3776cdedc72..f6e4d2deea4 100644 --- a/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -132,7 +132,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedWithTeams in teamwork @@ -161,7 +161,7 @@ func (m *DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_tabs_item_teams_app_request_builder.go b/teamwork/deleted_teams_item_channels_item_tabs_item_teams_app_request_builder.go index d2a83a96e9b..84b7f61191f 100644 --- a/teamwork/deleted_teams_item_channels_item_tabs_item_teams_app_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *DeletedTeamsItemChannelsItemTabsItemTeamsAppRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go b/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go index eae8f7c7fc5..3a0e5755449 100644 --- a/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_tabs_request_builder.go @@ -128,7 +128,7 @@ func (m *DeletedTeamsItemChannelsItemTabsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tabs for teamwork @@ -141,7 +141,7 @@ func (m *DeletedTeamsItemChannelsItemTabsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_item_tabs_teams_tab_item_request_builder.go b/teamwork/deleted_teams_item_channels_item_tabs_teams_tab_item_request_builder.go index 7c5a1234f58..84bd905fbd4 100644 --- a/teamwork/deleted_teams_item_channels_item_tabs_teams_tab_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_tabs_teams_tab_item_request_builder.go @@ -122,7 +122,7 @@ func (m *DeletedTeamsItemChannelsItemTabsTeamsTabItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. @@ -138,7 +138,7 @@ func (m *DeletedTeamsItemChannelsItemTabsTeamsTabItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tabs in teamwork @@ -151,7 +151,7 @@ func (m *DeletedTeamsItemChannelsItemTabsTeamsTabItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_item_channels_request_builder.go b/teamwork/deleted_teams_item_channels_request_builder.go index 9f857d7e156..e3480652695 100644 --- a/teamwork/deleted_teams_item_channels_request_builder.go +++ b/teamwork/deleted_teams_item_channels_request_builder.go @@ -133,7 +133,7 @@ func (m *DeletedTeamsItemChannelsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to channels for teamwork @@ -146,7 +146,7 @@ func (m *DeletedTeamsItemChannelsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/deleted_teams_request_builder.go b/teamwork/deleted_teams_request_builder.go index 8a99c507568..89a5f6f7169 100644 --- a/teamwork/deleted_teams_request_builder.go +++ b/teamwork/deleted_teams_request_builder.go @@ -132,7 +132,7 @@ func (m *DeletedTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deletedTeams for teamwork @@ -145,7 +145,7 @@ func (m *DeletedTeamsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/devices_item_activity_request_builder.go b/teamwork/devices_item_activity_request_builder.go index 6de8bacdedc..f7ebe947383 100644 --- a/teamwork/devices_item_activity_request_builder.go +++ b/teamwork/devices_item_activity_request_builder.go @@ -121,7 +121,7 @@ func (m *DevicesItemActivityRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the activity status of a Microsoft Teams-enabled device. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *DevicesItemActivityRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activity in teamwork @@ -150,7 +150,7 @@ func (m *DevicesItemActivityRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/devices_item_configuration_request_builder.go b/teamwork/devices_item_configuration_request_builder.go index 0eaccaab1ae..6ee750ed75b 100644 --- a/teamwork/devices_item_configuration_request_builder.go +++ b/teamwork/devices_item_configuration_request_builder.go @@ -121,7 +121,7 @@ func (m *DevicesItemConfigurationRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *DevicesItemConfigurationRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property configuration in teamwork @@ -150,7 +150,7 @@ func (m *DevicesItemConfigurationRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/devices_item_health_request_builder.go b/teamwork/devices_item_health_request_builder.go index c1ffcac839c..46a16c8b22a 100644 --- a/teamwork/devices_item_health_request_builder.go +++ b/teamwork/devices_item_health_request_builder.go @@ -121,7 +121,7 @@ func (m *DevicesItemHealthRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *DevicesItemHealthRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property health in teamwork @@ -150,7 +150,7 @@ func (m *DevicesItemHealthRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/devices_item_operations_request_builder.go b/teamwork/devices_item_operations_request_builder.go index c70bfd499bd..4db53e2ca6e 100644 --- a/teamwork/devices_item_operations_request_builder.go +++ b/teamwork/devices_item_operations_request_builder.go @@ -128,7 +128,7 @@ func (m *DevicesItemOperationsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for teamwork @@ -141,7 +141,7 @@ func (m *DevicesItemOperationsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go b/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go index d1ac8d74cf5..869bd1091e3 100644 --- a/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go +++ b/teamwork/devices_item_operations_teamwork_device_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in teamwork @@ -150,7 +150,7 @@ func (m *DevicesItemOperationsTeamworkDeviceOperationItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/devices_item_restart_request_builder.go b/teamwork/devices_item_restart_request_builder.go index 3c0859b7ba7..b936a13a8a2 100644 --- a/teamwork/devices_item_restart_request_builder.go +++ b/teamwork/devices_item_restart_request_builder.go @@ -59,7 +59,7 @@ func (m *DevicesItemRestartRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/devices_item_run_diagnostics_request_builder.go b/teamwork/devices_item_run_diagnostics_request_builder.go index 63ef964bfdf..39dbc94399c 100644 --- a/teamwork/devices_item_run_diagnostics_request_builder.go +++ b/teamwork/devices_item_run_diagnostics_request_builder.go @@ -59,7 +59,7 @@ func (m *DevicesItemRunDiagnosticsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/devices_item_update_software_request_builder.go b/teamwork/devices_item_update_software_request_builder.go index 8c8a995aff9..4e756719645 100644 --- a/teamwork/devices_item_update_software_request_builder.go +++ b/teamwork/devices_item_update_software_request_builder.go @@ -59,7 +59,7 @@ func (m *DevicesItemUpdateSoftwareRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/devices_request_builder.go b/teamwork/devices_request_builder.go index c2fdeedf95f..e19263e2f30 100644 --- a/teamwork/devices_request_builder.go +++ b/teamwork/devices_request_builder.go @@ -128,7 +128,7 @@ func (m *DevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to devices for teamwork @@ -141,7 +141,7 @@ func (m *DevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/devices_teamwork_device_item_request_builder.go b/teamwork/devices_teamwork_device_item_request_builder.go index 967ddba6fdc..459ff09e3e1 100644 --- a/teamwork/devices_teamwork_device_item_request_builder.go +++ b/teamwork/devices_teamwork_device_item_request_builder.go @@ -145,7 +145,7 @@ func (m *DevicesTeamworkDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -161,7 +161,7 @@ func (m *DevicesTeamworkDeviceItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property devices in teamwork @@ -174,7 +174,7 @@ func (m *DevicesTeamworkDeviceItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/send_activity_notification_to_recipients_request_builder.go b/teamwork/send_activity_notification_to_recipients_request_builder.go index fbbb5311472..01b58efa2ae 100644 --- a/teamwork/send_activity_notification_to_recipients_request_builder.go +++ b/teamwork/send_activity_notification_to_recipients_request_builder.go @@ -59,7 +59,7 @@ func (m *SendActivityNotificationToRecipientsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_channel_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_channel_item_request_builder.go index 012eccc31ee..93fe6b29c96 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_channel_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_channel_item_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsChannelItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go index 076a5025e97..718a6ba5159 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_all_channels_request_builder.go @@ -102,7 +102,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionAllChannelsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go index 2619a706f02..83f5484cd6d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_archive_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionArchiveRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_all_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_all_messages_request_builder.go index 025b7d81820..9b4815ed723 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_all_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_all_messages_request_builder.go @@ -101,7 +101,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsAllMessagesReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go index a4320346e45..1d6a09cb83f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go @@ -163,7 +163,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -179,7 +179,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of the specified channel. This API is available in the following national cloud deployments. @@ -192,7 +192,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go index b34437a0444..9691a9610ef 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_get_all_messages_request_builder.go @@ -103,7 +103,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsGetAllMessagesReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go index 113be2198fd..d3eb6cdb686 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemCompleteMigra requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/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_request_builder.go b/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_request_builder.go index 070f3273711..0ee6901d61d 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -93,7 +93,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemDoesUserHaveA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go index 182706d4bcb..bc4c76c6dd0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_content_request_builder.go @@ -89,7 +89,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderCo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go index bfc8288331f..621c601171e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_files_folder_request_builder.go @@ -79,7 +79,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemFilesFolderRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go index 4ff7dd1fe1f..c881642f59b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersAddReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go index 547b4d6df73..360c48fdde7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a channel. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in 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. @@ -156,7 +156,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersConver requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go index 49e34ab5b64..0b7ed72df46 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_members_request_builder.go @@ -135,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMembersReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go index ceb3a9137b7..adff348d2d9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_chat_message_item_request_builder.go @@ -140,7 +140,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatM requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatM requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -169,7 +169,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesChatM requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go index 1c9ffcc8764..7cd844e9c00 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesDelta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 6eaff7ca5ff..d0ba29992be 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teamwork @@ -154,7 +154,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go index 392622604e4..b7ef390d55c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teamwork @@ -101,7 +101,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go index ba161153544..b6d553bbbfc 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teamwork @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemH requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go index 6ebf63057c1..6877c55424c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in teamwork @@ -162,7 +162,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go index 328b207be15..55313190bce 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 844be433a2a..ca45e0d3a84 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teamwork @@ -154,7 +154,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 78162c40c53..6885b90ab49 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teamwork @@ -101,7 +101,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go index f24de32e440..b9099cb2bb0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teamwork @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go index cc52cce2f9e..bece138c1e0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go index 705b0c3a9dc..058cd8ba607 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 07856cee0c2..61ae4c19263 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go index 7631882f320..79e925b7a68 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go index 2386ad70371..518f06b353a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_set_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_set_reaction_request_builder.go index 083cc2c7d46..0005532c5ab 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_set_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go index 0ca1ae70517..3fa15438afd 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go index 356c0e3e39f..68987b09ac4 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemU requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go index c5f1261e893..34152b5c0b6 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesItemU requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go index 6fcd8430802..83195a32a06 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// Post send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// ToPostRequestInformation send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemMessagesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go index 3a2656f6488..088e815fcdd 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_provision_email_request_builder.go @@ -63,7 +63,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemProvisionEmai requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go index d3525710735..30e003e3d4d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_remove_email_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemRemoveEmailRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 00b480fb60a..76f3071d0c5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go index 4a6343daee0..6e8ece67a34 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_allowed_members_request_builder.go @@ -102,7 +102,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go index e1a21345325..d0b1a9acdaa 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go index 36f356df98f..dd3028b15b8 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_request_builder.go @@ -128,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedWithTeams for teamwork @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index fe98cfa5272..d09b5df1272 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -132,7 +132,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedWithTeams in teamwork @@ -161,7 +161,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTea requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_item_teams_app_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_item_teams_app_request_builder.go index 9a9279d29ee..374a9ccca30 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_item_teams_app_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsItemTeams requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go index 84924a321cb..f8192e1d062 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_request_builder.go @@ -128,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tabs for teamwork @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go index 11352d5130b..504304a138b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_tabs_teams_tab_item_request_builder.go @@ -122,7 +122,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsTeamsTabI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. @@ -138,7 +138,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsTeamsTabI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tabs in teamwork @@ -151,7 +151,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsTeamsTabI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go index bc992239317..9165bb9e39d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_request_builder.go @@ -139,7 +139,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -152,7 +152,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go index cb17bb695ef..a17c5e19169 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_clone_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionCloneRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go index d2e6d69362f..01132ab78b2 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionCompleteMigrationRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_group_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_group_request_builder.go index ab89adf45e1..ce05243198d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_group_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_group_request_builder.go @@ -76,7 +76,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionGroupRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_group_service_provisioning_errors_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_group_service_provisioning_errors_request_builder.go index 1b4fcea8e8d..f13858812b8 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_group_service_provisioning_errors_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_group_service_provisioning_errors_request_builder.go @@ -88,7 +88,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionGroupServiceProvisioningE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_channel_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_channel_item_request_builder.go index 97dc1cc1894..7389ea20342 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_channel_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_channel_item_request_builder.go @@ -95,7 +95,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsChannelIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of channels shared with the team. @@ -111,7 +111,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsChannelIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go index aef0ba7c8e8..f864733a05e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_incoming_channels_request_builder.go @@ -102,7 +102,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionIncomingChannelsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_definition_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_definition_request_builder.go index a0447b28e3c..c686d40eedc 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_definition_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsApp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_request_builder.go index e4d071066f8..0d8c1300e4d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemTeamsApp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go index e1571db569b..bafcbc0f1c5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_item_upgrade_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsItemUpgradeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go index 3a5ded0cd5b..89cd29b1193 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_request_builder.go @@ -131,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation install an app to the specified team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go index 5267ae3a17d..f5f24148211 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_installed_apps_teams_app_installation_item_request_builder.go @@ -132,7 +132,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInst requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the app installed in the specified team. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInst requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property installedApps in teamwork @@ -161,7 +161,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionInstalledAppsTeamsAppInst requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go index 4b029d68705..866e6e0cc6b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersAddRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go index 0a2e2828821..ca7ee79d4f6 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMember requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a team. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMember requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in a team. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersConversationMember requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go index 8206bbd39dc..3751b72fbda 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_members_request_builder.go @@ -135,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a new conversation member to a team. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionMembersRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_operations_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_operations_request_builder.go index 7880499d10a..2a9bdc56261 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_operations_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for teamwork @@ -138,7 +138,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_operations_teams_async_operation_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_operations_teams_async_operation_item_request_builder.go index b0305ccbb4d..303045b8de7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_operations_teams_async_operation_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_operations_teams_async_operation_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsTeamsAsyncOpera requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the async operations that ran or are running on this team. @@ -134,7 +134,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsTeamsAsyncOpera requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in teamwork @@ -147,7 +147,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOperationsTeamsAsyncOpera requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_owners_item_mailbox_settings_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_owners_item_mailbox_settings_request_builder.go index 4548e9761fc..aa02ab1a3b9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_owners_item_mailbox_settings_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_owners_item_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemMailboxSettings requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemMailboxSettings requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_owners_item_service_provisioning_errors_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_owners_item_service_provisioning_errors_request_builder.go index fa1d4ecfeaa..a4d8fb19b23 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_owners_item_service_provisioning_errors_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_owners_item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvision func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsCountRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisio } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersItemServiceProvisio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_owners_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_owners_request_builder.go index bafc6b47ffe..71ed419820f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_owners_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_owners_request_builder.go @@ -99,7 +99,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_owners_user_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_owners_user_item_request_builder.go index ad4292c19f6..2a0155333c2 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_owners_user_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_owners_user_item_request_builder.go @@ -80,7 +80,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionOwnersUserItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go index 1169c2f8678..06eaf739104 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_request_builder.go @@ -128,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionGrants for teamwork @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go index d9425e0f2f4..d10d7f20bf9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -118,7 +118,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsResourceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of permissions granted to apps to access the team. @@ -134,7 +134,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsResourceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionGrants in teamwork @@ -147,7 +147,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPermissionGrantsResourceS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_photo_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_photo_request_builder.go index b6a62bb66c7..a270bea8b8a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_photo_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_photo_request_builder.go @@ -102,7 +102,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPhotoRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property photo in teamwork @@ -115,7 +115,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPhotoRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_photo_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_photo_value_content_request_builder.go index 4c6cae8f327..fbd29f4080d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_photo_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_photo_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPhotoValueContentRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photo in teamwork @@ -98,7 +98,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPhotoValueContentRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go index f165fde3c41..256f56da15f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_complete_migration_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelCompleteMig requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/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_request_builder.go b/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_request_builder.go index 81eb0a5e602..8a9fcccaf44 100644 --- a/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_request_builder.go +++ b/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_request_builder.go @@ -93,7 +93,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelDoesUserHav requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go index e5201cb7e65..1e3900e5326 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_content_request_builder.go @@ -89,7 +89,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content stream, if the item represents a file. @@ -102,7 +102,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go index 1b1a3cff8c3..5c6aeee4f12 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_files_folder_request_builder.go @@ -79,7 +79,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelFilesFolder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go index 8b611e80551..7317a22f6ee 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersAddR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go index a8548fdcdc3..ceeef4e760b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_conversation_member_item_request_builder.go @@ -127,7 +127,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a conversationMember from a channel. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the role of a conversationMember in 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. @@ -156,7 +156,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersConv requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go index 410ff1a44e0..7c898d266ef 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_members_request_builder.go @@ -135,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMembersRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go index fa2864a4e42..0fb709a1be8 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_chat_message_item_request_builder.go @@ -140,7 +140,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCha requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCha requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -169,7 +169,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesCha requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go index 1712245d21d..c7fdbb67ffc 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index e688ada9489..0343b7d0c8d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teamwork @@ -154,7 +154,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go index 5d4d93d1001..bf1b2ef35ae 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teamwork @@ -101,7 +101,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go index 45eb2b9498d..29cbf56dfe6 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teamwork @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go index 587aa76b226..51858fc5576 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in teamwork @@ -162,7 +162,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go index 1bae3804231..4df7b7fcee0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 44f8a8b5c94..4e0b46a3013 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in teamwork @@ -154,7 +154,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index a9062ff6066..395a7fe4f06 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in teamwork @@ -101,7 +101,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go index 0a9df404f3d..0a926d3b2d4 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for teamwork @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go index ccb5efd4dda..6e195b7c0aa 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go index f579a8a8ecd..39050afec84 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go index 1088e5c842c..80dfcd0ecd5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go index 2a796f0806d..8e86fbef703 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go index a649f084874..5fb3c29a9f9 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go index fff824ba4be..f208405459b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go index 01ac3a11ccc..3b6a7aac06f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go index d3fa53beacd..516cb068b35 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go index 14a2c996450..d6afd92e793 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go index 1cea3f020ab..5b9c798b285 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// Post send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. +// ToPostRequestInformation send a new chatMessage in the specified channel. This API is available in the following national cloud deployments. func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelMessagesReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go index 1b18719a33c..15032ec9454 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_provision_email_request_builder.go @@ -63,7 +63,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelProvisionEm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go index 79bfb531805..fd146d3ea5e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_remove_email_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRemoveEmail requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go index 71657af30dc..0ad4810b1c2 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go @@ -157,7 +157,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the default channel, General, of a team. This API is available in the following national cloud deployments. @@ -173,7 +173,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property primaryChannel in teamwork @@ -186,7 +186,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go index 2dd7b125ffe..40feb52438e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_conversation_member_item_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go index ef13e5367e4..001919f826b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_allowed_members_request_builder.go @@ -102,7 +102,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go index eab98c26d59..189261adb33 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go index 99734e33fad..bdbbda5212d 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_request_builder.go @@ -128,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sharedWithTeams for teamwork @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go index 4caf5cb3efa..454570127cb 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_shared_with_teams_shared_with_channel_team_info_item_request_builder.go @@ -132,7 +132,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sharedWithTeams in teamwork @@ -161,7 +161,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go index 8124792a2e9..f5dbb446cf6 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsItemTea requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go index 7027f320409..3a161f26d56 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_request_builder.go @@ -128,7 +128,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tabs for teamwork @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go index cf787d71745..581901f69f6 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_tabs_teams_tab_item_request_builder.go @@ -122,7 +122,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsTeamsTa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the tabs in the channel. A navigation property. @@ -138,7 +138,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsTeamsTa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tabs in teamwork @@ -151,7 +151,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsTeamsTa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go index f5d48305d00..153d824b7f7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_request_builder.go @@ -197,7 +197,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties of the team associated with a teamTemplateDefinition object. This API is available in the following national cloud deployments. @@ -213,7 +213,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property teamDefinition in teamwork @@ -226,7 +226,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_count_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_count_request_builder.go similarity index 56% rename from solutions/virtual_events_events_item_sessions_item_registration_custom_questions_count_request_builder.go rename to teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_count_request_builder.go index bcbc17d05c0..6b90222a55b 100644 --- a/solutions/virtual_events_events_item_sessions_item_registration_custom_questions_count_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_count_request_builder.go @@ -1,4 +1,4 @@ -package solutions +package teamwork import ( "context" @@ -6,41 +6,41 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder provides operations to count the resources in the collection. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder struct { +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder provides operations to count the resources in the collection. +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetQueryParameters get the number of the resource -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetQueryParameters struct { +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetQueryParameters get the number of the resource +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetQueryParameters struct { // Filter items by property values Filter *string `uriparametername:"%24filter"` // Search items by search phrases Search *string `uriparametername:"%24search"` } -// VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetRequestConfiguration struct { +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters - QueryParameters *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetQueryParameters + QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetQueryParameters } -// NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) { - m := &VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions/$count{?%24search,%24filter}", pathParameters), +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderInternal instantiates a new CountRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes/$count{?%24search,%24filter}", pathParameters), } return m } -// NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. -func NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) { +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder instantiates a new CountRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder) { urlParams := make(map[string]string) urlParams["request-raw-url"] = rawUrl - return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderInternal(urlParams, requestAdapter) + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetRequestConfiguration)(*int32, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { return nil, err @@ -59,7 +59,7 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequ return res.(*int32), nil } // ToGetRequestInformation get the number of the resource -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { if requestConfiguration.QueryParameters != nil { @@ -75,6 +75,6 @@ func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequ return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -func (m *VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder) { - return NewVirtualEventsEventsItemSessionsItemRegistrationCustomQuestionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_day_note_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_day_note_item_request_builder.go new file mode 100644 index 00000000000..9dd5ea822e7 --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_day_note_item_request_builder.go @@ -0,0 +1,160 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters get dayNotes from teamwork +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetQueryParameters +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderInternal instantiates a new DayNoteItemRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes/{dayNote%2Did}{?%24select,%24expand}", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder instantiates a new DayNoteItemRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dayNotes for teamwork +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get dayNotes from teamwork +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil +} +// Patch update the navigation property dayNotes in teamwork +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil +} +// ToDeleteRequestInformation delete navigation property dayNotes for teamwork +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get dayNotes from teamwork +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property dayNotes in teamwork +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_request_builder.go new file mode 100644 index 00000000000..d00a6097200 --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_day_notes_request_builder.go @@ -0,0 +1,151 @@ +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderGetQueryParameters get dayNotes from teamwork +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderGetQueryParameters +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByDayNoteId provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) ByDayNoteId(dayNoteId string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if dayNoteId != "" { + urlTplParams["dayNote%2Did"] = dayNoteId + } + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesDayNoteItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderInternal instantiates a new DayNotesRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder instantiates a new DayNotesRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) Count()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get dayNotes from teamwork +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteCollectionResponseable), nil +} +// Post create new navigation property to dayNotes for teamwork +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + "5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDayNoteFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable), nil +} +// ToGetRequestInformation get dayNotes from teamwork +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to dayNotes for teamwork +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DayNoteable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate + requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters + requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go index 47c60cf64ae..aad72bd559c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_offer_shift_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property offerShiftRequests in teamwork @@ -150,7 +150,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go index 41529ee675f..613da81a4fb 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_offer_shift_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOfferShiftRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go index d5e6a65acb3..8f2f7d5998e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_open_shift_change_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property openShiftChangeRequests in teamwork @@ -150,7 +150,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go index 4c95afd40d6..014ea8128e5 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shift_change_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftChangeRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go index ef6133aceff..c15fc58426a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_open_shift_item_request_builder.go @@ -127,7 +127,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an openShift object. @@ -156,7 +156,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsOpenShi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go index 85aef000de0..90dec4675ae 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_open_shifts_request_builder.go @@ -131,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of an openshift object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleOpenShiftsRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go index 88ae2590f0b..66f02a7fbe3 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_request_builder.go @@ -54,6 +54,10 @@ func NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder(raw urlParams["request-raw-url"] = rawUrl return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilderInternal(urlParams, requestAdapter) } +// DayNotes provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) DayNotes()(*TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionScheduleDayNotesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Delete delete navigation property schedule for teamwork func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -165,7 +169,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -181,7 +185,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation update the navigation property schedule in teamwork @@ -194,7 +198,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go index 050315ffcd8..12ef9d8dae1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_request_builder.go @@ -129,7 +129,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new schedulingGroup. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go index b0b706ac4c8..4708ba6438c 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_scheduling_groups_scheduling_group_item_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSchedulingGroupsS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go index 922a72965f7..0b3b2fc1432 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_share_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShareRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go index cf697d92f2c..ab3c2222bb1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_request_builder.go @@ -129,7 +129,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -142,7 +142,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go index 21b9ab759b3..7a8a42ef172 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_shifts_shift_item_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. @@ -154,7 +154,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleShiftsShiftItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go index 3b6c2367bf0..3c4f0a981b8 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go index b2a49e12ff8..4c470e4be88 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_swap_shifts_change_requests_swap_shifts_change_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property swapShiftsChangeRequests in teamwork @@ -150,7 +150,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleSwapShiftsChangeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go index 08a2595171b..4ebbae22c17 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_clock_in_request_builder.go @@ -63,7 +63,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsClockInR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go index a91e8ca1a41..72f6f96e718 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_clock_out_request_builder.go @@ -63,7 +63,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemCloc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go index ce064f6334d..28cc6dbeb39 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_confirm_request_builder.go @@ -63,7 +63,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemConf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go index 35f262ed8b3..35f28400dc0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_end_break_request_builder.go @@ -63,7 +63,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemEndB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go index b32bbbf5017..fb8f5ad4173 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_item_start_break_request_builder.go @@ -63,7 +63,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsItemStar requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go index 900a8610af1..4a7cf36cf9e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_request_builder.go @@ -135,7 +135,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a timeCard instance in a schedule. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go index 5ccc1b0d516..70be4fd53b1 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_cards_time_card_item_request_builder.go @@ -143,7 +143,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCard requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCard requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeCard with updated values. @@ -172,7 +172,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeCardsTimeCard requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go index b6e1a634cba..31393cbae5f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_request_builder.go @@ -129,7 +129,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new timeOffReason. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go index 03701aca9cd..fb58654e11b 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_reasons_time_off_reason_item_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTim requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTim requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffReasonsTim requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go index 393fa9bc702..cece4776794 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_request_builder.go @@ -126,7 +126,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to timeOffRequests for teamwork @@ -139,7 +139,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go index 182d089fb78..2ff92747414 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_time_off_requests_time_off_request_item_request_builder.go @@ -122,7 +122,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. @@ -138,7 +138,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property timeOffRequests in teamwork @@ -151,7 +151,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimeOffRequestsTi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go index bccd31dc41c..4b3fe314e7f 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_request_builder.go @@ -129,7 +129,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go index abc30460ebf..d6496dd2c02 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_schedule_times_off_time_off_item_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation replace an existing timeOff. If the specified timeOff doesn't exist, this method returns 404 Not found. @@ -154,7 +154,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionScheduleTimesOffTimeOffIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go index b3d8b46bb40..1af0367385a 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_send_activity_notification_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionSendActivityNotificationR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go index 67b114d23bd..98eaa7a5e30 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_request_builder.go @@ -131,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go index 3c9116ebbac..46fa3b44193 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_item_members_teamwork_tag_member_item_request_builder.go @@ -124,7 +124,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -140,7 +140,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in teamwork @@ -153,7 +153,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsItemMembersTeamworkTa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go index d58118d1ac8..beaeb694bf7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_request_builder.go @@ -131,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a standard tag for members in the team. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go index 026a95896bf..4a177ccacc0 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_tags_teamwork_tag_item_request_builder.go @@ -131,7 +131,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a tag object. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a teamworkTag object. This API is available in the following national cloud deployments. @@ -160,7 +160,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTagsTeamworkTagItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_item_team_definition_template_definition_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_template_definition_request_builder.go index ebf859befdc..48e34770fd7 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_template_definition_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_template_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTemplateDefinitionRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_template_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_template_request_builder.go index 83d8fc6d4d7..e11df77a7a4 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_template_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_template_request_builder.go @@ -72,7 +72,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionTemplateRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go index cca790af622..418f10859b3 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_unarchive_request_builder.go @@ -59,7 +59,7 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionUnarchiveRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/teamwork/team_templates_item_definitions_request_builder.go b/teamwork/team_templates_item_definitions_request_builder.go index 87a4725d86d..8531e342cec 100644 --- a/teamwork/team_templates_item_definitions_request_builder.go +++ b/teamwork/team_templates_item_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to definitions for teamwork @@ -138,7 +138,7 @@ func (m *TeamTemplatesItemDefinitionsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go b/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go index 3c717017af0..91cf397ac13 100644 --- a/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_team_template_definition_item_request_builder.go @@ -125,7 +125,7 @@ func (m *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a teamTemplateDefinition object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property definitions in teamwork @@ -154,7 +154,7 @@ func (m *TeamTemplatesItemDefinitionsTeamTemplateDefinitionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_request_builder.go b/teamwork/team_templates_request_builder.go index d2b35106078..7625d3c4be8 100644 --- a/teamwork/team_templates_request_builder.go +++ b/teamwork/team_templates_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamTemplatesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamTemplatesRequestBuilderGetQueryParameters get the list of teamTemplate objects that are available for a tenant. This API is available in the following national cloud deployments. +// TeamTemplatesRequestBuilderGetQueryParameters list the teamTemplateDefinition objects associated with a teamTemplate. This API is available in the following national cloud deployments. type TeamTemplatesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -74,10 +74,10 @@ func NewTeamTemplatesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee func (m *TeamTemplatesRequestBuilder) Count()(*TeamTemplatesCountRequestBuilder) { return NewTeamTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of teamTemplate objects that are available for a tenant. This API is available in the following national cloud deployments. +// Get list the teamTemplateDefinition objects associated with a teamTemplate. This API is available in the following national cloud deployments. // [Find more info here] // -// [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 func (m *TeamTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +115,7 @@ func (m *TeamTemplatesRequestBuilder) Post(ctx context.Context, body ie233ee762e } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamTemplateable), nil } -// ToGetRequestInformation get the list of teamTemplate objects that are available for a tenant. This API is available in the following national cloud deployments. +// ToGetRequestInformation list the teamTemplateDefinition objects associated with a teamTemplate. This API is available in the following national cloud deployments. func (m *TeamTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamTemplatesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -128,7 +128,7 @@ func (m *TeamTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to teamTemplates for teamwork @@ -141,7 +141,7 @@ func (m *TeamTemplatesRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/team_templates_team_template_item_request_builder.go b/teamwork/team_templates_team_template_item_request_builder.go index 946d33b70a5..810d68bc661 100644 --- a/teamwork/team_templates_team_template_item_request_builder.go +++ b/teamwork/team_templates_team_template_item_request_builder.go @@ -122,7 +122,7 @@ func (m *TeamTemplatesTeamTemplateItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the templates associated with a team. @@ -138,7 +138,7 @@ func (m *TeamTemplatesTeamTemplateItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property teamTemplates in teamwork @@ -151,7 +151,7 @@ func (m *TeamTemplatesTeamTemplateItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/teams_app_settings_request_builder.go b/teamwork/teams_app_settings_request_builder.go index be8f9f1eb74..f2f3c1d8ad7 100644 --- a/teamwork/teams_app_settings_request_builder.go +++ b/teamwork/teams_app_settings_request_builder.go @@ -124,7 +124,7 @@ func (m *TeamsAppSettingsRequestBuilder) ToDeleteRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a teamsAppSettings object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *TeamsAppSettingsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a teamsAppSettings object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *TeamsAppSettingsRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/teamwork_request_builder.go b/teamwork/teamwork_request_builder.go index 6ccbb143cf5..e4e4be7a912 100644 --- a/teamwork/teamwork_request_builder.go +++ b/teamwork/teamwork_request_builder.go @@ -122,7 +122,7 @@ func (m *TeamworkRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update teamwork @@ -135,7 +135,7 @@ func (m *TeamworkRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/workforce_integrations_request_builder.go b/teamwork/workforce_integrations_request_builder.go index 11036d45a17..53e8f0d994e 100644 --- a/teamwork/workforce_integrations_request_builder.go +++ b/teamwork/workforce_integrations_request_builder.go @@ -131,7 +131,7 @@ func (m *WorkforceIntegrationsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new workforceIntegration object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *WorkforceIntegrationsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/teamwork/workforce_integrations_workforce_integration_item_request_builder.go b/teamwork/workforce_integrations_workforce_integration_item_request_builder.go index 4f00bf5dadd..25d89f1bfe0 100644 --- a/teamwork/workforce_integrations_workforce_integration_item_request_builder.go +++ b/teamwork/workforce_integrations_workforce_integration_item_request_builder.go @@ -127,7 +127,7 @@ func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a workforceintegration object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a workforceintegration object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go b/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go index 47bd2f4f734..388a7e782d2 100644 --- a/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_delegated_admin_customer_item_request_builder.go @@ -125,7 +125,7 @@ func (m *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of a delegatedAdminCustomer object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property delegatedAdminCustomers in tenantRelationships @@ -154,7 +154,7 @@ func (m *DelegatedAdminCustomersDelegatedAdminCustomerItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_customers_item_service_management_details_delegated_admin_service_management_detail_item_request_builder.go b/tenantrelationships/delegated_admin_customers_item_service_management_details_delegated_admin_service_management_detail_item_request_builder.go index 261675aa120..68e17596847 100644 --- a/tenantrelationships/delegated_admin_customers_item_service_management_details_delegated_admin_service_management_detail_item_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_item_service_management_details_delegated_admin_service_management_detail_item_request_builder.go @@ -118,7 +118,7 @@ func (m *DelegatedAdminCustomersItemServiceManagementDetailsDelegatedAdminServic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation contains the management details of a service in the customer tenant that's managed by delegated administration. @@ -134,7 +134,7 @@ func (m *DelegatedAdminCustomersItemServiceManagementDetailsDelegatedAdminServic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property serviceManagementDetails in tenantRelationships @@ -147,7 +147,7 @@ func (m *DelegatedAdminCustomersItemServiceManagementDetailsDelegatedAdminServic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go b/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go index 2b286ddef76..928415e4df8 100644 --- a/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_item_service_management_details_request_builder.go @@ -128,7 +128,7 @@ func (m *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to serviceManagementDetails for tenantRelationships @@ -141,7 +141,7 @@ func (m *DelegatedAdminCustomersItemServiceManagementDetailsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_customers_request_builder.go b/tenantrelationships/delegated_admin_customers_request_builder.go index a86cc50e3b6..73411c67085 100644 --- a/tenantrelationships/delegated_admin_customers_request_builder.go +++ b/tenantrelationships/delegated_admin_customers_request_builder.go @@ -128,7 +128,7 @@ func (m *DelegatedAdminCustomersRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to delegatedAdminCustomers for tenantRelationships @@ -141,7 +141,7 @@ func (m *DelegatedAdminCustomersRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go index 1e22eb02b45..be72e1c95a0 100644 --- a/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_delegated_admin_relationship_item_request_builder.go @@ -139,7 +139,7 @@ func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of a delegatedAdminRelationship object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -168,7 +168,7 @@ func (m *DelegatedAdminRelationshipsDelegatedAdminRelationshipItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go index 9521cf2623e..d251cb58f9d 100644 --- a/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_access_assignments_delegated_admin_access_assignment_item_request_builder.go @@ -127,7 +127,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsDelegatedAdminAccessAss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go index 222579b4f59..5f9c25e62db 100644 --- a/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_access_assignments_request_builder.go @@ -131,7 +131,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *DelegatedAdminRelationshipsItemAccessAssignmentsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go index 85d271a0aad..c4a9ed0017d 100644 --- a/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_operations_delegated_admin_relationship_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOper requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties of a delegatedAdminRelationshipOperation object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOper requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in tenantRelationships @@ -150,7 +150,7 @@ func (m *DelegatedAdminRelationshipsItemOperationsDelegatedAdminRelationshipOper requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go index 4fcd2f4396d..6a174d92719 100644 --- a/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_operations_request_builder.go @@ -128,7 +128,7 @@ func (m *DelegatedAdminRelationshipsItemOperationsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for tenantRelationships @@ -141,7 +141,7 @@ func (m *DelegatedAdminRelationshipsItemOperationsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go index c441e914daf..437843228ef 100644 --- a/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_requests_delegated_admin_relationship_request_item_request_builder.go @@ -121,7 +121,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property requests in tenantRelationships @@ -150,7 +150,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsDelegatedAdminRelationshipReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go b/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go index edbf3eb6211..fbff82c1fc4 100644 --- a/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_item_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *DelegatedAdminRelationshipsItemRequestsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/delegated_admin_relationships_request_builder.go b/tenantrelationships/delegated_admin_relationships_request_builder.go index 69244a8824b..c52dc580b31 100644 --- a/tenantrelationships/delegated_admin_relationships_request_builder.go +++ b/tenantrelationships/delegated_admin_relationships_request_builder.go @@ -131,7 +131,7 @@ func (m *DelegatedAdminRelationshipsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new delegatedAdminRelationship object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *DelegatedAdminRelationshipsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go b/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go index 6d78ab43fe4..8802da92b85 100644 --- a/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go +++ b/tenantrelationships/find_tenant_information_by_domain_name_with_domain_name_request_builder.go @@ -63,7 +63,7 @@ func (m *FindTenantInformationByDomainNameWithDomainNameRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go b/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go index fedc92e7bed..1660cb3c338 100644 --- a/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go +++ b/tenantrelationships/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.go @@ -63,7 +63,7 @@ func (m *FindTenantInformationByTenantIdWithTenantIdRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_aggregated_policy_compliances_aggregated_policy_compliance_item_request_builder.go b/tenantrelationships/managed_tenants_aggregated_policy_compliances_aggregated_policy_compliance_item_request_builder.go index c549f1a4318..03ef8e10542 100644 --- a/tenantrelationships/managed_tenants_aggregated_policy_compliances_aggregated_policy_compliance_item_request_builder.go +++ b/tenantrelationships/managed_tenants_aggregated_policy_compliances_aggregated_policy_compliance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedTenantsAggregatedPolicyCompliancesAggregatedPolicyComplianceItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation aggregate view of device compliance policies across managed tenants. @@ -134,7 +134,7 @@ func (m *ManagedTenantsAggregatedPolicyCompliancesAggregatedPolicyComplianceItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property aggregatedPolicyCompliances in tenantRelationships @@ -147,7 +147,7 @@ func (m *ManagedTenantsAggregatedPolicyCompliancesAggregatedPolicyComplianceItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go b/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go index aae5b0f96b7..047a90b4451 100644 --- a/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go +++ b/tenantrelationships/managed_tenants_aggregated_policy_compliances_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to aggregatedPolicyCompliances for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsAggregatedPolicyCompliancesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_app_performances_app_performance_item_request_builder.go b/tenantrelationships/managed_tenants_app_performances_app_performance_item_request_builder.go index df4b0b07553..a47f961d2b1 100644 --- a/tenantrelationships/managed_tenants_app_performances_app_performance_item_request_builder.go +++ b/tenantrelationships/managed_tenants_app_performances_app_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedTenantsAppPerformancesAppPerformanceItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get appPerformances from tenantRelationships @@ -134,7 +134,7 @@ func (m *ManagedTenantsAppPerformancesAppPerformanceItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appPerformances in tenantRelationships @@ -147,7 +147,7 @@ func (m *ManagedTenantsAppPerformancesAppPerformanceItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_app_performances_request_builder.go b/tenantrelationships/managed_tenants_app_performances_request_builder.go index c4861b441f6..251ad65f596 100644 --- a/tenantrelationships/managed_tenants_app_performances_request_builder.go +++ b/tenantrelationships/managed_tenants_app_performances_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsAppPerformancesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to appPerformances for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsAppPerformancesRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go b/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go index 2e6ff83fdd2..38c7e329ed1 100644 --- a/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go +++ b/tenantrelationships/managed_tenants_audit_events_audit_event_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsAuditEventsAuditEventItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an auditEvent object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsAuditEventsAuditEventItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property auditEvents in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsAuditEventsAuditEventItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_audit_events_request_builder.go b/tenantrelationships/managed_tenants_audit_events_request_builder.go index 3386d7d3622..75fc7c01500 100644 --- a/tenantrelationships/managed_tenants_audit_events_request_builder.go +++ b/tenantrelationships/managed_tenants_audit_events_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsAuditEventsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to auditEvents for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsAuditEventsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go index 2095ff5e290..91ed86668a2 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_connections_cloud_pc_connection_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcConnection object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cloudPcConnections in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsCloudPcConnectionsCloudPcConnectionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go index c7faccee022..0a103d8d146 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_connections_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsCloudPcConnectionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to cloudPcConnections for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsCloudPcConnectionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go index c2d08eecd90..e1ae44131c1 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_devices_cloud_pc_device_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcDevice object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cloudPcDevices in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsCloudPcDevicesCloudPcDeviceItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go b/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go index 09c9341d12a..5bd27add8ce 100644 --- a/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pc_devices_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsCloudPcDevicesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to cloudPcDevices for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsCloudPcDevicesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go b/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go index f18007d3a68..c37737eb4f5 100644 --- a/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pcs_overview_cloud_pc_overview_tenant_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a cloudPcOverview object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cloudPcsOverview in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsCloudPcsOverviewCloudPcOverviewTenantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go b/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go index 0b608122e46..ebcdd3c0a92 100644 --- a/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go +++ b/tenantrelationships/managed_tenants_cloud_pcs_overview_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsCloudPcsOverviewRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to cloudPcsOverview for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsCloudPcsOverviewRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go index 14d0de1b6ff..2d080d123a2 100644 --- a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go +++ b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_conditional_access_policy_coverage_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a conditionalAccessPolicyCoverage object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property conditionalAccessPolicyCoverages in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesConditionalAccessPolicyCo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go index eabeb88a6c2..8606734f94c 100644 --- a/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go +++ b/tenantrelationships/managed_tenants_conditional_access_policy_coverages_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to conditionalAccessPolicyCoverages for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsConditionalAccessPolicyCoveragesRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go index 12a99e5f5bc..0283926140f 100644 --- a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go +++ b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_credential_user_registrations_summary_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a credentialUserRegistrationsSummary object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property credentialUserRegistrationsSummaries in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesCredentialUserRegistr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go index 249ab1fb79d..8499803ad0b 100644 --- a/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go +++ b/tenantrelationships/managed_tenants_credential_user_registrations_summaries_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to credentialUserRegistrationsSummaries for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsCredentialUserRegistrationsSummariesRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_device_app_performances_device_app_performance_item_request_builder.go b/tenantrelationships/managed_tenants_device_app_performances_device_app_performance_item_request_builder.go index 66de578197c..570ae368468 100644 --- a/tenantrelationships/managed_tenants_device_app_performances_device_app_performance_item_request_builder.go +++ b/tenantrelationships/managed_tenants_device_app_performances_device_app_performance_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedTenantsDeviceAppPerformancesDeviceAppPerformanceItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get deviceAppPerformances from tenantRelationships @@ -134,7 +134,7 @@ func (m *ManagedTenantsDeviceAppPerformancesDeviceAppPerformanceItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceAppPerformances in tenantRelationships @@ -147,7 +147,7 @@ func (m *ManagedTenantsDeviceAppPerformancesDeviceAppPerformanceItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_device_app_performances_request_builder.go b/tenantrelationships/managed_tenants_device_app_performances_request_builder.go index c86a9f5b5b2..a4d4b97c1a2 100644 --- a/tenantrelationships/managed_tenants_device_app_performances_request_builder.go +++ b/tenantrelationships/managed_tenants_device_app_performances_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsDeviceAppPerformancesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceAppPerformances for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsDeviceAppPerformancesRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go index b4ccfbce828..1923d720100 100644 --- a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go +++ b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_device_compliance_policy_setting_state_summary_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceComplian requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a deviceCompliancePolicySettingStateSummary object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceComplian requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCompliancePolicySettingStateSummaries in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesDeviceComplian requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go index 52c430bbec0..bda1dae9994 100644 --- a/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go +++ b/tenantrelationships/managed_tenants_device_compliance_policy_setting_state_summaries_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceCompliancePolicySettingStateSummaries for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsDeviceCompliancePolicySettingStateSummariesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_device_health_statuses_device_health_status_item_request_builder.go b/tenantrelationships/managed_tenants_device_health_statuses_device_health_status_item_request_builder.go index 23a27e4869a..57a97588e11 100644 --- a/tenantrelationships/managed_tenants_device_health_statuses_device_health_status_item_request_builder.go +++ b/tenantrelationships/managed_tenants_device_health_statuses_device_health_status_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedTenantsDeviceHealthStatusesDeviceHealthStatusItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get deviceHealthStatuses from tenantRelationships @@ -134,7 +134,7 @@ func (m *ManagedTenantsDeviceHealthStatusesDeviceHealthStatusItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceHealthStatuses in tenantRelationships @@ -147,7 +147,7 @@ func (m *ManagedTenantsDeviceHealthStatusesDeviceHealthStatusItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_device_health_statuses_request_builder.go b/tenantrelationships/managed_tenants_device_health_statuses_request_builder.go index 6a3fd08f300..f6f83b2daa2 100644 --- a/tenantrelationships/managed_tenants_device_health_statuses_request_builder.go +++ b/tenantrelationships/managed_tenants_device_health_statuses_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsDeviceHealthStatusesRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceHealthStatuses for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsDeviceHealthStatusesRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go index f9a08c23dab..02038c068e9 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliance_trends_managed_device_compliance_trend_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrend requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a managedDeviceComplianceTrend object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrend requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedDeviceComplianceTrends in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsManagedDeviceComplianceTrend requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go index 5cf8cb30703..8db8f01fbd4 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliance_trends_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedDeviceComplianceTrends for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsManagedDeviceComplianceTrendsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go index b6b0e185ea5..b78930eb821 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliances_managed_device_compliance_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a managedDeviceCompliance object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedDeviceCompliances in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsManagedDeviceCompliancesManagedDeviceComplianceItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go b/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go index 318f147fb88..a14efe500e1 100644 --- a/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_device_compliances_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsManagedDeviceCompliancesRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedDeviceCompliances for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsManagedDeviceCompliancesRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_item_alert_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_item_alert_request_builder.go index 814d9798e96..3e1b2527669 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_item_alert_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_item_alert_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagedTenantAlertLogsItemAlertRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_managed_tenant_alert_log_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_managed_tenant_alert_log_item_request_builder.go index b806e4421b1..2663d42e89e 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_managed_tenant_alert_log_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_managed_tenant_alert_log_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedTenantsManagedTenantAlertLogsManagedTenantAlertLogItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managedTenantAlertLogs from tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantAlertLogsManagedTenantAlertLogItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedTenantAlertLogs in tenantRelationships @@ -151,7 +151,7 @@ func (m *ManagedTenantsManagedTenantAlertLogsManagedTenantAlertLogItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_request_builder.go index f67aaefa345..834f50be5ae 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_logs_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_logs_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagedTenantAlertLogsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedTenantAlertLogs for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantAlertLogsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_managed_tenant_alert_rule_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_managed_tenant_alert_rule_item_request_builder.go index d850ba1104b..049221683ab 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_managed_tenant_alert_rule_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_managed_tenant_alert_rule_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesManagedTen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_request_builder.go index c5144584a33..f5ef1c0e475 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_item_alert_rules_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsItemAlertRulesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_managed_tenant_alert_rule_definition_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_managed_tenant_alert_rule_definition_item_request_builder.go index 9d8a78da87d..4dd19b260d1 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_managed_tenant_alert_rule_definition_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_managed_tenant_alert_rule_definition_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsManagedTenantAlertRuleDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managedTenantAlertRuleDefinitions from tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsManagedTenantAlertRuleDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedTenantAlertRuleDefinitions in tenantRelationships @@ -151,7 +151,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsManagedTenantAlertRuleDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_request_builder.go index 2137f22592a..b669f46f9d4 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rule_definitions_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedTenantAlertRuleDefinitions for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantAlertRuleDefinitionsRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_managed_tenant_alert_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_managed_tenant_alert_item_request_builder.go index 271cfe8fd4d..ccc06096c10 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_managed_tenant_alert_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_managed_tenant_alert_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesItemAlertsManagedTenantAlertItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_request_builder.go index 775443f778e..23ce25686f0 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_alerts_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesItemAlertsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_rule_definition_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_rule_definition_request_builder.go index 72f838dc694..acf8260c69f 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_rule_definition_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_item_rule_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesItemRuleDefinitionRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_managed_tenant_alert_rule_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_managed_tenant_alert_rule_item_request_builder.go index af5982ea418..f2ffd428aba 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_managed_tenant_alert_rule_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_managed_tenant_alert_rule_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesManagedTenantAlertRuleItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managedTenantAlertRules from tenantRelationships @@ -142,7 +142,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesManagedTenantAlertRuleItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedTenantAlertRules in tenantRelationships @@ -155,7 +155,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesManagedTenantAlertRuleItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_request_builder.go index 240c476b1fd..d1d2f4fef3b 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alert_rules_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alert_rules_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedTenantAlertRules for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantAlertRulesRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_managed_tenant_alert_log_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_managed_tenant_alert_log_item_request_builder.go index 6a95f9dff8b..d7debffa2fd 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_managed_tenant_alert_log_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_managed_tenant_alert_log_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemAlertLogsManagedTenantAlertLogItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_request_builder.go index f7e5453e335..d985442f638 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_logs_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemAlertLogsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_rule_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_rule_request_builder.go index 4d542350822..f23ad96d985 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_rule_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_alert_rule_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemAlertRuleRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_managed_tenant_api_notification_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_managed_tenant_api_notification_item_request_builder.go index a007ae3998a..2146846c2f6 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_managed_tenant_api_notification_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_managed_tenant_api_notification_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemApiNotificationsManagedTenantApiNo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_request_builder.go index afb03b970e7..979f121777c 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_api_notifications_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemApiNotificationsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_managed_tenant_email_notification_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_managed_tenant_email_notification_item_request_builder.go index 02178f25283..7c97e11bcca 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_managed_tenant_email_notification_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_managed_tenant_email_notification_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemEmailNotificationsManagedTenantEma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_request_builder.go index bafe6dc8eeb..ff70a63c879 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_email_notifications_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemEmailNotificationsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_microsoft_graph_managed_tenants_add_user_input_log_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_microsoft_graph_managed_tenants_add_user_input_log_request_builder.go index 4cc221b5cc2..ab6970ea57d 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_item_microsoft_graph_managed_tenants_add_user_input_log_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_item_microsoft_graph_managed_tenants_add_user_input_log_request_builder.go @@ -60,7 +60,7 @@ func (m *ManagedTenantsManagedTenantAlertsItemMicrosoftGraphManagedTenantsAddUse requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_managed_tenant_alert_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_managed_tenant_alert_item_request_builder.go index f2176202d88..fb818092aff 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_managed_tenant_alert_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_managed_tenant_alert_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantAlertsManagedTenantAlertItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managedTenantAlerts from tenantRelationships @@ -154,7 +154,7 @@ func (m *ManagedTenantsManagedTenantAlertsManagedTenantAlertItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedTenantAlerts in tenantRelationships @@ -167,7 +167,7 @@ func (m *ManagedTenantsManagedTenantAlertsManagedTenantAlertItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_alerts_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_alerts_request_builder.go index fff93615800..b2c5f43c6ef 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_alerts_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_alerts_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagedTenantAlertsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedTenantAlerts for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantAlertsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_item_alert_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_item_alert_request_builder.go index 5a185810f2b..f1bdaf01209 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_item_alert_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_item_alert_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagedTenantApiNotificationsItemAlertRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_managed_tenant_api_notification_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_managed_tenant_api_notification_item_request_builder.go index deec3e54ba7..68cd9decb2b 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_managed_tenant_api_notification_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_managed_tenant_api_notification_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedTenantsManagedTenantApiNotificationsManagedTenantApiNotification requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managedTenantApiNotifications from tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantApiNotificationsManagedTenantApiNotification requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedTenantApiNotifications in tenantRelationships @@ -151,7 +151,7 @@ func (m *ManagedTenantsManagedTenantApiNotificationsManagedTenantApiNotification requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_request_builder.go index 224309d85c0..360734d740b 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_api_notifications_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_api_notifications_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagedTenantApiNotificationsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedTenantApiNotifications for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantApiNotificationsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_item_alert_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_item_alert_request_builder.go index 03b5b6fc055..c3bb7921ce6 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_item_alert_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_item_alert_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagedTenantEmailNotificationsItemAlertRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_managed_tenant_email_notification_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_managed_tenant_email_notification_item_request_builder.go index 41ba0ef23bd..17feeb4caec 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_managed_tenant_email_notification_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_managed_tenant_email_notification_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedTenantsManagedTenantEmailNotificationsManagedTenantEmailNotifica requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managedTenantEmailNotifications from tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantEmailNotificationsManagedTenantEmailNotifica requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedTenantEmailNotifications in tenantRelationships @@ -151,7 +151,7 @@ func (m *ManagedTenantsManagedTenantEmailNotificationsManagedTenantEmailNotifica requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_request_builder.go index e53b0b98941..4eebe93deb9 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_email_notifications_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_email_notifications_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagedTenantEmailNotificationsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedTenantEmailNotifications for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantEmailNotificationsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_managed_tenant_ticketing_endpoint_item_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_managed_tenant_ticketing_endpoint_item_request_builder.go index 8d90f816234..dce54e07b67 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_managed_tenant_ticketing_endpoint_item_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_managed_tenant_ticketing_endpoint_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedTenantsManagedTenantTicketingEndpointsManagedTenantTicketingEndp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managedTenantTicketingEndpoints from tenantRelationships @@ -134,7 +134,7 @@ func (m *ManagedTenantsManagedTenantTicketingEndpointsManagedTenantTicketingEndp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedTenantTicketingEndpoints in tenantRelationships @@ -147,7 +147,7 @@ func (m *ManagedTenantsManagedTenantTicketingEndpointsManagedTenantTicketingEndp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_request_builder.go b/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_request_builder.go index c408340c239..c82ab0d3a7a 100644 --- a/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_request_builder.go +++ b/tenantrelationships/managed_tenants_managed_tenant_ticketing_endpoints_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagedTenantTicketingEndpointsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedTenantTicketingEndpoints for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagedTenantTicketingEndpointsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go index 76a1e3e112a..5a8f985f486 100644 --- a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_management_action_tenant_deployment_status_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a managementActionTenantDeploymentStatus object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managementActionTenantDeploymentStatuses in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesManagementActionT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go index 5429eb748a4..ac39034e0a9 100644 --- a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go +++ b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go @@ -60,7 +60,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesMicrosoftGraphMan requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go index 65f55807da3..0807bdd0e11 100644 --- a/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go +++ b/tenantrelationships/managed_tenants_management_action_tenant_deployment_statuses_request_builder.go @@ -132,7 +132,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managementActionTenantDeploymentStatuses for tenantRelationships @@ -145,7 +145,7 @@ func (m *ManagedTenantsManagementActionTenantDeploymentStatusesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go b/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go index 9f30e016f00..d990d66e82a 100644 --- a/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go +++ b/tenantrelationships/managed_tenants_management_actions_item_microsoft_graph_managed_tenants_apply_request_builder.go @@ -63,7 +63,7 @@ func (m *ManagedTenantsManagementActionsItemMicrosoftGraphManagedTenantsApplyReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go b/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go index c45ae8d91a8..5b36bd25621 100644 --- a/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_actions_management_action_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagementActionsManagementActionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a managementAction object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ManagedTenantsManagementActionsManagementActionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managementActions in tenantRelationships @@ -154,7 +154,7 @@ func (m *ManagedTenantsManagementActionsManagementActionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_actions_request_builder.go b/tenantrelationships/managed_tenants_management_actions_request_builder.go index a0500ed4f21..7d4ae8b4d81 100644 --- a/tenantrelationships/managed_tenants_management_actions_request_builder.go +++ b/tenantrelationships/managed_tenants_management_actions_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsManagementActionsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managementActions for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsManagementActionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go b/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go index 24a8fb320bf..0adf35c8275 100644 --- a/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_intents_management_intent_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a managementIntent object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managementIntents in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsManagementIntentsManagementIntentItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_intents_request_builder.go b/tenantrelationships/managed_tenants_management_intents_request_builder.go index adb4f91580b..4314a82c68f 100644 --- a/tenantrelationships/managed_tenants_management_intents_request_builder.go +++ b/tenantrelationships/managed_tenants_management_intents_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsManagementIntentsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managementIntents for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsManagementIntentsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_management_template_collection_tenant_summary_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_management_template_collection_tenant_summary_item_request_builder.go index 1dc9149a00d..243f2b1c1b3 100644 --- a/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_management_template_collection_tenant_summary_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_management_template_collection_tenant_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedTenantsManagementTemplateCollectionTenantSummariesManagementTemp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managementTemplateCollectionTenantSummaries from tenantRelationships @@ -134,7 +134,7 @@ func (m *ManagedTenantsManagementTemplateCollectionTenantSummariesManagementTemp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managementTemplateCollectionTenantSummaries in tenantRelationships @@ -147,7 +147,7 @@ func (m *ManagedTenantsManagementTemplateCollectionTenantSummariesManagementTemp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_request_builder.go b/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_request_builder.go index 20cd8f955e3..093434c250a 100644 --- a/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collection_tenant_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagementTemplateCollectionTenantSummariesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managementTemplateCollectionTenantSummaries for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagementTemplateCollectionTenantSummariesRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_management_template_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_management_template_item_request_builder.go index 1fb475df32f..d86e5596317 100644 --- a/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_management_template_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_management_template_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesManag requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_request_builder.go b/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_request_builder.go index a3188df3d71..24258b98bf1 100644 --- a/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collections_item_management_templates_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsItemManagementTemplatesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_template_collections_management_template_collection_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_collections_management_template_collection_item_request_builder.go index fef40e91b1b..1ad6b1c61c9 100644 --- a/tenantrelationships/managed_tenants_management_template_collections_management_template_collection_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collections_management_template_collection_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsManagementTemplateCollection requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managementTemplateCollections from tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsManagementTemplateCollection requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managementTemplateCollections in tenantRelationships @@ -151,7 +151,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsManagementTemplateCollection requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_collections_request_builder.go b/tenantrelationships/managed_tenants_management_template_collections_request_builder.go index 9948a225331..965da68c5b8 100644 --- a/tenantrelationships/managed_tenants_management_template_collections_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_collections_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managementTemplateCollections for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagementTemplateCollectionsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_management_template_step_tenant_summary_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_management_template_step_tenant_summary_item_request_builder.go index 2c4372868c3..0a38477e247 100644 --- a/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_management_template_step_tenant_summary_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_management_template_step_tenant_summary_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedTenantsManagementTemplateStepTenantSummariesManagementTemplateSt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managementTemplateStepTenantSummaries from tenantRelationships @@ -134,7 +134,7 @@ func (m *ManagedTenantsManagementTemplateStepTenantSummariesManagementTemplateSt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managementTemplateStepTenantSummaries in tenantRelationships @@ -147,7 +147,7 @@ func (m *ManagedTenantsManagementTemplateStepTenantSummariesManagementTemplateSt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_request_builder.go index 1b01f5cf3b3..ac03cb3b23b 100644 --- a/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_tenant_summaries_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagementTemplateStepTenantSummariesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managementTemplateStepTenantSummaries for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagementTemplateStepTenantSummariesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_accepted_for_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_accepted_for_request_builder.go index 6d33ab1be7a..6f9a3f0dd17 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_accepted_for_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_accepted_for_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemAcceptedForRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go index 7493b67ee4f..5f54f9544d6 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_microsoft_graph_managed_tenants_change_deployment_status_request_builder.go @@ -60,7 +60,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsItemMicrosof requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_template_step_version_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_template_step_version_request_builder.go index 2b76a54da2b..3241d84c672 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_template_step_version_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_item_template_step_version_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsItemTemplate requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_management_template_step_deployment_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_management_template_step_deployment_item_request_builder.go index a7b93ee9f57..681438cbfcf 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_management_template_step_deployment_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_management_template_step_deployment_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsManagementTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get deployments from tenantRelationships @@ -142,7 +142,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsManagementTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deployments in tenantRelationships @@ -155,7 +155,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsManagementTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_request_builder.go index 467d3e3b213..61e4a3fb0b4 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_deployments_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deployments for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemDeploymentsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_item_template_step_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_item_template_step_request_builder.go index 0f046668a53..cfbb4f247f9 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_item_template_step_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_item_template_step_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsItemTemplateStepRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_management_template_step_version_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_management_template_step_version_item_request_builder.go index c87c40479f9..9be09b73e83 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_management_template_step_version_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_management_template_step_version_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsManagementTemplateStepVersi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managementTemplateStepVersions from tenantRelationships @@ -146,7 +146,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsManagementTemplateStepVersi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managementTemplateStepVersions in tenantRelationships @@ -159,7 +159,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsManagementTemplateStepVersi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_step_versions_request_builder.go b/tenantrelationships/managed_tenants_management_template_step_versions_request_builder.go index 90d3fb3d003..9503c2c10f3 100644 --- a/tenantrelationships/managed_tenants_management_template_step_versions_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_step_versions_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managementTemplateStepVersions for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagementTemplateStepVersionsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_steps_item_accepted_version_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_item_accepted_version_request_builder.go index 6e02586461b..e99d862a881 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_item_accepted_version_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_item_accepted_version_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagementTemplateStepsItemAcceptedVersionRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_template_steps_item_management_template_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_item_management_template_request_builder.go index c2b862d7cd8..8f79477a716 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_item_management_template_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_item_management_template_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagementTemplateStepsItemManagementTemplateRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_template_steps_item_versions_management_template_step_version_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_item_versions_management_template_step_version_item_request_builder.go index beec33d5392..5ac2b14ed15 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_item_versions_management_template_step_version_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_item_versions_management_template_step_version_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagementTemplateStepsItemVersionsManagementTemplateStep requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_template_steps_item_versions_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_item_versions_request_builder.go index 1e158b22888..b2406469296 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_item_versions_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_item_versions_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedTenantsManagementTemplateStepsItemVersionsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_template_steps_management_template_step_item_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_management_template_step_item_request_builder.go index 62551829b29..9d612c226eb 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_management_template_step_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_management_template_step_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ManagedTenantsManagementTemplateStepsManagementTemplateStepItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get managementTemplateSteps from tenantRelationships @@ -142,7 +142,7 @@ func (m *ManagedTenantsManagementTemplateStepsManagementTemplateStepItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managementTemplateSteps in tenantRelationships @@ -155,7 +155,7 @@ func (m *ManagedTenantsManagementTemplateStepsManagementTemplateStepItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_template_steps_request_builder.go b/tenantrelationships/managed_tenants_management_template_steps_request_builder.go index 6409aaf5a74..89bae76254c 100644 --- a/tenantrelationships/managed_tenants_management_template_steps_request_builder.go +++ b/tenantrelationships/managed_tenants_management_template_steps_request_builder.go @@ -125,7 +125,7 @@ func (m *ManagedTenantsManagementTemplateStepsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managementTemplateSteps for tenantRelationships @@ -138,7 +138,7 @@ func (m *ManagedTenantsManagementTemplateStepsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_management_template_collection_item_request_builder.go b/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_management_template_collection_item_request_builder.go index 1b50da6a2b0..1d0a32a56c6 100644 --- a/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_management_template_collection_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_management_template_collection_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsManag requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_request_builder.go b/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_request_builder.go index f9e0ec22516..f21d9a99412 100644 --- a/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_item_management_template_collections_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedTenantsManagementTemplatesItemManagementTemplateCollectionsReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_management_template_step_item_request_builder.go b/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_management_template_step_item_request_builder.go index 65442a80fb0..c88fb2c9a60 100644 --- a/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_management_template_step_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_management_template_step_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ManagedTenantsManagementTemplatesItemManagementTemplateStepsManagementT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_request_builder.go b/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_request_builder.go index f2305509ecc..7ebcabb72a9 100644 --- a/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_item_management_template_steps_request_builder.go @@ -99,7 +99,7 @@ func (m *ManagedTenantsManagementTemplatesItemManagementTemplateStepsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go b/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go index c89e675684e..0fbe78a8002 100644 --- a/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_management_template_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a managementTemplate object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managementTemplates in tenantRelationships @@ -158,7 +158,7 @@ func (m *ManagedTenantsManagementTemplatesManagementTemplateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_management_templates_request_builder.go b/tenantrelationships/managed_tenants_management_templates_request_builder.go index 952ed9828f3..ca6e5911f02 100644 --- a/tenantrelationships/managed_tenants_management_templates_request_builder.go +++ b/tenantrelationships/managed_tenants_management_templates_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsManagementTemplatesRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managementTemplates for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsManagementTemplatesRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_my_roles_my_role_tenant_item_request_builder.go b/tenantrelationships/managed_tenants_my_roles_my_role_tenant_item_request_builder.go index 69b8cc58330..e0a9388cca7 100644 --- a/tenantrelationships/managed_tenants_my_roles_my_role_tenant_item_request_builder.go +++ b/tenantrelationships/managed_tenants_my_roles_my_role_tenant_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ManagedTenantsMyRolesMyRoleTenantItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of role assignments to a signed-in user for a managed tenant. @@ -134,7 +134,7 @@ func (m *ManagedTenantsMyRolesMyRoleTenantItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property myRoles in tenantRelationships @@ -147,7 +147,7 @@ func (m *ManagedTenantsMyRolesMyRoleTenantItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_my_roles_request_builder.go b/tenantrelationships/managed_tenants_my_roles_request_builder.go index acd31547bf1..aa1acd17058 100644 --- a/tenantrelationships/managed_tenants_my_roles_request_builder.go +++ b/tenantrelationships/managed_tenants_my_roles_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsMyRolesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to myRoles for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsMyRolesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_request_builder.go b/tenantrelationships/managed_tenants_request_builder.go index 07e51eada0f..6f0750a1bfa 100644 --- a/tenantrelationships/managed_tenants_request_builder.go +++ b/tenantrelationships/managed_tenants_request_builder.go @@ -258,7 +258,7 @@ func (m *ManagedTenantsRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the operations available to interact with the multi-tenant management platform. @@ -274,7 +274,7 @@ func (m *ManagedTenantsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedTenants in tenantRelationships @@ -287,7 +287,7 @@ func (m *ManagedTenantsRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenant_groups_microsoft_graph_managed_tenants_tenant_search_request_builder.go b/tenantrelationships/managed_tenants_tenant_groups_microsoft_graph_managed_tenants_tenant_search_request_builder.go index fdab8e07a9b..056699ef9c5 100644 --- a/tenantrelationships/managed_tenants_tenant_groups_microsoft_graph_managed_tenants_tenant_search_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_groups_microsoft_graph_managed_tenants_tenant_search_request_builder.go @@ -79,7 +79,7 @@ func (m *ManagedTenantsTenantGroupsMicrosoftGraphManagedTenantsTenantSearchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenant_groups_request_builder.go b/tenantrelationships/managed_tenants_tenant_groups_request_builder.go index 9a820b7b9f5..7e5848ffec2 100644 --- a/tenantrelationships/managed_tenants_tenant_groups_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_groups_request_builder.go @@ -132,7 +132,7 @@ func (m *ManagedTenantsTenantGroupsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tenantGroups for tenantRelationships @@ -145,7 +145,7 @@ func (m *ManagedTenantsTenantGroupsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go b/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go index 55c3e5a4515..c4325253e77 100644 --- a/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_groups_tenant_group_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a tenantGroup object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tenantGroups in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsTenantGroupsTenantGroupItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go index 2ae032300d0..a46781b2fdb 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_assign_tag_request_builder.go @@ -63,7 +63,7 @@ func (m *ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsAssignTagReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go index d720eb7ca1b..3481c0730a2 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_item_microsoft_graph_managed_tenants_unassign_tag_request_builder.go @@ -63,7 +63,7 @@ func (m *ManagedTenantsTenantTagsItemMicrosoftGraphManagedTenantsUnassignTagRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenant_tags_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_request_builder.go index 927b207d487..581483753dd 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_request_builder.go @@ -131,7 +131,7 @@ func (m *ManagedTenantsTenantTagsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new tenantTag object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ManagedTenantsTenantTagsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go b/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go index 45948ab0f93..69d851d27cb 100644 --- a/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenant_tags_tenant_tag_item_request_builder.go @@ -135,7 +135,7 @@ func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a tenantTag object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a tenantTag object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *ManagedTenantsTenantTagsTenantTagItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go b/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go index b819aa82b51..b588530440d 100644 --- a/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_customized_information_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tenantsCustomizedInformation for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go b/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go index c7823d54ac7..0aef81fcab7 100644 --- a/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_customized_information_tenant_customized_information_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a tenantCustomizedInformation object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a tenantCustomizedInformation object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ManagedTenantsTenantsCustomizedInformationTenantCustomizedInformationIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go b/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go index 790930a4b35..6e44e717159 100644 --- a/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_detailed_information_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsTenantsDetailedInformationRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tenantsDetailedInformation for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsTenantsDetailedInformationRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go b/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go index fc8859f39a2..ff2d29ec8b0 100644 --- a/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_detailed_information_tenant_detailed_information_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a tenantDetailedInformation object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tenantsDetailedInformation in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsTenantsDetailedInformationTenantDetailedInformationItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go index e704fcdf69a..c07b709b398 100644 --- a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_offboard_tenant_request_builder.go @@ -63,7 +63,7 @@ func (m *ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsOffboardTenantRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go index 622339ba9cc..0d2f2171a27 100644 --- a/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_item_microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.go @@ -63,7 +63,7 @@ func (m *ManagedTenantsTenantsItemMicrosoftGraphManagedTenantsResetTenantOnboard requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/tenantrelationships/managed_tenants_tenants_request_builder.go b/tenantrelationships/managed_tenants_tenants_request_builder.go index 605379e279a..ff11d1fcc40 100644 --- a/tenantrelationships/managed_tenants_tenants_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsTenantsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tenants for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsTenantsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go b/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go index 60249e6e305..af0a19b09f0 100644 --- a/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go +++ b/tenantrelationships/managed_tenants_tenants_tenant_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ManagedTenantsTenantsTenantItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a tenant object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ManagedTenantsTenantsTenantItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tenants in tenantRelationships @@ -158,7 +158,7 @@ func (m *ManagedTenantsTenantsTenantItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go b/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go index 96468150def..176b15cd584 100644 --- a/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_device_malware_states_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsDeviceMalwareStates for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go b/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go index 09aeec8224c..2b6e6923f72 100644 --- a/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_device_malware_states_windows_device_malware_state_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a windowsDeviceMalwareState object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsDeviceMalwareStates in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsWindowsDeviceMalwareStatesWindowsDeviceMalwareStateItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go b/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go index e17c135aa92..bd4c5b9098a 100644 --- a/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_protection_states_request_builder.go @@ -128,7 +128,7 @@ func (m *ManagedTenantsWindowsProtectionStatesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to windowsProtectionStates for tenantRelationships @@ -141,7 +141,7 @@ func (m *ManagedTenantsWindowsProtectionStatesRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go b/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go index dcb1c5b3765..246845c8965 100644 --- a/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go +++ b/tenantrelationships/managed_tenants_windows_protection_states_windows_protection_state_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a windowsProtectionState object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsProtectionStates in tenantRelationships @@ -150,7 +150,7 @@ func (m *ManagedTenantsWindowsProtectionStatesWindowsProtectionStateItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/multi_tenant_organization_join_request_request_builder.go b/tenantrelationships/multi_tenant_organization_join_request_request_builder.go index 4ebba9dc5b0..9448042aec0 100644 --- a/tenantrelationships/multi_tenant_organization_join_request_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_join_request_request_builder.go @@ -104,7 +104,7 @@ func (m *MultiTenantOrganizationJoinRequestRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -117,7 +117,7 @@ func (m *MultiTenantOrganizationJoinRequestRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/multi_tenant_organization_request_builder.go b/tenantrelationships/multi_tenant_organization_request_builder.go index 232e6e90ec0..5f9ad81edbe 100644 --- a/tenantrelationships/multi_tenant_organization_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_request_builder.go @@ -73,10 +73,10 @@ func (m *MultiTenantOrganizationRequestBuilder) Get(ctx context.Context, request func (m *MultiTenantOrganizationRequestBuilder) JoinRequest()(*MultiTenantOrganizationJoinRequestRequestBuilder) { return NewMultiTenantOrganizationJoinRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch 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. This API is available in the following national cloud deployments. +// Patch update the properties of a multi-tenant organization. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 func (m *MultiTenantOrganizationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -112,10 +112,10 @@ func (m *MultiTenantOrganizationRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation 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. This API is available in the following national cloud deployments. +// ToPatchRequestInformation update the properties of a multi-tenant organization. func (m *MultiTenantOrganizationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -125,7 +125,7 @@ func (m *MultiTenantOrganizationRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go b/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go index 851a4a9b4b2..92778e95377 100644 --- a/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go @@ -124,7 +124,7 @@ func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get a tenant and its properties in the multi-tenant organization. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tenants in tenantRelationships @@ -153,7 +153,7 @@ func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/multi_tenant_organization_tenants_request_builder.go b/tenantrelationships/multi_tenant_organization_tenants_request_builder.go index cd4a8930834..3b6357b93cc 100644 --- a/tenantrelationships/multi_tenant_organization_tenants_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_tenants_request_builder.go @@ -131,7 +131,7 @@ func (m *MultiTenantOrganizationTenantsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *MultiTenantOrganizationTenantsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/tenantrelationships/tenant_relationships_request_builder.go b/tenantrelationships/tenant_relationships_request_builder.go index 0f31d461266..3fcc3ab1b89 100644 --- a/tenantrelationships/tenant_relationships_request_builder.go +++ b/tenantrelationships/tenant_relationships_request_builder.go @@ -122,7 +122,7 @@ func (m *TenantRelationshipsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update tenantRelationships @@ -135,7 +135,7 @@ func (m *TenantRelationshipsRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_group_item_request_builder.go b/termstore/groups_group_item_request_builder.go index 42c661519b9..8926a4ba81a 100644 --- a/termstore/groups_group_item_request_builder.go +++ b/termstore/groups_group_item_request_builder.go @@ -128,7 +128,7 @@ func (m *GroupsGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *GroupsGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property groups in termStore @@ -157,7 +157,7 @@ func (m *GroupsGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index d5cd29f7774..d69959a92be 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsItemFromTermRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go index 0980c6b58fa..1db99841bd5 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 42aca9c4e06..8f721be50b7 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsItemToTermRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go index 0bf724ed700..c532a1cfef8 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRelationItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_children_item_children_item_relations_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_relations_request_builder.go index 4afc4c1193f..6183bea7b74 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemRelationsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_children_item_children_item_set_request_builder.go b/termstore/groups_item_sets_item_children_item_children_item_set_request_builder.go index 641eeadeb2d..38abf7d7e4d 100644 --- a/termstore/groups_item_sets_item_children_item_children_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenItemSetRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_children_item_children_request_builder.go b/termstore/groups_item_sets_item_children_item_children_request_builder.go index f982431a182..feb0c9c58df 100644 --- a/termstore/groups_item_sets_item_children_item_children_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for termStore @@ -138,7 +138,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_children_item_children_term_item_request_builder.go b/termstore/groups_item_sets_item_children_item_children_term_item_request_builder.go index 36f7230d101..e4a11e30510 100644 --- a/termstore/groups_item_sets_item_children_item_children_term_item_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in termStore @@ -155,7 +155,7 @@ func (m *GroupsItemSetsItemChildrenItemChildrenTermItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_children_item_relations_item_from_term_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_item_from_term_request_builder.go index 2bb2fc34878..d61949371d8 100644 --- a/termstore/groups_item_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsItemFromTermRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_children_item_relations_item_set_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_item_set_request_builder.go index 2c9eb8274f8..22bf9cafdf2 100644 --- a/termstore/groups_item_sets_item_children_item_relations_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsItemSetRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_children_item_relations_item_to_term_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_item_to_term_request_builder.go index a92b62ee136..6f3b0a33769 100644 --- a/termstore/groups_item_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsItemToTermRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_children_item_relations_relation_item_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_relation_item_request_builder.go index b65f6193199..31a6e545221 100644 --- a/termstore/groups_item_sets_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsRelationItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_children_item_relations_request_builder.go b/termstore/groups_item_sets_item_children_item_relations_request_builder.go index d27b6abe2a5..7bde1b2338e 100644 --- a/termstore/groups_item_sets_item_children_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *GroupsItemSetsItemChildrenItemRelationsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_children_item_set_request_builder.go b/termstore/groups_item_sets_item_children_item_set_request_builder.go index 3e59224b63d..4e553c09e06 100644 --- a/termstore/groups_item_sets_item_children_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemChildrenItemSetRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_children_request_builder.go b/termstore/groups_item_sets_item_children_request_builder.go index 3d1fc51e818..d8134ff2489 100644 --- a/termstore/groups_item_sets_item_children_request_builder.go +++ b/termstore/groups_item_sets_item_children_request_builder.go @@ -131,7 +131,7 @@ func (m *GroupsItemSetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new term object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *GroupsItemSetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_children_term_item_request_builder.go b/termstore/groups_item_sets_item_children_term_item_request_builder.go index f158bd83220..45121822167 100644 --- a/termstore/groups_item_sets_item_children_term_item_request_builder.go +++ b/termstore/groups_item_sets_item_children_term_item_request_builder.go @@ -130,7 +130,7 @@ func (m *GroupsItemSetsItemChildrenTermItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children terms of set in term [store]. @@ -146,7 +146,7 @@ func (m *GroupsItemSetsItemChildrenTermItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in termStore @@ -159,7 +159,7 @@ func (m *GroupsItemSetsItemChildrenTermItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_parent_group_request_builder.go b/termstore/groups_item_sets_item_parent_group_request_builder.go index d4aed6682a2..0076b1f681f 100644 --- a/termstore/groups_item_sets_item_parent_group_request_builder.go +++ b/termstore/groups_item_sets_item_parent_group_request_builder.go @@ -118,7 +118,7 @@ func (m *GroupsItemSetsItemParentGroupRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the parent [group] that contains the set. @@ -134,7 +134,7 @@ func (m *GroupsItemSetsItemParentGroupRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property parentGroup in termStore @@ -147,7 +147,7 @@ func (m *GroupsItemSetsItemParentGroupRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_relations_item_from_term_request_builder.go b/termstore/groups_item_sets_item_relations_item_from_term_request_builder.go index 4a4d53e7ada..425fe1c93d9 100644 --- a/termstore/groups_item_sets_item_relations_item_from_term_request_builder.go +++ b/termstore/groups_item_sets_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemRelationsItemFromTermRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_relations_item_set_request_builder.go b/termstore/groups_item_sets_item_relations_item_set_request_builder.go index e891a2e9dad..c954c7d8bd1 100644 --- a/termstore/groups_item_sets_item_relations_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemRelationsItemSetRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_relations_item_to_term_request_builder.go b/termstore/groups_item_sets_item_relations_item_to_term_request_builder.go index c6f91616f39..706cdf199f5 100644 --- a/termstore/groups_item_sets_item_relations_item_to_term_request_builder.go +++ b/termstore/groups_item_sets_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemRelationsItemToTermRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_relations_relation_item_request_builder.go b/termstore/groups_item_sets_item_relations_relation_item_request_builder.go index 4a45763de67..608a8a5207b 100644 --- a/termstore/groups_item_sets_item_relations_relation_item_request_builder.go +++ b/termstore/groups_item_sets_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GroupsItemSetsItemRelationsRelationItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. @@ -142,7 +142,7 @@ func (m *GroupsItemSetsItemRelationsRelationItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *GroupsItemSetsItemRelationsRelationItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_relations_request_builder.go b/termstore/groups_item_sets_item_relations_request_builder.go index a6e4a2ddbe0..99b0c9284f4 100644 --- a/termstore/groups_item_sets_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_relations_request_builder.go @@ -128,7 +128,7 @@ func (m *GroupsItemSetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -141,7 +141,7 @@ func (m *GroupsItemSetsItemRelationsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 303291aac9c..f76d280371f 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go index 82385cd3caf..6397e09fc92 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 83a32b822ef..1d215662a7e 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 0c27048038e..f53893af955 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRelationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_terms_item_children_item_relations_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_relations_request_builder.go index 1c56f877560..601d521c23c 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemRelationsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_terms_item_children_item_set_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_item_set_request_builder.go index d7c33a3bc68..dcbe24f56bc 100644 --- a/termstore/groups_item_sets_item_terms_item_children_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenItemSetRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_terms_item_children_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_request_builder.go index 12e7d9d888d..448d33cdfe9 100644 --- a/termstore/groups_item_sets_item_terms_item_children_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for termStore @@ -138,7 +138,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_terms_item_children_term_item_request_builder.go b/termstore/groups_item_sets_item_terms_item_children_term_item_request_builder.go index 0017b4e5906..fa8c7a75d41 100644 --- a/termstore/groups_item_sets_item_terms_item_children_term_item_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in termStore @@ -155,7 +155,7 @@ func (m *GroupsItemSetsItemTermsItemChildrenTermItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go index 7e872a52a49..70e303f5e2c 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsItemFromTermRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_terms_item_relations_item_set_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_item_set_request_builder.go index 831d8f2d952..c5c73894a54 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsItemSetRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go index 8a30170ace6..fab7485413e 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsItemToTermRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_terms_item_relations_relation_item_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_relation_item_request_builder.go index 76b13d26833..de6643c3862 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsRelationItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_terms_item_relations_request_builder.go b/termstore/groups_item_sets_item_terms_item_relations_request_builder.go index 4f106db3845..8d001f212ba 100644 --- a/termstore/groups_item_sets_item_terms_item_relations_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *GroupsItemSetsItemTermsItemRelationsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_terms_item_set_request_builder.go b/termstore/groups_item_sets_item_terms_item_set_request_builder.go index 5f0dc927516..eaf2c8596e8 100644 --- a/termstore/groups_item_sets_item_terms_item_set_request_builder.go +++ b/termstore/groups_item_sets_item_terms_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *GroupsItemSetsItemTermsItemSetRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/groups_item_sets_item_terms_request_builder.go b/termstore/groups_item_sets_item_terms_request_builder.go index eb09b1b9de3..2b9e4a8177c 100644 --- a/termstore/groups_item_sets_item_terms_request_builder.go +++ b/termstore/groups_item_sets_item_terms_request_builder.go @@ -125,7 +125,7 @@ func (m *GroupsItemSetsItemTermsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to terms for termStore @@ -138,7 +138,7 @@ func (m *GroupsItemSetsItemTermsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_item_terms_term_item_request_builder.go b/termstore/groups_item_sets_item_terms_term_item_request_builder.go index f653dd22286..9fd4c500f2a 100644 --- a/termstore/groups_item_sets_item_terms_term_item_request_builder.go +++ b/termstore/groups_item_sets_item_terms_term_item_request_builder.go @@ -139,7 +139,7 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a term object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *GroupsItemSetsItemTermsTermItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_request_builder.go b/termstore/groups_item_sets_request_builder.go index 7d389fd12bd..d740d46ba6d 100644 --- a/termstore/groups_item_sets_request_builder.go +++ b/termstore/groups_item_sets_request_builder.go @@ -128,7 +128,7 @@ func (m *GroupsItemSetsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sets for termStore @@ -141,7 +141,7 @@ func (m *GroupsItemSetsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_item_sets_set_item_request_builder.go b/termstore/groups_item_sets_set_item_request_builder.go index f911bedbb9a..27bc1a2f74f 100644 --- a/termstore/groups_item_sets_set_item_request_builder.go +++ b/termstore/groups_item_sets_set_item_request_builder.go @@ -134,7 +134,7 @@ func (m *GroupsItemSetsSetItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation all sets under the group in a term [store]. @@ -150,7 +150,7 @@ func (m *GroupsItemSetsSetItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sets in termStore @@ -163,7 +163,7 @@ func (m *GroupsItemSetsSetItemRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/groups_request_builder.go b/termstore/groups_request_builder.go index c541e2ecb46..d8939fb15f0 100644 --- a/termstore/groups_request_builder.go +++ b/termstore/groups_request_builder.go @@ -131,7 +131,7 @@ func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new group object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, bod requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_children_item_children_item_relations_item_from_term_request_builder.go index ba046731614..9cae230ce90 100644 --- a/termstore/sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsItemFromTermRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_children_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_children_item_children_item_relations_item_set_request_builder.go index 32fc6e18384..73455df6f6f 100644 --- a/termstore/sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsItemSetRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_children_item_children_item_relations_item_to_term_request_builder.go index 193a3b77c50..3d884cfc318 100644 --- a/termstore/sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsItemToTermRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_children_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_children_item_children_item_relations_relation_item_request_builder.go index d5d68338e3f..014080d9812 100644 --- a/termstore/sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsRelationItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_children_item_children_item_relations_request_builder.go b/termstore/sets_item_children_item_children_item_relations_request_builder.go index bf71778ac03..4554557020a 100644 --- a/termstore/sets_item_children_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_children_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *SetsItemChildrenItemChildrenItemRelationsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_children_item_children_item_set_request_builder.go b/termstore/sets_item_children_item_children_item_set_request_builder.go index 73159cacbc6..66dcdbcff41 100644 --- a/termstore/sets_item_children_item_children_item_set_request_builder.go +++ b/termstore/sets_item_children_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemChildrenItemChildrenItemSetRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_children_item_children_request_builder.go b/termstore/sets_item_children_item_children_request_builder.go index 9684d072aca..d4798b09c91 100644 --- a/termstore/sets_item_children_item_children_request_builder.go +++ b/termstore/sets_item_children_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemChildrenItemChildrenRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for termStore @@ -138,7 +138,7 @@ func (m *SetsItemChildrenItemChildrenRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_children_item_children_term_item_request_builder.go b/termstore/sets_item_children_item_children_term_item_request_builder.go index 0a4a7365e76..16d728c8a89 100644 --- a/termstore/sets_item_children_item_children_term_item_request_builder.go +++ b/termstore/sets_item_children_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemChildrenItemChildrenTermItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *SetsItemChildrenItemChildrenTermItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in termStore @@ -155,7 +155,7 @@ func (m *SetsItemChildrenItemChildrenTermItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_children_item_relations_item_from_term_request_builder.go index 1ac8fb20b0a..a564dd52fe0 100644 --- a/termstore/sets_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemChildrenItemRelationsItemFromTermRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_children_item_relations_item_set_request_builder.go index 22956b7e384..a50055bccb9 100644 --- a/termstore/sets_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemChildrenItemRelationsItemSetRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_children_item_relations_item_to_term_request_builder.go index 47a6d053130..1ee5b6230ff 100644 --- a/termstore/sets_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemChildrenItemRelationsItemToTermRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_children_item_relations_relation_item_request_builder.go index bc615805ccd..f22ec37e6e7 100644 --- a/termstore/sets_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemChildrenItemRelationsRelationItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *SetsItemChildrenItemRelationsRelationItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *SetsItemChildrenItemRelationsRelationItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_children_item_relations_request_builder.go b/termstore/sets_item_children_item_relations_request_builder.go index 41ac2955450..4d2bdc2c8aa 100644 --- a/termstore/sets_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemChildrenItemRelationsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *SetsItemChildrenItemRelationsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_children_item_set_request_builder.go b/termstore/sets_item_children_item_set_request_builder.go index a66517c69d3..b767df06e39 100644 --- a/termstore/sets_item_children_item_set_request_builder.go +++ b/termstore/sets_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemChildrenItemSetRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_children_request_builder.go b/termstore/sets_item_children_request_builder.go index 5381574c5db..23a78974888 100644 --- a/termstore/sets_item_children_request_builder.go +++ b/termstore/sets_item_children_request_builder.go @@ -131,7 +131,7 @@ func (m *SetsItemChildrenRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new term object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *SetsItemChildrenRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_children_term_item_request_builder.go b/termstore/sets_item_children_term_item_request_builder.go index 1a9ad5b56a2..6df494be351 100644 --- a/termstore/sets_item_children_term_item_request_builder.go +++ b/termstore/sets_item_children_term_item_request_builder.go @@ -130,7 +130,7 @@ func (m *SetsItemChildrenTermItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children terms of set in term [store]. @@ -146,7 +146,7 @@ func (m *SetsItemChildrenTermItemRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in termStore @@ -159,7 +159,7 @@ func (m *SetsItemChildrenTermItemRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_request_builder.go b/termstore/sets_item_parent_group_request_builder.go index dd90cc09680..1bd501c0a44 100644 --- a/termstore/sets_item_parent_group_request_builder.go +++ b/termstore/sets_item_parent_group_request_builder.go @@ -122,7 +122,7 @@ func (m *SetsItemParentGroupRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the parent [group] that contains the set. @@ -138,7 +138,7 @@ func (m *SetsItemParentGroupRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property parentGroup in termStore @@ -151,7 +151,7 @@ func (m *SetsItemParentGroupRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go index 97243ec4c99..26eebe780d3 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemFromTer requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go index 8ff78d70073..6afc64abf37 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemSetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go index f82170f51c7..b6d3c21a3e7 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsItemToTermR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go index 8fe80eacfed..2ac86d43f13 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRelationIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go index b1525ca5b3d..905efb2c7c5 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemRelationsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go index c7c0490f839..01358d810b9 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenItemSetRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_request_builder.go index 69701548c4d..e348fba3394 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for termStore @@ -138,7 +138,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go index 8e529b00e58..5c1418cd3ec 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in termStore @@ -155,7 +155,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemChildrenTermItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go index c8e6bb9015d..5d889d256b8 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsItemFromTermRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go index 42ed99d9eb5..1c7fa661cdf 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsItemSetRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go index 07068b012b9..1e10d24b3f8 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsItemToTermRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go index 7b0f055855c..71ea3b55721 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRelationItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_children_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_relations_request_builder.go index 774e42c3e38..7fd43d6f401 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemRelationsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_children_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_item_set_request_builder.go index 2318070009b..b132dd8d133 100644 --- a/termstore/sets_item_parent_group_sets_item_children_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemChildrenItemSetRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_children_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_request_builder.go index c9e5c690db3..02e26b8e45f 100644 --- a/termstore/sets_item_parent_group_sets_item_children_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_request_builder.go @@ -131,7 +131,7 @@ func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new term object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *SetsItemParentGroupSetsItemChildrenRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_children_term_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_children_term_item_request_builder.go index 9cbd72915cb..55a7ade5674 100644 --- a/termstore/sets_item_parent_group_sets_item_children_term_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_children_term_item_request_builder.go @@ -130,7 +130,7 @@ func (m *SetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children terms of set in term [store]. @@ -146,7 +146,7 @@ func (m *SetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in termStore @@ -159,7 +159,7 @@ func (m *SetsItemParentGroupSetsItemChildrenTermItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go index 9964939bd20..60b23477ae2 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemRelationsItemFromTermRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_relations_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_item_set_request_builder.go index 1f21460837f..f6af165a7cf 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemRelationsItemSetRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go index f56210907f6..fd2f0a03042 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemRelationsItemToTermRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_relations_relation_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_relation_item_request_builder.go index 145d72a7bfa..e542b819295 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. @@ -142,7 +142,7 @@ func (m *SetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *SetsItemParentGroupSetsItemRelationsRelationItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_relations_request_builder.go index bd4f8bfaf9e..b0c420695e0 100644 --- a/termstore/sets_item_parent_group_sets_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_relations_request_builder.go @@ -128,7 +128,7 @@ func (m *SetsItemParentGroupSetsItemRelationsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -141,7 +141,7 @@ func (m *SetsItemParentGroupSetsItemRelationsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 50cc3647802..0b6f35497bf 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemFromTermRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go index f9e8b9f7516..c2f846553ab 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemSetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 8399a21a9c2..739c9928568 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsItemToTermRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 365ead341eb..8cb97e4a7ae 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRelationItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go index 35f1f6e1da2..92968a6340e 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemRelationsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go index c8fc7ac2257..4184e6cd0ef 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenItemSetRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_request_builder.go index 324b5f09aed..52bf18b588e 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for termStore @@ -138,7 +138,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go index 8b4c443acfb..e99e08dc3b0 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in termStore @@ -155,7 +155,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemChildrenTermItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go index d83e4bd873e..73b01602125 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsItemFromTermRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go index 05dc1c88441..0beca6685da 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsItemSetRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go index 7e50bfa991b..a7bdcb25d25 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsItemToTermRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go index b523fe80d90..6fd2edd367a 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsRelationItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_relations_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_relations_request_builder.go index 2bff9adf2c4..ae13b6d179a 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_relations_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemRelationsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_terms_item_set_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_item_set_request_builder.go index ec46ecc2560..27e972d869a 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_item_set_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemParentGroupSetsItemTermsItemSetRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_parent_group_sets_item_terms_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_request_builder.go index 2e4adb95a14..3259caab2af 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemParentGroupSetsItemTermsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to terms for termStore @@ -138,7 +138,7 @@ func (m *SetsItemParentGroupSetsItemTermsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go b/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go index e56ebcc0eaa..360a9efb06b 100644 --- a/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_item_terms_term_item_request_builder.go @@ -139,7 +139,7 @@ func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a term object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *SetsItemParentGroupSetsItemTermsTermItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_request_builder.go b/termstore/sets_item_parent_group_sets_request_builder.go index 408025d4f6b..c8cacc556f7 100644 --- a/termstore/sets_item_parent_group_sets_request_builder.go +++ b/termstore/sets_item_parent_group_sets_request_builder.go @@ -128,7 +128,7 @@ func (m *SetsItemParentGroupSetsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sets for termStore @@ -141,7 +141,7 @@ func (m *SetsItemParentGroupSetsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_parent_group_sets_set_item_request_builder.go b/termstore/sets_item_parent_group_sets_set_item_request_builder.go index 4001d1b0bc4..df370f921fd 100644 --- a/termstore/sets_item_parent_group_sets_set_item_request_builder.go +++ b/termstore/sets_item_parent_group_sets_set_item_request_builder.go @@ -130,7 +130,7 @@ func (m *SetsItemParentGroupSetsSetItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation all sets under the group in a term [store]. @@ -146,7 +146,7 @@ func (m *SetsItemParentGroupSetsSetItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sets in termStore @@ -159,7 +159,7 @@ func (m *SetsItemParentGroupSetsSetItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_relations_item_from_term_request_builder.go b/termstore/sets_item_relations_item_from_term_request_builder.go index df12dca9d1d..3b30ed05d1d 100644 --- a/termstore/sets_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemRelationsItemFromTermRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_relations_item_set_request_builder.go b/termstore/sets_item_relations_item_set_request_builder.go index a2a5023dcef..e0025726c1e 100644 --- a/termstore/sets_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemRelationsItemSetRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_relations_item_to_term_request_builder.go b/termstore/sets_item_relations_item_to_term_request_builder.go index 76c6363fb8d..e877d073b12 100644 --- a/termstore/sets_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemRelationsItemToTermRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_relations_relation_item_request_builder.go b/termstore/sets_item_relations_relation_item_request_builder.go index 60750df21e3..2b81baa1895 100644 --- a/termstore/sets_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemRelationsRelationItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation indicates which terms have been pinned or reused directly under the set. @@ -142,7 +142,7 @@ func (m *SetsItemRelationsRelationItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *SetsItemRelationsRelationItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_relations_request_builder.go b/termstore/sets_item_relations_request_builder.go index f42bef5ac86..1aa4c84d3d3 100644 --- a/termstore/sets_item_relations_request_builder.go +++ b/termstore/sets_item_relations_request_builder.go @@ -128,7 +128,7 @@ func (m *SetsItemRelationsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -141,7 +141,7 @@ func (m *SetsItemRelationsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_terms_item_children_item_relations_item_from_term_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_item_from_term_request_builder.go index 76082dbe850..d174800c4f3 100644 --- a/termstore/sets_item_terms_item_children_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsItemFromTermRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_terms_item_children_item_relations_item_set_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_item_set_request_builder.go index 75401d1a544..17ea724bbb0 100644 --- a/termstore/sets_item_terms_item_children_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsItemSetRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_terms_item_children_item_relations_item_to_term_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_item_to_term_request_builder.go index 11da894d508..7da86c35550 100644 --- a/termstore/sets_item_terms_item_children_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsItemToTermRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_terms_item_children_item_relations_relation_item_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_relation_item_request_builder.go index 2592a2ec714..79c77fd0f46 100644 --- a/termstore/sets_item_terms_item_children_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsRelationItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_terms_item_children_item_relations_request_builder.go b/termstore/sets_item_terms_item_children_item_relations_request_builder.go index 5e1f3373ef3..fdc84d70a5c 100644 --- a/termstore/sets_item_terms_item_children_item_relations_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *SetsItemTermsItemChildrenItemRelationsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_terms_item_children_item_set_request_builder.go b/termstore/sets_item_terms_item_children_item_set_request_builder.go index 0d2ca73e6be..773be0542ba 100644 --- a/termstore/sets_item_terms_item_children_item_set_request_builder.go +++ b/termstore/sets_item_terms_item_children_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemTermsItemChildrenItemSetRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_terms_item_children_request_builder.go b/termstore/sets_item_terms_item_children_request_builder.go index 91bea54c576..2ba9189560f 100644 --- a/termstore/sets_item_terms_item_children_request_builder.go +++ b/termstore/sets_item_terms_item_children_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemTermsItemChildrenRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to children for termStore @@ -138,7 +138,7 @@ func (m *SetsItemTermsItemChildrenRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_terms_item_children_term_item_request_builder.go b/termstore/sets_item_terms_item_children_term_item_request_builder.go index d69b41c185f..0629e8ab5f8 100644 --- a/termstore/sets_item_terms_item_children_term_item_request_builder.go +++ b/termstore/sets_item_terms_item_children_term_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemTermsItemChildrenTermItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation children of current term. @@ -142,7 +142,7 @@ func (m *SetsItemTermsItemChildrenTermItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property children in termStore @@ -155,7 +155,7 @@ func (m *SetsItemTermsItemChildrenTermItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_terms_item_relations_item_from_term_request_builder.go b/termstore/sets_item_terms_item_relations_item_from_term_request_builder.go index c61b38840c9..fbd2a424afd 100644 --- a/termstore/sets_item_terms_item_relations_item_from_term_request_builder.go +++ b/termstore/sets_item_terms_item_relations_item_from_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemTermsItemRelationsItemFromTermRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_terms_item_relations_item_set_request_builder.go b/termstore/sets_item_terms_item_relations_item_set_request_builder.go index 7412ba3783e..960ba52289b 100644 --- a/termstore/sets_item_terms_item_relations_item_set_request_builder.go +++ b/termstore/sets_item_terms_item_relations_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemTermsItemRelationsItemSetRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_terms_item_relations_item_to_term_request_builder.go b/termstore/sets_item_terms_item_relations_item_to_term_request_builder.go index 6c1ecac3bb7..d983891da4b 100644 --- a/termstore/sets_item_terms_item_relations_item_to_term_request_builder.go +++ b/termstore/sets_item_terms_item_relations_item_to_term_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemTermsItemRelationsItemToTermRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_terms_item_relations_relation_item_request_builder.go b/termstore/sets_item_terms_item_relations_relation_item_request_builder.go index 7f18d7c829d..44db77132e3 100644 --- a/termstore/sets_item_terms_item_relations_relation_item_request_builder.go +++ b/termstore/sets_item_terms_item_relations_relation_item_request_builder.go @@ -126,7 +126,7 @@ func (m *SetsItemTermsItemRelationsRelationItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation to indicate which terms are related to the current term as either pinned or reused. @@ -142,7 +142,7 @@ func (m *SetsItemTermsItemRelationsRelationItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property relations in termStore @@ -155,7 +155,7 @@ func (m *SetsItemTermsItemRelationsRelationItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_terms_item_relations_request_builder.go b/termstore/sets_item_terms_item_relations_request_builder.go index 03b6cc6df00..3fc370f9767 100644 --- a/termstore/sets_item_terms_item_relations_request_builder.go +++ b/termstore/sets_item_terms_item_relations_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemTermsItemRelationsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to relations for termStore @@ -138,7 +138,7 @@ func (m *SetsItemTermsItemRelationsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_terms_item_set_request_builder.go b/termstore/sets_item_terms_item_set_request_builder.go index 6421b6a5a6e..1f6408245e8 100644 --- a/termstore/sets_item_terms_item_set_request_builder.go +++ b/termstore/sets_item_terms_item_set_request_builder.go @@ -72,7 +72,7 @@ func (m *SetsItemTermsItemSetRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/termstore/sets_item_terms_request_builder.go b/termstore/sets_item_terms_request_builder.go index 1494daa0c69..db3cd8e7eb1 100644 --- a/termstore/sets_item_terms_request_builder.go +++ b/termstore/sets_item_terms_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsItemTermsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to terms for termStore @@ -138,7 +138,7 @@ func (m *SetsItemTermsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_item_terms_term_item_request_builder.go b/termstore/sets_item_terms_term_item_request_builder.go index 482afddb197..d00578d1cd8 100644 --- a/termstore/sets_item_terms_term_item_request_builder.go +++ b/termstore/sets_item_terms_term_item_request_builder.go @@ -139,7 +139,7 @@ func (m *SetsItemTermsTermItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a term object. This API is available in the following national cloud deployments. @@ -155,7 +155,7 @@ func (m *SetsItemTermsTermItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a term object. This API is available in the following national cloud deployments. @@ -168,7 +168,7 @@ func (m *SetsItemTermsTermItemRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_request_builder.go b/termstore/sets_request_builder.go index e5c711ec0b6..07f2001d121 100644 --- a/termstore/sets_request_builder.go +++ b/termstore/sets_request_builder.go @@ -125,7 +125,7 @@ func (m *SetsRequestBuilder) ToGetRequestInformation(ctx context.Context, reques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sets for termStore @@ -138,7 +138,7 @@ func (m *SetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/sets_set_item_request_builder.go b/termstore/sets_set_item_request_builder.go index 5121261f249..5b5683cbb5a 100644 --- a/termstore/sets_set_item_request_builder.go +++ b/termstore/sets_set_item_request_builder.go @@ -143,7 +143,7 @@ func (m *SetsSetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a set object. This API is available in the following national cloud deployments. @@ -159,7 +159,7 @@ func (m *SetsSetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a set object. This API is available in the following national cloud deployments. @@ -172,7 +172,7 @@ func (m *SetsSetItemRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/termstore/term_store_request_builder.go b/termstore/term_store_request_builder.go index 21449f5bf75..32b3832d7d7 100644 --- a/termstore/term_store_request_builder.go +++ b/termstore/term_store_request_builder.go @@ -112,7 +112,7 @@ func (m *TermStoreRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a store object. This API is available in the following national cloud deployments. @@ -125,7 +125,7 @@ func (m *TermStoreRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go b/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go index eefc37f8ff3..20262ec67f9 100644 --- a/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go +++ b/threatsubmission/email_threat_submission_policies_email_threat_submission_policy_item_request_builder.go @@ -121,7 +121,7 @@ func (m *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an emailThreatSubmissionPolicy object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property emailThreatSubmissionPolicies in threatSubmission @@ -150,7 +150,7 @@ func (m *EmailThreatSubmissionPoliciesEmailThreatSubmissionPolicyItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/threatsubmission/email_threat_submission_policies_request_builder.go b/threatsubmission/email_threat_submission_policies_request_builder.go index 9fd59d4da0d..8721be0ee34 100644 --- a/threatsubmission/email_threat_submission_policies_request_builder.go +++ b/threatsubmission/email_threat_submission_policies_request_builder.go @@ -128,7 +128,7 @@ func (m *EmailThreatSubmissionPoliciesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to emailThreatSubmissionPolicies for threatSubmission @@ -141,7 +141,7 @@ func (m *EmailThreatSubmissionPoliciesRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/threatsubmission/email_threats_email_threat_submission_item_request_builder.go b/threatsubmission/email_threats_email_threat_submission_item_request_builder.go index 14bc2cfc7ef..f7c00501a20 100644 --- a/threatsubmission/email_threats_email_threat_submission_item_request_builder.go +++ b/threatsubmission/email_threats_email_threat_submission_item_request_builder.go @@ -121,7 +121,7 @@ func (m *EmailThreatsEmailThreatSubmissionItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an emailThreatSubmission object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *EmailThreatsEmailThreatSubmissionItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property emailThreats in threatSubmission @@ -150,7 +150,7 @@ func (m *EmailThreatsEmailThreatSubmissionItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/threatsubmission/email_threats_request_builder.go b/threatsubmission/email_threats_request_builder.go index 920def15211..7166a0f8e06 100644 --- a/threatsubmission/email_threats_request_builder.go +++ b/threatsubmission/email_threats_request_builder.go @@ -131,7 +131,7 @@ func (m *EmailThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new emailThreatSubmission object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *EmailThreatsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/threatsubmission/file_threats_file_threat_submission_item_request_builder.go b/threatsubmission/file_threats_file_threat_submission_item_request_builder.go index a1f3ddb1a73..d06c4de5317 100644 --- a/threatsubmission/file_threats_file_threat_submission_item_request_builder.go +++ b/threatsubmission/file_threats_file_threat_submission_item_request_builder.go @@ -121,7 +121,7 @@ func (m *FileThreatsFileThreatSubmissionItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a fileThreatSubmission object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *FileThreatsFileThreatSubmissionItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property fileThreats in threatSubmission @@ -150,7 +150,7 @@ func (m *FileThreatsFileThreatSubmissionItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/threatsubmission/file_threats_request_builder.go b/threatsubmission/file_threats_request_builder.go index eb00ceee7a4..6aef21dd204 100644 --- a/threatsubmission/file_threats_request_builder.go +++ b/threatsubmission/file_threats_request_builder.go @@ -128,7 +128,7 @@ func (m *FileThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to fileThreats for threatSubmission @@ -141,7 +141,7 @@ func (m *FileThreatsRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/threatsubmission/threat_submission_request_builder.go b/threatsubmission/threat_submission_request_builder.go index a5d6a4b1e07..41bb73fcaed 100644 --- a/threatsubmission/threat_submission_request_builder.go +++ b/threatsubmission/threat_submission_request_builder.go @@ -110,7 +110,7 @@ func (m *ThreatSubmissionRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update threatSubmission @@ -123,7 +123,7 @@ func (m *ThreatSubmissionRequestBuilder) ToPatchRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/threatsubmission/url_threats_request_builder.go b/threatsubmission/url_threats_request_builder.go index 1bf85ea69b0..ba65f188d1a 100644 --- a/threatsubmission/url_threats_request_builder.go +++ b/threatsubmission/url_threats_request_builder.go @@ -131,7 +131,7 @@ func (m *UrlThreatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new urlThreatSubmission object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *UrlThreatsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/threatsubmission/url_threats_url_threat_submission_item_request_builder.go b/threatsubmission/url_threats_url_threat_submission_item_request_builder.go index 9cf810d7165..09226870583 100644 --- a/threatsubmission/url_threats_url_threat_submission_item_request_builder.go +++ b/threatsubmission/url_threats_url_threat_submission_item_request_builder.go @@ -121,7 +121,7 @@ func (m *UrlThreatsUrlThreatSubmissionItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an urlThreatSubmission object. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *UrlThreatsUrlThreatSubmissionItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property urlThreats in threatSubmission @@ -150,7 +150,7 @@ func (m *UrlThreatsUrlThreatSubmissionItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/trustframework/key_sets_item_generate_key_request_builder.go b/trustframework/key_sets_item_generate_key_request_builder.go index b8ae8c11d18..17e867013cb 100644 --- a/trustframework/key_sets_item_generate_key_request_builder.go +++ b/trustframework/key_sets_item_generate_key_request_builder.go @@ -63,7 +63,7 @@ func (m *KeySetsItemGenerateKeyRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/trustframework/key_sets_item_get_active_key_request_builder.go b/trustframework/key_sets_item_get_active_key_request_builder.go index 87b21744d02..a16d2fc83f1 100644 --- a/trustframework/key_sets_item_get_active_key_request_builder.go +++ b/trustframework/key_sets_item_get_active_key_request_builder.go @@ -60,7 +60,7 @@ func (m *KeySetsItemGetActiveKeyRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/trustframework/key_sets_item_upload_certificate_request_builder.go b/trustframework/key_sets_item_upload_certificate_request_builder.go index f924168ac1c..bcfed4f7841 100644 --- a/trustframework/key_sets_item_upload_certificate_request_builder.go +++ b/trustframework/key_sets_item_upload_certificate_request_builder.go @@ -63,7 +63,7 @@ func (m *KeySetsItemUploadCertificateRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/trustframework/key_sets_item_upload_pkcs12_request_builder.go b/trustframework/key_sets_item_upload_pkcs12_request_builder.go index b064fe29995..27193ec89ca 100644 --- a/trustframework/key_sets_item_upload_pkcs12_request_builder.go +++ b/trustframework/key_sets_item_upload_pkcs12_request_builder.go @@ -63,7 +63,7 @@ func (m *KeySetsItemUploadPkcs12RequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/trustframework/key_sets_item_upload_secret_request_builder.go b/trustframework/key_sets_item_upload_secret_request_builder.go index 8f3b8933e93..cc3fc28bb11 100644 --- a/trustframework/key_sets_item_upload_secret_request_builder.go +++ b/trustframework/key_sets_item_upload_secret_request_builder.go @@ -63,7 +63,7 @@ func (m *KeySetsItemUploadSecretRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/trustframework/key_sets_request_builder.go b/trustframework/key_sets_request_builder.go index 59df1bdaf1d..2b6193f5495 100644 --- a/trustframework/key_sets_request_builder.go +++ b/trustframework/key_sets_request_builder.go @@ -131,7 +131,7 @@ func (m *KeySetsRequestBuilder) ToGetRequestInformation(ctx context.Context, req requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *KeySetsRequestBuilder) ToPostRequestInformation(ctx context.Context, bo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/trustframework/key_sets_trust_framework_key_set_item_request_builder.go b/trustframework/key_sets_trust_framework_key_set_item_request_builder.go index 381382e4a2d..634a9e6cf19 100644 --- a/trustframework/key_sets_trust_framework_key_set_item_request_builder.go +++ b/trustframework/key_sets_trust_framework_key_set_item_request_builder.go @@ -135,7 +135,7 @@ func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and associations for a Trustframeworkkeyset. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a trustFrameworkKeyset. This operation will replace the content of an existing keyset. Specifying the ID in the request payload is optional. @@ -164,7 +164,7 @@ func (m *KeySetsTrustFrameworkKeySetItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/trustframework/policies_item_value_content_request_builder.go b/trustframework/policies_item_value_content_request_builder.go index cebbcbc14e1..1d8b8872777 100644 --- a/trustframework/policies_item_value_content_request_builder.go +++ b/trustframework/policies_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *PoliciesItemValueContentRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property policies in trustFramework @@ -101,7 +101,7 @@ func (m *PoliciesItemValueContentRequestBuilder) ToPutRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/trustframework/policies_request_builder.go b/trustframework/policies_request_builder.go index fb0b58fb789..c2b14d24ab5 100644 --- a/trustframework/policies_request_builder.go +++ b/trustframework/policies_request_builder.go @@ -128,7 +128,7 @@ func (m *PoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to policies for trustFramework @@ -141,7 +141,7 @@ func (m *PoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/trustframework/policies_trust_framework_policy_item_request_builder.go b/trustframework/policies_trust_framework_policy_item_request_builder.go index 6c6740378f5..1b7781e6542 100644 --- a/trustframework/policies_trust_framework_policy_item_request_builder.go +++ b/trustframework/policies_trust_framework_policy_item_request_builder.go @@ -125,7 +125,7 @@ func (m *PoliciesTrustFrameworkPolicyItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get policies from trustFramework @@ -141,7 +141,7 @@ func (m *PoliciesTrustFrameworkPolicyItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policies in trustFramework @@ -154,7 +154,7 @@ func (m *PoliciesTrustFrameworkPolicyItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/trustframework/trust_framework_request_builder.go b/trustframework/trust_framework_request_builder.go index 5dc0f2c4427..81a0e52545c 100644 --- a/trustframework/trust_framework_request_builder.go +++ b/trustframework/trust_framework_request_builder.go @@ -106,7 +106,7 @@ func (m *TrustFrameworkRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update trustFramework @@ -119,7 +119,7 @@ func (m *TrustFrameworkRequestBuilder) ToPatchRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/delta_request_builder.go b/users/delta_request_builder.go index 1d476af29f7..02104d52fe3 100644 --- a/users/delta_request_builder.go +++ b/users/delta_request_builder.go @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/get_by_ids_request_builder.go b/users/get_by_ids_request_builder.go index df92a876977..928a7a87b20 100644 --- a/users/get_by_ids_request_builder.go +++ b/users/get_by_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *GetByIdsRequestBuilder) ToPostRequestInformation(ctx context.Context, b requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/get_managed_app_blocked_users_request_builder.go b/users/get_managed_app_blocked_users_request_builder.go index 4fa9dcefa17..521e4997db8 100644 --- a/users/get_managed_app_blocked_users_request_builder.go +++ b/users/get_managed_app_blocked_users_request_builder.go @@ -97,7 +97,7 @@ func (m *GetManagedAppBlockedUsersRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/get_user_owned_objects_request_builder.go b/users/get_user_owned_objects_request_builder.go index 8cd492f4294..a009a9cda60 100644 --- a/users/get_user_owned_objects_request_builder.go +++ b/users/get_user_owned_objects_request_builder.go @@ -63,7 +63,7 @@ func (m *GetUserOwnedObjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_activities_item_history_items_activity_history_item_item_request_builder.go b/users/item_activities_item_history_items_activity_history_item_item_request_builder.go index 493591609e9..90981fac755 100644 --- a/users/item_activities_item_history_items_activity_history_item_item_request_builder.go +++ b/users/item_activities_item_history_items_activity_history_item_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation optional. NavigationProperty/Containment; navigation property to the activity's historyItems. @@ -141,7 +141,7 @@ func (m *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation delete an existing history item for an existing user activity. This API is available in the following national cloud deployments. @@ -154,7 +154,7 @@ func (m *ItemActivitiesItemHistoryItemsActivityHistoryItemItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_activities_item_history_items_item_activity_request_builder.go b/users/item_activities_item_history_items_item_activity_request_builder.go index da7251965b9..52a802bbef1 100644 --- a/users/item_activities_item_history_items_item_activity_request_builder.go +++ b/users/item_activities_item_history_items_item_activity_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemActivitiesItemHistoryItemsItemActivityRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_activities_item_history_items_request_builder.go b/users/item_activities_item_history_items_request_builder.go index 294309696b5..9062f870f3e 100644 --- a/users/item_activities_item_history_items_request_builder.go +++ b/users/item_activities_item_history_items_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemActivitiesItemHistoryItemsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to historyItems for users @@ -138,7 +138,7 @@ func (m *ItemActivitiesItemHistoryItemsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_activities_recent_request_builder.go b/users/item_activities_recent_request_builder.go index 765048b4c49..94051c463e1 100644 --- a/users/item_activities_recent_request_builder.go +++ b/users/item_activities_recent_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemActivitiesRecentRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_activities_request_builder.go b/users/item_activities_request_builder.go index f272e334dd7..a33256587ed 100644 --- a/users/item_activities_request_builder.go +++ b/users/item_activities_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemActivitiesRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activities for users @@ -142,7 +142,7 @@ func (m *ItemActivitiesRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_activities_user_activity_item_request_builder.go b/users/item_activities_user_activity_item_request_builder.go index 0172e421ae0..415f8423020 100644 --- a/users/item_activities_user_activity_item_request_builder.go +++ b/users/item_activities_user_activity_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemActivitiesUserActivityItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user's activities across devices. Read-only. Nullable. @@ -141,7 +141,7 @@ func (m *ItemActivitiesUserActivityItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activities in users @@ -154,7 +154,7 @@ func (m *ItemActivitiesUserActivityItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_agreement_acceptances_agreement_acceptance_item_request_builder.go b/users/item_agreement_acceptances_agreement_acceptance_item_request_builder.go index 0d06db26f3f..fe5106d52f6 100644 --- a/users/item_agreement_acceptances_agreement_acceptance_item_request_builder.go +++ b/users/item_agreement_acceptances_agreement_acceptance_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemAgreementAcceptancesAgreementAcceptanceItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_agreement_acceptances_request_builder.go b/users/item_agreement_acceptances_request_builder.go index cef73d50cab..cc7909e235e 100644 --- a/users/item_agreement_acceptances_request_builder.go +++ b/users/item_agreement_acceptances_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAgreementAcceptancesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_analytics_activity_statistics_activity_statistics_item_request_builder.go b/users/item_analytics_activity_statistics_activity_statistics_item_request_builder.go index 0796cb687c7..febf9e9b566 100644 --- a/users/item_analytics_activity_statistics_activity_statistics_item_request_builder.go +++ b/users/item_analytics_activity_statistics_activity_statistics_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemAnalyticsActivityStatisticsActivityStatisticsItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of work activities that a user spent time on during and outside of working hours. Read-only. Nullable. @@ -134,7 +134,7 @@ func (m *ItemAnalyticsActivityStatisticsActivityStatisticsItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property activityStatistics in users @@ -147,7 +147,7 @@ func (m *ItemAnalyticsActivityStatisticsActivityStatisticsItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_analytics_activity_statistics_request_builder.go b/users/item_analytics_activity_statistics_request_builder.go index 72d3a62d2fa..0bd0cb753eb 100644 --- a/users/item_analytics_activity_statistics_request_builder.go +++ b/users/item_analytics_activity_statistics_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemAnalyticsActivityStatisticsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to activityStatistics for users @@ -138,7 +138,7 @@ func (m *ItemAnalyticsActivityStatisticsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_analytics_request_builder.go b/users/item_analytics_request_builder.go index bf9cc9b5bbf..52178a81f54 100644 --- a/users/item_analytics_request_builder.go +++ b/users/item_analytics_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemAnalyticsRequestBuilder) ToDeleteRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get analytics from users @@ -138,7 +138,7 @@ func (m *ItemAnalyticsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property analytics in users @@ -151,7 +151,7 @@ func (m *ItemAnalyticsRequestBuilder) ToPatchRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_app_consent_requests_for_approval_app_consent_request_item_request_builder.go b/users/item_app_consent_requests_for_approval_app_consent_request_item_request_builder.go index a655b86dd09..af5ab943830 100644 --- a/users/item_app_consent_requests_for_approval_app_consent_request_item_request_builder.go +++ b/users/item_app_consent_requests_for_approval_app_consent_request_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemAppConsentRequestsForApprovalAppConsentRequestItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get appConsentRequestsForApproval from users @@ -134,7 +134,7 @@ func (m *ItemAppConsentRequestsForApprovalAppConsentRequestItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appConsentRequestsForApproval in users @@ -147,7 +147,7 @@ func (m *ItemAppConsentRequestsForApprovalAppConsentRequestItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go b/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go index b0e4f29dc2b..dccced49c92 100644 --- a/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go +++ b/users/item_app_consent_requests_for_approval_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemAppConsentRequestsForApprovalFilterByCurrentUserWithOnRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go index c0b499090cc..04d708429c3 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsFilterByCurrent requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_request_builder.go index 155bc57bcf5..0a95769931e 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation approval decisions associated with a request. @@ -138,7 +138,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property approval in users @@ -151,7 +151,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go index 8be8c2ccb7e..0b152dc59d4 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_approval_step_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go index bac1df8d411..9548d9e82b9 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_item_approval_steps_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to steps for users @@ -141,7 +141,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsItemApprovalSte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go index f955616a356..e798173e6c3 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to userConsentRequests for users @@ -145,7 +145,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go b/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go index a8899d34cab..33ed956cbf5 100644 --- a/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go +++ b/users/item_app_consent_requests_for_approval_item_user_consent_requests_user_consent_request_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property userConsentRequests in users @@ -154,7 +154,7 @@ func (m *ItemAppConsentRequestsForApprovalItemUserConsentRequestsUserConsentRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_app_consent_requests_for_approval_request_builder.go b/users/item_app_consent_requests_for_approval_request_builder.go index 8d94978ddd1..15eeb2e7110 100644 --- a/users/item_app_consent_requests_for_approval_request_builder.go +++ b/users/item_app_consent_requests_for_approval_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemAppConsentRequestsForApprovalRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to appConsentRequestsForApproval for users @@ -142,7 +142,7 @@ func (m *ItemAppConsentRequestsForApprovalRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_app_role_assigned_resources_request_builder.go b/users/item_app_role_assigned_resources_request_builder.go index 35b70dc2a11..3fc8aa9a08a 100644 --- a/users/item_app_role_assigned_resources_request_builder.go +++ b/users/item_app_role_assigned_resources_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAppRoleAssignedResourcesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_app_role_assigned_resources_service_principal_item_request_builder.go b/users/item_app_role_assigned_resources_service_principal_item_request_builder.go index 1da7f3cd569..d780d5e29b1 100644 --- a/users/item_app_role_assigned_resources_service_principal_item_request_builder.go +++ b/users/item_app_role_assigned_resources_service_principal_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemAppRoleAssignedResourcesServicePrincipalItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_app_role_assignments_app_role_assignment_item_request_builder.go b/users/item_app_role_assignments_app_role_assignment_item_request_builder.go index 0f8e4546b53..7a2c6a56023 100644 --- a/users/item_app_role_assignments_app_role_assignment_item_request_builder.go +++ b/users/item_app_role_assignments_app_role_assignment_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the app roles a user has been granted for an application. Supports $expand. @@ -137,7 +137,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appRoleAssignments in users @@ -150,7 +150,7 @@ func (m *ItemAppRoleAssignmentsAppRoleAssignmentItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_app_role_assignments_request_builder.go b/users/item_app_role_assignments_request_builder.go index ba090f9b033..6f910a2d0f9 100644 --- a/users/item_app_role_assignments_request_builder.go +++ b/users/item_app_role_assignments_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemAppRoleAssignmentsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_approvals_approval_item_request_builder.go b/users/item_approvals_approval_item_request_builder.go index 3aa9c4acb8e..dc1c91325f9 100644 --- a/users/item_approvals_approval_item_request_builder.go +++ b/users/item_approvals_approval_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemApprovalsApprovalItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get approvals from users @@ -138,7 +138,7 @@ func (m *ItemApprovalsApprovalItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property approvals in users @@ -151,7 +151,7 @@ func (m *ItemApprovalsApprovalItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_approvals_filter_by_current_user_with_on_request_builder.go b/users/item_approvals_filter_by_current_user_with_on_request_builder.go index 66fed6d18e6..2123b0cacf2 100644 --- a/users/item_approvals_filter_by_current_user_with_on_request_builder.go +++ b/users/item_approvals_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemApprovalsFilterByCurrentUserWithOnRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_approvals_item_steps_approval_step_item_request_builder.go b/users/item_approvals_item_steps_approval_step_item_request_builder.go index 46f5d8e131a..18a63f07eec 100644 --- a/users/item_approvals_item_steps_approval_step_item_request_builder.go +++ b/users/item_approvals_item_steps_approval_step_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemApprovalsItemStepsApprovalStepItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_approvals_item_steps_request_builder.go b/users/item_approvals_item_steps_request_builder.go index 648209d031c..99445c89ff2 100644 --- a/users/item_approvals_item_steps_request_builder.go +++ b/users/item_approvals_item_steps_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemApprovalsItemStepsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to steps for users @@ -141,7 +141,7 @@ func (m *ItemApprovalsItemStepsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_approvals_request_builder.go b/users/item_approvals_request_builder.go index 7164f6c57b8..da90f7e21b5 100644 --- a/users/item_approvals_request_builder.go +++ b/users/item_approvals_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemApprovalsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to approvals for users @@ -142,7 +142,7 @@ func (m *ItemApprovalsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_assign_license_request_builder.go b/users/item_assign_license_request_builder.go index 5e4b973f57e..40c839f66ea 100644 --- a/users/item_assign_license_request_builder.go +++ b/users/item_assign_license_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemAssignLicenseRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go b/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go index 0c5c95ad5c3..cea6c73eb03 100644 --- a/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go +++ b/users/item_authentication_email_methods_email_authentication_method_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a user's single email Authentication Method object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update a user's email address associated with an email Authentication Method object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemAuthenticationEmailMethodsEmailAuthenticationMethodItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_email_methods_request_builder.go b/users/item_authentication_email_methods_request_builder.go index c3902f8d88b..7d17b518797 100644 --- a/users/item_authentication_email_methods_request_builder.go +++ b/users/item_authentication_email_methods_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemAuthenticationEmailMethodsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemAuthenticationEmailMethodsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go b/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go index 37b333d9bd6..6aae09aabea 100644 --- a/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go +++ b/users/item_authentication_fido2_methods_fido2_authentication_method_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a user's single FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. @@ -114,7 +114,7 @@ func (m *ItemAuthenticationFido2MethodsFido2AuthenticationMethodItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_fido2_methods_request_builder.go b/users/item_authentication_fido2_methods_request_builder.go index 6c7a1393f90..d2a22650353 100644 --- a/users/item_authentication_fido2_methods_request_builder.go +++ b/users/item_authentication_fido2_methods_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAuthenticationFido2MethodsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_methods_authentication_method_item_request_builder.go b/users/item_authentication_methods_authentication_method_item_request_builder.go index 8415b77f32e..b695fbe5e38 100644 --- a/users/item_authentication_methods_authentication_method_item_request_builder.go +++ b/users/item_authentication_methods_authentication_method_item_request_builder.go @@ -113,7 +113,7 @@ func (m *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property methods in users @@ -126,7 +126,7 @@ func (m *ItemAuthenticationMethodsAuthenticationMethodItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_methods_item_disable_sms_sign_in_request_builder.go b/users/item_authentication_methods_item_disable_sms_sign_in_request_builder.go index 6fbff7b6d0e..89f378214f8 100644 --- a/users/item_authentication_methods_item_disable_sms_sign_in_request_builder.go +++ b/users/item_authentication_methods_item_disable_sms_sign_in_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemAuthenticationMethodsItemDisableSmsSignInRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_methods_item_enable_sms_sign_in_request_builder.go b/users/item_authentication_methods_item_enable_sms_sign_in_request_builder.go index b4ba963156e..12e4920aaa3 100644 --- a/users/item_authentication_methods_item_enable_sms_sign_in_request_builder.go +++ b/users/item_authentication_methods_item_enable_sms_sign_in_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemAuthenticationMethodsItemEnableSmsSignInRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_methods_item_reset_password_request_builder.go b/users/item_authentication_methods_item_reset_password_request_builder.go index 4ffeeb29a1c..b1697dec316 100644 --- a/users/item_authentication_methods_item_reset_password_request_builder.go +++ b/users/item_authentication_methods_item_reset_password_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemAuthenticationMethodsItemResetPasswordRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_methods_request_builder.go b/users/item_authentication_methods_request_builder.go index 8e7ce9e7786..ea1946d559c 100644 --- a/users/item_authentication_methods_request_builder.go +++ b/users/item_authentication_methods_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemAuthenticationMethodsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to methods for users @@ -141,7 +141,7 @@ func (m *ItemAuthenticationMethodsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_microsoft_authenticator_methods_item_device_request_builder.go b/users/item_authentication_microsoft_authenticator_methods_item_device_request_builder.go index 96e4cc6e3cc..b6c46ee117b 100644 --- a/users/item_authentication_microsoft_authenticator_methods_item_device_request_builder.go +++ b/users/item_authentication_microsoft_authenticator_methods_item_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsItemDeviceRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go b/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go index c30c8ebeaf6..ee1b7e9083c 100644 --- a/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go +++ b/users/item_authentication_microsoft_authenticator_methods_microsoft_authenticator_authentication_method_item_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. @@ -118,7 +118,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsMicrosoftAuthenticatorAu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_microsoft_authenticator_methods_request_builder.go b/users/item_authentication_microsoft_authenticator_methods_request_builder.go index 5503a3118fa..1023c84fccb 100644 --- a/users/item_authentication_microsoft_authenticator_methods_request_builder.go +++ b/users/item_authentication_microsoft_authenticator_methods_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAuthenticationMicrosoftAuthenticatorMethodsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_operations_long_running_operation_item_request_builder.go b/users/item_authentication_operations_long_running_operation_item_request_builder.go index 1a738b890f9..1ea1f74f3c5 100644 --- a/users/item_authentication_operations_long_running_operation_item_request_builder.go +++ b/users/item_authentication_operations_long_running_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in users @@ -150,7 +150,7 @@ func (m *ItemAuthenticationOperationsLongRunningOperationItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_operations_request_builder.go b/users/item_authentication_operations_request_builder.go index 450d4fede90..29e1a9042bc 100644 --- a/users/item_authentication_operations_request_builder.go +++ b/users/item_authentication_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemAuthenticationOperationsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for users @@ -138,7 +138,7 @@ func (m *ItemAuthenticationOperationsRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go b/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go index a8943d5697a..d59ab00896c 100644 --- a/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go +++ b/users/item_authentication_password_methods_password_authentication_method_item_request_builder.go @@ -75,7 +75,7 @@ func (m *ItemAuthenticationPasswordMethodsPasswordAuthenticationMethodItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_password_methods_request_builder.go b/users/item_authentication_password_methods_request_builder.go index 4f1380e391e..53f1a4bba76 100644 --- a/users/item_authentication_password_methods_request_builder.go +++ b/users/item_authentication_password_methods_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemAuthenticationPasswordMethodsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to passwordMethods for users @@ -141,7 +141,7 @@ func (m *ItemAuthenticationPasswordMethodsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_passwordless_microsoft_authenticator_methods_item_device_request_builder.go b/users/item_authentication_passwordless_microsoft_authenticator_methods_item_device_request_builder.go index 79eaaefddfe..467eb18c4d0 100644 --- a/users/item_authentication_passwordless_microsoft_authenticator_methods_item_device_request_builder.go +++ b/users/item_authentication_passwordless_microsoft_authenticator_methods_item_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsItemDeviceRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go b/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go index aab015a96c9..f6cfdd83c69 100644 --- a/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go +++ b/users/item_authentication_passwordless_microsoft_authenticator_methods_passwordless_microsoft_authenticator_authentication_method_item_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordless requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a user's single Microsoft Authenticator Passwordless Phone Sign-in method object. This API is available in the following national cloud deployments. @@ -118,7 +118,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsPasswordless requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go b/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go index 06248382c72..cb6acd8a39c 100644 --- a/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go +++ b/users/item_authentication_passwordless_microsoft_authenticator_methods_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAuthenticationPasswordlessMicrosoftAuthenticatorMethodsRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go b/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go index 49eb93fb48e..49d99157888 100644 --- a/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go +++ b/users/item_authentication_phone_methods_phone_authentication_method_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *ItemAuthenticationPhoneMethodsPhoneAuthenticationMethodItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_phone_methods_request_builder.go b/users/item_authentication_phone_methods_request_builder.go index 7a09292019d..c6dafc09a6c 100644 --- a/users/item_authentication_phone_methods_request_builder.go +++ b/users/item_authentication_phone_methods_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemAuthenticationPhoneMethodsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemAuthenticationPhoneMethodsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_platform_credential_methods_item_device_request_builder.go b/users/item_authentication_platform_credential_methods_item_device_request_builder.go index 93a5ba3596f..04ff100c5d8 100644 --- a/users/item_authentication_platform_credential_methods_item_device_request_builder.go +++ b/users/item_authentication_platform_credential_methods_item_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemAuthenticationPlatformCredentialMethodsItemDeviceRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_platform_credential_methods_platform_credential_authentication_method_item_request_builder.go b/users/item_authentication_platform_credential_methods_platform_credential_authentication_method_item_request_builder.go index 3bff8a3a0f3..33bac7c05d0 100644 --- a/users/item_authentication_platform_credential_methods_platform_credential_authentication_method_item_request_builder.go +++ b/users/item_authentication_platform_credential_methods_platform_credential_authentication_method_item_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthentica requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a platformCredentialAuthenticationMethod object. @@ -118,7 +118,7 @@ func (m *ItemAuthenticationPlatformCredentialMethodsPlatformCredentialAuthentica requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_platform_credential_methods_request_builder.go b/users/item_authentication_platform_credential_methods_request_builder.go index 6acb8e98124..8b869641dbf 100644 --- a/users/item_authentication_platform_credential_methods_request_builder.go +++ b/users/item_authentication_platform_credential_methods_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAuthenticationPlatformCredentialMethodsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_request_builder.go b/users/item_authentication_request_builder.go index 4ceb571244e..a474821a3c7 100644 --- a/users/item_authentication_request_builder.go +++ b/users/item_authentication_request_builder.go @@ -162,7 +162,7 @@ func (m *ItemAuthenticationRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the authentication methods that are supported for the user. @@ -178,7 +178,7 @@ func (m *ItemAuthenticationRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property authentication in users @@ -191,7 +191,7 @@ func (m *ItemAuthenticationRequestBuilder) ToPatchRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_software_oath_methods_request_builder.go b/users/item_authentication_software_oath_methods_request_builder.go index 43254e9650c..8d02e287e66 100644 --- a/users/item_authentication_software_oath_methods_request_builder.go +++ b/users/item_authentication_software_oath_methods_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAuthenticationSoftwareOathMethodsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go b/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go index fab47bfd9b0..d5b4fc522ec 100644 --- a/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go +++ b/users/item_authentication_software_oath_methods_software_oath_authentication_method_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a user's single Software OATH token authentication method object and its properties. This API is available in the following national cloud deployments. @@ -114,7 +114,7 @@ func (m *ItemAuthenticationSoftwareOathMethodsSoftwareOathAuthenticationMethodIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_temporary_access_pass_methods_request_builder.go b/users/item_authentication_temporary_access_pass_methods_request_builder.go index 7cdce994875..9216cbd1ebf 100644 --- a/users/item_authentication_temporary_access_pass_methods_request_builder.go +++ b/users/item_authentication_temporary_access_pass_methods_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go b/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go index 08af5b5d033..666fd718bf5 100644 --- a/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go +++ b/users/item_authentication_temporary_access_pass_methods_temporary_access_pass_authentication_method_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a user's single temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. @@ -114,7 +114,7 @@ func (m *ItemAuthenticationTemporaryAccessPassMethodsTemporaryAccessPassAuthenti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_windows_hello_for_business_methods_item_device_request_builder.go b/users/item_authentication_windows_hello_for_business_methods_item_device_request_builder.go index c00afa5f026..bf053670695 100644 --- a/users/item_authentication_windows_hello_for_business_methods_item_device_request_builder.go +++ b/users/item_authentication_windows_hello_for_business_methods_item_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsItemDeviceRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_windows_hello_for_business_methods_request_builder.go b/users/item_authentication_windows_hello_for_business_methods_request_builder.go index 4a90574ed4a..b17cc6fa107 100644 --- a/users/item_authentication_windows_hello_for_business_methods_request_builder.go +++ b/users/item_authentication_windows_hello_for_business_methods_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go b/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go index b66dc966e26..550e6dbb76d 100644 --- a/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go +++ b/users/item_authentication_windows_hello_for_business_methods_windows_hello_for_business_authentication_method_item_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusiness requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. @@ -118,7 +118,7 @@ func (m *ItemAuthenticationWindowsHelloForBusinessMethodsWindowsHelloForBusiness requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go b/users/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go index 7b66fa59bd9..3762e687ca3 100644 --- a/users/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go +++ b/users/item_calendar_allowed_calendar_sharing_roles_with_user_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemCalendarAllowedCalendarSharingRolesWithUserRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go b/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go index 123737bfa51..3dfbc61c653 100644 --- a/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go +++ b/users/item_calendar_calendar_permissions_calendar_permission_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -154,7 +154,7 @@ func (m *ItemCalendarCalendarPermissionsCalendarPermissionItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_permissions_request_builder.go b/users/item_calendar_calendar_permissions_request_builder.go index 63180ca2bc1..da10119976d 100644 --- a/users/item_calendar_calendar_permissions_request_builder.go +++ b/users/item_calendar_calendar_permissions_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarPermissionsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_delta_request_builder.go b/users/item_calendar_calendar_view_delta_request_builder.go index d9bfe60a43e..d4cc566646a 100644 --- a/users/item_calendar_calendar_view_delta_request_builder.go +++ b/users/item_calendar_calendar_view_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_event_item_request_builder.go b/users/item_calendar_calendar_view_event_item_request_builder.go index 58e6fb23d26..69cd83830b9 100644 --- a/users/item_calendar_calendar_view_event_item_request_builder.go +++ b/users/item_calendar_calendar_view_event_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemCalendarCalendarViewEventItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_accept_request_builder.go index 9c880703405..2389c49ced3 100644 --- a/users/item_calendar_calendar_view_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemAcceptRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go index f202b024c42..a4df50ceda2 100644 --- a/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsAttachmentItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go index 023057fd29b..53b0d011e0a 100644 --- a/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsCreateUploadSessionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_attachments_request_builder.go index 9fcd972ea6d..ca829753971 100644 --- a/users/item_calendar_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_calendar_request_builder.go b/users/item_calendar_calendar_view_item_calendar_request_builder.go index 673fd849f56..f999faee766 100644 --- a/users/item_calendar_calendar_view_item_calendar_request_builder.go +++ b/users/item_calendar_calendar_view_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarCalendarViewItemCalendarRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_cancel_request_builder.go index 6d979df5a31..5d778df4678 100644 --- a/users/item_calendar_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemCancelRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_decline_request_builder.go index dbaf9ca84ea..e2f0a3fc3a6 100644 --- a/users/item_calendar_calendar_view_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemDeclineRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go index 9499f4af940..213a82d5eaa 100644 --- a/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemDismissReminderRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go index eef93ea9123..bd1f905e084 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go index e8924d74cd8..e77378c9e38 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesEventItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go index 4a9ec1a9fec..ec66ccfeb4f 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 7f45691b4a9..991ac34807e 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsAttachme requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 8cdb96dfeec..f9b7bf8f5df 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUp requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 67fe4acc7ee..9390cba0c39 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemAttachmentsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index 317cd494a45..5b06c164b90 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemCalendarRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index e000661c7dc..ef0b01ab9d2 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemCancelRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go index d5c6f7f71ad..56385541a34 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDeclineRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 1c6cd2ad914..86d08e2c716 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemDismissReminderRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 111ab2b4ad6..241b518e633 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsExtension requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index e5cec7a619d..a5cbaab350a 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemExtensionsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go index 74d7026b4f8..a49d3d564cd 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemForwardRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index cfbe8db8ecf..7ad76a8fb74 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesDeltaReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 3533fd60e77..c27b06bc5fe 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesEventItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index ff14cfe522d..01c87fd33e9 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAccept requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 4a62e29f881..29d76bcf0c0 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 2480e56e12c..2a91488a00d 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 2b49bea4dea..6c7f56211ec 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index ea5f41e7786..67f38d160f5 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCalend requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 2906adba9db..684c53b9847 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemCancel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index e805eb4ddbf..807b685f7d4 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDeclin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index ea50ef3e98b..3b86409136d 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemDismis requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index d9a5cb0a91a..72635cdecd5 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index e89fbb9cbfb..cc301e783c0 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 5ec54e4dad4..424df444f7d 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemForwar requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index eceb907d6be..b9f09bc2436 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemSnooze requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index b55a437c9d0..826cc660117 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesItemTentat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go index 3d0e081ac6f..fc8d0ffb78d 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemInstancesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index ec60d6bc12c..7e90c1b4457 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemSnoozeReminderReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 5b43aee0647..68c87b3605a 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_exception_occurrences_request_builder.go b/users/item_calendar_calendar_view_item_exception_occurrences_request_builder.go index 81182b1d899..85ccde6d9c2 100644 --- a/users/item_calendar_calendar_view_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_calendar_view_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarCalendarViewItemExceptionOccurrencesRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go index 3e1325d0ad9..c1de97d5ff5 100644 --- a/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsExtensionItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_extensions_request_builder.go index d2d7d1d4bda..431ad449e01 100644 --- a/users/item_calendar_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarCalendarViewItemExtensionsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_forward_request_builder.go index 28af61c74a1..6ae73a376dd 100644 --- a/users/item_calendar_calendar_view_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemForwardRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_delta_request_builder.go b/users/item_calendar_calendar_view_item_instances_delta_request_builder.go index b0a2625698c..8d67105821a 100644 --- a/users/item_calendar_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_event_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_event_item_request_builder.go index c7266d50a8a..366b4cc56bc 100644 --- a/users/item_calendar_calendar_view_item_instances_event_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarCalendarViewItemInstancesEventItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go index ba971d8dc00..0e22c64c05f 100644 --- a/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAcceptRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 049c80a2ddd..2665caf52aa 100644 --- a/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsAttachmentItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 41fd309c813..c4972f37f1d 100644 --- a/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsCreateUploadSession requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go index 54dc4bbdd01..fe47782d6fe 100644 --- a/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go index 581e2dfc6cd..ec1adb93ab5 100644 --- a/users/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemCalendarRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go index e8943eeff0b..9f036965ae1 100644 --- a/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemCancelRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go index 8a6017d9fe7..19f3bf769f1 100644 --- a/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemDeclineRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index fd5b5c5a2c8..102809fcd6e 100644 --- a/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemDismissReminderRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index 69599b99f58..bda719f9eab 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesDeltaReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index 4d44fea4a40..2e5f074a08c 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesEventItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index c82ba23da4c..1463526ed94 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAccept requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 74786ed0ffb..6f662178f76 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 83a5ed94647..01cacec8208 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 5edf6b9cc02..7197c36986a 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemAttach requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 4edbb1dba4e..b868eab10a4 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCalend requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index d1e1a728c9d..25bc363ad07 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemCancel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index e71a98c96aa..1c869acecd4 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDeclin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 8f102a6c97b..37d4a7eac9c 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemDismis requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 086c58044c5..bc82c507e71 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index fec7b7c76ed..a1be87366d3 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemExtens requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 5790cfe7268..87f32184c43 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemForwar requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 50efbf6293e..d0c4e9755a2 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemSnooze requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 2dee3adf0e4..bfc80428f96 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesItemTentat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go index 6c8514c2390..4204d40bfd4 100644 --- a/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExceptionOccurrencesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 2b19785e353..adeb82c6cf7 100644 --- a/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsExtensionItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go index 6f3726cf591..2576edeed8a 100644 --- a/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go index 945dde8025f..3e2ea968db2 100644 --- a/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemForwardRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 85be04337df..118ca54f3d1 100644 --- a/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go index a4a3eabf709..4a3aa74fe1d 100644 --- a/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemInstancesItemTentativelyAcceptRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_instances_request_builder.go b/users/item_calendar_calendar_view_item_instances_request_builder.go index 74974752d97..c679ca3fc58 100644 --- a/users/item_calendar_calendar_view_item_instances_request_builder.go +++ b/users/item_calendar_calendar_view_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarCalendarViewItemInstancesRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go index db9f2ee0968..a578f1b8181 100644 --- a/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_calendar_view_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemSnoozeReminderRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go index 49a5a348d7f..1da4166335a 100644 --- a/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_calendar_view_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarCalendarViewItemTentativelyAcceptRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_calendar_view_request_builder.go b/users/item_calendar_calendar_view_request_builder.go index 325237936d7..725e0e36f67 100644 --- a/users/item_calendar_calendar_view_request_builder.go +++ b/users/item_calendar_calendar_view_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarCalendarViewRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_delta_request_builder.go b/users/item_calendar_events_delta_request_builder.go index 34e51579602..d997e059381 100644 --- a/users/item_calendar_events_delta_request_builder.go +++ b/users/item_calendar_events_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarEventsDeltaRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_event_item_request_builder.go b/users/item_calendar_events_event_item_request_builder.go index ab4df2ceaee..8dbc7067cc1 100644 --- a/users/item_calendar_events_event_item_request_builder.go +++ b/users/item_calendar_events_event_item_request_builder.go @@ -166,7 +166,7 @@ func (m *ItemCalendarEventsEventItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the events in the calendar. Navigation property. Read-only. @@ -182,7 +182,7 @@ func (m *ItemCalendarEventsEventItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property events in users @@ -195,7 +195,7 @@ func (m *ItemCalendarEventsEventItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_accept_request_builder.go b/users/item_calendar_events_item_accept_request_builder.go index 6469cbfe4fb..5545489bd48 100644 --- a/users/item_calendar_events_item_accept_request_builder.go +++ b/users/item_calendar_events_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemAcceptRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_attachments_attachment_item_request_builder.go index 1b4aaf05177..8b6e2d7cbbd 100644 --- a/users/item_calendar_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go index de1e4f5954f..20a7fb1956f 100644 --- a/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_attachments_request_builder.go b/users/item_calendar_events_item_attachments_request_builder.go index 71fea81a7e1..048b622bca2 100644 --- a/users/item_calendar_events_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsItemAttachmentsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_calendar_request_builder.go b/users/item_calendar_events_item_calendar_request_builder.go index 8c05034c9b3..c0fcc7711bc 100644 --- a/users/item_calendar_events_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarEventsItemCalendarRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_cancel_request_builder.go b/users/item_calendar_events_item_cancel_request_builder.go index f54cfc1e274..b7de3f501d5 100644 --- a/users/item_calendar_events_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemCancelRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_decline_request_builder.go b/users/item_calendar_events_item_decline_request_builder.go index 3a4efc60340..c4416a0030e 100644 --- a/users/item_calendar_events_item_decline_request_builder.go +++ b/users/item_calendar_events_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemDeclineRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_dismiss_reminder_request_builder.go index 50a2aa3ef70..823534d4ae3 100644 --- a/users/item_calendar_events_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemDismissReminderRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go index 74b5987ca49..bfdbccae572 100644 --- a/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_event_item_request_builder.go index 3eb7572a008..5a7e6160265 100644 --- a/users/item_calendar_events_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesEventItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go index 274aba6cdbd..f705c6da2ef 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAcceptRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 035c1cc856a..d081d5f9c95 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsAttachmentItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 4d83f42cb89..d96c2ff46bb 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go index 031904177fa..b9a51f6ccc7 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go index 046941683de..a415f958584 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemCalendarRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go index 8828ed560ea..51d5b98ca1a 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemCancelRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go index d3c199cefd2..2e7d79cc6c4 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemDeclineRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 70d8a790c54..59291fc3a87 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemDismissReminderRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 474f349f858..5b9655d335c 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsExtensionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go index 5897230be13..47e4ac46a3f 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go index 87299949375..1b7ed7b3420 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemForwardRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go index 13afbedfd9d..a89bb1a833f 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go index 5776626d1b4..3fbc5ebb05f 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesEventItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 4964097d325..0adfabaa9dd 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAcceptReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 4b9cec70c71..004563a4b04 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index d2d8d465e7a..f5b7975b2e5 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 3da0a68fa43..da608715670 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemAttachmentsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 3be9ecfb0aa..2a13e7269f6 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCalendarRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index e4b3105812e..32565c9bfaf 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemCancelReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index 5a9991fab4f..32a053964b5 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDeclineReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 0991adcccad..1b74616a258 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemDismissRemin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 5b95d47945f..f6a8ddf1e97 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 0fc2809c2b3..41b985de1fe 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemExtensionsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index a2ce23d38b8..6ffe9d76e37 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemForwardReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index e2be075eec5..05846909fc1 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemSnoozeRemind requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index f5d559f11b1..178844dbeaf 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesItemTentativelyA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go index ad8f6da6349..f7768d75561 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemInstancesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index a6687e1bd90..0af65f26a61 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 0556ba9f4c0..a5d13984647 100644 --- a/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesItemTentativelyAcceptRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_exception_occurrences_request_builder.go b/users/item_calendar_events_item_exception_occurrences_request_builder.go index 5ab33b0fbc5..94df109770d 100644 --- a/users/item_calendar_events_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_events_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarEventsItemExceptionOccurrencesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_extensions_extension_item_request_builder.go index 8fce6abd3f1..4c0c3581c61 100644 --- a/users/item_calendar_events_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarEventsItemExtensionsExtensionItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_extensions_request_builder.go b/users/item_calendar_events_item_extensions_request_builder.go index 9ae74e05f96..59c08b655f1 100644 --- a/users/item_calendar_events_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarEventsItemExtensionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_forward_request_builder.go b/users/item_calendar_events_item_forward_request_builder.go index 7d2cd6af196..5f76148ebf9 100644 --- a/users/item_calendar_events_item_forward_request_builder.go +++ b/users/item_calendar_events_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemForwardRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_delta_request_builder.go b/users/item_calendar_events_item_instances_delta_request_builder.go index 3b829888c39..da561639fa0 100644 --- a/users/item_calendar_events_item_instances_delta_request_builder.go +++ b/users/item_calendar_events_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarEventsItemInstancesDeltaRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_event_item_request_builder.go b/users/item_calendar_events_item_instances_event_item_request_builder.go index 827c4db2623..1650af738d7 100644 --- a/users/item_calendar_events_item_instances_event_item_request_builder.go +++ b/users/item_calendar_events_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarEventsItemInstancesEventItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_item_accept_request_builder.go b/users/item_calendar_events_item_instances_item_accept_request_builder.go index 2a8909ae4c3..600265e2c7a 100644 --- a/users/item_calendar_events_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemAcceptRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go index a3f4937599e..70f6f856236 100644 --- a/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsAttachmentItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go index 8282e4daf38..44cfab30564 100644 --- a/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsCreateUploadSessionReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_attachments_request_builder.go b/users/item_calendar_events_item_instances_item_attachments_request_builder.go index e13104e2653..0e80b3d8caa 100644 --- a/users/item_calendar_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsItemInstancesItemAttachmentsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_calendar_request_builder.go b/users/item_calendar_events_item_instances_item_calendar_request_builder.go index 4e74515637e..5ad9c9a8a9c 100644 --- a/users/item_calendar_events_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarEventsItemInstancesItemCalendarRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_item_cancel_request_builder.go b/users/item_calendar_events_item_instances_item_cancel_request_builder.go index e8ccc2f369b..44a3987ac21 100644 --- a/users/item_calendar_events_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemCancelRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_decline_request_builder.go b/users/item_calendar_events_item_instances_item_decline_request_builder.go index b0d09158c0d..fb5ccf8f0b0 100644 --- a/users/item_calendar_events_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_events_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemDeclineRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go index ddf19c023cd..4aa4cde33c9 100644 --- a/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemDismissReminderRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go index b0e817d0565..2748f5eb4a8 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go index 14b1763dd31..5883c89b371 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesEventItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index df5076e89e1..de09e38448f 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAcceptReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index dc8d68c582f..999e6817159 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 96ab8e65e4f..db58ad382b9 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 5bbc902881f..365b2bf06fa 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemAttachmentsR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 37869ebb1d5..a79f1c9cff8 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCalendarRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 03fff2ee015..a64059317cb 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemCancelReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index b8e2b1dcb4e..8c376eaf7af 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDeclineReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index ce7817da1a6..b0838d21e94 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemDismissRemin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 439276c2ba0..256f53bfc62 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 1f2c0972767..7fc26944f01 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemExtensionsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index ead31b3eb29..db5eb4d0bf4 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemForwardReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index feaf0a53838..9f85ce226f1 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemSnoozeRemind requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 65ecc146b9f..2dbe57253c4 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesItemTentativelyA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go index 9b03ce6b088..77c1df3f981 100644 --- a/users/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_events_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarEventsItemInstancesItemExceptionOccurrencesRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go index 7f4f130265d..696ec98a942 100644 --- a/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_events_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsExtensionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_extensions_request_builder.go b/users/item_calendar_events_item_instances_item_extensions_request_builder.go index 6341335be92..25be1e83ca4 100644 --- a/users/item_calendar_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_events_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_forward_request_builder.go b/users/item_calendar_events_item_instances_item_forward_request_builder.go index 2e3e8fce0fc..a96020dfa00 100644 --- a/users/item_calendar_events_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_events_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemForwardRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go index 18dc622e8dc..3027f75ee66 100644 --- a/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemSnoozeReminderRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go index 7d8c201eee1..5da41c9ec69 100644 --- a/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemInstancesItemTentativelyAcceptRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_instances_request_builder.go b/users/item_calendar_events_item_instances_request_builder.go index 199ebd356c7..d6d65b029a5 100644 --- a/users/item_calendar_events_item_instances_request_builder.go +++ b/users/item_calendar_events_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarEventsItemInstancesRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_events_item_snooze_reminder_request_builder.go b/users/item_calendar_events_item_snooze_reminder_request_builder.go index ecb92c70cc0..2d6252caf07 100644 --- a/users/item_calendar_events_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_events_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemSnoozeReminderRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_item_tentatively_accept_request_builder.go b/users/item_calendar_events_item_tentatively_accept_request_builder.go index b49cd03fb8b..c9cf42fd3da 100644 --- a/users/item_calendar_events_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_events_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarEventsItemTentativelyAcceptRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_events_request_builder.go b/users/item_calendar_events_request_builder.go index d6f2e5fb4ac..94ab58afda4 100644 --- a/users/item_calendar_events_request_builder.go +++ b/users/item_calendar_events_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarEventsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarEventsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_get_schedule_request_builder.go b/users/item_calendar_get_schedule_request_builder.go index 4c32c093b45..ccb61aed265 100644 --- a/users/item_calendar_get_schedule_request_builder.go +++ b/users/item_calendar_get_schedule_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCalendarGetScheduleRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_calendar_group_item_request_builder.go b/users/item_calendar_groups_calendar_group_item_request_builder.go index b2b75c08ef3..3021dc6980f 100644 --- a/users/item_calendar_groups_calendar_group_item_request_builder.go +++ b/users/item_calendar_groups_calendar_group_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a calendar group object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of calendargroup object. This API is available in the following national cloud deployments. @@ -158,7 +158,7 @@ func (m *ItemCalendarGroupsCalendarGroupItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_calendar_item_request_builder.go b/users/item_calendar_groups_item_calendars_calendar_item_request_builder.go index beceeaf8eb7..733973fc4dc 100644 --- a/users/item_calendar_groups_item_calendars_calendar_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_calendar_item_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemCalendarGroupsItemCalendarsCalendarItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the calendars in the calendar group. Navigation property. Read-only. Nullable. @@ -152,7 +152,7 @@ func (m *ItemCalendarGroupsItemCalendarsCalendarItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property calendars in users @@ -165,7 +165,7 @@ func (m *ItemCalendarGroupsItemCalendarsCalendarItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go b/users/item_calendar_groups_item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go index d79d247a3aa..b366227b324 100644 --- a/users/item_calendar_groups_item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemAllowedCalendarSharingRolesWithUserR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go index 7b02a39bf53..899c4aa1b10 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -154,7 +154,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsCalendarPermissio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go index 6f99eb84abd..e87dc78d459 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_permissions_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarPermissionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go index f477598232a..547f9e38b94 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewDeltaRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_event_item_request_builder.go index 6df8245280d..62c8e924da6 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewEventItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go index e766709f5d0..a6c40e668af 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAcceptRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go index e9f8382c55d..a5e9d352173 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go index de5d3309f9c..e484c47d2b8 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsCreateUpl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go index 0cce20c8c4e..7f38fdb7365 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_calendar_request_builder.go index 9482f4f5026..bc9eaacad61 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemCalendarRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go index 3222edeb9b0..43a054942ec 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemCancelRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go index 074d5db2749..e65e96aec0a 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemDeclineRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go index 23167c455ae..13593773542 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemDismissReminderReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go index 6a7f44c0826..1b17ff072a1 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go index 69f9e4807c2..035d479aa52 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index 32239ab128c..74d4eb059f1 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 908e6f76fd0..13add355d2f 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 4caf62729a2..347ce4248f2 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index e5df5d4f7b8..8cca2273aa0 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index 85d58ad9fd3..7d38c2e5e05 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index eee72a67f93..b40ea1a5ede 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index f606de7c1d9..d18a4fe7c08 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index c106e23cafb..cbac9ef8ef3 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 49d7bec49ad..c9d0039f8b7 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index fee09ce207b..45efb10e591 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index 9b3fbfa920c..13c85d7adae 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 2c83b64bfba..fac426aa88e 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 3ce069cc567..a91fc60d6b7 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 6afca850073..6bacb1d66c0 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index b47b85f5e20..e671f505311 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 536d4eedced..f7aa0d29d2d 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 6ab3dcb8da1..af54d04794a 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index a9e1a640511..e810a8f5167 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 1ca5307c7bc..8f19c018ab8 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 1fbe6ed4e7a..a37ec2f6e2b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index dc3da0f6afe..10239c46c0f 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 3e4fbd8c5c9..62c7e9ba1ab 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index e78ab060904..5ce82683aea 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 342d00f6c40..4e7c3988d38 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 16bab5bb227..ecc3eb1c022 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index b6695aa3c63..a7f2c6007fa 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index 42cea6878e4..8cee92c0796 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index 61fb59f1326..31f946bda92 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 9e74247c607..7ebf8bbf050 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go index 4900db23a29..8a388c637d1 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExceptionOccurrences requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go index 62f1de318e9..8d5fb4ab00c 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go index 385c2bf80cd..dc55a9bb667 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go index e53f991868f..b8d9faa1e99 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemForwardRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go index c40b3363a96..24f5ef4b504 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesDeltaReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_event_item_request_builder.go index c2895837195..9bb32b31d58 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesEventItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go index b967b423aea..927d51489ae 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAcceptR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index b24a9c4a947..d209c96fad3 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index ced7a4cf14f..7696ffd5f34 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go index 943dd49c0e6..40e4f23cadc 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go index 4aded875f9b..a23d1741d45 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCalenda requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go index 65239524aad..e62993f6051 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemCancelR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go index 33bd146f74b..c5ac16e7804 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDecline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 34d04ccc784..d7722fdba01 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemDismiss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index c386d0d6a63..cd1334de115 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index 3127c70a9b6..92807ade3dc 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index 69c934c34c2..5ab3f5777af 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 240f7258c9b..71916173897 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 47a89610282..80c960d78e9 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index e6bb05fc57a..9dd3fe3165d 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 1bb6b6bb982..6e989225ffb 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index b40eda1002b..17825d8e053 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index ea35e8c0818..9678bd23ed5 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 04082835ffa..af1dabcc060 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 3f01562f547..4eae3e86098 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 653084977ef..b2f5bbc5bf3 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 698d3ad82b4..8d71b4fd734 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 4d4cac5f59b..2aaa5a66c41 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 225078c3b2c..e80975a1f04 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go index 053ebe86098..5fb7b0e31fb 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExcepti requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index da3da79956d..f8cf4332d7b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go index 40815cf9835..5b47dbca5eb 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go index 902eedbd0b0..239c0837fde 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemForward requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 5f1199176ab..15e53d385db 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemSnoozeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 04624151486..53acedf490b 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesItemTentati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go index 521dc7f0b0b..abbabfd1a56 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemInstancesRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go index adaa0f9f64d..5830cc36938 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemSnoozeReminderReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go index 8fd83bb3eba..b230114d19a 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewItemTentativelyAcceptReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go b/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go index a461a6bbb11..cc222258633 100644 --- a/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_calendar_view_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemCalendarViewRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go index 3f64dcfa4e1..18e57bdcae8 100644 --- a/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsDeltaRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_event_item_request_builder.go index 9e1385bfb51..dad51333419 100644 --- a/users/item_calendar_groups_item_calendars_item_events_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_event_item_request_builder.go @@ -166,7 +166,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsEventItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the events in the calendar. Navigation property. Read-only. @@ -182,7 +182,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsEventItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property events in users @@ -195,7 +195,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsEventItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go index 8265a76accd..5fee1da1caf 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAcceptRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go index 997609f2a1c..29757fc9f50 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsAttachmentItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go index 1093dea542c..52fbd45a373 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsCreateUploadSes requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go index dd64b3523e7..2beaacc5ced 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemAttachmentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_calendar_request_builder.go index ae68be02309..76a9c5cc55c 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemCalendarRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go index cb29a1d09cc..4f81942d86f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemCancelRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go index deb517039d5..2ee3762e8b7 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemDeclineRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go index bb1e79deda2..70d005cea4a 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemDismissReminderRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go index 7c50d3751c8..27cb0f07b05 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesDeltaR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go index 2e1780c623b..1b2dab7f185 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesEventI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go index e0064c637b3..77fb478fef1 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 0b0941c5f1f..a41aaa16873 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 31591621de0..582bd6bc855 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go index ba40313261f..4bd5152c524 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemAt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go index e341352865e..8d9ba05a476 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go index 0cc7cd3bae0..69664a1b978 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemCa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go index e3658592f19..17c35ca29bf 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index c3edd6b9d85..75378ad66fe 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemDi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 9cf68614057..793dd2f2552 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go index 6d267025b44..7fda19aaa2f 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemEx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go index 13d976bdb82..a722cb8da68 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemFo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go index d9d6ee5a6a9..b483bf093d1 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go index 355203527e0..bc623c5152a 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 62c6f3d0d22..3d7296175f5 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 7cfba8c1b6b..b3223afd177 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index c7bcbb20180..51a2c5d3563 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 1556f11eec6..f0c7c6ad53e 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index eab99da8468..45daf5c2153 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 0e93283f0ef..d9bd8211859 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index cee90a73fdc..0676132210b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index cdb1f02ff76..0bc9e9800d4 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index c2cd68a25d9..fee647fe3e4 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 696d1808801..79360023659 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index feaffc1dfae..d2c52715427 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 0d88f65178f..e3e1d73eff1 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index cc1e26636ba..d7777cf0605 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go index 18d4028cfbe..5e43b9c73df 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 6f664e43393..2003ade055b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemSn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 5fcb11566b4..23b131a3873 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesItemTe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_request_builder.go index d6c483ca5a6..57ad99461a6 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExceptionOccurrencesReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go index 8a21b53a6c1..9096c46bcf8 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsExtensionItemReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go index 56377841723..9da556a03db 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemExtensionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go index 4dbb0ab0aa2..221cbd3689b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemForwardRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go index d7f20ba538d..5bdde0b56e8 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesDeltaRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_event_item_request_builder.go index 70a41e331d8..6e99b9617cb 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesEventItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go index 2ae23dc5a76..9d3697ccd90 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAcceptRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go index 20daef82fef..707374fb3ab 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsAt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go index e51dea842e0..590eb2ef187 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsCr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go index 8ee5de490e6..ef678533d3d 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemAttachmentsRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_calendar_request_builder.go index 5414568e5c4..f8ec3e8ce4c 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCalendarReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go index 6be9dcda1af..144f21388b7 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemCancelRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go index 070eee03bf7..1161b9830b5 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDeclineReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go index 05f83c60dcc..0b8e69c6469 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemDismissRemind requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go index 1477c360e04..b2c5481abc9 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go index 662e87e29dd..fbea0877f00 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index a5a20f41f6e..98949780367 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 13639badd3c..ae76d29814d 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index ea4e1ebbd86..041a589ae35 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 2e896432954..4e8f63e1e2b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index be3f249b243..fcad682f0c4 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 746d93623c8..99c5d8dc74c 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index afbf0dd9987..7b7872ae61d 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index fe10b2dca24..48e7a70bb99 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index fd6b4d2b75d..31d9db8c50e 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 97cd502f1a4..0ea2f3f98f5 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index 66edf8fa26c..29fd6cbba59 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 93251137882..5c2d59c3b9e 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index c09077a7d30..99df7814178 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go index 4fbbc7f9c8e..714b73285ed 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExceptionOccu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go index e4200d078d5..0390ed786e4 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsExt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go index b1abf766381..d2f741d1078 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemExtensionsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go index b31a6f7f62a..de0ea824f91 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemForwardReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go index ef1c8a36360..dc98b7004e4 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemSnoozeReminde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go index af8a507d6eb..5169264b79b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesItemTentativelyAc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go index 7f2f61d599d..4438b89e35b 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemInstancesRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go index 1993b89668b..aca9418ea79 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemSnoozeReminderRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go index 745ea673b82..aa2841efe4d 100644 --- a/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsItemTentativelyAcceptRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_events_request_builder.go b/users/item_calendar_groups_item_calendars_item_events_request_builder.go index e07195b97cb..4a83dfe9ae2 100644 --- a/users/item_calendar_groups_item_calendars_item_events_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_events_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemEventsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go b/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go index e9e7e5310eb..1ade8337a69 100644 --- a/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go +++ b/users/item_calendar_groups_item_calendars_item_get_schedule_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCalendarGroupsItemCalendarsItemGetScheduleRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_item_calendars_request_builder.go b/users/item_calendar_groups_item_calendars_request_builder.go index bc096033f0c..1446ffe2659 100644 --- a/users/item_calendar_groups_item_calendars_request_builder.go +++ b/users/item_calendar_groups_item_calendars_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemCalendarGroupsItemCalendarsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_groups_request_builder.go b/users/item_calendar_groups_request_builder.go index 4c3548a9091..a61c4c546d0 100644 --- a/users/item_calendar_groups_request_builder.go +++ b/users/item_calendar_groups_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemCalendarGroupsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new CalendarGroup. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemCalendarGroupsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_request_builder.go b/users/item_calendar_request_builder.go index e5b337da471..07ce0b192cd 100644 --- a/users/item_calendar_request_builder.go +++ b/users/item_calendar_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemCalendarRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -135,7 +135,7 @@ func (m *ItemCalendarRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_delta_request_builder.go b/users/item_calendar_view_delta_request_builder.go index 842d70a4a7c..d3c8b218dc1 100644 --- a/users/item_calendar_view_delta_request_builder.go +++ b/users/item_calendar_view_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarViewDeltaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_event_item_request_builder.go b/users/item_calendar_view_event_item_request_builder.go index 444454869c1..24e2867e745 100644 --- a/users/item_calendar_view_event_item_request_builder.go +++ b/users/item_calendar_view_event_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemCalendarViewEventItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_accept_request_builder.go b/users/item_calendar_view_item_accept_request_builder.go index 963c601373d..8e99cb1f247 100644 --- a/users/item_calendar_view_item_accept_request_builder.go +++ b/users/item_calendar_view_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemAcceptRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_attachments_attachment_item_request_builder.go index 4748c613c5e..03ad6b9ba9b 100644 --- a/users/item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemAttachmentsAttachmentItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go index 6a1f5bb9e9f..0259bd6a814 100644 --- a/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarViewItemAttachmentsCreateUploadSessionRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_attachments_request_builder.go b/users/item_calendar_view_item_attachments_request_builder.go index dd60c2ea7e5..62d954e7425 100644 --- a/users/item_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarViewItemAttachmentsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_calendar_request_builder.go b/users/item_calendar_view_item_calendar_request_builder.go index 6b4f467cd1c..50c00b48f1e 100644 --- a/users/item_calendar_view_item_calendar_request_builder.go +++ b/users/item_calendar_view_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarViewItemCalendarRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_cancel_request_builder.go b/users/item_calendar_view_item_cancel_request_builder.go index 60955841b6a..59bf635b113 100644 --- a/users/item_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemCancelRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_decline_request_builder.go b/users/item_calendar_view_item_decline_request_builder.go index bccc33023a3..93f021c1678 100644 --- a/users/item_calendar_view_item_decline_request_builder.go +++ b/users/item_calendar_view_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemDeclineRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_dismiss_reminder_request_builder.go index c837ddd250f..75adeab0152 100644 --- a/users/item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemDismissReminderRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go index 62880ce7b83..9f997ff8383 100644 --- a/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_event_item_request_builder.go index 55faf5b7f6b..35749bb48ce 100644 --- a/users/item_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesEventItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index 449e6b1cd7f..a54db8be383 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAcceptRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 5f2cacb91a6..4e299770171 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsAttachmentItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 158dc78eb7c..3f50abb22db 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsCreateUploadSess requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index 9df438bc2f0..7b731628a8a 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemAttachmentsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index 0726198b43a..7dfbf8fb208 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemCalendarRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 4351cbd0127..0526f329c46 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemCancelRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index 69042a6d87e..78cb0f2db22 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemDeclineRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index ec81b4afece..ef713e39f67 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemDismissReminderRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 5aaf406b2bc..3a3e358ccfe 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsExtensionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index e6ca5182ab4..efbdb17dad0 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemExtensionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index 3e834f0abbc..2ecc5efb7c8 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemForwardRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index 70873f65761..6666544b947 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesDeltaRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 45274638a9e..b436b14b67d 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesEventItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index 7be7a7441f9..019363356b5 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAcceptRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 62f0d574eb5..33d97dbae7a 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsAtt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index be8024a22a4..9a182a702a1 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 4967b034ff9..e9b200eb19a 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemAttachmentsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 86b62ae104c..67b588de8e7 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCalendarReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index f956258979a..9474eba9a7d 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemCancelRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index c6096a36a3b..5fa4600e6df 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDeclineRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 67f30e52f14..d0d8efbf809 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemDismissReminde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index a8a412f4f38..e3395b38ec0 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 86ee8ecdd4b..67a26cee74e 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemExtensionsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 2e356a161f2..a341f0ea120 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemForwardRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 0835b9d7c95..38c31b478c5 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemSnoozeReminder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 681ea9b94f2..ec0237f899a 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesItemTentativelyAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index d4e2ef5c3c0..453e4b617e5 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemInstancesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index 327a207bf07..3297a61c453 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemSnoozeReminderRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index 7aaa5d07181..2d7153f1ba3 100644 --- a/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesItemTentativelyAcceptRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_exception_occurrences_request_builder.go b/users/item_calendar_view_item_exception_occurrences_request_builder.go index 744866cfd5e..623e22040ab 100644 --- a/users/item_calendar_view_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_view_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarViewItemExceptionOccurrencesRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_extensions_extension_item_request_builder.go index 0024e131db8..176429ff285 100644 --- a/users/item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarViewItemExtensionsExtensionItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_extensions_request_builder.go b/users/item_calendar_view_item_extensions_request_builder.go index bc39e31b938..45982afb59b 100644 --- a/users/item_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarViewItemExtensionsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_forward_request_builder.go b/users/item_calendar_view_item_forward_request_builder.go index cf81fe88497..fed3f5a1212 100644 --- a/users/item_calendar_view_item_forward_request_builder.go +++ b/users/item_calendar_view_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemForwardRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_delta_request_builder.go b/users/item_calendar_view_item_instances_delta_request_builder.go index 384f28bd44e..422bd39d430 100644 --- a/users/item_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendar_view_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarViewItemInstancesDeltaRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_event_item_request_builder.go b/users/item_calendar_view_item_instances_event_item_request_builder.go index 555bc1d6244..51352e58033 100644 --- a/users/item_calendar_view_item_instances_event_item_request_builder.go +++ b/users/item_calendar_view_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarViewItemInstancesEventItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendar_view_item_instances_item_accept_request_builder.go index f0733c4e2f1..915000b0c68 100644 --- a/users/item_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemAcceptRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 6f944e8b30f..0844da85048 100644 --- a/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsAttachmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 8d519313e90..223e86aecf1 100644 --- a/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsCreateUploadSessionRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendar_view_item_instances_item_attachments_request_builder.go index 18f364821bc..640c3106934 100644 --- a/users/item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarViewItemInstancesItemAttachmentsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_calendar_request_builder.go b/users/item_calendar_view_item_instances_item_calendar_request_builder.go index 7977f972960..49e4af0385f 100644 --- a/users/item_calendar_view_item_instances_item_calendar_request_builder.go +++ b/users/item_calendar_view_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarViewItemInstancesItemCalendarRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendar_view_item_instances_item_cancel_request_builder.go index ad6338a6239..56f0e191904 100644 --- a/users/item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemCancelRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendar_view_item_instances_item_decline_request_builder.go index 5977ef45317..52537fe5f35 100644 --- a/users/item_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendar_view_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemDeclineRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index 422a51052f2..d01373f362f 100644 --- a/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemDismissReminderRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index e25b8dca2f6..40193c3c8b7 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesDeltaRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index 0ddcf745ce5..432e08e80be 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesEventItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index b601f2537fe..52f2093045b 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAcceptRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index ccc5dc62fbd..fc3b6052997 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsAtt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 107d69aa74f..c1dcec8e990 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index a981aa0b511..5b9ba16ca37 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemAttachmentsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index ac9539e85b8..dfebcd63af8 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCalendarReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index a5f1344cb11..f107710b1f4 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemCancelRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 0a5971661f8..7f484105d2c 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDeclineRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 99734ac7eb1..9825009480d 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemDismissReminde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 95172c34d1b..a70e620a256 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 3d1380ec89e..09806ae808b 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemExtensionsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index 9ba4742443b..b390259a28b 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemForwardRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index e0faa65fc19..c0e5b27e1f4 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemSnoozeReminder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 21f8599cc84..dcbe75597a6 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesItemTentativelyAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go index cde3bf958d7..70349dbbb16 100644 --- a/users/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarViewItemInstancesItemExceptionOccurrencesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index 9f7ba7ada73..c8d39cdad4f 100644 --- a/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_extensions_request_builder.go b/users/item_calendar_view_item_instances_item_extensions_request_builder.go index dc49ddd215b..ac5ae86c735 100644 --- a/users/item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendar_view_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarViewItemInstancesItemExtensionsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendar_view_item_instances_item_forward_request_builder.go index 16932779741..b02c9f0a6ac 100644 --- a/users/item_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendar_view_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemForwardRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index 6db7ebda03e..9690fcbbe42 100644 --- a/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemSnoozeReminderRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index 15b9b4ea480..7d884297b2f 100644 --- a/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemInstancesItemTentativelyAcceptRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_instances_request_builder.go b/users/item_calendar_view_item_instances_request_builder.go index 9478cf2104f..42ed4efd469 100644 --- a/users/item_calendar_view_item_instances_request_builder.go +++ b/users/item_calendar_view_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarViewItemInstancesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendar_view_item_snooze_reminder_request_builder.go index b79011b7fbd..a26bc221668 100644 --- a/users/item_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendar_view_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemSnoozeReminderRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendar_view_item_tentatively_accept_request_builder.go index a64b13d7331..da2a36cdaf3 100644 --- a/users/item_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendar_view_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarViewItemTentativelyAcceptRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendar_view_request_builder.go b/users/item_calendar_view_request_builder.go index 831e9e1baae..506dcceeef3 100644 --- a/users/item_calendar_view_request_builder.go +++ b/users/item_calendar_view_request_builder.go @@ -108,7 +108,7 @@ func (m *ItemCalendarViewRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_calendar_item_request_builder.go b/users/item_calendars_calendar_item_request_builder.go index b45430594f4..290b17172ea 100644 --- a/users/item_calendars_calendar_item_request_builder.go +++ b/users/item_calendars_calendar_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemCalendarsCalendarItemRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user's calendars. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemCalendarsCalendarItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property calendars in users @@ -167,7 +167,7 @@ func (m *ItemCalendarsCalendarItemRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go b/users/item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go index 55c4b0d3585..3b803543a2d 100644 --- a/users/item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go +++ b/users/item_calendars_item_allowed_calendar_sharing_roles_with_user_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemCalendarsItemAllowedCalendarSharingRolesWithUserRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go b/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go index ddb6734ef36..9acaf45aaca 100644 --- a/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go +++ b/users/item_calendars_item_calendar_permissions_calendar_permission_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -154,7 +154,7 @@ func (m *ItemCalendarsItemCalendarPermissionsCalendarPermissionItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_permissions_request_builder.go b/users/item_calendars_item_calendar_permissions_request_builder.go index dd7ea38b3ab..982ec878dd2 100644 --- a/users/item_calendars_item_calendar_permissions_request_builder.go +++ b/users/item_calendars_item_calendar_permissions_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemCalendarPermissionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_delta_request_builder.go b/users/item_calendars_item_calendar_view_delta_request_builder.go index a413560443b..07f62d3f26e 100644 --- a/users/item_calendars_item_calendar_view_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarsItemCalendarViewDeltaRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_event_item_request_builder.go b/users/item_calendars_item_calendar_view_event_item_request_builder.go index 06766a284a9..128c91b83da 100644 --- a/users/item_calendars_item_calendar_view_event_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_event_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemCalendarsItemCalendarViewEventItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_accept_request_builder.go index 8bc57e046b4..9f266f1b9a0 100644 --- a/users/item_calendars_item_calendar_view_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemAcceptRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go index 3a2ded852b2..9bef2c2e35e 100644 --- a/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsAttachmentItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go index 1a9390cd1e1..3f16c828f30 100644 --- a/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsCreateUploadSessionRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_attachments_request_builder.go index a31d453b163..8f0f7421450 100644 --- a/users/item_calendars_item_calendar_view_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemCalendarViewItemAttachmentsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_calendar_request_builder.go b/users/item_calendars_item_calendar_view_item_calendar_request_builder.go index 333f38b4cfc..cc507fe533f 100644 --- a/users/item_calendars_item_calendar_view_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarsItemCalendarViewItemCalendarRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_cancel_request_builder.go index 6876311c537..a7b025169e2 100644 --- a/users/item_calendars_item_calendar_view_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemCancelRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_decline_request_builder.go index 56c5a530945..2b4a319dfe2 100644 --- a/users/item_calendars_item_calendar_view_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemDeclineRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go index 43ee40e7f4b..e153b463e82 100644 --- a/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemDismissReminderRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go index cc7c4edb03a..6bc2fa39c78 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesDeltaRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go index 0cf8ed5db88..51a4c25f264 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesEventItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go index 1b17a3ea337..10a07145dca 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAcceptRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index df6c8c5b63c..21dd92b505e 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAtt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsAtt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index ad53715fc61..63a1552f3c0 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsCre requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go index a8b48ed13d3..4e101515b36 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemAttachmentsReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go index 030d1dbd4eb..a8c918b853b 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCalendarReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go index 69ea6cf23a2..3bb2ac964c6 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemCancelRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go index 52fcd0f4dee..e386d30716c 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDeclineRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 60d7be2bf13..2405fc3da50 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemDismissReminde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 039fff69f91..a2098691cc4 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsExte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go index 351d9049101..f636d333c5b 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemExtensionsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go index b60afb5529b..b26c9b8a48d 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemForwardRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go index d337dfa711b..70fec7bd75b 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesDelta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go index 521ff03d400..ea20f7f3871 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesEvent requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go index cd1e50d4e69..d442a26ef08 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index a005fb11daf..ecbe9293cb2 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index 59f3b97d4a0..77299774dfb 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 65a2b7f56bb..6176ae4cdd5 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 8bc8fe8806f..daa4f8e546e 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go index fa8eaa0fde1..fbddfc55737 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go index 29c81ad22e5..a8ab2f5110b 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index 78736f3e3ff..aa8f7ca67fc 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index a52f17d4a7a..a74fef9ea4c 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 926fe5deeca..ac3111eb395 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go index 64f5aea724e..64aebe7cf5b 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 0c6431247b4..5f6bba3a05d 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 47f08de657a..7d1435b0f78 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesItemT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go index c92b9fa0d88..fd581fd9764 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemInstancesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go index f9035adaf0c..a302b5f5a9c 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemSnoozeReminder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go index ad85eabb3e2..396db65cb1d 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesItemTentativelyAcc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go b/users/item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go index f8c5fa73717..69af24f26e3 100644 --- a/users/item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarsItemCalendarViewItemExceptionOccurrencesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go index 51abd8fbbac..b30702b5fd3 100644 --- a/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsExtensionItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_extensions_request_builder.go index d33a6d4aa54..df5ff1259e3 100644 --- a/users/item_calendars_item_calendar_view_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarsItemCalendarViewItemExtensionsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_forward_request_builder.go index 6107a115f94..6551c09dd4a 100644 --- a/users/item_calendars_item_calendar_view_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemForwardRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go index 30faca7db78..127a7b8c126 100644 --- a/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesDeltaRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_event_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_event_item_request_builder.go index 5944ce96e58..2de9a1df77b 100644 --- a/users/item_calendars_item_calendar_view_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesEventItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go index 8501e096392..539b2fb351f 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAcceptRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go index 60d7a20dd44..6f704d3e907 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsAttachmentItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go index 2e1bf4fe6c2..d5e42c4ac7f 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsCreateUploadSe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go index 264b7c556a7..15947030652 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemAttachmentsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go index d36b0ae77f9..61d88e143c7 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemCalendarRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go index c8ce7bd0d4a..9233da19b09 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemCancelRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go index 0d6a23a8bfb..e62b449e45e 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemDeclineRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go index f4c50a7996d..655f756e70e 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemDismissReminderRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go index 848e1ed9d9b..a6d85105316 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesDelta requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go index 28e370e07ca..ff1ee96d438 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesEvent requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go index 05e47d80c24..0614fec8867 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 2b718a4ca31..79c2a8b3a7c 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index cebbd6580df..636544e0858 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go index 49554fd18e8..6ccbb628562 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemA requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go index c8087084c9d..dc4ce761cfc 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 40dfc6a10d1..a1ca175fd88 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemC requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go index 276fc617bc3..4227ae6485a 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 33a91ba5f1f..5fc7eaf256b 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index d0f055ae5b9..cca7f3cd04f 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go index dff9c4eec28..415d22ff7ad 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemE requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go index f79a2cd9af2..06a30255c20 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemF requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 4a890579326..c8cffb5f824 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 97247d4d7c6..e52511c088b 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesItemT requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go index 5777fba7000..2794ae6669c 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExceptionOccurrencesReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go index aa6afcda048..f652ea5ab5a 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsExtensionItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go index ffb28e834ac..4a3c85e20f7 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemExtensionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go index 74275213cdf..679d4a265dd 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemForwardRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go index bc116092054..ba9a1ce1a1f 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemSnoozeReminderRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go index da7373f59f5..e3bdb989f31 100644 --- a/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesItemTentativelyAcceptRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_instances_request_builder.go b/users/item_calendars_item_calendar_view_item_instances_request_builder.go index b4e7f5fa67e..b4a2bb2c8b7 100644 --- a/users/item_calendars_item_calendar_view_item_instances_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarsItemCalendarViewItemInstancesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go b/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go index ae9637991e8..6aad15d409a 100644 --- a/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemSnoozeReminderRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go b/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go index 9abaf19bf1a..0f327d90108 100644 --- a/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_calendar_view_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemCalendarViewItemTentativelyAcceptRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_calendar_view_request_builder.go b/users/item_calendars_item_calendar_view_request_builder.go index beb8e0ae343..a9bc2ebc8b0 100644 --- a/users/item_calendars_item_calendar_view_request_builder.go +++ b/users/item_calendars_item_calendar_view_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarsItemCalendarViewRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_delta_request_builder.go b/users/item_calendars_item_events_delta_request_builder.go index 70a3647ead5..c2dc4061aa1 100644 --- a/users/item_calendars_item_events_delta_request_builder.go +++ b/users/item_calendars_item_events_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarsItemEventsDeltaRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_event_item_request_builder.go b/users/item_calendars_item_events_event_item_request_builder.go index dfb095872be..9c8a32a66cd 100644 --- a/users/item_calendars_item_events_event_item_request_builder.go +++ b/users/item_calendars_item_events_event_item_request_builder.go @@ -166,7 +166,7 @@ func (m *ItemCalendarsItemEventsEventItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the events in the calendar. Navigation property. Read-only. @@ -182,7 +182,7 @@ func (m *ItemCalendarsItemEventsEventItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property events in users @@ -195,7 +195,7 @@ func (m *ItemCalendarsItemEventsEventItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_accept_request_builder.go b/users/item_calendars_item_events_item_accept_request_builder.go index f18619ecd80..c3d8a7f468f 100644 --- a/users/item_calendars_item_events_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemAcceptRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go index cb2b575d725..82fb6ca3c31 100644 --- a/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go index b16144662c4..9f5e8bd3ac4 100644 --- a/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsCreateUploadSessionRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_attachments_request_builder.go b/users/item_calendars_item_events_item_attachments_request_builder.go index 779d8bbeab2..cf0454e2069 100644 --- a/users/item_calendars_item_events_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemEventsItemAttachmentsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_calendar_request_builder.go b/users/item_calendars_item_events_item_calendar_request_builder.go index 2e1ad20700b..2da3c9f7748 100644 --- a/users/item_calendars_item_events_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarsItemEventsItemCalendarRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_cancel_request_builder.go b/users/item_calendars_item_events_item_cancel_request_builder.go index 09a54bcb933..84e8b3c914b 100644 --- a/users/item_calendars_item_events_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemCancelRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_decline_request_builder.go b/users/item_calendars_item_events_item_decline_request_builder.go index 1d9e71fd673..c64fd16db67 100644 --- a/users/item_calendars_item_events_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemDeclineRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go index d3e2e90de8a..8fd19195615 100644 --- a/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemDismissReminderRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go index e4a00a53151..1024c42ed4f 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesDeltaRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go index f0afa99abd9..61d19e9bea9 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesEventItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go index b65bb32be1e..187f72103d2 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 088ffe0ee96..b217d318c80 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index c7b8544c551..6d5acb79235 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsCreateUpl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go index 5303b79fc2f..0ce76a4893b 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go index 9bc35f8459c..813b454b837 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemCalendarRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go index 1e171e73ce2..63f805bbe32 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemCancelRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go index 1d485793c92..3e4754cdcc8 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemDeclineRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 0f5ca319805..1560dd61fe0 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemDismissReminderReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index 519c460cb30..a6ceda73199 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go index ffdddaada77..f548b680865 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go index a56b84c9293..6942df70556 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemForwardRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go index f75cf6c693f..88310b75633 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesDeltaReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go index 92887d31382..9e49536425d 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesEventItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 9452a3123e7..a15cfc54bdb 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAcceptR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 2985cbe881b..0a876d941aa 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index b69b60fb97f..8ea0cddf11c 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 0a57af3aa7b..f5fbcfd5023 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index e5fcdb93909..ea7a52396f1 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCalenda requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 194d834049a..a1af6efa5c0 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemCancelR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index cc0adb9f2a2..49531e9398a 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDecline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index e736c371b0b..409f6733de0 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemDismiss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 93a57b3eeb0..63cff411494 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index 7faadef43f0..f9896c00d7f 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index bed7775fd4b..c6760feb8b5 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemForward requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index e1fba4c418b..9844c7f4f91 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 1886fd53aa0..c1139c7dd7c 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesItemTentati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go index 4585bd6a39c..26a9611d20f 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemInstancesRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 93f0ed39621..525fdf42a53 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemSnoozeReminderReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index d51376bdff7..6cb98e1640f 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesItemTentativelyAcceptReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_exception_occurrences_request_builder.go b/users/item_calendars_item_events_item_exception_occurrences_request_builder.go index e860a45fd12..62038123c45 100644 --- a/users/item_calendars_item_events_item_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_events_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarsItemEventsItemExceptionOccurrencesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go index 67f0dadb1f0..3b6c033486f 100644 --- a/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsExtensionItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_extensions_request_builder.go b/users/item_calendars_item_events_item_extensions_request_builder.go index 91280ecfa06..c4fa37fac59 100644 --- a/users/item_calendars_item_events_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarsItemEventsItemExtensionsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_forward_request_builder.go b/users/item_calendars_item_events_item_forward_request_builder.go index 0d36cd8ac90..bcccaf79438 100644 --- a/users/item_calendars_item_events_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemForwardRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_delta_request_builder.go b/users/item_calendars_item_events_item_instances_delta_request_builder.go index 9edee9810f7..9cfe7a57267 100644 --- a/users/item_calendars_item_events_item_instances_delta_request_builder.go +++ b/users/item_calendars_item_events_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarsItemEventsItemInstancesDeltaRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_event_item_request_builder.go b/users/item_calendars_item_events_item_instances_event_item_request_builder.go index cb1eda610cf..00680192abd 100644 --- a/users/item_calendars_item_events_item_instances_event_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemCalendarsItemEventsItemInstancesEventItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_item_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_accept_request_builder.go index 7ecf1569c44..d8ce1f5d84c 100644 --- a/users/item_calendars_item_events_item_instances_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAcceptRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go index 95dced09f9d..4f840b31dc4 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsAttachmentItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go index fb9b16f3ef4..9198d9eb3ba 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsCreateUploadSessionR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go b/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go index 28cc5dab7ef..4716236c736 100644 --- a/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go b/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go index 666b4121305..1c4664f11c5 100644 --- a/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemCalendarRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go b/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go index ee9c9a23849..b22eb3ba7ea 100644 --- a/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemCancelRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_decline_request_builder.go b/users/item_calendars_item_events_item_instances_item_decline_request_builder.go index 796455d204a..4b54263eb98 100644 --- a/users/item_calendars_item_events_item_instances_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemDeclineRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go index 089321ac2ce..e26979470f6 100644 --- a/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemDismissReminderRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go index e438265cabb..b1382346ddd 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesDeltaReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go index 541749142ab..38d52ee8e16 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesEventItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index 80a2efa146f..f223aa9dccb 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAcceptR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index 09a87f24c88..01d2b653587 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 17c55f2f06c..1a6f29e101c 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index b0bd54d8692..295deaf70ac 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemAttachm requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 693ae1f2d3a..1978c9a9991 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCalenda requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 0cc70888c77..ff2227cf69d 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemCancelR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index b1181269be0..4f36e6a1c9a 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDecline requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 1d1b09261b8..24147a1dbc4 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemDismiss requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index cf37c96fb41..6f7d0c78b1c 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index fac363b03f4..c753c5bddcb 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemExtensi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index 27c8e3ce4de..0bb480237cb 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemForward requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 56917dcdeb3..423ffe2166c 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 2b92a92fbea..97e4ab6e39e 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesItemTentati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go b/users/item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go index 470563983e4..88160daf568 100644 --- a/users/item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExceptionOccurrencesRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go index c5fb7a37dae..17011452c0d 100644 --- a/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsExtensionItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go b/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go index 9556198f3ef..b7cb96c8223 100644 --- a/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemExtensionsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_forward_request_builder.go b/users/item_calendars_item_events_item_instances_item_forward_request_builder.go index e7e58a65aa9..e4fd9c3df6e 100644 --- a/users/item_calendars_item_events_item_instances_item_forward_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemForwardRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go index 333f1e91116..7a30f74585c 100644 --- a/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemSnoozeReminderRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go index 0fd713272ed..ccd6b0e38a9 100644 --- a/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemInstancesItemTentativelyAcceptRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_instances_request_builder.go b/users/item_calendars_item_events_item_instances_request_builder.go index 9709f52e329..c88890a510b 100644 --- a/users/item_calendars_item_events_item_instances_request_builder.go +++ b/users/item_calendars_item_events_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCalendarsItemEventsItemInstancesRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_calendars_item_events_item_snooze_reminder_request_builder.go b/users/item_calendars_item_events_item_snooze_reminder_request_builder.go index e9221908e4d..b2b0d73d0e9 100644 --- a/users/item_calendars_item_events_item_snooze_reminder_request_builder.go +++ b/users/item_calendars_item_events_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemSnoozeReminderRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_item_tentatively_accept_request_builder.go b/users/item_calendars_item_events_item_tentatively_accept_request_builder.go index cb0e6d25608..3a4f5d6ed81 100644 --- a/users/item_calendars_item_events_item_tentatively_accept_request_builder.go +++ b/users/item_calendars_item_events_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCalendarsItemEventsItemTentativelyAcceptRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_events_request_builder.go b/users/item_calendars_item_events_request_builder.go index 7f170036868..05421e8b747 100644 --- a/users/item_calendars_item_events_request_builder.go +++ b/users/item_calendars_item_events_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemCalendarsItemEventsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemCalendarsItemEventsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_item_get_schedule_request_builder.go b/users/item_calendars_item_get_schedule_request_builder.go index edbc3f08228..bf213a60dd3 100644 --- a/users/item_calendars_item_get_schedule_request_builder.go +++ b/users/item_calendars_item_get_schedule_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCalendarsItemGetScheduleRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_calendars_request_builder.go b/users/item_calendars_request_builder.go index 7805d821080..cca9c43eec7 100644 --- a/users/item_calendars_request_builder.go +++ b/users/item_calendars_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemCalendarsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new calendar for a user. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemCalendarsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_change_password_request_builder.go b/users/item_change_password_request_builder.go index 990cb48647e..b34e2b86d39 100644 --- a/users/item_change_password_request_builder.go +++ b/users/item_change_password_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChangePasswordRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_all_messages_request_builder.go b/users/item_chats_all_messages_request_builder.go index c4e86ae1a72..418595ce893 100644 --- a/users/item_chats_all_messages_request_builder.go +++ b/users/item_chats_all_messages_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemChatsAllMessagesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_chat_item_request_builder.go b/users/item_chats_chat_item_request_builder.go index 274035428c9..d9632f280f8 100644 --- a/users/item_chats_chat_item_request_builder.go +++ b/users/item_chats_chat_item_request_builder.go @@ -169,7 +169,7 @@ func (m *ItemChatsChatItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -185,7 +185,7 @@ func (m *ItemChatsChatItemRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property chats in users @@ -198,7 +198,7 @@ func (m *ItemChatsChatItemRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_get_all_messages_request_builder.go b/users/item_chats_get_all_messages_request_builder.go index 6dbf23ee958..3290139da8f 100644 --- a/users/item_chats_get_all_messages_request_builder.go +++ b/users/item_chats_get_all_messages_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemChatsGetAllMessagesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_hide_for_user_request_builder.go b/users/item_chats_item_hide_for_user_request_builder.go index d33a22d81cd..e3b0c09770d 100644 --- a/users/item_chats_item_hide_for_user_request_builder.go +++ b/users/item_chats_item_hide_for_user_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChatsItemHideForUserRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_installed_apps_item_teams_app_definition_request_builder.go b/users/item_chats_item_installed_apps_item_teams_app_definition_request_builder.go index 621d4cea3a2..67f4b8512d3 100644 --- a/users/item_chats_item_installed_apps_item_teams_app_definition_request_builder.go +++ b/users/item_chats_item_installed_apps_item_teams_app_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemChatsItemInstalledAppsItemTeamsAppDefinitionRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_installed_apps_item_teams_app_request_builder.go b/users/item_chats_item_installed_apps_item_teams_app_request_builder.go index 36c9bc824b7..8c3b5f2283c 100644 --- a/users/item_chats_item_installed_apps_item_teams_app_request_builder.go +++ b/users/item_chats_item_installed_apps_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemChatsItemInstalledAppsItemTeamsAppRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_installed_apps_item_upgrade_request_builder.go b/users/item_chats_item_installed_apps_item_upgrade_request_builder.go index ad2689f9f52..24f788897e3 100644 --- a/users/item_chats_item_installed_apps_item_upgrade_request_builder.go +++ b/users/item_chats_item_installed_apps_item_upgrade_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChatsItemInstalledAppsItemUpgradeRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_installed_apps_request_builder.go b/users/item_chats_item_installed_apps_request_builder.go index a837be1dd84..04dabc7094f 100644 --- a/users/item_chats_item_installed_apps_request_builder.go +++ b/users/item_chats_item_installed_apps_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemChatsItemInstalledAppsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation install a teamsApp to the specified chat. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemChatsItemInstalledAppsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go b/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go index 8b551ca6bfc..3c92683d1d0 100644 --- a/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go +++ b/users/item_chats_item_installed_apps_teams_app_installation_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an app installed in a chat. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property installedApps in users @@ -161,7 +161,7 @@ func (m *ItemChatsItemInstalledAppsTeamsAppInstallationItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_last_message_preview_request_builder.go b/users/item_chats_item_last_message_preview_request_builder.go index 33bf0cc77be..c30871fffd9 100644 --- a/users/item_chats_item_last_message_preview_request_builder.go +++ b/users/item_chats_item_last_message_preview_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemChatsItemLastMessagePreviewRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. @@ -134,7 +134,7 @@ func (m *ItemChatsItemLastMessagePreviewRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property lastMessagePreview in users @@ -147,7 +147,7 @@ func (m *ItemChatsItemLastMessagePreviewRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_mark_chat_read_for_user_request_builder.go b/users/item_chats_item_mark_chat_read_for_user_request_builder.go index e8eaf58e830..7e19993dfae 100644 --- a/users/item_chats_item_mark_chat_read_for_user_request_builder.go +++ b/users/item_chats_item_mark_chat_read_for_user_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChatsItemMarkChatReadForUserRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_mark_chat_unread_for_user_request_builder.go b/users/item_chats_item_mark_chat_unread_for_user_request_builder.go index 284d8e1e274..e11aac0536b 100644 --- a/users/item_chats_item_mark_chat_unread_for_user_request_builder.go +++ b/users/item_chats_item_mark_chat_unread_for_user_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChatsItemMarkChatUnreadForUserRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_members_add_request_builder.go b/users/item_chats_item_members_add_request_builder.go index 92ff2ebb6ea..6a70e88a5f0 100644 --- a/users/item_chats_item_members_add_request_builder.go +++ b/users/item_chats_item_members_add_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemChatsItemMembersAddRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_members_conversation_member_item_request_builder.go b/users/item_chats_item_members_conversation_member_item_request_builder.go index 31e4c13f13a..ed7e5d9f983 100644 --- a/users/item_chats_item_members_conversation_member_item_request_builder.go +++ b/users/item_chats_item_members_conversation_member_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property members in users @@ -153,7 +153,7 @@ func (m *ItemChatsItemMembersConversationMemberItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_members_request_builder.go b/users/item_chats_item_members_request_builder.go index 6a043ef41e2..74449ccc002 100644 --- a/users/item_chats_item_members_request_builder.go +++ b/users/item_chats_item_members_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemChatsItemMembersRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a conversationMember to a chat. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemChatsItemMembersRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_chat_message_item_request_builder.go b/users/item_chats_item_messages_chat_message_item_request_builder.go index 756902abdd3..503ae8cef06 100644 --- a/users/item_chats_item_messages_chat_message_item_request_builder.go +++ b/users/item_chats_item_messages_chat_message_item_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemChatsItemMessagesChatMessageItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemChatsItemMessagesChatMessageItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property messages in users @@ -166,7 +166,7 @@ func (m *ItemChatsItemMessagesChatMessageItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_delta_request_builder.go b/users/item_chats_item_messages_delta_request_builder.go index 9d24182d82b..41700861626 100644 --- a/users/item_chats_item_messages_delta_request_builder.go +++ b/users/item_chats_item_messages_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemChatsItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 64101a629bb..ff649e76563 100644 --- a/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/users/item_chats_item_messages_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in users @@ -154,7 +154,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsChatMessageHostedContentItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go b/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go index 465c18af705..1b027e50cc6 100644 --- a/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go +++ b/users/item_chats_item_messages_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsItemValueContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in users @@ -101,7 +101,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsItemValueContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_chats_item_messages_item_hosted_contents_request_builder.go b/users/item_chats_item_messages_item_hosted_contents_request_builder.go index 59ab3d12133..85546dd42d2 100644 --- a/users/item_chats_item_messages_item_hosted_contents_request_builder.go +++ b/users/item_chats_item_messages_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for users @@ -141,7 +141,7 @@ func (m *ItemChatsItemMessagesItemHostedContentsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go b/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go index 4a4844d16cd..985da2ac2aa 100644 --- a/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go +++ b/users/item_chats_item_messages_item_replies_chat_message_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property replies in users @@ -162,7 +162,7 @@ func (m *ItemChatsItemMessagesItemRepliesChatMessageItemRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_item_replies_delta_request_builder.go b/users/item_chats_item_messages_item_replies_delta_request_builder.go index 55954dfc40a..b3c72c43b8d 100644 --- a/users/item_chats_item_messages_item_replies_delta_request_builder.go +++ b/users/item_chats_item_messages_item_replies_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemChatsItemMessagesItemRepliesDeltaRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go b/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go index 0104f8bc81f..941dd9a0e5c 100644 --- a/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_hosted_contents_chat_message_hosted_content_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property hostedContents in users @@ -154,7 +154,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsChatMessageHostedCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go b/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go index 9a7227791fc..903f81851b7 100644 --- a/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_hosted_contents_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsItemValueContentReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property hostedContents in users @@ -101,7 +101,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsItemValueContentReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go b/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go index b3f280f8523..490e177d406 100644 --- a/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_hosted_contents_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to hostedContents for users @@ -141,7 +141,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_item_replies_item_set_reaction_request_builder.go b/users/item_chats_item_messages_item_replies_item_set_reaction_request_builder.go index a5088eb3c26..a1e2964aa2b 100644 --- a/users/item_chats_item_messages_item_replies_item_set_reaction_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemSetReactionRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go b/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go index 7695731401a..67dcb58aaae 100644 --- a/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemSoftDeleteRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go b/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go index 5da37901628..bc49f71ba7a 100644 --- a/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemUndoSoftDeleteRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_messages_item_replies_item_unset_reaction_request_builder.go b/users/item_chats_item_messages_item_replies_item_unset_reaction_request_builder.go index aae0aa585aa..14d27388d50 100644 --- a/users/item_chats_item_messages_item_replies_item_unset_reaction_request_builder.go +++ b/users/item_chats_item_messages_item_replies_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_item_replies_request_builder.go b/users/item_chats_item_messages_item_replies_request_builder.go index a0383ed823f..aa9aaf9ba0f 100644 --- a/users/item_chats_item_messages_item_replies_request_builder.go +++ b/users/item_chats_item_messages_item_replies_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_item_set_reaction_request_builder.go b/users/item_chats_item_messages_item_set_reaction_request_builder.go index 1bbbefae5fa..09e90be4a2b 100644 --- a/users/item_chats_item_messages_item_set_reaction_request_builder.go +++ b/users/item_chats_item_messages_item_set_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemChatsItemMessagesItemSetReactionRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_item_soft_delete_request_builder.go b/users/item_chats_item_messages_item_soft_delete_request_builder.go index f5822f35c51..0e6c5539dd4 100644 --- a/users/item_chats_item_messages_item_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChatsItemMessagesItemSoftDeleteRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go b/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go index 8f0e570614f..760f45612b9 100644 --- a/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go +++ b/users/item_chats_item_messages_item_undo_soft_delete_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChatsItemMessagesItemUndoSoftDeleteRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_messages_item_unset_reaction_request_builder.go b/users/item_chats_item_messages_item_unset_reaction_request_builder.go index 2e027a6727d..11812c8da89 100644 --- a/users/item_chats_item_messages_item_unset_reaction_request_builder.go +++ b/users/item_chats_item_messages_item_unset_reaction_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemChatsItemMessagesItemUnsetReactionRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_messages_request_builder.go b/users/item_chats_item_messages_request_builder.go index defed820334..bdd00c034a2 100644 --- a/users/item_chats_item_messages_request_builder.go +++ b/users/item_chats_item_messages_request_builder.go @@ -100,10 +100,10 @@ func (m *ItemChatsItemMessagesRequestBuilder) Get(ctx context.Context, requestCo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post 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. +// Post send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 func (m *ItemChatsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChatsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -135,10 +135,10 @@ func (m *ItemChatsItemMessagesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation 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. +// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. func (m *ItemChatsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChatsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -148,7 +148,7 @@ func (m *ItemChatsItemMessagesRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_operations_request_builder.go b/users/item_chats_item_operations_request_builder.go index 2606408d173..d67559dbd78 100644 --- a/users/item_chats_item_operations_request_builder.go +++ b/users/item_chats_item_operations_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemChatsItemOperationsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for users @@ -141,7 +141,7 @@ func (m *ItemChatsItemOperationsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_operations_teams_async_operation_item_request_builder.go b/users/item_chats_item_operations_teams_async_operation_item_request_builder.go index 967e829a0bb..17fcbcb475b 100644 --- a/users/item_chats_item_operations_teams_async_operation_item_request_builder.go +++ b/users/item_chats_item_operations_teams_async_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in users @@ -150,7 +150,7 @@ func (m *ItemChatsItemOperationsTeamsAsyncOperationItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_permission_grants_request_builder.go b/users/item_chats_item_permission_grants_request_builder.go index 78cd4737c97..222921825b0 100644 --- a/users/item_chats_item_permission_grants_request_builder.go +++ b/users/item_chats_item_permission_grants_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemChatsItemPermissionGrantsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionGrants for users @@ -141,7 +141,7 @@ func (m *ItemChatsItemPermissionGrantsRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_permission_grants_resource_specific_permission_grant_item_request_builder.go b/users/item_chats_item_permission_grants_resource_specific_permission_grant_item_request_builder.go index d61b01fbe17..c60cca5f194 100644 --- a/users/item_chats_item_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/users/item_chats_item_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemChatsItemPermissionGrantsResourceSpecificPermissionGrantItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of permissions granted to apps for the chat. @@ -134,7 +134,7 @@ func (m *ItemChatsItemPermissionGrantsResourceSpecificPermissionGrantItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionGrants in users @@ -147,7 +147,7 @@ func (m *ItemChatsItemPermissionGrantsResourceSpecificPermissionGrantItemRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_pinned_messages_item_message_request_builder.go b/users/item_chats_item_pinned_messages_item_message_request_builder.go index c0e7c362c73..ce8d381d0f5 100644 --- a/users/item_chats_item_pinned_messages_item_message_request_builder.go +++ b/users/item_chats_item_pinned_messages_item_message_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemChatsItemPinnedMessagesItemMessageRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go b/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go index a21217eeda0..f87f1fb41ea 100644 --- a/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go +++ b/users/item_chats_item_pinned_messages_pinned_chat_message_info_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of all the pinned messages in the chat. Nullable. @@ -141,7 +141,7 @@ func (m *ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pinnedMessages in users @@ -154,7 +154,7 @@ func (m *ItemChatsItemPinnedMessagesPinnedChatMessageInfoItemRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_pinned_messages_request_builder.go b/users/item_chats_item_pinned_messages_request_builder.go index c57c615a356..c66782ac1c4 100644 --- a/users/item_chats_item_pinned_messages_request_builder.go +++ b/users/item_chats_item_pinned_messages_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemChatsItemPinnedMessagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemChatsItemPinnedMessagesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_send_activity_notification_request_builder.go b/users/item_chats_item_send_activity_notification_request_builder.go index e720996e0a8..740dde2aa13 100644 --- a/users/item_chats_item_send_activity_notification_request_builder.go +++ b/users/item_chats_item_send_activity_notification_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChatsItemSendActivityNotificationRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_tabs_item_teams_app_request_builder.go b/users/item_chats_item_tabs_item_teams_app_request_builder.go index c15cb403bcc..3891ad91bb4 100644 --- a/users/item_chats_item_tabs_item_teams_app_request_builder.go +++ b/users/item_chats_item_tabs_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemChatsItemTabsItemTeamsAppRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_chats_item_tabs_request_builder.go b/users/item_chats_item_tabs_request_builder.go index c7ef8c3fc3f..125534f835d 100644 --- a/users/item_chats_item_tabs_request_builder.go +++ b/users/item_chats_item_tabs_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemChatsItemTabsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemChatsItemTabsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_tabs_teams_tab_item_request_builder.go b/users/item_chats_item_tabs_teams_tab_item_request_builder.go index c38cf08bcaa..2f4fc3720fc 100644 --- a/users/item_chats_item_tabs_teams_tab_item_request_builder.go +++ b/users/item_chats_item_tabs_teams_tab_item_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. @@ -147,7 +147,7 @@ func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -160,7 +160,7 @@ func (m *ItemChatsItemTabsTeamsTabItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_item_unhide_for_user_request_builder.go b/users/item_chats_item_unhide_for_user_request_builder.go index 4d0880f26c8..638c30891fb 100644 --- a/users/item_chats_item_unhide_for_user_request_builder.go +++ b/users/item_chats_item_unhide_for_user_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemChatsItemUnhideForUserRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_chats_request_builder.go b/users/item_chats_request_builder.go index 78731c4cb89..488f414b83b 100644 --- a/users/item_chats_request_builder.go +++ b/users/item_chats_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemChatsRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to chats for users @@ -149,7 +149,7 @@ func (m *ItemChatsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_check_member_groups_request_builder.go b/users/item_check_member_groups_request_builder.go index 78834ec614e..7c21e02b5be 100644 --- a/users/item_check_member_groups_request_builder.go +++ b/users/item_check_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCheckMemberGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_check_member_objects_request_builder.go b/users/item_check_member_objects_request_builder.go index bb854d4db4b..819646f384a 100644 --- a/users/item_check_member_objects_request_builder.go +++ b/users/item_check_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemCheckMemberObjectsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_cloud_p_cs_bulk_resize_request_builder.go b/users/item_cloud_p_cs_bulk_resize_request_builder.go index 345cc395918..5736aca5d6e 100644 --- a/users/item_cloud_p_cs_bulk_resize_request_builder.go +++ b/users/item_cloud_p_cs_bulk_resize_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemCloudPCsBulkResizeRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go b/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go index 9a33d72bce0..d2da8267234 100644 --- a/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go +++ b/users/item_cloud_p_cs_cloud_p_c_item_request_builder.go @@ -193,7 +193,7 @@ func (m *ItemCloudPCsCloudPCItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a specific cloudPC object. This API is available in the following national cloud deployments. @@ -209,7 +209,7 @@ func (m *ItemCloudPCsCloudPCItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property cloudPCs in users @@ -222,7 +222,7 @@ func (m *ItemCloudPCsCloudPCItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go b/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go index 1d5ee3ffa7d..936bf08ac62 100644 --- a/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go +++ b/users/item_cloud_p_cs_get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemCloudPCsGetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go b/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go index 0a65a8d1fe9..f72ed7d9e7c 100644 --- a/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go +++ b/users/item_cloud_p_cs_item_change_user_account_type_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemChangeUserAccountTypeRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_cloud_p_cs_item_create_snapshot_request_builder.go b/users/item_cloud_p_cs_item_create_snapshot_request_builder.go index ff28c6c7da3..4b1eabd786b 100644 --- a/users/item_cloud_p_cs_item_create_snapshot_request_builder.go +++ b/users/item_cloud_p_cs_item_create_snapshot_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemCloudPCsItemCreateSnapshotRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_end_grace_period_request_builder.go b/users/item_cloud_p_cs_item_end_grace_period_request_builder.go index bf25a637eba..4d46601daa0 100644 --- a/users/item_cloud_p_cs_item_end_grace_period_request_builder.go +++ b/users/item_cloud_p_cs_item_end_grace_period_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemEndGracePeriodRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go b/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go index 0d702382215..f5a93c7c62d 100644 --- a/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go +++ b/users/item_cloud_p_cs_item_get_cloud_pc_connectivity_history_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemCloudPCsItemGetCloudPcConnectivityHistoryRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go b/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go index d6d53db1648..92f12a9ee8b 100644 --- a/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go +++ b/users/item_cloud_p_cs_item_get_cloud_pc_launch_info_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemCloudPCsItemGetCloudPcLaunchInfoRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go b/users/item_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go index 6323be7abd7..86da9f16d85 100644 --- a/users/item_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go +++ b/users/item_cloud_p_cs_item_get_frontline_cloud_pc_access_state_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemCloudPCsItemGetFrontlineCloudPcAccessStateRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go b/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go index d46ba905a1d..2881ffd8729 100644 --- a/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go +++ b/users/item_cloud_p_cs_item_get_shift_work_cloud_pc_access_state_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemCloudPCsItemGetShiftWorkCloudPcAccessStateRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go b/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go index 18fcd393f13..fb9bb6c8598 100644 --- a/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go +++ b/users/item_cloud_p_cs_item_get_supported_cloud_pc_remote_actions_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemCloudPCsItemGetSupportedCloudPcRemoteActionsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_power_off_request_builder.go b/users/item_cloud_p_cs_item_power_off_request_builder.go index df8ed1c212b..fefefb599b6 100644 --- a/users/item_cloud_p_cs_item_power_off_request_builder.go +++ b/users/item_cloud_p_cs_item_power_off_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemPowerOffRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_power_on_request_builder.go b/users/item_cloud_p_cs_item_power_on_request_builder.go index cb1db994b7d..3a45a0c9a45 100644 --- a/users/item_cloud_p_cs_item_power_on_request_builder.go +++ b/users/item_cloud_p_cs_item_power_on_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemPowerOnRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_reboot_request_builder.go b/users/item_cloud_p_cs_item_reboot_request_builder.go index 844e5851dbd..2a35b3858e8 100644 --- a/users/item_cloud_p_cs_item_reboot_request_builder.go +++ b/users/item_cloud_p_cs_item_reboot_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemRebootRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_rename_request_builder.go b/users/item_cloud_p_cs_item_rename_request_builder.go index 66a788cc292..d0894adc1ca 100644 --- a/users/item_cloud_p_cs_item_rename_request_builder.go +++ b/users/item_cloud_p_cs_item_rename_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemRenameRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_cloud_p_cs_item_reprovision_request_builder.go b/users/item_cloud_p_cs_item_reprovision_request_builder.go index 2439c68a1f7..c5475c3ca9f 100644 --- a/users/item_cloud_p_cs_item_reprovision_request_builder.go +++ b/users/item_cloud_p_cs_item_reprovision_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemReprovisionRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_cloud_p_cs_item_resize_request_builder.go b/users/item_cloud_p_cs_item_resize_request_builder.go index e7a3b8a9069..9754efb8745 100644 --- a/users/item_cloud_p_cs_item_resize_request_builder.go +++ b/users/item_cloud_p_cs_item_resize_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemCloudPCsItemResizeRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_cloud_p_cs_item_restore_request_builder.go b/users/item_cloud_p_cs_item_restore_request_builder.go index 030cdb03ba7..47643f60cf0 100644 --- a/users/item_cloud_p_cs_item_restore_request_builder.go +++ b/users/item_cloud_p_cs_item_restore_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemRestoreRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go b/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go index e76923603cd..bebdfb914af 100644 --- a/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go +++ b/users/item_cloud_p_cs_item_retry_partner_agent_installation_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemRetryPartnerAgentInstallationRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_start_request_builder.go b/users/item_cloud_p_cs_item_start_request_builder.go index f97ad27eb70..632632e1b4b 100644 --- a/users/item_cloud_p_cs_item_start_request_builder.go +++ b/users/item_cloud_p_cs_item_start_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemStartRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_stop_request_builder.go b/users/item_cloud_p_cs_item_stop_request_builder.go index 706fbd668ad..a0572222822 100644 --- a/users/item_cloud_p_cs_item_stop_request_builder.go +++ b/users/item_cloud_p_cs_item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemStopRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_item_troubleshoot_request_builder.go b/users/item_cloud_p_cs_item_troubleshoot_request_builder.go index 9338c669d0f..1b2762a9fbc 100644 --- a/users/item_cloud_p_cs_item_troubleshoot_request_builder.go +++ b/users/item_cloud_p_cs_item_troubleshoot_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemCloudPCsItemTroubleshootRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_cloud_p_cs_request_builder.go b/users/item_cloud_p_cs_request_builder.go index 5df70446e96..c7f87e7cd93 100644 --- a/users/item_cloud_p_cs_request_builder.go +++ b/users/item_cloud_p_cs_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemCloudPCsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to cloudPCs for users @@ -149,7 +149,7 @@ func (m *ItemCloudPCsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go b/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go index ff749135800..fd844b17723 100644 --- a/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go +++ b/users/item_cloud_p_cs_validate_bulk_resize_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemCloudPCsValidateBulkResizeRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_contact_folder_item_request_builder.go b/users/item_contact_folders_contact_folder_item_request_builder.go index 66e6c2987cb..b031a881fba 100644 --- a/users/item_contact_folders_contact_folder_item_request_builder.go +++ b/users/item_contact_folders_contact_folder_item_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemContactFoldersContactFolderItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -151,7 +151,7 @@ func (m *ItemContactFoldersContactFolderItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of contactfolder object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *ItemContactFoldersContactFolderItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_delta_request_builder.go b/users/item_contact_folders_delta_request_builder.go index cfac6e58239..8ee23152710 100644 --- a/users/item_contact_folders_delta_request_builder.go +++ b/users/item_contact_folders_delta_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemContactFoldersDeltaRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_contact_folders_item_child_folders_contact_folder_item_request_builder.go b/users/item_contact_folders_item_child_folders_contact_folder_item_request_builder.go index 6b1c99891c3..825ea8bfa85 100644 --- a/users/item_contact_folders_item_child_folders_contact_folder_item_request_builder.go +++ b/users/item_contact_folders_item_child_folders_contact_folder_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemContactFoldersItemChildFoldersContactFolderItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of child folders in the folder. Navigation property. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemContactFoldersItemChildFoldersContactFolderItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property childFolders in users @@ -151,7 +151,7 @@ func (m *ItemContactFoldersItemChildFoldersContactFolderItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_child_folders_delta_request_builder.go b/users/item_contact_folders_item_child_folders_delta_request_builder.go index 64d701f6e26..01d7a199ec4 100644 --- a/users/item_contact_folders_item_child_folders_delta_request_builder.go +++ b/users/item_contact_folders_item_child_folders_delta_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemContactFoldersItemChildFoldersDeltaRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_contact_folders_item_child_folders_item_contacts_contact_item_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_contact_item_request_builder.go index 61064c967b6..b733e708879 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_contact_item_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_contact_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsContactItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the contacts in the folder. Navigation property. Read-only. Nullable. @@ -142,7 +142,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsContactItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contacts in users @@ -155,7 +155,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsContactItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go index 0abbe780ee5..9a1dbfc6d77 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_delta_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsDeltaRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_extension_item_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_extension_item_request_builder.go index 7f6cc8f5199..1caffe8ed34 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_extension_item_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsExtensionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for the contact. Nullable. @@ -134,7 +134,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsExtensionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -147,7 +147,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsExtensionIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_request_builder.go index 2f6e83a73c5..ac245a3e6d9 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_item_extensions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for users @@ -136,7 +136,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemExtensionsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_child_folders_item_contacts_item_photo_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_item_photo_request_builder.go index 4db0008b9f7..1cbf927aa11 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_item_photo_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_item_photo_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemPhotoRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property photo in users @@ -113,7 +113,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemPhotoRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_child_folders_item_contacts_item_photo_value_content_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_item_photo_value_content_request_builder.go index 2575e74e5fb..11d01e2617f 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_item_photo_value_content_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_item_photo_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemPhotoValueContentRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photo in users @@ -98,7 +98,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsItemPhotoValueContentRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go b/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go index 6c831b92b4d..a6428abf183 100644 --- a/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go +++ b/users/item_contact_folders_item_child_folders_item_contacts_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemContactFoldersItemChildFoldersItemContactsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_child_folders_request_builder.go b/users/item_contact_folders_item_child_folders_request_builder.go index ad2abd1a75c..820bc80c2dd 100644 --- a/users/item_contact_folders_item_child_folders_request_builder.go +++ b/users/item_contact_folders_item_child_folders_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemContactFoldersItemChildFoldersRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemContactFoldersItemChildFoldersRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_contacts_contact_item_request_builder.go b/users/item_contact_folders_item_contacts_contact_item_request_builder.go index 3a59d6a9ede..5f1c0e9e7a7 100644 --- a/users/item_contact_folders_item_contacts_contact_item_request_builder.go +++ b/users/item_contact_folders_item_contacts_contact_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemContactFoldersItemContactsContactItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the contacts in the folder. Navigation property. Read-only. Nullable. @@ -142,7 +142,7 @@ func (m *ItemContactFoldersItemContactsContactItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contacts in users @@ -155,7 +155,7 @@ func (m *ItemContactFoldersItemContactsContactItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_contacts_delta_request_builder.go b/users/item_contact_folders_item_contacts_delta_request_builder.go index 680c444d88e..b34502a47d5 100644 --- a/users/item_contact_folders_item_contacts_delta_request_builder.go +++ b/users/item_contact_folders_item_contacts_delta_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemContactFoldersItemContactsDeltaRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_contact_folders_item_contacts_item_extensions_extension_item_request_builder.go b/users/item_contact_folders_item_contacts_item_extensions_extension_item_request_builder.go index cebe41141ea..7bcb630a19c 100644 --- a/users/item_contact_folders_item_contacts_item_extensions_extension_item_request_builder.go +++ b/users/item_contact_folders_item_contacts_item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemContactFoldersItemContactsItemExtensionsExtensionItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for the contact. Nullable. @@ -134,7 +134,7 @@ func (m *ItemContactFoldersItemContactsItemExtensionsExtensionItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -147,7 +147,7 @@ func (m *ItemContactFoldersItemContactsItemExtensionsExtensionItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_contacts_item_extensions_request_builder.go b/users/item_contact_folders_item_contacts_item_extensions_request_builder.go index 3296f032eda..671ae302e50 100644 --- a/users/item_contact_folders_item_contacts_item_extensions_request_builder.go +++ b/users/item_contact_folders_item_contacts_item_extensions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemContactFoldersItemContactsItemExtensionsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for users @@ -136,7 +136,7 @@ func (m *ItemContactFoldersItemContactsItemExtensionsRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_contacts_item_photo_request_builder.go b/users/item_contact_folders_item_contacts_item_photo_request_builder.go index def54324962..e07f9454c79 100644 --- a/users/item_contact_folders_item_contacts_item_photo_request_builder.go +++ b/users/item_contact_folders_item_contacts_item_photo_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemContactFoldersItemContactsItemPhotoRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property photo in users @@ -113,7 +113,7 @@ func (m *ItemContactFoldersItemContactsItemPhotoRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_item_contacts_item_photo_value_content_request_builder.go b/users/item_contact_folders_item_contacts_item_photo_value_content_request_builder.go index 8bd6601d87e..5b2a7adde99 100644 --- a/users/item_contact_folders_item_contacts_item_photo_value_content_request_builder.go +++ b/users/item_contact_folders_item_contacts_item_photo_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemContactFoldersItemContactsItemPhotoValueContentRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photo in users @@ -98,7 +98,7 @@ func (m *ItemContactFoldersItemContactsItemPhotoValueContentRequestBuilder) ToPu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_contact_folders_item_contacts_request_builder.go b/users/item_contact_folders_item_contacts_request_builder.go index dc8ce763173..2457d0ce0a5 100644 --- a/users/item_contact_folders_item_contacts_request_builder.go +++ b/users/item_contact_folders_item_contacts_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemContactFoldersItemContactsRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemContactFoldersItemContactsRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contact_folders_request_builder.go b/users/item_contact_folders_request_builder.go index eb89bd5eca9..827a5cc658d 100644 --- a/users/item_contact_folders_request_builder.go +++ b/users/item_contact_folders_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemContactFoldersRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemContactFoldersRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contacts_contact_item_request_builder.go b/users/item_contacts_contact_item_request_builder.go index e15d27d0af8..44309aed6ab 100644 --- a/users/item_contacts_contact_item_request_builder.go +++ b/users/item_contacts_contact_item_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemContactsContactItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -151,7 +151,7 @@ func (m *ItemContactsContactItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of contact object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *ItemContactsContactItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contacts_delta_request_builder.go b/users/item_contacts_delta_request_builder.go index 1f336b6091a..548b3f0932d 100644 --- a/users/item_contacts_delta_request_builder.go +++ b/users/item_contacts_delta_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemContactsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_contacts_item_extensions_extension_item_request_builder.go b/users/item_contacts_item_extensions_extension_item_request_builder.go index 0bcf3e213c9..4a3e32983f9 100644 --- a/users/item_contacts_item_extensions_extension_item_request_builder.go +++ b/users/item_contacts_item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemContactsItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for the contact. Nullable. @@ -134,7 +134,7 @@ func (m *ItemContactsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -147,7 +147,7 @@ func (m *ItemContactsItemExtensionsExtensionItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contacts_item_extensions_request_builder.go b/users/item_contacts_item_extensions_request_builder.go index 1cacf91ab01..ec7393341d1 100644 --- a/users/item_contacts_item_extensions_request_builder.go +++ b/users/item_contacts_item_extensions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemContactsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for users @@ -136,7 +136,7 @@ func (m *ItemContactsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contacts_item_photo_request_builder.go b/users/item_contacts_item_photo_request_builder.go index a2fe17e4193..5363916cff5 100644 --- a/users/item_contacts_item_photo_request_builder.go +++ b/users/item_contacts_item_photo_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemContactsItemPhotoRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property photo in users @@ -113,7 +113,7 @@ func (m *ItemContactsItemPhotoRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_contacts_item_photo_value_content_request_builder.go b/users/item_contacts_item_photo_value_content_request_builder.go index ebd3160e2f8..2b06dd85455 100644 --- a/users/item_contacts_item_photo_value_content_request_builder.go +++ b/users/item_contacts_item_photo_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemContactsItemPhotoValueContentRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photo in users @@ -98,7 +98,7 @@ func (m *ItemContactsItemPhotoValueContentRequestBuilder) ToPutRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_contacts_request_builder.go b/users/item_contacts_request_builder.go index 34b99aa55f4..a1bc91b9fc5 100644 --- a/users/item_contacts_request_builder.go +++ b/users/item_contacts_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemContactsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemContactsRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_created_objects_directory_object_item_request_builder.go b/users/item_created_objects_directory_object_item_request_builder.go index 43bc2823b53..2120b02ebb4 100644 --- a/users/item_created_objects_directory_object_item_request_builder.go +++ b/users/item_created_objects_directory_object_item_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemCreatedObjectsDirectoryObjectItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_created_objects_graph_service_principal_request_builder.go b/users/item_created_objects_graph_service_principal_request_builder.go index 827de30bbf1..b7301c96500 100644 --- a/users/item_created_objects_graph_service_principal_request_builder.go +++ b/users/item_created_objects_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemCreatedObjectsGraphServicePrincipalRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_created_objects_item_graph_service_principal_request_builder.go b/users/item_created_objects_item_graph_service_principal_request_builder.go index 6c40a59bd7a..22a74076a26 100644 --- a/users/item_created_objects_item_graph_service_principal_request_builder.go +++ b/users/item_created_objects_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemCreatedObjectsItemGraphServicePrincipalRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_created_objects_request_builder.go b/users/item_created_objects_request_builder.go index e9a2d34cf83..ff1fe8631bf 100644 --- a/users/item_created_objects_request_builder.go +++ b/users/item_created_objects_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemCreatedObjectsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_delete_password_single_sign_on_credentials_request_builder.go b/users/item_delete_password_single_sign_on_credentials_request_builder.go index ac165fc6bfa..6465e17fac1 100644 --- a/users/item_delete_password_single_sign_on_credentials_request_builder.go +++ b/users/item_delete_password_single_sign_on_credentials_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemDeletePasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go b/users/item_device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go index 48e5764f700..e1fe30aea53 100644 --- a/users/item_device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go +++ b/users/item_device_enrollment_configurations_create_enrollment_notification_configuration_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemDeviceEnrollmentConfigurationsCreateEnrollmentNotificationConfigura requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go b/users/item_device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go index b115fa8af76..778116e04f5 100644 --- a/users/item_device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go +++ b/users/item_device_enrollment_configurations_device_enrollment_configuration_item_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get enrollment configurations targeted to the user @@ -146,7 +146,7 @@ func (m *ItemDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceEnrollmentConfigurations in users @@ -159,7 +159,7 @@ func (m *ItemDeviceEnrollmentConfigurationsDeviceEnrollmentConfigurationItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_device_enrollment_configurations_has_payload_links_request_builder.go b/users/item_device_enrollment_configurations_has_payload_links_request_builder.go index bcf057097f1..95eaec07891 100644 --- a/users/item_device_enrollment_configurations_has_payload_links_request_builder.go +++ b/users/item_device_enrollment_configurations_has_payload_links_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemDeviceEnrollmentConfigurationsHasPayloadLinksRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_device_enrollment_configurations_item_assign_request_builder.go b/users/item_device_enrollment_configurations_item_assign_request_builder.go index d3918be52c6..0da63fe651d 100644 --- a/users/item_device_enrollment_configurations_item_assign_request_builder.go +++ b/users/item_device_enrollment_configurations_item_assign_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemAssignRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go b/users/item_device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go index 77992a3ff41..16ae091e147 100644 --- a/users/item_device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go +++ b/users/item_device_enrollment_configurations_item_assignments_enrollment_configuration_assignment_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfiguratio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of group assignments for the device configuration profile @@ -134,7 +134,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfiguratio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignments in users @@ -147,7 +147,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemAssignmentsEnrollmentConfiguratio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_device_enrollment_configurations_item_assignments_request_builder.go b/users/item_device_enrollment_configurations_item_assignments_request_builder.go index b2871e33318..6aa10349ba9 100644 --- a/users/item_device_enrollment_configurations_item_assignments_request_builder.go +++ b/users/item_device_enrollment_configurations_item_assignments_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignments for users @@ -138,7 +138,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemAssignmentsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_device_enrollment_configurations_item_set_priority_request_builder.go b/users/item_device_enrollment_configurations_item_set_priority_request_builder.go index 1d991784a5f..8ca98d2a52d 100644 --- a/users/item_device_enrollment_configurations_item_set_priority_request_builder.go +++ b/users/item_device_enrollment_configurations_item_set_priority_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemDeviceEnrollmentConfigurationsItemSetPriorityRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_device_enrollment_configurations_request_builder.go b/users/item_device_enrollment_configurations_request_builder.go index 3513f8bc03b..eed05ffdfe6 100644 --- a/users/item_device_enrollment_configurations_request_builder.go +++ b/users/item_device_enrollment_configurations_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemDeviceEnrollmentConfigurationsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceEnrollmentConfigurations for users @@ -146,7 +146,7 @@ func (m *ItemDeviceEnrollmentConfigurationsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_device_management_troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go b/users/item_device_management_troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go index 7c9f1415669..178beae38bc 100644 --- a/users/item_device_management_troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go +++ b/users/item_device_management_troubleshooting_events_device_management_troubleshooting_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemDeviceManagementTroubleshootingEventsDeviceManagementTroubleshootin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of troubleshooting events for this user. @@ -134,7 +134,7 @@ func (m *ItemDeviceManagementTroubleshootingEventsDeviceManagementTroubleshootin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceManagementTroubleshootingEvents in users @@ -147,7 +147,7 @@ func (m *ItemDeviceManagementTroubleshootingEventsDeviceManagementTroubleshootin requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_device_management_troubleshooting_events_request_builder.go b/users/item_device_management_troubleshooting_events_request_builder.go index 5c73e067ecf..402333dd942 100644 --- a/users/item_device_management_troubleshooting_events_request_builder.go +++ b/users/item_device_management_troubleshooting_events_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemDeviceManagementTroubleshootingEventsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceManagementTroubleshootingEvents for users @@ -138,7 +138,7 @@ func (m *ItemDeviceManagementTroubleshootingEventsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_devices_delta_request_builder.go b/users/item_devices_delta_request_builder.go index 4e3cd5f1855..78e261d3a1f 100644 --- a/users/item_devices_delta_request_builder.go +++ b/users/item_devices_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemDevicesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_device_item_request_builder.go b/users/item_devices_device_item_request_builder.go index ca40c72d15b..0d004b5dcf8 100644 --- a/users/item_devices_device_item_request_builder.go +++ b/users/item_devices_device_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemDevicesDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get devices from users @@ -154,7 +154,7 @@ func (m *ItemDevicesDeviceItemRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property devices in users @@ -167,7 +167,7 @@ func (m *ItemDevicesDeviceItemRequestBuilder) ToPatchRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_devices_item_commands_command_item_request_builder.go b/users/item_devices_item_commands_command_item_request_builder.go index ba4c3abfe4b..966c53942b8 100644 --- a/users/item_devices_item_commands_command_item_request_builder.go +++ b/users/item_devices_item_commands_command_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemDevicesItemCommandsCommandItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation set of commands sent to this device. @@ -138,7 +138,7 @@ func (m *ItemDevicesItemCommandsCommandItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property commands in users @@ -151,7 +151,7 @@ func (m *ItemDevicesItemCommandsCommandItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_devices_item_commands_item_responsepayload_request_builder.go b/users/item_devices_item_commands_item_responsepayload_request_builder.go index 77b476ea6ff..607cc03aae1 100644 --- a/users/item_devices_item_commands_item_responsepayload_request_builder.go +++ b/users/item_devices_item_commands_item_responsepayload_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemCommandsItemResponsepayloadRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_commands_request_builder.go b/users/item_devices_item_commands_request_builder.go index e87ed3ffd98..3778aaecc68 100644 --- a/users/item_devices_item_commands_request_builder.go +++ b/users/item_devices_item_commands_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemDevicesItemCommandsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to commands for users @@ -138,7 +138,7 @@ func (m *ItemDevicesItemCommandsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_devices_item_extensions_extension_item_request_builder.go b/users/item_devices_item_extensions_extension_item_request_builder.go index 7cf5dfa479e..213df1a1469 100644 --- a/users/item_devices_item_extensions_extension_item_request_builder.go +++ b/users/item_devices_item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemDevicesItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for the device. Read-only. Nullable. @@ -134,7 +134,7 @@ func (m *ItemDevicesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -147,7 +147,7 @@ func (m *ItemDevicesItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_devices_item_extensions_request_builder.go b/users/item_devices_item_extensions_request_builder.go index 306366ceecc..e8a12c41f90 100644 --- a/users/item_devices_item_extensions_request_builder.go +++ b/users/item_devices_item_extensions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemDevicesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for users @@ -138,7 +138,7 @@ func (m *ItemDevicesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_devices_item_member_of_directory_object_item_request_builder.go b/users/item_devices_item_member_of_directory_object_item_request_builder.go index 407ce779f22..b6577688dbb 100644 --- a/users/item_devices_item_member_of_directory_object_item_request_builder.go +++ b/users/item_devices_item_member_of_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemDevicesItemMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_member_of_graph_administrative_unit_request_builder.go b/users/item_devices_item_member_of_graph_administrative_unit_request_builder.go index 14388a344e9..894e5b125d0 100644 --- a/users/item_devices_item_member_of_graph_administrative_unit_request_builder.go +++ b/users/item_devices_item_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDevicesItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_member_of_graph_group_request_builder.go b/users/item_devices_item_member_of_graph_group_request_builder.go index 640b99d8989..406eb866274 100644 --- a/users/item_devices_item_member_of_graph_group_request_builder.go +++ b/users/item_devices_item_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDevicesItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_member_of_item_graph_administrative_unit_request_builder.go b/users/item_devices_item_member_of_item_graph_administrative_unit_request_builder.go index 1f8f6925a8c..e0237d06539 100644 --- a/users/item_devices_item_member_of_item_graph_administrative_unit_request_builder.go +++ b/users/item_devices_item_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_member_of_item_graph_group_request_builder.go b/users/item_devices_item_member_of_item_graph_group_request_builder.go index fbcd9636e27..f059d57b13d 100644 --- a/users/item_devices_item_member_of_item_graph_group_request_builder.go +++ b/users/item_devices_item_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_member_of_request_builder.go b/users/item_devices_item_member_of_request_builder.go index c0fecd8e965..55829b4c78b 100644 --- a/users/item_devices_item_member_of_request_builder.go +++ b/users/item_devices_item_member_of_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemDevicesItemMemberOfRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_owners_graph_endpoint_request_builder.go b/users/item_devices_item_registered_owners_graph_endpoint_request_builder.go index a63e23b3c6c..6f7878f81a6 100644 --- a/users/item_devices_item_registered_owners_graph_endpoint_request_builder.go +++ b/users/item_devices_item_registered_owners_graph_endpoint_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDevicesItemRegisteredOwnersGraphEndpointRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_owners_graph_service_principal_request_builder.go b/users/item_devices_item_registered_owners_graph_service_principal_request_builder.go index 8d00db2c416..801b709f847 100644 --- a/users/item_devices_item_registered_owners_graph_service_principal_request_builder.go +++ b/users/item_devices_item_registered_owners_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDevicesItemRegisteredOwnersGraphServicePrincipalRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_owners_graph_user_request_builder.go b/users/item_devices_item_registered_owners_graph_user_request_builder.go index 75ce710bcf2..fbb73cce742 100644 --- a/users/item_devices_item_registered_owners_graph_user_request_builder.go +++ b/users/item_devices_item_registered_owners_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDevicesItemRegisteredOwnersGraphUserRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_owners_item_graph_endpoint_request_builder.go b/users/item_devices_item_registered_owners_item_graph_endpoint_request_builder.go index 718748afab2..40f164bab79 100644 --- a/users/item_devices_item_registered_owners_item_graph_endpoint_request_builder.go +++ b/users/item_devices_item_registered_owners_item_graph_endpoint_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemRegisteredOwnersItemGraphEndpointRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_owners_item_graph_service_principal_request_builder.go b/users/item_devices_item_registered_owners_item_graph_service_principal_request_builder.go index 2ac83d5e116..1b8f4c6a278 100644 --- a/users/item_devices_item_registered_owners_item_graph_service_principal_request_builder.go +++ b/users/item_devices_item_registered_owners_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemRegisteredOwnersItemGraphServicePrincipalRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_owners_item_graph_user_request_builder.go b/users/item_devices_item_registered_owners_item_graph_user_request_builder.go index b3a1b388ded..0b8813af6ef 100644 --- a/users/item_devices_item_registered_owners_item_graph_user_request_builder.go +++ b/users/item_devices_item_registered_owners_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemRegisteredOwnersItemGraphUserRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_owners_item_ref_request_builder.go b/users/item_devices_item_registered_owners_item_ref_request_builder.go index 0f3830f233c..81de1786a09 100644 --- a/users/item_devices_item_registered_owners_item_ref_request_builder.go +++ b/users/item_devices_item_registered_owners_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemDevicesItemRegisteredOwnersItemRefRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_owners_ref_request_builder.go b/users/item_devices_item_registered_owners_ref_request_builder.go index 9dd770456c0..c96bc2ce734 100644 --- a/users/item_devices_item_registered_owners_ref_request_builder.go +++ b/users/item_devices_item_registered_owners_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a user as a registered owner of the device. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *ItemDevicesItemRegisteredOwnersRefRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_devices_item_registered_owners_request_builder.go b/users/item_devices_item_registered_owners_request_builder.go index 80f2d1a1928..380d9ea3923 100644 --- a/users/item_devices_item_registered_owners_request_builder.go +++ b/users/item_devices_item_registered_owners_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemDevicesItemRegisteredOwnersRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_users_graph_endpoint_request_builder.go b/users/item_devices_item_registered_users_graph_endpoint_request_builder.go index 159d3c84aaa..b6aec702134 100644 --- a/users/item_devices_item_registered_users_graph_endpoint_request_builder.go +++ b/users/item_devices_item_registered_users_graph_endpoint_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDevicesItemRegisteredUsersGraphEndpointRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_users_graph_service_principal_request_builder.go b/users/item_devices_item_registered_users_graph_service_principal_request_builder.go index 77fb2ad1297..a294c4d819d 100644 --- a/users/item_devices_item_registered_users_graph_service_principal_request_builder.go +++ b/users/item_devices_item_registered_users_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDevicesItemRegisteredUsersGraphServicePrincipalRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_users_graph_user_request_builder.go b/users/item_devices_item_registered_users_graph_user_request_builder.go index ca02c95ef29..5d2d4b7689c 100644 --- a/users/item_devices_item_registered_users_graph_user_request_builder.go +++ b/users/item_devices_item_registered_users_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDevicesItemRegisteredUsersGraphUserRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_users_item_graph_endpoint_request_builder.go b/users/item_devices_item_registered_users_item_graph_endpoint_request_builder.go index 041270af48f..32ab6e46244 100644 --- a/users/item_devices_item_registered_users_item_graph_endpoint_request_builder.go +++ b/users/item_devices_item_registered_users_item_graph_endpoint_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemRegisteredUsersItemGraphEndpointRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_users_item_graph_service_principal_request_builder.go b/users/item_devices_item_registered_users_item_graph_service_principal_request_builder.go index 3d987d36328..0137d9e2028 100644 --- a/users/item_devices_item_registered_users_item_graph_service_principal_request_builder.go +++ b/users/item_devices_item_registered_users_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemRegisteredUsersItemGraphServicePrincipalRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_users_item_graph_user_request_builder.go b/users/item_devices_item_registered_users_item_graph_user_request_builder.go index cf596829c88..b88684ae1d8 100644 --- a/users/item_devices_item_registered_users_item_graph_user_request_builder.go +++ b/users/item_devices_item_registered_users_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemRegisteredUsersItemGraphUserRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_users_item_ref_request_builder.go b/users/item_devices_item_registered_users_item_ref_request_builder.go index 99d3b9334b9..a57b9f09051 100644 --- a/users/item_devices_item_registered_users_item_ref_request_builder.go +++ b/users/item_devices_item_registered_users_item_ref_request_builder.go @@ -69,7 +69,7 @@ func (m *ItemDevicesItemRegisteredUsersItemRefRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_registered_users_ref_request_builder.go b/users/item_devices_item_registered_users_ref_request_builder.go index e9a124de9bc..4ab62b83344 100644 --- a/users/item_devices_item_registered_users_ref_request_builder.go +++ b/users/item_devices_item_registered_users_ref_request_builder.go @@ -109,7 +109,7 @@ func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation add a registered user for the device. This API is available in the following national cloud deployments. @@ -122,7 +122,7 @@ func (m *ItemDevicesItemRegisteredUsersRefRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_devices_item_registered_users_request_builder.go b/users/item_devices_item_registered_users_request_builder.go index 18bbe905dc6..b7d02d7e18d 100644 --- a/users/item_devices_item_registered_users_request_builder.go +++ b/users/item_devices_item_registered_users_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemDevicesItemRegisteredUsersRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_transitive_member_of_directory_object_item_request_builder.go b/users/item_devices_item_transitive_member_of_directory_object_item_request_builder.go index 103d106ce73..332332f862c 100644 --- a/users/item_devices_item_transitive_member_of_directory_object_item_request_builder.go +++ b/users/item_devices_item_transitive_member_of_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemDevicesItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_transitive_member_of_graph_administrative_unit_request_builder.go b/users/item_devices_item_transitive_member_of_graph_administrative_unit_request_builder.go index 24668416b44..1eec89a45c6 100644 --- a/users/item_devices_item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/users/item_devices_item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDevicesItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_transitive_member_of_graph_group_request_builder.go b/users/item_devices_item_transitive_member_of_graph_group_request_builder.go index 402b181656b..beb98705bdd 100644 --- a/users/item_devices_item_transitive_member_of_graph_group_request_builder.go +++ b/users/item_devices_item_transitive_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDevicesItemTransitiveMemberOfGraphGroupRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/users/item_devices_item_transitive_member_of_item_graph_administrative_unit_request_builder.go index 74a621c70de..ace3b5bc644 100644 --- a/users/item_devices_item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/users/item_devices_item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_transitive_member_of_item_graph_group_request_builder.go b/users/item_devices_item_transitive_member_of_item_graph_group_request_builder.go index f9858fd697c..85b08a18138 100644 --- a/users/item_devices_item_transitive_member_of_item_graph_group_request_builder.go +++ b/users/item_devices_item_transitive_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDevicesItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_transitive_member_of_request_builder.go b/users/item_devices_item_transitive_member_of_request_builder.go index 38cc79dd646..ec92056a029 100644 --- a/users/item_devices_item_transitive_member_of_request_builder.go +++ b/users/item_devices_item_transitive_member_of_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemDevicesItemTransitiveMemberOfRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_devices_item_usage_rights_request_builder.go b/users/item_devices_item_usage_rights_request_builder.go index 32ee4f586b4..286ad8ec299 100644 --- a/users/item_devices_item_usage_rights_request_builder.go +++ b/users/item_devices_item_usage_rights_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemDevicesItemUsageRightsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to usageRights for users @@ -141,7 +141,7 @@ func (m *ItemDevicesItemUsageRightsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_devices_item_usage_rights_usage_right_item_request_builder.go b/users/item_devices_item_usage_rights_usage_right_item_request_builder.go index 9843e8efb4e..2bf0a805146 100644 --- a/users/item_devices_item_usage_rights_usage_right_item_request_builder.go +++ b/users/item_devices_item_usage_rights_usage_right_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemDevicesItemUsageRightsUsageRightItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the usage rights a device has been granted. @@ -134,7 +134,7 @@ func (m *ItemDevicesItemUsageRightsUsageRightItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property usageRights in users @@ -147,7 +147,7 @@ func (m *ItemDevicesItemUsageRightsUsageRightItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_devices_request_builder.go b/users/item_devices_request_builder.go index d95f274c472..8f6f22a9fa1 100644 --- a/users/item_devices_request_builder.go +++ b/users/item_devices_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemDevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to devices for users @@ -142,7 +142,7 @@ func (m *ItemDevicesRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_direct_reports_directory_object_item_request_builder.go b/users/item_direct_reports_directory_object_item_request_builder.go index 3d06673ed5b..e58ad7bc46e 100644 --- a/users/item_direct_reports_directory_object_item_request_builder.go +++ b/users/item_direct_reports_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemDirectReportsDirectoryObjectItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_direct_reports_graph_org_contact_request_builder.go b/users/item_direct_reports_graph_org_contact_request_builder.go index 7e4fd2aa7d3..777f2a68e99 100644 --- a/users/item_direct_reports_graph_org_contact_request_builder.go +++ b/users/item_direct_reports_graph_org_contact_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDirectReportsGraphOrgContactRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_direct_reports_graph_user_request_builder.go b/users/item_direct_reports_graph_user_request_builder.go index 1b412bfdd68..9276f47139e 100644 --- a/users/item_direct_reports_graph_user_request_builder.go +++ b/users/item_direct_reports_graph_user_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemDirectReportsGraphUserRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_direct_reports_item_graph_org_contact_request_builder.go b/users/item_direct_reports_item_graph_org_contact_request_builder.go index 1e953275ff1..8089ef71d1f 100644 --- a/users/item_direct_reports_item_graph_org_contact_request_builder.go +++ b/users/item_direct_reports_item_graph_org_contact_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDirectReportsItemGraphOrgContactRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_direct_reports_item_graph_user_request_builder.go b/users/item_direct_reports_item_graph_user_request_builder.go index 842e9c2a6cf..4145f9b22da 100644 --- a/users/item_direct_reports_item_graph_user_request_builder.go +++ b/users/item_direct_reports_item_graph_user_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDirectReportsItemGraphUserRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_direct_reports_request_builder.go b/users/item_direct_reports_request_builder.go index 9d3a026ad41..0c888c762f7 100644 --- a/users/item_direct_reports_request_builder.go +++ b/users/item_direct_reports_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemDirectReportsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_drive_request_builder.go b/users/item_drive_request_builder.go index 60fa40b6cb7..7e1ad340ef8 100644 --- a/users/item_drive_request_builder.go +++ b/users/item_drive_request_builder.go @@ -75,7 +75,7 @@ func (m *ItemDriveRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_drives_drive_item_request_builder.go b/users/item_drives_drive_item_request_builder.go index 4d5af3bc79a..bffd4c49a7b 100644 --- a/users/item_drives_drive_item_request_builder.go +++ b/users/item_drives_drive_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemDrivesDriveItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_drives_request_builder.go b/users/item_drives_request_builder.go index 3f4e9f87705..793b84c244c 100644 --- a/users/item_drives_request_builder.go +++ b/users/item_drives_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemDrivesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go b/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go index da5c5ad3447..f6aa2626443 100644 --- a/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go +++ b/users/item_employee_experience_learning_course_activities_learning_course_activity_item_request_builder.go @@ -75,7 +75,7 @@ func (m *ItemEmployeeExperienceLearningCourseActivitiesLearningCourseActivityIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_employee_experience_learning_course_activities_request_builder.go b/users/item_employee_experience_learning_course_activities_request_builder.go index fd379e7a557..0153e05df2f 100644 --- a/users/item_employee_experience_learning_course_activities_request_builder.go +++ b/users/item_employee_experience_learning_course_activities_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemEmployeeExperienceLearningCourseActivitiesRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_employee_experience_request_builder.go b/users/item_employee_experience_request_builder.go index 880cac49f7e..0d3f6b52226 100644 --- a/users/item_employee_experience_request_builder.go +++ b/users/item_employee_experience_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemEmployeeExperienceRequestBuilder) ToDeleteRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get employeeExperience from users @@ -138,7 +138,7 @@ func (m *ItemEmployeeExperienceRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property employeeExperience in users @@ -151,7 +151,7 @@ func (m *ItemEmployeeExperienceRequestBuilder) ToPatchRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_delta_request_builder.go b/users/item_events_delta_request_builder.go index 6aade00b9c8..73834b76add 100644 --- a/users/item_events_delta_request_builder.go +++ b/users/item_events_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemEventsDeltaRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_event_item_request_builder.go b/users/item_events_event_item_request_builder.go index e70d6492f9c..e9960c933cc 100644 --- a/users/item_events_event_item_request_builder.go +++ b/users/item_events_event_item_request_builder.go @@ -175,7 +175,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToDeleteRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -191,7 +191,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of the event object. This API is available in the following national cloud deployments. @@ -204,7 +204,7 @@ func (m *ItemEventsEventItemRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_accept_request_builder.go b/users/item_events_item_accept_request_builder.go index 05f908710fe..ce0a64ece80 100644 --- a/users/item_events_item_accept_request_builder.go +++ b/users/item_events_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemAcceptRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_attachments_attachment_item_request_builder.go b/users/item_events_item_attachments_attachment_item_request_builder.go index 90b38bf3494..5b94d4f93ca 100644 --- a/users/item_events_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemEventsItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_attachments_create_upload_session_request_builder.go index f5c4a4d0cd7..a9e61968b3f 100644 --- a/users/item_events_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEventsItemAttachmentsCreateUploadSessionRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_attachments_request_builder.go b/users/item_events_item_attachments_request_builder.go index a40eb7fe0a4..09053d838bc 100644 --- a/users/item_events_item_attachments_request_builder.go +++ b/users/item_events_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_calendar_request_builder.go b/users/item_events_item_calendar_request_builder.go index 3c02a371a97..dccd9b1200a 100644 --- a/users/item_events_item_calendar_request_builder.go +++ b/users/item_events_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemEventsItemCalendarRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_cancel_request_builder.go b/users/item_events_item_cancel_request_builder.go index 8f013d8fa14..62bb8175cf6 100644 --- a/users/item_events_item_cancel_request_builder.go +++ b/users/item_events_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemCancelRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_decline_request_builder.go b/users/item_events_item_decline_request_builder.go index 7070c2f3db6..12a37eb27f3 100644 --- a/users/item_events_item_decline_request_builder.go +++ b/users/item_events_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemDeclineRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_dismiss_reminder_request_builder.go b/users/item_events_item_dismiss_reminder_request_builder.go index 61e55cd7386..35c5f1db585 100644 --- a/users/item_events_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemDismissReminderRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_delta_request_builder.go b/users/item_events_item_exception_occurrences_delta_request_builder.go index 60e55ae130c..43f0f536b9a 100644 --- a/users/item_events_item_exception_occurrences_delta_request_builder.go +++ b/users/item_events_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemEventsItemExceptionOccurrencesDeltaRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_event_item_request_builder.go b/users/item_events_item_exception_occurrences_event_item_request_builder.go index 4811dc8a82e..5251f7238ff 100644 --- a/users/item_events_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_event_item_request_builder.go @@ -116,7 +116,7 @@ func (m *ItemEventsItemExceptionOccurrencesEventItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_item_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_accept_request_builder.go index 8cb75052a03..43a17c94acc 100644 --- a/users/item_events_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAcceptRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index ffedd876ec4..706f64738a9 100644 --- a/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsAttachmentItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index 46fb9716703..9604ffd5e95 100644 --- a/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsCreateUploadSessionReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_attachments_request_builder.go b/users/item_events_item_exception_occurrences_item_attachments_request_builder.go index 77f997bb4f2..e0d070b0a2f 100644 --- a/users/item_events_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemAttachmentsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_calendar_request_builder.go b/users/item_events_item_exception_occurrences_item_calendar_request_builder.go index 57931914be5..4e6e799e09c 100644 --- a/users/item_events_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemCalendarRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_item_cancel_request_builder.go b/users/item_events_item_exception_occurrences_item_cancel_request_builder.go index 9892b0984b5..1ade94785d4 100644 --- a/users/item_events_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemCancelRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_decline_request_builder.go b/users/item_events_item_exception_occurrences_item_decline_request_builder.go index 07cc993203f..4249abbda85 100644 --- a/users/item_events_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemDeclineRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 721683f5c50..17f4f2a1049 100644 --- a/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemDismissReminderRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go index bd2c5aa7364..caed050c86d 100644 --- a/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsExtensionItemRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_extensions_request_builder.go b/users/item_events_item_exception_occurrences_item_extensions_request_builder.go index b4c97323815..2c1cd0df00d 100644 --- a/users/item_events_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemExtensionsRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_forward_request_builder.go b/users/item_events_item_exception_occurrences_item_forward_request_builder.go index 1642d3a55e8..ec816b4cd4f 100644 --- a/users/item_events_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemForwardRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go index 465be853fab..995f3296115 100644 --- a/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesDeltaRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go index b324bbc78f0..d1786b08b88 100644 --- a/users/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_event_item_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesEventItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go index 6356479a915..33250112d86 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAcceptRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go index 30ac1ae359b..0c162dc3590 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go index a5b142f46cc..c85d6079643 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsCreateUpl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go index 059ec1a8d51..3ec1a8ee5dc 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go index 12391b04365..5edd8653949 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemCalendarRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go index 4131ff779e3..050d5a5871e 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemCancelRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go index c2080a330d3..4cb0791b867 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDeclineRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go index f730ce1463a..2664f758b8f 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemDismissReminderReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go index 6193726da64..4c8a6912ff0 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go index e7557ed8d7c..8664fd21420 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go index 9960e7f81b2..e715fa7efa5 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemForwardRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go index 307c273ca95..3205ee48bc3 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemSnoozeReminderReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go index 812fd84a2c3..984684f7ba2 100644 --- a/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesItemTentativelyAcceptReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_instances_request_builder.go b/users/item_events_item_exception_occurrences_item_instances_request_builder.go index bea667497a7..6d1ca70b4c6 100644 --- a/users/item_events_item_exception_occurrences_item_instances_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemInstancesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go index 24805b25aa3..4096d777fa7 100644 --- a/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemSnoozeReminderRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go index 990805c4b08..a2c05540a14 100644 --- a/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemExceptionOccurrencesItemTentativelyAcceptRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_exception_occurrences_request_builder.go b/users/item_events_item_exception_occurrences_request_builder.go index d6381acfc66..f70e2d34c51 100644 --- a/users/item_events_item_exception_occurrences_request_builder.go +++ b/users/item_events_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemEventsItemExceptionOccurrencesRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_extensions_extension_item_request_builder.go b/users/item_events_item_extensions_extension_item_request_builder.go index 6c4db900b3f..528ad1ec3f0 100644 --- a/users/item_events_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemEventsItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_extensions_request_builder.go b/users/item_events_item_extensions_request_builder.go index e82be56d864..26aebcf7ec0 100644 --- a/users/item_events_item_extensions_request_builder.go +++ b/users/item_events_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemEventsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemEventsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_forward_request_builder.go b/users/item_events_item_forward_request_builder.go index 9334e9584bd..407e1fcc1cd 100644 --- a/users/item_events_item_forward_request_builder.go +++ b/users/item_events_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemForwardRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_delta_request_builder.go b/users/item_events_item_instances_delta_request_builder.go index abec0137b9f..8d4cfbcfc14 100644 --- a/users/item_events_item_instances_delta_request_builder.go +++ b/users/item_events_item_instances_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemEventsItemInstancesDeltaRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_event_item_request_builder.go b/users/item_events_item_instances_event_item_request_builder.go index 4a9f010eb86..88196f6bf3c 100644 --- a/users/item_events_item_instances_event_item_request_builder.go +++ b/users/item_events_item_instances_event_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemEventsItemInstancesEventItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_item_accept_request_builder.go b/users/item_events_item_instances_item_accept_request_builder.go index 9b3dabfdfa4..9d6d2d6bb72 100644 --- a/users/item_events_item_instances_item_accept_request_builder.go +++ b/users/item_events_item_instances_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemAcceptRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go b/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go index ce15a4bc4b9..447222845a7 100644 --- a/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_instances_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsAttachmentItemRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go index e5604409568..8670abca9f3 100644 --- a/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_instances_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsCreateUploadSessionRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_attachments_request_builder.go b/users/item_events_item_instances_item_attachments_request_builder.go index adbb14816ec..28964d2cc3b 100644 --- a/users/item_events_item_instances_item_attachments_request_builder.go +++ b/users/item_events_item_instances_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsItemInstancesItemAttachmentsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_calendar_request_builder.go b/users/item_events_item_instances_item_calendar_request_builder.go index 00894405264..bacd53880a5 100644 --- a/users/item_events_item_instances_item_calendar_request_builder.go +++ b/users/item_events_item_instances_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemEventsItemInstancesItemCalendarRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_item_cancel_request_builder.go b/users/item_events_item_instances_item_cancel_request_builder.go index 3ed3160c492..1cb5d47b54a 100644 --- a/users/item_events_item_instances_item_cancel_request_builder.go +++ b/users/item_events_item_instances_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemCancelRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_decline_request_builder.go b/users/item_events_item_instances_item_decline_request_builder.go index 8b03a49e2d2..5ad075b5180 100644 --- a/users/item_events_item_instances_item_decline_request_builder.go +++ b/users/item_events_item_instances_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemDeclineRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_dismiss_reminder_request_builder.go b/users/item_events_item_instances_item_dismiss_reminder_request_builder.go index 9fba2869f7d..adf1e67cb70 100644 --- a/users/item_events_item_instances_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_instances_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemDismissReminderRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go index 30bc8ff88ab..d68d54a5981 100644 --- a/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_delta_request_builder.go @@ -111,7 +111,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesDeltaRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go index c1e880cd5bf..e116e9db498 100644 --- a/users/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_event_item_request_builder.go @@ -112,7 +112,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesEventItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go index a937529a9ec..0956612ebd3 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAcceptRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go index b85618365c9..91024837278 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_attachments_attachment_item_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -114,7 +114,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsAttachmen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go index dcfcce470df..578ad13292d 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsCreateUpl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go index a417c927b2e..fda1781064c 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_attachments_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemAttachmentsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go index 0bec2e1d769..eae6aa08776 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_calendar_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemCalendarRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go index 9ac88a77a39..5941a58b1bc 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_cancel_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemCancelRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go index 6559ffb695b..fb748948f75 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_decline_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDeclineRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go index 27743b25580..9ba1d67059e 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_dismiss_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemDismissReminderReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go index dd6cf25f7df..9c10f63f01c 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsExtensionI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go index 18ec39db3ee..c9ce8d39779 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemExtensionsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go index 5e2edc830ff..9b6921c64a5 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemForwardRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go index 7982413e475..6da09ed7731 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemSnoozeReminderReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go index 6058caed6fb..15dfe860b30 100644 --- a/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesItemTentativelyAcceptReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_exception_occurrences_request_builder.go b/users/item_events_item_instances_item_exception_occurrences_request_builder.go index e55ebfcfd81..5bd9e4a9d04 100644 --- a/users/item_events_item_instances_item_exception_occurrences_request_builder.go +++ b/users/item_events_item_instances_item_exception_occurrences_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemEventsItemInstancesItemExceptionOccurrencesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_instances_item_extensions_extension_item_request_builder.go b/users/item_events_item_instances_item_extensions_extension_item_request_builder.go index a718ea58857..6d0d2e10ebd 100644 --- a/users/item_events_item_instances_item_extensions_extension_item_request_builder.go +++ b/users/item_events_item_instances_item_extensions_extension_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -137,7 +137,7 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -150,7 +150,7 @@ func (m *ItemEventsItemInstancesItemExtensionsExtensionItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_extensions_request_builder.go b/users/item_events_item_instances_item_extensions_request_builder.go index 5787d91c172..eea0b223821 100644 --- a/users/item_events_item_instances_item_extensions_request_builder.go +++ b/users/item_events_item_instances_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemEventsItemInstancesItemExtensionsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_forward_request_builder.go b/users/item_events_item_instances_item_forward_request_builder.go index 54386c887bf..368618c864f 100644 --- a/users/item_events_item_instances_item_forward_request_builder.go +++ b/users/item_events_item_instances_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemForwardRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_snooze_reminder_request_builder.go b/users/item_events_item_instances_item_snooze_reminder_request_builder.go index 2ebf67d61dc..036e9a91a06 100644 --- a/users/item_events_item_instances_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_instances_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemSnoozeReminderRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_item_tentatively_accept_request_builder.go b/users/item_events_item_instances_item_tentatively_accept_request_builder.go index 9009742035c..60a3ffcc9f4 100644 --- a/users/item_events_item_instances_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_instances_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemInstancesItemTentativelyAcceptRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_instances_request_builder.go b/users/item_events_item_instances_request_builder.go index 08bbb3dec6a..cdca9313865 100644 --- a/users/item_events_item_instances_request_builder.go +++ b/users/item_events_item_instances_request_builder.go @@ -106,7 +106,7 @@ func (m *ItemEventsItemInstancesRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_events_item_snooze_reminder_request_builder.go b/users/item_events_item_snooze_reminder_request_builder.go index 1a846e167f5..1d63fba0150 100644 --- a/users/item_events_item_snooze_reminder_request_builder.go +++ b/users/item_events_item_snooze_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemSnoozeReminderRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_item_tentatively_accept_request_builder.go b/users/item_events_item_tentatively_accept_request_builder.go index 935637eef6d..2bddf09a200 100644 --- a/users/item_events_item_tentatively_accept_request_builder.go +++ b/users/item_events_item_tentatively_accept_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemEventsItemTentativelyAcceptRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_events_request_builder.go b/users/item_events_request_builder.go index fa0123ff754..9f794cc8eba 100644 --- a/users/item_events_request_builder.go +++ b/users/item_events_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -146,7 +146,7 @@ func (m *ItemEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_export_device_and_app_management_data_request_builder.go b/users/item_export_device_and_app_management_data_request_builder.go index f6d0f3528f9..579a64430f6 100644 --- a/users/item_export_device_and_app_management_data_request_builder.go +++ b/users/item_export_device_and_app_management_data_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemExportDeviceAndAppManagementDataRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_export_device_and_app_management_data_with_skip_with_top_request_builder.go b/users/item_export_device_and_app_management_data_with_skip_with_top_request_builder.go index 0c10bcd6d27..b8ba0ea2a17 100644 --- a/users/item_export_device_and_app_management_data_with_skip_with_top_request_builder.go +++ b/users/item_export_device_and_app_management_data_with_skip_with_top_request_builder.go @@ -67,7 +67,7 @@ func (m *ItemExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_export_personal_data_request_builder.go b/users/item_export_personal_data_request_builder.go index 3177f124553..1f9e0326518 100644 --- a/users/item_export_personal_data_request_builder.go +++ b/users/item_export_personal_data_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemExportPersonalDataRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_extensions_extension_item_request_builder.go b/users/item_extensions_extension_item_request_builder.go index c8d86215408..1813752e7ff 100644 --- a/users/item_extensions_extension_item_request_builder.go +++ b/users/item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for the user. Supports $expand. Nullable. @@ -134,7 +134,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -147,7 +147,7 @@ func (m *ItemExtensionsExtensionItemRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_extensions_request_builder.go b/users/item_extensions_request_builder.go index 8a3e94d1dc0..62d4c4e0e97 100644 --- a/users/item_extensions_request_builder.go +++ b/users/item_extensions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemExtensionsRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for users @@ -138,7 +138,7 @@ func (m *ItemExtensionsRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_find_meeting_times_request_builder.go b/users/item_find_meeting_times_request_builder.go index db55bd32507..f9e59a48607 100644 --- a/users/item_find_meeting_times_request_builder.go +++ b/users/item_find_meeting_times_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemFindMeetingTimesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_find_room_lists_request_builder.go b/users/item_find_room_lists_request_builder.go index 8216954f214..3ac40aa9db8 100644 --- a/users/item_find_room_lists_request_builder.go +++ b/users/item_find_room_lists_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemFindRoomListsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_find_rooms_request_builder.go b/users/item_find_rooms_request_builder.go index 8085a572ca3..54af4ef2670 100644 --- a/users/item_find_rooms_request_builder.go +++ b/users/item_find_rooms_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemFindRoomsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_find_rooms_with_room_list_request_builder.go b/users/item_find_rooms_with_room_list_request_builder.go index b86bdb0a1c8..dc834d8db3d 100644 --- a/users/item_find_rooms_with_room_list_request_builder.go +++ b/users/item_find_rooms_with_room_list_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemFindRoomsWithRoomListRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_followed_sites_request_builder.go b/users/item_followed_sites_request_builder.go index 3386d0f7c26..bdf7a0a119e 100644 --- a/users/item_followed_sites_request_builder.go +++ b/users/item_followed_sites_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemFollowedSitesRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_followed_sites_site_item_request_builder.go b/users/item_followed_sites_site_item_request_builder.go index 70af93e200a..6e8a5f5fcfa 100644 --- a/users/item_followed_sites_site_item_request_builder.go +++ b/users/item_followed_sites_site_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemFollowedSitesSiteItemRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_get_effective_device_enrollment_configurations_request_builder.go b/users/item_get_effective_device_enrollment_configurations_request_builder.go index a36e3e1e7b1..6bbd3754ed7 100644 --- a/users/item_get_effective_device_enrollment_configurations_request_builder.go +++ b/users/item_get_effective_device_enrollment_configurations_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemGetEffectiveDeviceEnrollmentConfigurationsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_get_logged_on_managed_devices_request_builder.go b/users/item_get_logged_on_managed_devices_request_builder.go index 0ccd93d353b..53498ed1a00 100644 --- a/users/item_get_logged_on_managed_devices_request_builder.go +++ b/users/item_get_logged_on_managed_devices_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemGetLoggedOnManagedDevicesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_get_mail_tips_request_builder.go b/users/item_get_mail_tips_request_builder.go index 440c9fcef2a..71eea3e52ab 100644 --- a/users/item_get_mail_tips_request_builder.go +++ b/users/item_get_mail_tips_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMailTipsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_get_managed_app_diagnostic_statuses_request_builder.go b/users/item_get_managed_app_diagnostic_statuses_request_builder.go index a6c83e52f97..d5cf9863b65 100644 --- a/users/item_get_managed_app_diagnostic_statuses_request_builder.go +++ b/users/item_get_managed_app_diagnostic_statuses_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemGetManagedAppDiagnosticStatusesRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_get_managed_app_policies_request_builder.go b/users/item_get_managed_app_policies_request_builder.go index 9ae44c611d4..8703e342567 100644 --- a/users/item_get_managed_app_policies_request_builder.go +++ b/users/item_get_managed_app_policies_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemGetManagedAppPoliciesRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_get_managed_devices_with_app_failures_request_builder.go b/users/item_get_managed_devices_with_app_failures_request_builder.go index e44cfaaf8dc..ccb618d4fd0 100644 --- a/users/item_get_managed_devices_with_app_failures_request_builder.go +++ b/users/item_get_managed_devices_with_app_failures_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemGetManagedDevicesWithAppFailuresRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_get_managed_devices_with_failed_or_pending_apps_request_builder.go b/users/item_get_managed_devices_with_failed_or_pending_apps_request_builder.go index 8fc3f832e35..7f2c62f0080 100644 --- a/users/item_get_managed_devices_with_failed_or_pending_apps_request_builder.go +++ b/users/item_get_managed_devices_with_failed_or_pending_apps_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemGetManagedDevicesWithFailedOrPendingAppsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_get_member_groups_request_builder.go b/users/item_get_member_groups_request_builder.go index 8523de1737b..d4438785dd8 100644 --- a/users/item_get_member_groups_request_builder.go +++ b/users/item_get_member_groups_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemGetMemberGroupsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_get_member_objects_request_builder.go b/users/item_get_member_objects_request_builder.go index 77ef23dd3bc..8cede4bf41e 100644 --- a/users/item_get_member_objects_request_builder.go +++ b/users/item_get_member_objects_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetMemberObjectsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_get_password_single_sign_on_credentials_request_builder.go b/users/item_get_password_single_sign_on_credentials_request_builder.go index 0fc27b560c7..ee63c6a3af9 100644 --- a/users/item_get_password_single_sign_on_credentials_request_builder.go +++ b/users/item_get_password_single_sign_on_credentials_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemGetPasswordSingleSignOnCredentialsRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go b/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go index 09fba5ef474..c376c42b995 100644 --- a/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go +++ b/users/item_inference_classification_overrides_inference_classification_override_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -151,7 +151,7 @@ func (m *ItemInferenceClassificationOverridesInferenceClassificationOverrideItem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_inference_classification_overrides_request_builder.go b/users/item_inference_classification_overrides_request_builder.go index 8cf59e1c2ab..466e74f1d47 100644 --- a/users/item_inference_classification_overrides_request_builder.go +++ b/users/item_inference_classification_overrides_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemInferenceClassificationOverridesRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemInferenceClassificationOverridesRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_inference_classification_request_builder.go b/users/item_inference_classification_request_builder.go index dd66884078a..731c2c903e6 100644 --- a/users/item_inference_classification_request_builder.go +++ b/users/item_inference_classification_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemInferenceClassificationRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property inferenceClassification in users @@ -113,7 +113,7 @@ func (m *ItemInferenceClassificationRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go b/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go index 55457ed8dd2..44a0a716a3e 100644 --- a/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go +++ b/users/item_information_protection_bitlocker_recovery_keys_bitlocker_recovery_key_item_request_builder.go @@ -75,7 +75,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysBitlockerRecoveryKeyItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_information_protection_bitlocker_recovery_keys_request_builder.go b/users/item_information_protection_bitlocker_recovery_keys_request_builder.go index b1b7f915832..361f632385c 100644 --- a/users/item_information_protection_bitlocker_recovery_keys_request_builder.go +++ b/users/item_information_protection_bitlocker_recovery_keys_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemInformationProtectionBitlockerRecoveryKeysRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_information_protection_bitlocker_request_builder.go b/users/item_information_protection_bitlocker_request_builder.go index 9c167366e84..aa8b78c5465 100644 --- a/users/item_information_protection_bitlocker_request_builder.go +++ b/users/item_information_protection_bitlocker_request_builder.go @@ -76,7 +76,7 @@ func (m *ItemInformationProtectionBitlockerRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go b/users/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go index 1849a56054a..a0c81f13c27 100644 --- a/users/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go +++ b/users/item_information_protection_data_loss_prevention_policies_data_loss_prevention_policy_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get dataLossPreventionPolicies from users @@ -134,7 +134,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property dataLossPreventionPolicies in users @@ -147,7 +147,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesDataLossPreventionPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go b/users/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go index 15d2c9aba3d..a1ded6e905c 100644 --- a/users/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go +++ b/users/item_information_protection_data_loss_prevention_policies_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluateRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_data_loss_prevention_policies_request_builder.go b/users/item_information_protection_data_loss_prevention_policies_request_builder.go index f8f990a31cb..606f1fc7954 100644 --- a/users/item_information_protection_data_loss_prevention_policies_request_builder.go +++ b/users/item_information_protection_data_loss_prevention_policies_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to dataLossPreventionPolicies for users @@ -142,7 +142,7 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_decrypt_buffer_request_builder.go b/users/item_information_protection_decrypt_buffer_request_builder.go index 48ee022a281..fff7413a07e 100644 --- a/users/item_information_protection_decrypt_buffer_request_builder.go +++ b/users/item_information_protection_decrypt_buffer_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemInformationProtectionDecryptBufferRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_encrypt_buffer_request_builder.go b/users/item_information_protection_encrypt_buffer_request_builder.go index 138405174c5..d9b447aa15b 100644 --- a/users/item_information_protection_encrypt_buffer_request_builder.go +++ b/users/item_information_protection_encrypt_buffer_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemInformationProtectionEncryptBufferRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_policy_labels_evaluate_application_request_builder.go b/users/item_information_protection_policy_labels_evaluate_application_request_builder.go index 7ffe552bb86..75683a0df1d 100644 --- a/users/item_information_protection_policy_labels_evaluate_application_request_builder.go +++ b/users/item_information_protection_policy_labels_evaluate_application_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateApplicationRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go b/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go index 977b5e1af6c..5af18ec7826 100644 --- a/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go +++ b/users/item_information_protection_policy_labels_evaluate_classification_results_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateClassificationResultsReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go b/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go index 05fa90e7b3b..0d8dcf12280 100644 --- a/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go +++ b/users/item_information_protection_policy_labels_evaluate_removal_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemInformationProtectionPolicyLabelsEvaluateRemovalRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_policy_labels_extract_label_request_builder.go b/users/item_information_protection_policy_labels_extract_label_request_builder.go index f4320db3b18..5cda1fb022f 100644 --- a/users/item_information_protection_policy_labels_extract_label_request_builder.go +++ b/users/item_information_protection_policy_labels_extract_label_request_builder.go @@ -65,7 +65,7 @@ func (m *ItemInformationProtectionPolicyLabelsExtractLabelRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go b/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go index f4e39e4d79f..c16546ab46b 100644 --- a/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go +++ b/users/item_information_protection_policy_labels_information_protection_label_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. @@ -142,7 +142,7 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property labels in users @@ -156,7 +156,7 @@ func (m *ItemInformationProtectionPolicyLabelsInformationProtectionLabelItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_policy_labels_request_builder.go b/users/item_information_protection_policy_labels_request_builder.go index ae6ce0ce509..6130d3c7a29 100644 --- a/users/item_information_protection_policy_labels_request_builder.go +++ b/users/item_information_protection_policy_labels_request_builder.go @@ -148,7 +148,7 @@ func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to labels for users @@ -162,7 +162,7 @@ func (m *ItemInformationProtectionPolicyLabelsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_policy_request_builder.go b/users/item_information_protection_policy_request_builder.go index 29c68747ab8..57077b94624 100644 --- a/users/item_information_protection_policy_request_builder.go +++ b/users/item_information_protection_policy_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemInformationProtectionPolicyRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get policy from users @@ -143,7 +143,7 @@ func (m *ItemInformationProtectionPolicyRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property policy in users @@ -157,7 +157,7 @@ func (m *ItemInformationProtectionPolicyRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_request_builder.go b/users/item_information_protection_request_builder.go index b7a6879913e..3fd0a9047e8 100644 --- a/users/item_information_protection_request_builder.go +++ b/users/item_information_protection_request_builder.go @@ -154,7 +154,7 @@ func (m *ItemInformationProtectionRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get informationProtection from users @@ -170,7 +170,7 @@ func (m *ItemInformationProtectionRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property informationProtection in users @@ -183,7 +183,7 @@ func (m *ItemInformationProtectionRequestBuilder) ToPatchRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_sensitivity_labels_evaluate_request_builder.go b/users/item_information_protection_sensitivity_labels_evaluate_request_builder.go index 217557232e3..f19264880e9 100644 --- a/users/item_information_protection_sensitivity_labels_evaluate_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionSensitivityLabelsEvaluateRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go b/users/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go index cddfa0533ab..99b2c9d3db8 100644 --- a/users/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_item_sublabels_evaluate_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsEvaluateRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go b/users/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go index 375bdac6013..0af2836ea60 100644 --- a/users/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_item_sublabels_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sublabels for users @@ -142,7 +142,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go b/users/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go index 8fb82bd8b3d..59981cc7655 100644 --- a/users/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_item_sublabels_sensitivity_label_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sublabels from users @@ -134,7 +134,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sublabels in users @@ -147,7 +147,7 @@ func (m *ItemInformationProtectionSensitivityLabelsItemSublabelsSensitivityLabel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_sensitivity_labels_request_builder.go b/users/item_information_protection_sensitivity_labels_request_builder.go index 4a7acbaa926..9615ab5348c 100644 --- a/users/item_information_protection_sensitivity_labels_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemInformationProtectionSensitivityLabelsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sensitivityLabels for users @@ -142,7 +142,7 @@ func (m *ItemInformationProtectionSensitivityLabelsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go b/users/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go index c4e190757f3..d0888ba3f9a 100644 --- a/users/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/users/item_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sensitivityLabels from users @@ -138,7 +138,7 @@ func (m *ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityLabels in users @@ -151,7 +151,7 @@ func (m *ItemInformationProtectionSensitivityLabelsSensitivityLabelItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_sensitivity_policy_settings_request_builder.go b/users/item_information_protection_sensitivity_policy_settings_request_builder.go index 718f5c93b98..a198f29a077 100644 --- a/users/item_information_protection_sensitivity_policy_settings_request_builder.go +++ b/users/item_information_protection_sensitivity_policy_settings_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get sensitivityPolicySettings from users @@ -134,7 +134,7 @@ func (m *ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityPolicySettings in users @@ -147,7 +147,7 @@ func (m *ItemInformationProtectionSensitivityPolicySettingsRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_sign_digest_request_builder.go b/users/item_information_protection_sign_digest_request_builder.go index 4f4a03a819b..cdfc49ba94c 100644 --- a/users/item_information_protection_sign_digest_request_builder.go +++ b/users/item_information_protection_sign_digest_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemInformationProtectionSignDigestRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_threat_assessment_requests_item_results_request_builder.go b/users/item_information_protection_threat_assessment_requests_item_results_request_builder.go index b835515adf3..e0e6f05ec29 100644 --- a/users/item_information_protection_threat_assessment_requests_item_results_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_item_results_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to results for users @@ -138,7 +138,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go b/users/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go index cbe1a7a3b1c..0fa716dcd25 100644 --- a/users/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_item_results_threat_assessment_result_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAsses requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it. @@ -134,7 +134,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAsses requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property results in users @@ -147,7 +147,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsItemResultsThreatAsses requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_threat_assessment_requests_request_builder.go b/users/item_information_protection_threat_assessment_requests_request_builder.go index 9a20d6538c3..066994f5ffe 100644 --- a/users/item_information_protection_threat_assessment_requests_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go b/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go index 0e550feca68..47b93713b71 100644 --- a/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go +++ b/users/item_information_protection_threat_assessment_requests_threat_assessment_request_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property threatAssessmentRequests in users @@ -154,7 +154,7 @@ func (m *ItemInformationProtectionThreatAssessmentRequestsThreatAssessmentReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_information_protection_verify_signature_request_builder.go b/users/item_information_protection_verify_signature_request_builder.go index bbad431ac79..5f8f0e778ef 100644 --- a/users/item_information_protection_verify_signature_request_builder.go +++ b/users/item_information_protection_verify_signature_request_builder.go @@ -62,7 +62,7 @@ func (m *ItemInformationProtectionVerifySignatureRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_insights_request_builder.go b/users/item_insights_request_builder.go index 3115ba8b120..e6953bf7b5f 100644 --- a/users/item_insights_request_builder.go +++ b/users/item_insights_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemInsightsRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get insights from users @@ -138,7 +138,7 @@ func (m *ItemInsightsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in users @@ -151,7 +151,7 @@ func (m *ItemInsightsRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_insights_shared_item_last_shared_method_request_builder.go b/users/item_insights_shared_item_last_shared_method_request_builder.go index f6d058bc10a..4015284ce5f 100644 --- a/users/item_insights_shared_item_last_shared_method_request_builder.go +++ b/users/item_insights_shared_item_last_shared_method_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemInsightsSharedItemLastSharedMethodRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_insights_shared_item_resource_request_builder.go b/users/item_insights_shared_item_resource_request_builder.go index 3ac544ea842..ffda0554f75 100644 --- a/users/item_insights_shared_item_resource_request_builder.go +++ b/users/item_insights_shared_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemInsightsSharedItemResourceRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_insights_shared_request_builder.go b/users/item_insights_shared_request_builder.go index 62e7289d882..fa666e746b7 100644 --- a/users/item_insights_shared_request_builder.go +++ b/users/item_insights_shared_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemInsightsSharedRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to shared for users @@ -138,7 +138,7 @@ func (m *ItemInsightsSharedRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_insights_shared_shared_insight_item_request_builder.go b/users/item_insights_shared_shared_insight_item_request_builder.go index 97c32697867..80433936dbe 100644 --- a/users/item_insights_shared_shared_insight_item_request_builder.go +++ b/users/item_insights_shared_shared_insight_item_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation access this property from the derived type itemInsights. @@ -142,7 +142,7 @@ func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property shared in users @@ -155,7 +155,7 @@ func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_insights_trending_item_resource_request_builder.go b/users/item_insights_trending_item_resource_request_builder.go index fb449677879..d91edf0770f 100644 --- a/users/item_insights_trending_item_resource_request_builder.go +++ b/users/item_insights_trending_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemInsightsTrendingItemResourceRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_insights_trending_request_builder.go b/users/item_insights_trending_request_builder.go index 8523bb630d5..6b0ccbab3b2 100644 --- a/users/item_insights_trending_request_builder.go +++ b/users/item_insights_trending_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemInsightsTrendingRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to trending for users @@ -138,7 +138,7 @@ func (m *ItemInsightsTrendingRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_insights_trending_trending_item_request_builder.go b/users/item_insights_trending_trending_item_request_builder.go index 14ef3e7d8f0..7ee708fcba2 100644 --- a/users/item_insights_trending_trending_item_request_builder.go +++ b/users/item_insights_trending_trending_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemInsightsTrendingTrendingItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation access this property from the derived type itemInsights. @@ -138,7 +138,7 @@ func (m *ItemInsightsTrendingTrendingItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property trending in users @@ -151,7 +151,7 @@ func (m *ItemInsightsTrendingTrendingItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_insights_used_item_resource_request_builder.go b/users/item_insights_used_item_resource_request_builder.go index 4d3b61be319..e914d61eaff 100644 --- a/users/item_insights_used_item_resource_request_builder.go +++ b/users/item_insights_used_item_resource_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemInsightsUsedItemResourceRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_insights_used_request_builder.go b/users/item_insights_used_request_builder.go index 017a26ca4d6..2fd9d3c1141 100644 --- a/users/item_insights_used_request_builder.go +++ b/users/item_insights_used_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemInsightsUsedRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to used for users @@ -138,7 +138,7 @@ func (m *ItemInsightsUsedRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_insights_used_used_insight_item_request_builder.go b/users/item_insights_used_used_insight_item_request_builder.go index 5166275da91..b43a8e9177f 100644 --- a/users/item_insights_used_used_insight_item_request_builder.go +++ b/users/item_insights_used_used_insight_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation access this property from the derived type itemInsights. @@ -138,7 +138,7 @@ func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property used in users @@ -151,7 +151,7 @@ func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_invalidate_all_refresh_tokens_request_builder.go b/users/item_invalidate_all_refresh_tokens_request_builder.go index 76fb831a0f4..ef4125ca266 100644 --- a/users/item_invalidate_all_refresh_tokens_request_builder.go +++ b/users/item_invalidate_all_refresh_tokens_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemInvalidateAllRefreshTokensRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_is_managed_app_user_blocked_request_builder.go b/users/item_is_managed_app_user_blocked_request_builder.go index 1985d95a9d9..b76ed683f96 100644 --- a/users/item_is_managed_app_user_blocked_request_builder.go +++ b/users/item_is_managed_app_user_blocked_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemIsManagedAppUserBlockedRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_joined_groups_delta_request_builder.go b/users/item_joined_groups_delta_request_builder.go index b89b9c722fc..ac944da84b2 100644 --- a/users/item_joined_groups_delta_request_builder.go +++ b/users/item_joined_groups_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemJoinedGroupsDeltaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go b/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go index 31a7fb0c18f..fac57ecad18 100644 --- a/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go +++ b/users/item_joined_groups_evaluate_dynamic_membership_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemJoinedGroupsEvaluateDynamicMembershipRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_joined_groups_request_builder.go b/users/item_joined_groups_request_builder.go index b8b12fb725f..7119b6f05b2 100644 --- a/users/item_joined_groups_request_builder.go +++ b/users/item_joined_groups_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemJoinedGroupsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_joined_teams_request_builder.go b/users/item_joined_teams_request_builder.go index 43f15216d15..a11d5bf5ba3 100644 --- a/users/item_joined_teams_request_builder.go +++ b/users/item_joined_teams_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemJoinedTeamsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_joined_teams_team_item_request_builder.go b/users/item_joined_teams_team_item_request_builder.go index 3fd4659d9a8..cd321f8e846 100644 --- a/users/item_joined_teams_team_item_request_builder.go +++ b/users/item_joined_teams_team_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemJoinedTeamsTeamItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_license_details_license_details_item_request_builder.go b/users/item_license_details_license_details_item_request_builder.go index b057939064d..0b3327116da 100644 --- a/users/item_license_details_license_details_item_request_builder.go +++ b/users/item_license_details_license_details_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemLicenseDetailsLicenseDetailsItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get licenseDetails from users @@ -134,7 +134,7 @@ func (m *ItemLicenseDetailsLicenseDetailsItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property licenseDetails in users @@ -147,7 +147,7 @@ func (m *ItemLicenseDetailsLicenseDetailsItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_license_details_request_builder.go b/users/item_license_details_request_builder.go index c877485052a..4d59c5beef9 100644 --- a/users/item_license_details_request_builder.go +++ b/users/item_license_details_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemLicenseDetailsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to licenseDetails for users @@ -141,7 +141,7 @@ func (m *ItemLicenseDetailsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_delta_request_builder.go b/users/item_mail_folders_delta_request_builder.go index 3bbfb02ef7f..53e2b616f76 100644 --- a/users/item_mail_folders_delta_request_builder.go +++ b/users/item_mail_folders_delta_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemMailFoldersDeltaRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_child_folders_delta_request_builder.go b/users/item_mail_folders_item_child_folders_delta_request_builder.go index 7ba0c2a55b0..2a613910d3c 100644 --- a/users/item_mail_folders_item_child_folders_delta_request_builder.go +++ b/users/item_mail_folders_item_child_folders_delta_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemMailFoldersItemChildFoldersDeltaRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_child_folders_item_copy_request_builder.go b/users/item_mail_folders_item_child_folders_item_copy_request_builder.go index 411f1ed4ba7..e61b2c2a294 100644 --- a/users/item_mail_folders_item_child_folders_item_copy_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemCopyRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go index c0ebc88c1ee..a6643d8ddd4 100644 --- a/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_message_rules_message_rule_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation change writable properties on a messageRule object and save the changes. This API is available in the following national cloud deployments. @@ -154,7 +154,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesMessageRuleItemRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go b/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go index 32391252d26..0048380602a 100644 --- a/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_message_rules_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go index 9a4186eef75..92549e16b70 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_delta_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesDeltaRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go index 8648d3d9586..a8673c10184 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_attachment_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -111,7 +111,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsAttachmentIte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go index e0e5adabdbd..6b996b259c2 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadS requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go index 1f4492bd984..c753f3b1d80 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. +// ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects. This API is available in the following national cloud deployments. type ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,10 +72,10 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. +// Get retrieve a list of attachment objects. This API is available in the following national cloud deployments. // [Find more info here] // -// [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 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. +// ToGetRequestInformation retrieve a list of attachment objects. This API is available in the following national cloud deployments. func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -129,7 +129,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -142,7 +142,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemAttachmentsRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go index b1fb5d1bf19..09cfea600c8 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCopyRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go index 1cc6f77a90b..2e4263602b2 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go index 78310bd4d85..6d72a236ae8 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_all_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyAllRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go index 5a25adc833d..33b0bf6fb5a 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_create_reply_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateReplyRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go index 1715dcbe3bd..e574945c7a1 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_extension_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -153,7 +153,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsExtensionItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go index 736f10ed96c..de7616de38c 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemExtensionsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go index 6d2b0d314e0..5785c2fe924 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemForwardRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go index af0c442bfe3..45d6ade111d 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_junk_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsJunkRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go index f5df194c072..48eac33e937 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mark_as_not_junk_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMarkAsNotJunkRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go index 21c988b437f..6b78032197b 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_mention_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of mentions in the message, ordered by the createdDateTime from the newest to the oldest. By default, a GET /messages does not return this property unless you apply $expand on the property. @@ -111,7 +111,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsMentionItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_request_builder.go index 520208c049f..88e076d6432 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_mentions_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_mentions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mentions for users @@ -136,7 +136,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMentionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go index e8e519a22ae..3879d70607e 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_move_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemMoveRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go index fad6062243a..55b292025da 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_reply_all_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemReplyAllRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go index bb91c6978de..41b75d4eb1c 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_reply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemReplyRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go index 210aa68070a..1c599d80faf 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_send_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemSendRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go index 49fd3658836..920438c0aa3 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_unsubscribe_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemUnsubscribeRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go index 86aad213062..e3df79c1932 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemValueContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property messages in users @@ -101,7 +101,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemValueContentRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_mail_folders_item_child_folders_item_messages_message_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_message_item_request_builder.go index 8af846fda32..3de2839eca6 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_message_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_message_item_request_builder.go @@ -178,7 +178,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesMessageItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of messages in the mailFolder. @@ -194,7 +194,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesMessageItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property messages in users @@ -207,7 +207,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesMessageItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_messages_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_request_builder.go index c1c25b44023..59954b810e5 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new Message in a mailfolder. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_move_request_builder.go b/users/item_mail_folders_item_child_folders_item_move_request_builder.go index 7dca39d56e4..bc8cfa90f88 100644 --- a/users/item_mail_folders_item_child_folders_item_move_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_move_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMoveRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_item_user_configurations_request_builder.go b/users/item_mail_folders_item_child_folders_item_user_configurations_request_builder.go index df95b59026c..d3e5f3285d4 100644 --- a/users/item_mail_folders_item_child_folders_item_user_configurations_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_user_configurations_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_child_folders_item_user_configurations_user_configuration_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_user_configurations_user_configuration_item_request_builder.go index 71329e74856..59525ceb04b 100644 --- a/users/item_mail_folders_item_child_folders_item_user_configurations_user_configuration_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_user_configurations_user_configuration_item_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemMailFoldersItemChildFoldersItemUserConfigurationsUserConfigurationI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go b/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go index 8389c7b23c8..f160e10b935 100644 --- a/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of child folders in the mailFolder. @@ -152,7 +152,7 @@ func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property childFolders in users @@ -165,7 +165,7 @@ func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_child_folders_request_builder.go b/users/item_mail_folders_item_child_folders_request_builder.go index 7a4eed8a654..53d2638f5e4 100644 --- a/users/item_mail_folders_item_child_folders_request_builder.go +++ b/users/item_mail_folders_item_child_folders_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemMailFoldersItemChildFoldersRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemMailFoldersItemChildFoldersRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_copy_request_builder.go b/users/item_mail_folders_item_copy_request_builder.go index 6d2f04d8c1d..1558b46fcfa 100644 --- a/users/item_mail_folders_item_copy_request_builder.go +++ b/users/item_mail_folders_item_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemCopyRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go b/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go index f76084e7b1b..9afd1eeb9a5 100644 --- a/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go +++ b/users/item_mail_folders_item_message_rules_message_rule_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation change writable properties on a messageRule object and save the changes. This API is available in the following national cloud deployments. @@ -154,7 +154,7 @@ func (m *ItemMailFoldersItemMessageRulesMessageRuleItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_message_rules_request_builder.go b/users/item_mail_folders_item_message_rules_request_builder.go index 6a98eb26352..3928347d608 100644 --- a/users/item_mail_folders_item_message_rules_request_builder.go +++ b/users/item_mail_folders_item_message_rules_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemMailFoldersItemMessageRulesRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -140,7 +140,7 @@ func (m *ItemMailFoldersItemMessageRulesRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_delta_request_builder.go b/users/item_mail_folders_item_messages_delta_request_builder.go index 04a84612879..c6ae77f0a32 100644 --- a/users/item_mail_folders_item_messages_delta_request_builder.go +++ b/users/item_mail_folders_item_messages_delta_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemMailFoldersItemMessagesDeltaRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go b/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go index ce02968e5e4..7a337d0b16e 100644 --- a/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go +++ b/users/item_mail_folders_item_messages_item_attachments_attachment_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -111,7 +111,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsAttachmentItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go b/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go index b4b81d094c5..4de7f3f7ebc 100644 --- a/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go +++ b/users/item_mail_folders_item_messages_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_attachments_request_builder.go b/users/item_mail_folders_item_messages_item_attachments_request_builder.go index 18b2182a577..8da8ce345a8 100644 --- a/users/item_mail_folders_item_messages_item_attachments_request_builder.go +++ b/users/item_mail_folders_item_messages_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. +// ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects. This API is available in the following national cloud deployments. type ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,10 +72,10 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) Count()(*Item func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemMailFoldersItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. +// Get retrieve a list of attachment objects. This API is available in the following national cloud deployments. // [Find more info here] // -// [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 func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) Post(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. +// ToGetRequestInformation retrieve a list of attachment objects. This API is available in the following national cloud deployments. func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -129,7 +129,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -142,7 +142,7 @@ func (m *ItemMailFoldersItemMessagesItemAttachmentsRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_copy_request_builder.go b/users/item_mail_folders_item_messages_item_copy_request_builder.go index ab56ed331db..798e653bf7f 100644 --- a/users/item_mail_folders_item_messages_item_copy_request_builder.go +++ b/users/item_mail_folders_item_messages_item_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemMessagesItemCopyRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_create_forward_request_builder.go b/users/item_mail_folders_item_messages_item_create_forward_request_builder.go index d08b559ed3a..f5098c7f5c0 100644 --- a/users/item_mail_folders_item_messages_item_create_forward_request_builder.go +++ b/users/item_mail_folders_item_messages_item_create_forward_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go b/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go index 894c5be3bab..914ff14cfd3 100644 --- a/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go +++ b/users/item_mail_folders_item_messages_item_create_reply_all_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemMessagesItemCreateReplyAllRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_create_reply_request_builder.go b/users/item_mail_folders_item_messages_item_create_reply_request_builder.go index 45f1e143ec0..2f32f915706 100644 --- a/users/item_mail_folders_item_messages_item_create_reply_request_builder.go +++ b/users/item_mail_folders_item_messages_item_create_reply_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemMessagesItemCreateReplyRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go b/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go index d95bca0c9fe..742f25ec422 100644 --- a/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go +++ b/users/item_mail_folders_item_messages_item_extensions_extension_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -153,7 +153,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsExtensionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_extensions_request_builder.go b/users/item_mail_folders_item_messages_item_extensions_request_builder.go index 0519609272b..6a5dbb3e52b 100644 --- a/users/item_mail_folders_item_messages_item_extensions_request_builder.go +++ b/users/item_mail_folders_item_messages_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemMailFoldersItemMessagesItemExtensionsRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_forward_request_builder.go b/users/item_mail_folders_item_messages_item_forward_request_builder.go index c76acb66c8e..ccfa0270999 100644 --- a/users/item_mail_folders_item_messages_item_forward_request_builder.go +++ b/users/item_mail_folders_item_messages_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMailFoldersItemMessagesItemForwardRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go b/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go index cb860e780ea..2459a4aa225 100644 --- a/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mark_as_junk_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemMessagesItemMarkAsJunkRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go b/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go index 08d9d5f8325..60d8ed07ea3 100644 --- a/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mark_as_not_junk_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemMessagesItemMarkAsNotJunkRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go b/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go index 665cb6be7d8..b4d3796f7b9 100644 --- a/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mentions_mention_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of mentions in the message, ordered by the createdDateTime from the newest to the oldest. By default, a GET /messages does not return this property unless you apply $expand on the property. @@ -111,7 +111,7 @@ func (m *ItemMailFoldersItemMessagesItemMentionsMentionItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_messages_item_mentions_request_builder.go b/users/item_mail_folders_item_messages_item_mentions_request_builder.go index 154a14218a6..d48af28cdf1 100644 --- a/users/item_mail_folders_item_messages_item_mentions_request_builder.go +++ b/users/item_mail_folders_item_messages_item_mentions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemMailFoldersItemMessagesItemMentionsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mentions for users @@ -136,7 +136,7 @@ func (m *ItemMailFoldersItemMessagesItemMentionsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_move_request_builder.go b/users/item_mail_folders_item_messages_item_move_request_builder.go index 90c5faf69e0..35703cb9824 100644 --- a/users/item_mail_folders_item_messages_item_move_request_builder.go +++ b/users/item_mail_folders_item_messages_item_move_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemMessagesItemMoveRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_reply_all_request_builder.go b/users/item_mail_folders_item_messages_item_reply_all_request_builder.go index c7517a04617..12a0bf7b611 100644 --- a/users/item_mail_folders_item_messages_item_reply_all_request_builder.go +++ b/users/item_mail_folders_item_messages_item_reply_all_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMailFoldersItemMessagesItemReplyAllRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_reply_request_builder.go b/users/item_mail_folders_item_messages_item_reply_request_builder.go index 68e5b19f4db..a87b8b19c77 100644 --- a/users/item_mail_folders_item_messages_item_reply_request_builder.go +++ b/users/item_mail_folders_item_messages_item_reply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMailFoldersItemMessagesItemReplyRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_item_send_request_builder.go b/users/item_mail_folders_item_messages_item_send_request_builder.go index ca0cdd6610e..12d6e6aaba1 100644 --- a/users/item_mail_folders_item_messages_item_send_request_builder.go +++ b/users/item_mail_folders_item_messages_item_send_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMailFoldersItemMessagesItemSendRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go b/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go index 919bce566e3..b12581cae13 100644 --- a/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go +++ b/users/item_mail_folders_item_messages_item_unsubscribe_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMailFoldersItemMessagesItemUnsubscribeRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_messages_item_value_content_request_builder.go b/users/item_mail_folders_item_messages_item_value_content_request_builder.go index 72e635d4ec4..bc3b1bac341 100644 --- a/users/item_mail_folders_item_messages_item_value_content_request_builder.go +++ b/users/item_mail_folders_item_messages_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMailFoldersItemMessagesItemValueContentRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property messages in users @@ -101,7 +101,7 @@ func (m *ItemMailFoldersItemMessagesItemValueContentRequestBuilder) ToPutRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_mail_folders_item_messages_message_item_request_builder.go b/users/item_mail_folders_item_messages_message_item_request_builder.go index fdb3a1c36b1..df7a8c6c00a 100644 --- a/users/item_mail_folders_item_messages_message_item_request_builder.go +++ b/users/item_mail_folders_item_messages_message_item_request_builder.go @@ -178,7 +178,7 @@ func (m *ItemMailFoldersItemMessagesMessageItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of messages in the mailFolder. @@ -194,7 +194,7 @@ func (m *ItemMailFoldersItemMessagesMessageItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property messages in users @@ -207,7 +207,7 @@ func (m *ItemMailFoldersItemMessagesMessageItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_messages_request_builder.go b/users/item_mail_folders_item_messages_request_builder.go index 14b59335d0a..f4d9961b91e 100644 --- a/users/item_mail_folders_item_messages_request_builder.go +++ b/users/item_mail_folders_item_messages_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemMailFoldersItemMessagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new Message in a mailfolder. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemMailFoldersItemMessagesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_move_request_builder.go b/users/item_mail_folders_item_move_request_builder.go index 5c22dbcba56..d510f6a3cf2 100644 --- a/users/item_mail_folders_item_move_request_builder.go +++ b/users/item_mail_folders_item_move_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMailFoldersItemMoveRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_item_user_configurations_request_builder.go b/users/item_mail_folders_item_user_configurations_request_builder.go index 4fead4967a2..d86e52e8f12 100644 --- a/users/item_mail_folders_item_user_configurations_request_builder.go +++ b/users/item_mail_folders_item_user_configurations_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemMailFoldersItemUserConfigurationsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_item_user_configurations_user_configuration_item_request_builder.go b/users/item_mail_folders_item_user_configurations_user_configuration_item_request_builder.go index 80131a9bfa0..e8b6cfa76f8 100644 --- a/users/item_mail_folders_item_user_configurations_user_configuration_item_request_builder.go +++ b/users/item_mail_folders_item_user_configurations_user_configuration_item_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemMailFoldersItemUserConfigurationsUserConfigurationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mail_folders_mail_folder_item_request_builder.go b/users/item_mail_folders_mail_folder_item_request_builder.go index e538fd766ee..4a8dcae4d6f 100644 --- a/users/item_mail_folders_mail_folder_item_request_builder.go +++ b/users/item_mail_folders_mail_folder_item_request_builder.go @@ -149,7 +149,7 @@ func (m *ItemMailFoldersMailFolderItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user's mail folders. Read-only. Nullable. @@ -165,7 +165,7 @@ func (m *ItemMailFoldersMailFolderItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of mailFolder object. This API is available in the following national cloud deployments. @@ -178,7 +178,7 @@ func (m *ItemMailFoldersMailFolderItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mail_folders_request_builder.go b/users/item_mail_folders_request_builder.go index eea7cd53bcb..2022342fe55 100644 --- a/users/item_mail_folders_request_builder.go +++ b/users/item_mail_folders_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemMailFoldersRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -148,7 +148,7 @@ func (m *ItemMailFoldersRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mailbox_settings_request_builder.go b/users/item_mailbox_settings_request_builder.go index fcb293e9c50..9d04bba5782 100644 --- a/users/item_mailbox_settings_request_builder.go +++ b/users/item_mailbox_settings_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemMailboxSettingsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update property mailboxSettings value. @@ -111,7 +111,7 @@ func (m *ItemMailboxSettingsRequestBuilder) ToPatchRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_app_registrations_managed_app_registration_item_request_builder.go b/users/item_managed_app_registrations_managed_app_registration_item_request_builder.go index 7da569cbaf0..6dc97b30180 100644 --- a/users/item_managed_app_registrations_managed_app_registration_item_request_builder.go +++ b/users/item_managed_app_registrations_managed_app_registration_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemManagedAppRegistrationsManagedAppRegistrationItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_app_registrations_request_builder.go b/users/item_managed_app_registrations_request_builder.go index d37ec2c7e68..8cd4f074fee 100644 --- a/users/item_managed_app_registrations_request_builder.go +++ b/users/item_managed_app_registrations_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemManagedAppRegistrationsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_app_diagnostics_with_upn_request_builder.go b/users/item_managed_devices_app_diagnostics_with_upn_request_builder.go index 29a1c59f396..776a3528b29 100644 --- a/users/item_managed_devices_app_diagnostics_with_upn_request_builder.go +++ b/users/item_managed_devices_app_diagnostics_with_upn_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemManagedDevicesAppDiagnosticsWithUpnRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go b/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go index b3d14e82d13..366da509dbb 100644 --- a/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go +++ b/users/item_managed_devices_bulk_reprovision_cloud_pc_request_builder.go @@ -65,7 +65,7 @@ func (m *ItemManagedDevicesBulkReprovisionCloudPcRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go b/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go index ea5591001e5..90ec7f69840 100644 --- a/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go +++ b/users/item_managed_devices_bulk_restore_cloud_pc_request_builder.go @@ -65,7 +65,7 @@ func (m *ItemManagedDevicesBulkRestoreCloudPcRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go index 6bbba11321e..34dd1df6bd1 100644 --- a/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_bulk_set_cloud_pc_review_status_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemManagedDevicesBulkSetCloudPcReviewStatusRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_download_app_diagnostics_request_builder.go b/users/item_managed_devices_download_app_diagnostics_request_builder.go index b05de11657f..060ccbcd201 100644 --- a/users/item_managed_devices_download_app_diagnostics_request_builder.go +++ b/users/item_managed_devices_download_app_diagnostics_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemManagedDevicesDownloadAppDiagnosticsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_execute_action_request_builder.go b/users/item_managed_devices_execute_action_request_builder.go index 0c01f38bc0a..9f93b73d716 100644 --- a/users/item_managed_devices_execute_action_request_builder.go +++ b/users/item_managed_devices_execute_action_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemManagedDevicesExecuteActionRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_activate_device_esim_request_builder.go b/users/item_managed_devices_item_activate_device_esim_request_builder.go index 19991d3ed1e..89f25daf388 100644 --- a/users/item_managed_devices_item_activate_device_esim_request_builder.go +++ b/users/item_managed_devices_item_activate_device_esim_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemActivateDeviceEsimRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go b/users/item_managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go index 9c1fb954191..fb5727c8827 100644 --- a/users/item_managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go +++ b/users/item_managed_devices_item_assignment_filter_evaluation_status_details_assignment_filter_evaluation_status_details_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation managed device mobile app configuration states for this device. @@ -134,7 +134,7 @@ func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignmentFilterEvaluationStatusDetails in users @@ -147,7 +147,7 @@ func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsAssignment requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go b/users/item_managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go index 040ef2dc4c4..e9530dae2b7 100644 --- a/users/item_managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go +++ b/users/item_managed_devices_item_assignment_filter_evaluation_status_details_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to assignmentFilterEvaluationStatusDetails for users @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemAssignmentFilterEvaluationStatusDetailsRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_bypass_activation_lock_request_builder.go b/users/item_managed_devices_item_bypass_activation_lock_request_builder.go index d577ed0bfe0..0efb7e982ed 100644 --- a/users/item_managed_devices_item_bypass_activation_lock_request_builder.go +++ b/users/item_managed_devices_item_bypass_activation_lock_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemBypassActivationLockRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_clean_windows_device_request_builder.go b/users/item_managed_devices_item_clean_windows_device_request_builder.go index bbc7088fa1b..a6fac30ba40 100644 --- a/users/item_managed_devices_item_clean_windows_device_request_builder.go +++ b/users/item_managed_devices_item_clean_windows_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemCleanWindowsDeviceRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_create_device_log_collection_request_request_builder.go b/users/item_managed_devices_item_create_device_log_collection_request_request_builder.go index 1f8ed8d3bc4..850baec7921 100644 --- a/users/item_managed_devices_item_create_device_log_collection_request_request_builder.go +++ b/users/item_managed_devices_item_create_device_log_collection_request_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemManagedDevicesItemCreateDeviceLogCollectionRequestRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go b/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go index 2a9e6232ce4..d4021ae4fb8 100644 --- a/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go +++ b/users/item_managed_devices_item_delete_user_from_shared_apple_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemDeleteUserFromSharedAppleDeviceRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_deprovision_request_builder.go b/users/item_managed_devices_item_deprovision_request_builder.go index e89d28ec052..1794ef3bba4 100644 --- a/users/item_managed_devices_item_deprovision_request_builder.go +++ b/users/item_managed_devices_item_deprovision_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemDeprovisionRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_detected_apps_detected_app_item_request_builder.go b/users/item_managed_devices_item_detected_apps_detected_app_item_request_builder.go index 67db5e4899c..a34e89d290e 100644 --- a/users/item_managed_devices_item_detected_apps_detected_app_item_request_builder.go +++ b/users/item_managed_devices_item_detected_apps_detected_app_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemManagedDevicesItemDetectedAppsDetectedAppItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_detected_apps_request_builder.go b/users/item_managed_devices_item_detected_apps_request_builder.go index 3b77c008c5f..d97cc340ef9 100644 --- a/users/item_managed_devices_item_detected_apps_request_builder.go +++ b/users/item_managed_devices_item_detected_apps_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemManagedDevicesItemDetectedAppsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_device_category_request_builder.go b/users/item_managed_devices_item_device_category_request_builder.go index a38c58a729d..cbcd5c9b627 100644 --- a/users/item_managed_devices_item_device_category_request_builder.go +++ b/users/item_managed_devices_item_device_category_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemManagedDevicesItemDeviceCategoryRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device category @@ -134,7 +134,7 @@ func (m *ItemManagedDevicesItemDeviceCategoryRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCategory in users @@ -147,7 +147,7 @@ func (m *ItemManagedDevicesItemDeviceCategoryRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go b/users/item_managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go index 7745724c934..d1b13630a2f 100644 --- a/users/item_managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go +++ b/users/item_managed_devices_item_device_compliance_policy_states_device_compliance_policy_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device compliance policy states for this device. @@ -134,7 +134,7 @@ func (m *ItemManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceCompliancePolicyStates in users @@ -147,7 +147,7 @@ func (m *ItemManagedDevicesItemDeviceCompliancePolicyStatesDeviceCompliancePolic requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_device_compliance_policy_states_request_builder.go b/users/item_managed_devices_item_device_compliance_policy_states_request_builder.go index 863d9da21f8..5e357b359ee 100644 --- a/users/item_managed_devices_item_device_compliance_policy_states_request_builder.go +++ b/users/item_managed_devices_item_device_compliance_policy_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceCompliancePolicyStates for users @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemDeviceCompliancePolicyStatesRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go b/users/item_managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go index 3696aa06d82..2e5ef9c1c6d 100644 --- a/users/item_managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go +++ b/users/item_managed_devices_item_device_configuration_states_device_configuration_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device configuration states for this device. @@ -134,7 +134,7 @@ func (m *ItemManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceConfigurationStates in users @@ -147,7 +147,7 @@ func (m *ItemManagedDevicesItemDeviceConfigurationStatesDeviceConfigurationState requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_device_configuration_states_request_builder.go b/users/item_managed_devices_item_device_configuration_states_request_builder.go index d1fe2acdd3f..2dc82ccd97f 100644 --- a/users/item_managed_devices_item_device_configuration_states_request_builder.go +++ b/users/item_managed_devices_item_device_configuration_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemManagedDevicesItemDeviceConfigurationStatesRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceConfigurationStates for users @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemDeviceConfigurationStatesRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_device_health_script_states_request_builder.go b/users/item_managed_devices_item_device_health_script_states_request_builder.go index f38965ae1a4..9c360050d4a 100644 --- a/users/item_managed_devices_item_device_health_script_states_request_builder.go +++ b/users/item_managed_devices_item_device_health_script_states_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to deviceHealthScriptStates for users @@ -127,7 +127,7 @@ func (m *ItemManagedDevicesItemDeviceHealthScriptStatesRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go b/users/item_managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go index 5f3b03fcf62..a3f490f6456 100644 --- a/users/item_managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go +++ b/users/item_managed_devices_item_device_health_script_states_with_id_with_policy_id_with_device_id_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDev requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation results of device health scripts that ran for this device. Default is empty list. This property is read-only. @@ -143,7 +143,7 @@ func (m *ItemManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDev requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property deviceHealthScriptStates in users @@ -156,7 +156,7 @@ func (m *ItemManagedDevicesItemDeviceHealthScriptStatesWithIdWithPolicyIdWithDev requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_disable_lost_mode_request_builder.go b/users/item_managed_devices_item_disable_lost_mode_request_builder.go index 742a4a5245a..6d6701dfa03 100644 --- a/users/item_managed_devices_item_disable_lost_mode_request_builder.go +++ b/users/item_managed_devices_item_disable_lost_mode_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemDisableLostModeRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_disable_request_builder.go b/users/item_managed_devices_item_disable_request_builder.go index 8816ddfd349..f7156682daf 100644 --- a/users/item_managed_devices_item_disable_request_builder.go +++ b/users/item_managed_devices_item_disable_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemDisableRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_enable_lost_mode_request_builder.go b/users/item_managed_devices_item_enable_lost_mode_request_builder.go index 7b9f0091bb3..8c25dd142d3 100644 --- a/users/item_managed_devices_item_enable_lost_mode_request_builder.go +++ b/users/item_managed_devices_item_enable_lost_mode_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemEnableLostModeRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_enroll_now_action_request_builder.go b/users/item_managed_devices_item_enroll_now_action_request_builder.go index fd60a8e4f2d..ff0ae278e6f 100644 --- a/users/item_managed_devices_item_enroll_now_action_request_builder.go +++ b/users/item_managed_devices_item_enroll_now_action_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemEnrollNowActionRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go b/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go index 6e7222f81e0..8deafc7ba8d 100644 --- a/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go +++ b/users/item_managed_devices_item_get_cloud_pc_remote_action_results_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemManagedDevicesItemGetCloudPcRemoteActionResultsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go index a4ec00cfcfe..92e64133935 100644 --- a/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_item_get_cloud_pc_review_status_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemManagedDevicesItemGetCloudPcReviewStatusRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_get_file_vault_key_request_builder.go b/users/item_managed_devices_item_get_file_vault_key_request_builder.go index 619c48c8735..b008c044a08 100644 --- a/users/item_managed_devices_item_get_file_vault_key_request_builder.go +++ b/users/item_managed_devices_item_get_file_vault_key_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemManagedDevicesItemGetFileVaultKeyRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_get_non_compliant_settings_request_builder.go b/users/item_managed_devices_item_get_non_compliant_settings_request_builder.go index 7523adf6090..e3ee04f72fa 100644 --- a/users/item_managed_devices_item_get_non_compliant_settings_request_builder.go +++ b/users/item_managed_devices_item_get_non_compliant_settings_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemManagedDevicesItemGetNonCompliantSettingsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go b/users/item_managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go index de011d97894..a14e370e15b 100644 --- a/users/item_managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go +++ b/users/item_managed_devices_item_initiate_mobile_device_management_key_recovery_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemInitiateMobileDeviceManagementKeyRecoveryRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go b/users/item_managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go index 4159338ed08..72fac35de95 100644 --- a/users/item_managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go +++ b/users/item_managed_devices_item_initiate_on_demand_proactive_remediation_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemInitiateOnDemandProactiveRemediationRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_locate_device_request_builder.go b/users/item_managed_devices_item_locate_device_request_builder.go index 292a4acb9e4..b91e7bca11d 100644 --- a/users/item_managed_devices_item_locate_device_request_builder.go +++ b/users/item_managed_devices_item_locate_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemLocateDeviceRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go b/users/item_managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go index f6c7727519d..7c2fa42157f 100644 --- a/users/item_managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go +++ b/users/item_managed_devices_item_log_collection_requests_device_log_collection_response_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of log collection requests @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property logCollectionRequests in users @@ -151,7 +151,7 @@ func (m *ItemManagedDevicesItemLogCollectionRequestsDeviceLogCollectionResponseI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go b/users/item_managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go index 88340f8544e..751ef849c32 100644 --- a/users/item_managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go +++ b/users/item_managed_devices_item_log_collection_requests_item_create_download_url_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemManagedDevicesItemLogCollectionRequestsItemCreateDownloadUrlRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_log_collection_requests_request_builder.go b/users/item_managed_devices_item_log_collection_requests_request_builder.go index db390c3d1b5..e87605825af 100644 --- a/users/item_managed_devices_item_log_collection_requests_request_builder.go +++ b/users/item_managed_devices_item_log_collection_requests_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemManagedDevicesItemLogCollectionRequestsRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to logCollectionRequests for users @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemLogCollectionRequestsRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go b/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go index 9f9657ae4df..73e5c12d0db 100644 --- a/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go +++ b/users/item_managed_devices_item_logout_shared_apple_device_active_user_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemLogoutSharedAppleDeviceActiveUserRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go b/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go index 364d38f35c4..2e1af572322 100644 --- a/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go +++ b/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_managed_device_mobile_app_configuration_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation managed device mobile app configuration states for this device. @@ -134,7 +134,7 @@ func (m *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedDeviceMobileAppConfigurationStates in users @@ -147,7 +147,7 @@ func (m *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesManagedD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go b/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go index e2e7018f506..d9646cdb1c4 100644 --- a/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go +++ b/users/item_managed_devices_item_managed_device_mobile_app_configuration_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedDeviceMobileAppConfigurationStates for users @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemManagedDeviceMobileAppConfigurationStatesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_override_compliance_state_request_builder.go b/users/item_managed_devices_item_override_compliance_state_request_builder.go index 5d620dea4cd..3ee5ccd9ed2 100644 --- a/users/item_managed_devices_item_override_compliance_state_request_builder.go +++ b/users/item_managed_devices_item_override_compliance_state_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemOverrideComplianceStateRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_pause_configuration_refresh_request_builder.go b/users/item_managed_devices_item_pause_configuration_refresh_request_builder.go index 72ad86fea11..7d1f5e33a6a 100644 --- a/users/item_managed_devices_item_pause_configuration_refresh_request_builder.go +++ b/users/item_managed_devices_item_pause_configuration_refresh_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemPauseConfigurationRefreshRequestBuilder) ToPostRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_play_lost_mode_sound_request_builder.go b/users/item_managed_devices_item_play_lost_mode_sound_request_builder.go index 81e4684a353..806551b1254 100644 --- a/users/item_managed_devices_item_play_lost_mode_sound_request_builder.go +++ b/users/item_managed_devices_item_play_lost_mode_sound_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemPlayLostModeSoundRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_reboot_now_request_builder.go b/users/item_managed_devices_item_reboot_now_request_builder.go index 025e31fa178..9ee0f13898c 100644 --- a/users/item_managed_devices_item_reboot_now_request_builder.go +++ b/users/item_managed_devices_item_reboot_now_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemRebootNowRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_recover_passcode_request_builder.go b/users/item_managed_devices_item_recover_passcode_request_builder.go index 4e14a36cc42..507d6642ee3 100644 --- a/users/item_managed_devices_item_recover_passcode_request_builder.go +++ b/users/item_managed_devices_item_recover_passcode_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemRecoverPasscodeRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_reenable_request_builder.go b/users/item_managed_devices_item_reenable_request_builder.go index c936ad27025..8d15214a091 100644 --- a/users/item_managed_devices_item_reenable_request_builder.go +++ b/users/item_managed_devices_item_reenable_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemReenableRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_remote_lock_request_builder.go b/users/item_managed_devices_item_remote_lock_request_builder.go index f05d4d3d892..85f2e458909 100644 --- a/users/item_managed_devices_item_remote_lock_request_builder.go +++ b/users/item_managed_devices_item_remote_lock_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemRemoteLockRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go b/users/item_managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go index 4b258660caf..5754c4cc40b 100644 --- a/users/item_managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go +++ b/users/item_managed_devices_item_remove_device_firmware_configuration_interface_management_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemRemoveDeviceFirmwareConfigurationInterfaceManagem requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go b/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go index 6297e195554..bc4f458fe36 100644 --- a/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go +++ b/users/item_managed_devices_item_reprovision_cloud_pc_request_builder.go @@ -61,7 +61,7 @@ func (m *ItemManagedDevicesItemReprovisionCloudPcRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_request_remote_assistance_request_builder.go b/users/item_managed_devices_item_request_remote_assistance_request_builder.go index b5cbd7a6386..c198a42367c 100644 --- a/users/item_managed_devices_item_request_remote_assistance_request_builder.go +++ b/users/item_managed_devices_item_request_remote_assistance_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemRequestRemoteAssistanceRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_reset_passcode_request_builder.go b/users/item_managed_devices_item_reset_passcode_request_builder.go index 422e76d2305..a037d35dfca 100644 --- a/users/item_managed_devices_item_reset_passcode_request_builder.go +++ b/users/item_managed_devices_item_reset_passcode_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemResetPasscodeRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_resize_cloud_pc_request_builder.go b/users/item_managed_devices_item_resize_cloud_pc_request_builder.go index a628a7e5918..3c137f00073 100644 --- a/users/item_managed_devices_item_resize_cloud_pc_request_builder.go +++ b/users/item_managed_devices_item_resize_cloud_pc_request_builder.go @@ -61,7 +61,7 @@ func (m *ItemManagedDevicesItemResizeCloudPcRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_restore_cloud_pc_request_builder.go b/users/item_managed_devices_item_restore_cloud_pc_request_builder.go index 82a81e8734b..7cebb118478 100644 --- a/users/item_managed_devices_item_restore_cloud_pc_request_builder.go +++ b/users/item_managed_devices_item_restore_cloud_pc_request_builder.go @@ -61,7 +61,7 @@ func (m *ItemManagedDevicesItemRestoreCloudPcRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_retire_request_builder.go b/users/item_managed_devices_item_retire_request_builder.go index 121287765dd..82f81a8c711 100644 --- a/users/item_managed_devices_item_retire_request_builder.go +++ b/users/item_managed_devices_item_retire_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemRetireRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_revoke_apple_vpp_licenses_request_builder.go b/users/item_managed_devices_item_revoke_apple_vpp_licenses_request_builder.go index 68123fb149e..539c63e17fe 100644 --- a/users/item_managed_devices_item_revoke_apple_vpp_licenses_request_builder.go +++ b/users/item_managed_devices_item_revoke_apple_vpp_licenses_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemRevokeAppleVppLicensesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_rotate_bit_locker_keys_request_builder.go b/users/item_managed_devices_item_rotate_bit_locker_keys_request_builder.go index bdb7847487f..78d1910f6da 100644 --- a/users/item_managed_devices_item_rotate_bit_locker_keys_request_builder.go +++ b/users/item_managed_devices_item_rotate_bit_locker_keys_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemRotateBitLockerKeysRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_rotate_file_vault_key_request_builder.go b/users/item_managed_devices_item_rotate_file_vault_key_request_builder.go index 7577dbe7366..9367c3252d1 100644 --- a/users/item_managed_devices_item_rotate_file_vault_key_request_builder.go +++ b/users/item_managed_devices_item_rotate_file_vault_key_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemRotateFileVaultKeyRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_rotate_local_admin_password_request_builder.go b/users/item_managed_devices_item_rotate_local_admin_password_request_builder.go index 49b7930b15c..db3d4703340 100644 --- a/users/item_managed_devices_item_rotate_local_admin_password_request_builder.go +++ b/users/item_managed_devices_item_rotate_local_admin_password_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemRotateLocalAdminPasswordRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_security_baseline_states_item_setting_states_request_builder.go b/users/item_managed_devices_item_security_baseline_states_item_setting_states_request_builder.go index 7f115756dee..10a74e05fe7 100644 --- a/users/item_managed_devices_item_security_baseline_states_item_setting_states_request_builder.go +++ b/users/item_managed_devices_item_security_baseline_states_item_setting_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to settingStates for users @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go b/users/item_managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go index 420ad1f94ac..fa9ab46b6b3 100644 --- a/users/item_managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go +++ b/users/item_managed_devices_item_security_baseline_states_item_setting_states_security_baseline_setting_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the security baseline state for different settings for a device @@ -134,7 +134,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settingStates in users @@ -147,7 +147,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesItemSettingStatesSecurityBa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_security_baseline_states_request_builder.go b/users/item_managed_devices_item_security_baseline_states_request_builder.go index 6db530c47a0..3b5c0885286 100644 --- a/users/item_managed_devices_item_security_baseline_states_request_builder.go +++ b/users/item_managed_devices_item_security_baseline_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to securityBaselineStates for users @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go b/users/item_managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go index 52c0f769dae..8902f9083ae 100644 --- a/users/item_managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go +++ b/users/item_managed_devices_item_security_baseline_states_security_baseline_state_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation security baseline states for this device. @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property securityBaselineStates in users @@ -151,7 +151,7 @@ func (m *ItemManagedDevicesItemSecurityBaselineStatesSecurityBaselineStateItemRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_send_custom_notification_to_company_portal_request_builder.go b/users/item_managed_devices_item_send_custom_notification_to_company_portal_request_builder.go index a780d9f7f6b..4570588417d 100644 --- a/users/item_managed_devices_item_send_custom_notification_to_company_portal_request_builder.go +++ b/users/item_managed_devices_item_send_custom_notification_to_company_portal_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemSendCustomNotificationToCompanyPortalRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go b/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go index 4ca908216d0..730d533c8e7 100644 --- a/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go +++ b/users/item_managed_devices_item_set_cloud_pc_review_status_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemManagedDevicesItemSetCloudPcReviewStatusRequestBuilder) ToPostReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_set_device_name_request_builder.go b/users/item_managed_devices_item_set_device_name_request_builder.go index fb5f9efe03b..c5b99bf0e7c 100644 --- a/users/item_managed_devices_item_set_device_name_request_builder.go +++ b/users/item_managed_devices_item_set_device_name_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemSetDeviceNameRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_shut_down_request_builder.go b/users/item_managed_devices_item_shut_down_request_builder.go index 50c39ea03d0..690bc9f7c02 100644 --- a/users/item_managed_devices_item_shut_down_request_builder.go +++ b/users/item_managed_devices_item_shut_down_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemShutDownRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_sync_device_request_builder.go b/users/item_managed_devices_item_sync_device_request_builder.go index bb1506dca04..ab967b424f3 100644 --- a/users/item_managed_devices_item_sync_device_request_builder.go +++ b/users/item_managed_devices_item_sync_device_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemSyncDeviceRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_trigger_configuration_manager_action_request_builder.go b/users/item_managed_devices_item_trigger_configuration_manager_action_request_builder.go index e15d3e0d695..b00866bf1d1 100644 --- a/users/item_managed_devices_item_trigger_configuration_manager_action_request_builder.go +++ b/users/item_managed_devices_item_trigger_configuration_manager_action_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemTriggerConfigurationManagerActionRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_update_windows_device_account_request_builder.go b/users/item_managed_devices_item_update_windows_device_account_request_builder.go index d7446c0b42d..b835e0f697f 100644 --- a/users/item_managed_devices_item_update_windows_device_account_request_builder.go +++ b/users/item_managed_devices_item_update_windows_device_account_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemUpdateWindowsDeviceAccountRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_users_request_builder.go b/users/item_managed_devices_item_users_request_builder.go index d9d0faee0ec..3dbec469ff9 100644 --- a/users/item_managed_devices_item_users_request_builder.go +++ b/users/item_managed_devices_item_users_request_builder.go @@ -84,7 +84,7 @@ func (m *ItemManagedDevicesItemUsersRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_windows_defender_scan_request_builder.go b/users/item_managed_devices_item_windows_defender_scan_request_builder.go index 541ce087444..6e2c9ccd7bc 100644 --- a/users/item_managed_devices_item_windows_defender_scan_request_builder.go +++ b/users/item_managed_devices_item_windows_defender_scan_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemWindowsDefenderScanRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go b/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go index ffe149a786b..53ba26a3879 100644 --- a/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go +++ b/users/item_managed_devices_item_windows_defender_update_signatures_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemWindowsDefenderUpdateSignaturesRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go b/users/item_managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go index 3c6fe385759..3a55e255e7b 100644 --- a/users/item_managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go +++ b/users/item_managed_devices_item_windows_protection_state_detected_malware_state_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to detectedMalwareState for users @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go b/users/item_managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go index 6eb7ad9e9a5..60e39cc2d6f 100644 --- a/users/item_managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go +++ b/users/item_managed_devices_item_windows_protection_state_detected_malware_state_windows_device_malware_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindows requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation device malware list @@ -134,7 +134,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindows requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property detectedMalwareState in users @@ -147,7 +147,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateDetectedMalwareStateWindows requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_windows_protection_state_request_builder.go b/users/item_managed_devices_item_windows_protection_state_request_builder.go index 02a9986a75f..900bba5052c 100644 --- a/users/item_managed_devices_item_windows_protection_state_request_builder.go +++ b/users/item_managed_devices_item_windows_protection_state_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the device protection status. This property is read-only. @@ -138,7 +138,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property windowsProtectionState in users @@ -151,7 +151,7 @@ func (m *ItemManagedDevicesItemWindowsProtectionStateRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_item_wipe_request_builder.go b/users/item_managed_devices_item_wipe_request_builder.go index b169dbadf45..c059b0b4da7 100644 --- a/users/item_managed_devices_item_wipe_request_builder.go +++ b/users/item_managed_devices_item_wipe_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesItemWipeRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_managed_device_item_request_builder.go b/users/item_managed_devices_managed_device_item_request_builder.go index 1d69905880d..e3c2654fedd 100644 --- a/users/item_managed_devices_managed_device_item_request_builder.go +++ b/users/item_managed_devices_managed_device_item_request_builder.go @@ -318,7 +318,7 @@ func (m *ItemManagedDevicesManagedDeviceItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the managed devices associated with the user. @@ -334,7 +334,7 @@ func (m *ItemManagedDevicesManagedDeviceItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property managedDevices in users @@ -347,7 +347,7 @@ func (m *ItemManagedDevicesManagedDeviceItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_move_devices_to_o_u_request_builder.go b/users/item_managed_devices_move_devices_to_o_u_request_builder.go index 43b9cd14e48..a86c7c7338c 100644 --- a/users/item_managed_devices_move_devices_to_o_u_request_builder.go +++ b/users/item_managed_devices_move_devices_to_o_u_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemManagedDevicesMoveDevicesToOURequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_managed_devices_request_builder.go b/users/item_managed_devices_request_builder.go index 8aa353957c1..e8c0aca9fe5 100644 --- a/users/item_managed_devices_request_builder.go +++ b/users/item_managed_devices_request_builder.go @@ -153,7 +153,7 @@ func (m *ItemManagedDevicesRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to managedDevices for users @@ -166,7 +166,7 @@ func (m *ItemManagedDevicesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_manager_ref_request_builder.go b/users/item_manager_ref_request_builder.go index 6d1160d178f..285c01d79cf 100644 --- a/users/item_manager_ref_request_builder.go +++ b/users/item_manager_ref_request_builder.go @@ -115,7 +115,7 @@ func (m *ItemManagerRefRequestBuilder) ToDeleteRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -128,7 +128,7 @@ func (m *ItemManagerRefRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPutRequestInformation assign a user's manager. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemManagerRefRequestBuilder) ToPutRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_manager_request_builder.go b/users/item_manager_request_builder.go index 00a0a87d48a..4cdf28fb61e 100644 --- a/users/item_manager_request_builder.go +++ b/users/item_manager_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemManagerRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -118,7 +118,7 @@ func (m *ItemManagerRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_member_of_directory_object_item_request_builder.go b/users/item_member_of_directory_object_item_request_builder.go index 92085ed211b..04d215a0645 100644 --- a/users/item_member_of_directory_object_item_request_builder.go +++ b/users/item_member_of_directory_object_item_request_builder.go @@ -84,7 +84,7 @@ func (m *ItemMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_member_of_graph_administrative_unit_request_builder.go b/users/item_member_of_graph_administrative_unit_request_builder.go index d3da543cbcb..581a7407a14 100644 --- a/users/item_member_of_graph_administrative_unit_request_builder.go +++ b/users/item_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphAdministrativeUnitRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_member_of_graph_directory_role_request_builder.go b/users/item_member_of_graph_directory_role_request_builder.go index 3275c7e6969..7c026d6d935 100644 --- a/users/item_member_of_graph_directory_role_request_builder.go +++ b/users/item_member_of_graph_directory_role_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphDirectoryRoleRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_member_of_graph_group_request_builder.go b/users/item_member_of_graph_group_request_builder.go index 638edb277a6..3886c8c6596 100644 --- a/users/item_member_of_graph_group_request_builder.go +++ b/users/item_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_member_of_item_graph_administrative_unit_request_builder.go b/users/item_member_of_item_graph_administrative_unit_request_builder.go index 452893d815e..4ea9abb8cce 100644 --- a/users/item_member_of_item_graph_administrative_unit_request_builder.go +++ b/users/item_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_member_of_item_graph_directory_role_request_builder.go b/users/item_member_of_item_graph_directory_role_request_builder.go index 7435097e264..2fbba168a06 100644 --- a/users/item_member_of_item_graph_directory_role_request_builder.go +++ b/users/item_member_of_item_graph_directory_role_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphDirectoryRoleRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_member_of_item_graph_group_request_builder.go b/users/item_member_of_item_graph_group_request_builder.go index ed26d3e4ca9..c8c49a93add 100644 --- a/users/item_member_of_item_graph_group_request_builder.go +++ b/users/item_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_member_of_request_builder.go b/users/item_member_of_request_builder.go index c2a410e44b0..99bf55e0b7c 100644 --- a/users/item_member_of_request_builder.go +++ b/users/item_member_of_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_messages_delta_request_builder.go b/users/item_messages_delta_request_builder.go index 6cb4a242707..23f972decd0 100644 --- a/users/item_messages_delta_request_builder.go +++ b/users/item_messages_delta_request_builder.go @@ -107,7 +107,7 @@ func (m *ItemMessagesDeltaRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_messages_item_attachments_attachment_item_request_builder.go b/users/item_messages_item_attachments_attachment_item_request_builder.go index f48aa8916a6..96348d21a7c 100644 --- a/users/item_messages_item_attachments_attachment_item_request_builder.go +++ b/users/item_messages_item_attachments_attachment_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook 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. @@ -111,7 +111,7 @@ func (m *ItemMessagesItemAttachmentsAttachmentItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_messages_item_attachments_create_upload_session_request_builder.go b/users/item_messages_item_attachments_create_upload_session_request_builder.go index 30303535b27..49cff749e82 100644 --- a/users/item_messages_item_attachments_create_upload_session_request_builder.go +++ b/users/item_messages_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_attachments_request_builder.go b/users/item_messages_item_attachments_request_builder.go index 84ed89e942e..3586d06f6ef 100644 --- a/users/item_messages_item_attachments_request_builder.go +++ b/users/item_messages_item_attachments_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemMessagesItemAttachmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMessagesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. +// ItemMessagesItemAttachmentsRequestBuilderGetQueryParameters retrieve a list of attachment objects. This API is available in the following national cloud deployments. type ItemMessagesItemAttachmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,10 +72,10 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) Count()(*ItemMessagesItemAtt func (m *ItemMessagesItemAttachmentsRequestBuilder) CreateUploadSession()(*ItemMessagesItemAttachmentsCreateUploadSessionRequestBuilder) { return NewItemMessagesItemAttachmentsCreateUploadSessionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. +// Get retrieve a list of attachment objects. This API is available in the following national cloud deployments. // [Find more info here] // -// [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 func (m *ItemMessagesItemAttachmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AttachmentCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Attachmentable), nil } -// ToGetRequestInformation retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. +// ToGetRequestInformation retrieve a list of attachment objects. This API is available in the following national cloud deployments. func (m *ItemMessagesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemAttachmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -129,7 +129,7 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -142,7 +142,7 @@ func (m *ItemMessagesItemAttachmentsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_copy_request_builder.go b/users/item_messages_item_copy_request_builder.go index aa125852f38..81fc80e2d27 100644 --- a/users/item_messages_item_copy_request_builder.go +++ b/users/item_messages_item_copy_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMessagesItemCopyRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_create_forward_request_builder.go b/users/item_messages_item_create_forward_request_builder.go index 9656a8f34e7..e16a6a726d0 100644 --- a/users/item_messages_item_create_forward_request_builder.go +++ b/users/item_messages_item_create_forward_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMessagesItemCreateForwardRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_create_reply_all_request_builder.go b/users/item_messages_item_create_reply_all_request_builder.go index 0f29cbc1496..f3f90630ca8 100644 --- a/users/item_messages_item_create_reply_all_request_builder.go +++ b/users/item_messages_item_create_reply_all_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMessagesItemCreateReplyAllRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_create_reply_request_builder.go b/users/item_messages_item_create_reply_request_builder.go index f5e3541ee72..2021786f599 100644 --- a/users/item_messages_item_create_reply_request_builder.go +++ b/users/item_messages_item_create_reply_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMessagesItemCreateReplyRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_extensions_extension_item_request_builder.go b/users/item_messages_item_extensions_extension_item_request_builder.go index de1e891dc03..0c2e40ce7e9 100644 --- a/users/item_messages_item_extensions_extension_item_request_builder.go +++ b/users/item_messages_item_extensions_extension_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -153,7 +153,7 @@ func (m *ItemMessagesItemExtensionsExtensionItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_extensions_request_builder.go b/users/item_messages_item_extensions_request_builder.go index a7d74d1f013..4c6d586b7e8 100644 --- a/users/item_messages_item_extensions_request_builder.go +++ b/users/item_messages_item_extensions_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemMessagesItemExtensionsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -139,7 +139,7 @@ func (m *ItemMessagesItemExtensionsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_forward_request_builder.go b/users/item_messages_item_forward_request_builder.go index 7a691df7f79..99608698e07 100644 --- a/users/item_messages_item_forward_request_builder.go +++ b/users/item_messages_item_forward_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMessagesItemForwardRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_mark_as_junk_request_builder.go b/users/item_messages_item_mark_as_junk_request_builder.go index 9c24860ff56..49f1f22b9c3 100644 --- a/users/item_messages_item_mark_as_junk_request_builder.go +++ b/users/item_messages_item_mark_as_junk_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMessagesItemMarkAsJunkRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_mark_as_not_junk_request_builder.go b/users/item_messages_item_mark_as_not_junk_request_builder.go index d7d11480c28..abee7bf1edf 100644 --- a/users/item_messages_item_mark_as_not_junk_request_builder.go +++ b/users/item_messages_item_mark_as_not_junk_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMessagesItemMarkAsNotJunkRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_mentions_mention_item_request_builder.go b/users/item_messages_item_mentions_mention_item_request_builder.go index 5efbb8c6a12..14e6031515e 100644 --- a/users/item_messages_item_mentions_mention_item_request_builder.go +++ b/users/item_messages_item_mentions_mention_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemMessagesItemMentionsMentionItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a collection of mentions in the message, ordered by the createdDateTime from the newest to the oldest. By default, a GET /messages does not return this property unless you apply $expand on the property. @@ -111,7 +111,7 @@ func (m *ItemMessagesItemMentionsMentionItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_messages_item_mentions_request_builder.go b/users/item_messages_item_mentions_request_builder.go index b56e1be84ee..18e7aff4282 100644 --- a/users/item_messages_item_mentions_request_builder.go +++ b/users/item_messages_item_mentions_request_builder.go @@ -123,7 +123,7 @@ func (m *ItemMessagesItemMentionsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mentions for users @@ -136,7 +136,7 @@ func (m *ItemMessagesItemMentionsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_move_request_builder.go b/users/item_messages_item_move_request_builder.go index 813233bbb46..30cae09fe09 100644 --- a/users/item_messages_item_move_request_builder.go +++ b/users/item_messages_item_move_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemMessagesItemMoveRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_reply_all_request_builder.go b/users/item_messages_item_reply_all_request_builder.go index dc86719c40c..497055b2cb7 100644 --- a/users/item_messages_item_reply_all_request_builder.go +++ b/users/item_messages_item_reply_all_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMessagesItemReplyAllRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_reply_request_builder.go b/users/item_messages_item_reply_request_builder.go index 48a6b571f47..e59388ca27b 100644 --- a/users/item_messages_item_reply_request_builder.go +++ b/users/item_messages_item_reply_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMessagesItemReplyRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_item_send_request_builder.go b/users/item_messages_item_send_request_builder.go index f2bc79e3a36..99493aa2b3f 100644 --- a/users/item_messages_item_send_request_builder.go +++ b/users/item_messages_item_send_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMessagesItemSendRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_messages_item_unsubscribe_request_builder.go b/users/item_messages_item_unsubscribe_request_builder.go index 92a8280b5e5..ba3552db91b 100644 --- a/users/item_messages_item_unsubscribe_request_builder.go +++ b/users/item_messages_item_unsubscribe_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemMessagesItemUnsubscribeRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_messages_item_value_content_request_builder.go b/users/item_messages_item_value_content_request_builder.go index a18092c16ea..39c72c495b8 100644 --- a/users/item_messages_item_value_content_request_builder.go +++ b/users/item_messages_item_value_content_request_builder.go @@ -40,7 +40,7 @@ func NewItemMessagesItemValueContentRequestBuilder(rawUrl string, requestAdapter // Get get media content for the navigation property messages from users // [Find more info here] // -// [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 func (m *ItemMessagesItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -88,7 +88,7 @@ func (m *ItemMessagesItemValueContentRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property messages in users @@ -101,7 +101,7 @@ func (m *ItemMessagesItemValueContentRequestBuilder) ToPutRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_messages_message_item_request_builder.go b/users/item_messages_message_item_request_builder.go index 2717b018695..57b1b98fa12 100644 --- a/users/item_messages_message_item_request_builder.go +++ b/users/item_messages_message_item_request_builder.go @@ -80,10 +80,10 @@ func (m *ItemMessagesMessageItemRequestBuilder) CreateReply()(*ItemMessagesItemC func (m *ItemMessagesMessageItemRequestBuilder) CreateReplyAll()(*ItemMessagesItemCreateReplyAllRequestBuilder) { return NewItemMessagesItemCreateReplyAllRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete eventMessage. This API is available in the following national cloud deployments. +// Delete 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. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0 func (m *ItemMessagesMessageItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMessagesMessageItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -110,7 +110,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) Forward()(*ItemMessagesItemForwa // Get the messages in a mailbox or folder. Read-only. Nullable. // [Find more info here] // -// [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 func (m *ItemMessagesMessageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesMessageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -179,7 +179,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) ReplyAll()(*ItemMessagesItemRepl func (m *ItemMessagesMessageItemRequestBuilder) Send()(*ItemMessagesItemSendRequestBuilder) { return NewItemMessagesItemSendRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete eventMessage. This API is available in the following national cloud deployments. +// ToDeleteRequestInformation 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. func (m *ItemMessagesMessageItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesMessageItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -189,7 +189,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the messages in a mailbox or folder. Read-only. Nullable. @@ -205,7 +205,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a message object. This API is available in the following national cloud deployments. @@ -218,7 +218,7 @@ func (m *ItemMessagesMessageItemRequestBuilder) ToPatchRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_messages_request_builder.go b/users/item_messages_request_builder.go index f7844afcf89..f1e1366bbc0 100644 --- a/users/item_messages_request_builder.go +++ b/users/item_messages_request_builder.go @@ -83,7 +83,7 @@ func (m *ItemMessagesRequestBuilder) Delta()(*ItemMessagesDeltaRequestBuilder) { // Get the messages in a mailbox or folder. Read-only. Nullable. // [Find more info here] // -// [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 func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -102,10 +102,10 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageCollectionResponseable), nil } -// Post 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. +// Post create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- 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. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. This API is available in the following national cloud deployments. // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-messages?view=graph-rest-1.0 func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,10 +137,10 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation 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. +// ToPostRequestInformation create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- 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. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. This API is available in the following national cloud deployments. func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Messageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -150,7 +150,7 @@ func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mobile_app_intent_and_states_mobile_app_intent_and_state_item_request_builder.go b/users/item_mobile_app_intent_and_states_mobile_app_intent_and_state_item_request_builder.go index 2620c1e92c8..74869febe8f 100644 --- a/users/item_mobile_app_intent_and_states_mobile_app_intent_and_state_item_request_builder.go +++ b/users/item_mobile_app_intent_and_states_mobile_app_intent_and_state_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemMobileAppIntentAndStatesMobileAppIntentAndStateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of troubleshooting events for this user. @@ -134,7 +134,7 @@ func (m *ItemMobileAppIntentAndStatesMobileAppIntentAndStateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property mobileAppIntentAndStates in users @@ -147,7 +147,7 @@ func (m *ItemMobileAppIntentAndStatesMobileAppIntentAndStateItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mobile_app_intent_and_states_request_builder.go b/users/item_mobile_app_intent_and_states_request_builder.go index 05e413f27e7..1ebb9b5cc83 100644 --- a/users/item_mobile_app_intent_and_states_request_builder.go +++ b/users/item_mobile_app_intent_and_states_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemMobileAppIntentAndStatesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mobileAppIntentAndStates for users @@ -138,7 +138,7 @@ func (m *ItemMobileAppIntentAndStatesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go index 3af9cd06a16..84764a06c01 100644 --- a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_app_log_collection_request_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection property of AppLogUploadRequest. @@ -138,7 +138,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property appLogCollectionRequests in users @@ -151,7 +151,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsAppLogCol requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go index 563e70d7805..37d5fb84734 100644 --- a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_item_create_download_url_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsItemCreat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go index 3c4c3de5b90..d708e44aa86 100644 --- a/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_item_app_log_collection_requests_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to appLogCollectionRequests for users @@ -138,7 +138,7 @@ func (m *ItemMobileAppTroubleshootingEventsItemAppLogCollectionRequestsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go b/users/item_mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go index 167ed3ab598..c7ba6157f01 100644 --- a/users/item_mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_mobile_app_troubleshooting_event_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of mobile app troubleshooting events for this user. @@ -138,7 +138,7 @@ func (m *ItemMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property mobileAppTroubleshootingEvents in users @@ -151,7 +151,7 @@ func (m *ItemMobileAppTroubleshootingEventsMobileAppTroubleshootingEventItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_mobile_app_troubleshooting_events_request_builder.go b/users/item_mobile_app_troubleshooting_events_request_builder.go index adf4a00c7a0..174a641edbf 100644 --- a/users/item_mobile_app_troubleshooting_events_request_builder.go +++ b/users/item_mobile_app_troubleshooting_events_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemMobileAppTroubleshootingEventsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to mobileAppTroubleshootingEvents for users @@ -138,7 +138,7 @@ func (m *ItemMobileAppTroubleshootingEventsRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_notifications_notification_item_request_builder.go b/users/item_notifications_notification_item_request_builder.go index 53722d402bc..2db5a7a575f 100644 --- a/users/item_notifications_notification_item_request_builder.go +++ b/users/item_notifications_notification_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemNotificationsNotificationItemRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get notifications from users @@ -139,7 +139,7 @@ func (m *ItemNotificationsNotificationItemRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property notifications in users @@ -153,7 +153,7 @@ func (m *ItemNotificationsNotificationItemRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_notifications_request_builder.go b/users/item_notifications_request_builder.go index 16e823815cb..c7fedcd26bc 100644 --- a/users/item_notifications_request_builder.go +++ b/users/item_notifications_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemNotificationsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to notifications for users @@ -143,7 +143,7 @@ func (m *ItemNotificationsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go b/users/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go index c7558831d11..ce1e1dd75d0 100644 --- a/users/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go +++ b/users/item_oauth2_permission_grants_o_auth2_permission_grant_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOauth2PermissionGrantsOAuth2PermissionGrantItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_oauth2_permission_grants_request_builder.go b/users/item_oauth2_permission_grants_request_builder.go index bc1813770fd..949e82b11a4 100644 --- a/users/item_oauth2_permission_grants_request_builder.go +++ b/users/item_oauth2_permission_grants_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemOauth2PermissionGrantsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go b/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go index 97d4ee5c144..97b4e027740 100644 --- a/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go +++ b/users/item_onenote_notebooks_get_notebook_from_web_url_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksGetNotebookFromWebUrlRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go b/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go index bc2462b0b45..6dcde8657fd 100644 --- a/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go +++ b/users/item_onenote_notebooks_get_recent_notebooks_with_include_personal_notebooks_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_copy_notebook_request_builder.go b/users/item_onenote_notebooks_item_copy_notebook_request_builder.go index edb89dd4e23..0ccb7d448d5 100644 --- a/users/item_onenote_notebooks_item_copy_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_copy_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemCopyNotebookRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go index 19efe75b86c..1d1ff9ef373 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentNotebookRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go index 32277af21c6..5ee168d5d97 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemParentSectionGroupRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go index 98f6bf2015a..47d23ab0943 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_section_groups_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go index 2bc68587994..e93a6cd2beb 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_section_groups_section_group_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionGroupsSectionGroupItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go index e5cad06b1f2..3ccefb6864f 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 37a76003a43..e5c83fe5c53 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroup requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go index 943b215524f..0a3341fe45d 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemContentRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index f8d3e9f2d9f..9dd234c8b09 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 55a52827d9c..b3be6d2bede 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index 422776af34f..475ebe5f2dc 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentNot requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 1b93887ad2c..515ebe35600 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemParentSec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go index bb2e2bae06d..9b1c108a89c 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemPreviewRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index c54e855f27f..66dedaa1930 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in users @@ -171,7 +171,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesOnenotePageIt requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go index 94ad6753752..6496b9a626b 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for users @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go index ede07266759..8ae59e16466 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentNotebookRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go index ca4d8130bf1..205c0c3fc1e 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsItemParentSectionGroup requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go index 8ffdb465bd0..8e594573c37 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the section group. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in users @@ -167,7 +167,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsOnenoteSectionItemRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go b/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go index bd6f83addae..704f6d7a16e 100644 --- a/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified section group. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsItemSectionsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_section_groups_request_builder.go b/users/item_onenote_notebooks_item_section_groups_request_builder.go index 8187ce58474..86e9ab1660d 100644 --- a/users/item_onenote_notebooks_item_section_groups_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section group in the specified notebook. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go b/users/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go index 90de885c438..6086e7b7a03 100644 --- a/users/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go +++ b/users/item_onenote_notebooks_item_section_groups_section_group_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the section groups in the notebook. Read-only. Nullable. @@ -150,7 +150,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sectionGroups in users @@ -163,7 +163,7 @@ func (m *ItemOnenoteNotebooksItemSectionGroupsSectionGroupItemRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go index 752e5f3747e..0ce49b0c3ff 100644 --- a/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToNotebookRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go index 1c6d005f9fa..ef67a95f6ac 100644 --- a/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go index 82188fed6c5..664d6986c10 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemContentRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go index 8ed88f55987..9629f824a67 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go index a5bc0e3ef77..f782bc81686 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go index 0ad766a98cb..76cd1c7896e 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentNotebookRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go index 9059cba6f64..81e64f43d66 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemParentSectionRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go index 656c830b09a..342f3c122ff 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesItemPreviewRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go index 2b9bc2fba14..de16ecf3590 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in users @@ -171,7 +171,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesOnenotePageItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_sections_item_pages_request_builder.go b/users/item_onenote_notebooks_item_sections_item_pages_request_builder.go index cf81d0d798c..81f182dda17 100644 --- a/users/item_onenote_notebooks_item_sections_item_pages_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for users @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemPagesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go b/users/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go index c8adc7ebdda..851968cc496 100644 --- a/users/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentNotebookRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go b/users/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go index 06e28557723..8c2d8bbd1bc 100644 --- a/users/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteNotebooksItemSectionsItemParentSectionGroupRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go b/users/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go index b3e2f3bec31..1451428df1d 100644 --- a/users/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the notebook. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in users @@ -167,7 +167,7 @@ func (m *ItemOnenoteNotebooksItemSectionsOnenoteSectionItemRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_item_sections_request_builder.go b/users/item_onenote_notebooks_item_sections_request_builder.go index 3d86dbdc19d..2edf79a044b 100644 --- a/users/item_onenote_notebooks_item_sections_request_builder.go +++ b/users/item_onenote_notebooks_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified notebook. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteNotebooksItemSectionsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_notebook_item_request_builder.go b/users/item_onenote_notebooks_notebook_item_request_builder.go index cddfb8fb9cc..5b8ad123a21 100644 --- a/users/item_onenote_notebooks_notebook_item_request_builder.go +++ b/users/item_onenote_notebooks_notebook_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. @@ -149,7 +149,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property notebooks in users @@ -162,7 +162,7 @@ func (m *ItemOnenoteNotebooksNotebookItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_notebooks_request_builder.go b/users/item_onenote_notebooks_request_builder.go index 40bb1917687..414c7e1aa9a 100644 --- a/users/item_onenote_notebooks_request_builder.go +++ b/users/item_onenote_notebooks_request_builder.go @@ -139,7 +139,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new OneNote notebook. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *ItemOnenoteNotebooksRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_operations_onenote_operation_item_request_builder.go b/users/item_onenote_operations_onenote_operation_item_request_builder.go index 5ab161235d8..62d472919ff 100644 --- a/users/item_onenote_operations_onenote_operation_item_request_builder.go +++ b/users/item_onenote_operations_onenote_operation_item_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property operations in users @@ -150,7 +150,7 @@ func (m *ItemOnenoteOperationsOnenoteOperationItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_operations_request_builder.go b/users/item_onenote_operations_request_builder.go index f9de6f1c6bf..b3adb5891a5 100644 --- a/users/item_onenote_operations_request_builder.go +++ b/users/item_onenote_operations_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to operations for users @@ -138,7 +138,7 @@ func (m *ItemOnenoteOperationsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_pages_item_content_request_builder.go b/users/item_onenote_pages_item_content_request_builder.go index e7a246a0d2d..bd1f93cdf55 100644 --- a/users/item_onenote_pages_item_content_request_builder.go +++ b/users/item_onenote_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenotePagesItemContentRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenotePagesItemContentRequestBuilder) ToPutRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_onenote_pages_item_copy_to_section_request_builder.go b/users/item_onenote_pages_item_copy_to_section_request_builder.go index 5223cf39d06..8cd3e339554 100644 --- a/users/item_onenote_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenotePagesItemCopyToSectionRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_pages_item_onenote_patch_content_request_builder.go b/users/item_onenote_pages_item_onenote_patch_content_request_builder.go index d922a144fa1..5848801fd5a 100644 --- a/users/item_onenote_pages_item_onenote_patch_content_request_builder.go +++ b/users/item_onenote_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenotePagesItemOnenotePatchContentRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_pages_item_parent_notebook_request_builder.go b/users/item_onenote_pages_item_parent_notebook_request_builder.go index 9cf984dd7f9..173ee4e4f8a 100644 --- a/users/item_onenote_pages_item_parent_notebook_request_builder.go +++ b/users/item_onenote_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenotePagesItemParentNotebookRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_pages_item_parent_section_request_builder.go b/users/item_onenote_pages_item_parent_section_request_builder.go index b00f302d8a8..4d2fd0b8333 100644 --- a/users/item_onenote_pages_item_parent_section_request_builder.go +++ b/users/item_onenote_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenotePagesItemParentSectionRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_pages_item_preview_request_builder.go b/users/item_onenote_pages_item_preview_request_builder.go index 51b7f4dd361..2d81c405bc0 100644 --- a/users/item_onenote_pages_item_preview_request_builder.go +++ b/users/item_onenote_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenotePagesItemPreviewRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_pages_onenote_page_item_request_builder.go b/users/item_onenote_pages_onenote_page_item_request_builder.go index 891a4bcea9d..522c3324d39 100644 --- a/users/item_onenote_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_pages_onenote_page_item_request_builder.go @@ -145,7 +145,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the pages in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. @@ -161,7 +161,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in users @@ -174,7 +174,7 @@ func (m *ItemOnenotePagesOnenotePageItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_pages_request_builder.go b/users/item_onenote_pages_request_builder.go index 1ae182bb7d4..98ef5e90703 100644 --- a/users/item_onenote_pages_request_builder.go +++ b/users/item_onenote_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenotePagesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for users @@ -138,7 +138,7 @@ func (m *ItemOnenotePagesRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_request_builder.go b/users/item_onenote_request_builder.go index 9619a7529f0..a80ab696cba 100644 --- a/users/item_onenote_request_builder.go +++ b/users/item_onenote_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get onenote from users @@ -158,7 +158,7 @@ func (m *ItemOnenoteRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property onenote in users @@ -171,7 +171,7 @@ func (m *ItemOnenoteRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_resources_item_content_request_builder.go b/users/item_onenote_resources_item_content_request_builder.go index b7f347d070e..47dd3f39e8e 100644 --- a/users/item_onenote_resources_item_content_request_builder.go +++ b/users/item_onenote_resources_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update content for the navigation property resources in users @@ -99,7 +99,7 @@ func (m *ItemOnenoteResourcesItemContentRequestBuilder) ToPutRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_onenote_resources_onenote_resource_item_request_builder.go b/users/item_onenote_resources_onenote_resource_item_request_builder.go index 5c39277f0f8..f350c606705 100644 --- a/users/item_onenote_resources_onenote_resource_item_request_builder.go +++ b/users/item_onenote_resources_onenote_resource_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the image and other file resources in OneNote pages. Getting a resources collection isn't supported, but you can get the binary content of a specific resource. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property resources in users @@ -151,7 +151,7 @@ func (m *ItemOnenoteResourcesOnenoteResourceItemRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_resources_request_builder.go b/users/item_onenote_resources_request_builder.go index d911a9257bc..120769e97b6 100644 --- a/users/item_onenote_resources_request_builder.go +++ b/users/item_onenote_resources_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteResourcesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to resources for users @@ -138,7 +138,7 @@ func (m *ItemOnenoteResourcesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_section_groups_item_parent_notebook_request_builder.go b/users/item_onenote_section_groups_item_parent_notebook_request_builder.go index f6073623d3b..500c075fba9 100644 --- a/users/item_onenote_section_groups_item_parent_notebook_request_builder.go +++ b/users/item_onenote_section_groups_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemParentNotebookRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_section_groups_item_parent_section_group_request_builder.go b/users/item_onenote_section_groups_item_parent_section_group_request_builder.go index a4ea71aba7d..8d784d6e599 100644 --- a/users/item_onenote_section_groups_item_parent_section_group_request_builder.go +++ b/users/item_onenote_section_groups_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemParentSectionGroupRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_section_groups_item_section_groups_request_builder.go b/users/item_onenote_section_groups_item_section_groups_request_builder.go index ac4ac1334fd..274d57acd02 100644 --- a/users/item_onenote_section_groups_item_section_groups_request_builder.go +++ b/users/item_onenote_section_groups_item_section_groups_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go b/users/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go index 65e4203e4ee..e09d5b0592e 100644 --- a/users/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go +++ b/users/item_onenote_section_groups_item_section_groups_section_group_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionGroupsSectionGroupItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go index 7560f9fba46..74a3ed3322e 100644 --- a/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go index 528148caa45..77703ab525e 100644 --- a/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go index d0493133482..11c7fdc2c4e 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go index 2b2d4f038fe..4a9fbf490e5 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go index 80e2d864f36..498300d7cc7 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go index 32f6398862d..949835fb80a 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentNotebookRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go index 4e5f0f709ff..3de1a685ab8 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemParentSectionRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go index d4e58f00869..136fa86d339 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesItemPreviewRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go index 2a67cc7f216..dcee3e8fc8a 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in users @@ -171,7 +171,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesOnenotePageItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_section_groups_item_sections_item_pages_request_builder.go b/users/item_onenote_section_groups_item_sections_item_pages_request_builder.go index c387a97b8e0..288fd9071c4 100644 --- a/users/item_onenote_section_groups_item_sections_item_pages_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for users @@ -138,7 +138,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemPagesRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go b/users/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go index 7bd93ad3b9f..aa2815692ac 100644 --- a/users/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentNotebookRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go b/users/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go index 3ccb7e33e3b..a2ff5def410 100644 --- a/users/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsItemParentSectionGroupRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go b/users/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go index 3ae4b6fbfcf..217aee14cea 100644 --- a/users/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_onenote_section_item_request_builder.go @@ -138,7 +138,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the sections in the section group. Read-only. Nullable. @@ -154,7 +154,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in users @@ -167,7 +167,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsOnenoteSectionItemRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_section_groups_item_sections_request_builder.go b/users/item_onenote_section_groups_item_sections_request_builder.go index 1985d74c9c9..0ff3f602a53 100644 --- a/users/item_onenote_section_groups_item_sections_request_builder.go +++ b/users/item_onenote_section_groups_item_sections_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new section in the specified section group. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOnenoteSectionGroupsItemSectionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_section_groups_request_builder.go b/users/item_onenote_section_groups_request_builder.go index 23661cb4a7e..4dfb15d151f 100644 --- a/users/item_onenote_section_groups_request_builder.go +++ b/users/item_onenote_section_groups_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sectionGroups for users @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionGroupsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_section_groups_section_group_item_request_builder.go b/users/item_onenote_section_groups_section_group_item_request_builder.go index 5494f0e97c0..8cd5d04aeac 100644 --- a/users/item_onenote_section_groups_section_group_item_request_builder.go +++ b/users/item_onenote_section_groups_section_group_item_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sectionGroups in users @@ -166,7 +166,7 @@ func (m *ItemOnenoteSectionGroupsSectionGroupItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_sections_item_copy_to_notebook_request_builder.go b/users/item_onenote_sections_item_copy_to_notebook_request_builder.go index 4110a85152d..096781aa05a 100644 --- a/users/item_onenote_sections_item_copy_to_notebook_request_builder.go +++ b/users/item_onenote_sections_item_copy_to_notebook_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionsItemCopyToNotebookRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_sections_item_copy_to_section_group_request_builder.go b/users/item_onenote_sections_item_copy_to_section_group_request_builder.go index e47741da72a..6f7291c74cb 100644 --- a/users/item_onenote_sections_item_copy_to_section_group_request_builder.go +++ b/users/item_onenote_sections_item_copy_to_section_group_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionsItemCopyToSectionGroupRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_sections_item_pages_item_content_request_builder.go b/users/item_onenote_sections_item_pages_item_content_request_builder.go index b2d25fd42e7..7676936bb8b 100644 --- a/users/item_onenote_sections_item_pages_item_content_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the page's HTML content. @@ -99,7 +99,7 @@ func (m *ItemOnenoteSectionsItemPagesItemContentRequestBuilder) ToPutRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go b/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go index 5e0f6026cb8..76d4ed57e3b 100644 --- a/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_copy_to_section_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnenoteSectionsItemPagesItemCopyToSectionRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go b/users/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go index 7a84b2124f2..b1f74797e42 100644 --- a/users/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_onenote_patch_content_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemOnenoteSectionsItemPagesItemOnenotePatchContentRequestBuilder) ToPo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go b/users/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go index e258a02fedb..1be9c7f0f61 100644 --- a/users/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentNotebookRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_sections_item_pages_item_parent_section_request_builder.go b/users/item_onenote_sections_item_pages_item_parent_section_request_builder.go index fcaf3b467ce..a75dc79d1d2 100644 --- a/users/item_onenote_sections_item_pages_item_parent_section_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_parent_section_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemPagesItemParentSectionRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_sections_item_pages_item_preview_request_builder.go b/users/item_onenote_sections_item_pages_item_preview_request_builder.go index 74f02006183..8eb3abaac66 100644 --- a/users/item_onenote_sections_item_pages_item_preview_request_builder.go +++ b/users/item_onenote_sections_item_pages_item_preview_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemOnenoteSectionsItemPagesItemPreviewRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_sections_item_pages_onenote_page_item_request_builder.go b/users/item_onenote_sections_item_pages_onenote_page_item_request_builder.go index b2ac4bad0b6..fdaaec3f5ec 100644 --- a/users/item_onenote_sections_item_pages_onenote_page_item_request_builder.go +++ b/users/item_onenote_sections_item_pages_onenote_page_item_request_builder.go @@ -142,7 +142,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of pages in the section. Read-only. Nullable. @@ -158,7 +158,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pages in users @@ -171,7 +171,7 @@ func (m *ItemOnenoteSectionsItemPagesOnenotePageItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_sections_item_pages_request_builder.go b/users/item_onenote_sections_item_pages_request_builder.go index 4435fb2c4eb..a691300ee1e 100644 --- a/users/item_onenote_sections_item_pages_request_builder.go +++ b/users/item_onenote_sections_item_pages_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pages for users @@ -138,7 +138,7 @@ func (m *ItemOnenoteSectionsItemPagesRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_sections_item_parent_notebook_request_builder.go b/users/item_onenote_sections_item_parent_notebook_request_builder.go index be86f0a1d8a..b20147f7fa4 100644 --- a/users/item_onenote_sections_item_parent_notebook_request_builder.go +++ b/users/item_onenote_sections_item_parent_notebook_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemParentNotebookRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_sections_item_parent_section_group_request_builder.go b/users/item_onenote_sections_item_parent_section_group_request_builder.go index b8f71d4fa28..1a16b0a1d1f 100644 --- a/users/item_onenote_sections_item_parent_section_group_request_builder.go +++ b/users/item_onenote_sections_item_parent_section_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOnenoteSectionsItemParentSectionGroupRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_onenote_sections_onenote_section_item_request_builder.go b/users/item_onenote_sections_onenote_section_item_request_builder.go index 23388289ab0..7c5912f19c1 100644 --- a/users/item_onenote_sections_onenote_section_item_request_builder.go +++ b/users/item_onenote_sections_onenote_section_item_request_builder.go @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sections in users @@ -170,7 +170,7 @@ func (m *ItemOnenoteSectionsOnenoteSectionItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_onenote_sections_request_builder.go b/users/item_onenote_sections_request_builder.go index 7164dc8d2f8..af9954193ac 100644 --- a/users/item_onenote_sections_request_builder.go +++ b/users/item_onenote_sections_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sections for users @@ -141,7 +141,7 @@ func (m *ItemOnenoteSectionsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_create_or_get_request_builder.go b/users/item_online_meetings_create_or_get_request_builder.go index ab12aa4e3ef..5f51b24c6f1 100644 --- a/users/item_online_meetings_create_or_get_request_builder.go +++ b/users/item_online_meetings_create_or_get_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemOnlineMeetingsCreateOrGetRequestBuilder) ToPostRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_get_all_recordings_request_builder.go b/users/item_online_meetings_get_all_recordings_request_builder.go index 49e41ee7602..68c6f2b1fe6 100644 --- a/users/item_online_meetings_get_all_recordings_request_builder.go +++ b/users/item_online_meetings_get_all_recordings_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemOnlineMeetingsGetAllRecordingsRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_online_meetings_get_all_transcripts_request_builder.go b/users/item_online_meetings_get_all_transcripts_request_builder.go index 9d5e4a4f3b0..2f5ae5453c5 100644 --- a/users/item_online_meetings_get_all_transcripts_request_builder.go +++ b/users/item_online_meetings_get_all_transcripts_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemOnlineMeetingsGetAllTranscriptsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_online_meetings_item_alternative_recording_request_builder.go b/users/item_online_meetings_item_alternative_recording_request_builder.go index ca56b7fd711..1ee24b02353 100644 --- a/users/item_online_meetings_item_alternative_recording_request_builder.go +++ b/users/item_online_meetings_item_alternative_recording_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update alternativeRecording for the navigation property onlineMeetings in users @@ -101,7 +101,7 @@ func (m *ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) ToPutRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go b/users/item_online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go index b21ea40d361..4fc160891c1 100644 --- a/users/item_online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_item_attendance_records_attendance_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of attendance records of an attendance report. Read-only. @@ -134,7 +134,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceRecords in users @@ -147,7 +147,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsAttendanceR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go b/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go index 977cb2fc521..858aaf3e88e 100644 --- a/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_item_attendance_records_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceRecords for users @@ -141,7 +141,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsItemAttendanceRecordsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go b/users/item_online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go index c37f950a15a..c2809c8b46c 100644 --- a/users/item_online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_meeting_attendance_report_item_request_builder.go @@ -7,7 +7,7 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. type ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } @@ -18,7 +18,7 @@ type ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters 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. +// ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters get attendanceReports from users type ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -74,10 +74,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemReque } return nil } -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 +// Get get attendanceReports from users func (m *ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -125,10 +122,10 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get attendanceReports from users func (m *ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -141,7 +138,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceReports in users @@ -154,7 +151,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_attendance_reports_request_builder.go b/users/item_online_meetings_item_attendance_reports_request_builder.go index eb9ae8d09c5..8f548027cca 100644 --- a/users/item_online_meetings_item_attendance_reports_request_builder.go +++ b/users/item_online_meetings_item_attendance_reports_request_builder.go @@ -7,11 +7,11 @@ import ( i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" ) -// ItemOnlineMeetingsItemAttendanceReportsRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// ItemOnlineMeetingsItemAttendanceReportsRequestBuilder provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. type ItemOnlineMeetingsItemAttendanceReportsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemOnlineMeetingsItemAttendanceReportsRequestBuilderGetQueryParameters 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. +// ItemOnlineMeetingsItemAttendanceReportsRequestBuilderGetQueryParameters get attendanceReports from users type ItemOnlineMeetingsItemAttendanceReportsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -46,7 +46,7 @@ type ItemOnlineMeetingsItemAttendanceReportsRequestBuilderPostRequestConfigurati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// ByMeetingAttendanceReportId provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. func (m *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) ByMeetingAttendanceReportId(meetingAttendanceReportId string)(*ItemOnlineMeetingsItemAttendanceReportsMeetingAttendanceReportItemRequestBuilder) { urlTplParams := make(map[string]string) for idx, item := range m.BaseRequestBuilder.PathParameters { @@ -74,10 +74,7 @@ func NewItemOnlineMeetingsItemAttendanceReportsRequestBuilder(rawUrl string, req func (m *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) Count()(*ItemOnlineMeetingsItemAttendanceReportsCountRequestBuilder) { return NewItemOnlineMeetingsItemAttendanceReportsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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. -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 +// Get get attendanceReports from users func (m *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendanceReportsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -115,7 +112,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) Post(ctx context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MeetingAttendanceReportable), nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get attendanceReports from users func (m *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOnlineMeetingsItemAttendanceReportsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -128,7 +125,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceReports for users @@ -141,7 +138,7 @@ func (m *ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) ToPostRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_attendee_report_request_builder.go b/users/item_online_meetings_item_attendee_report_request_builder.go index 8a2dee3343b..77575a1bb1c 100644 --- a/users/item_online_meetings_item_attendee_report_request_builder.go +++ b/users/item_online_meetings_item_attendee_report_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update attendeeReport for the navigation property onlineMeetings in users @@ -101,7 +101,7 @@ func (m *ItemOnlineMeetingsItemAttendeeReportRequestBuilder) ToPutRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_online_meetings_item_broadcast_recording_request_builder.go b/users/item_online_meetings_item_broadcast_recording_request_builder.go index 5440d02dd8e..2becdb98201 100644 --- a/users/item_online_meetings_item_broadcast_recording_request_builder.go +++ b/users/item_online_meetings_item_broadcast_recording_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOnlineMeetingsItemBroadcastRecordingRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update broadcastRecording for the navigation property onlineMeetings in users @@ -101,7 +101,7 @@ func (m *ItemOnlineMeetingsItemBroadcastRecordingRequestBuilder) ToPutRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go b/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go index 033818c64e3..d40c95313f7 100644 --- a/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go +++ b/users/item_online_meetings_item_get_virtual_appointment_join_web_url_request_builder.go @@ -79,7 +79,7 @@ func (m *ItemOnlineMeetingsItemGetVirtualAppointmentJoinWebUrlRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go index 93a19410fa1..36f5eb1e134 100644 --- a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go +++ b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_attendance_record_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list of attendance records of an attendance report. Read-only. @@ -134,7 +134,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attendanceRecords in users @@ -147,7 +147,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsAttendanc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go index b8b13cbaf6f..c1e98917539 100644 --- a/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go +++ b/users/item_online_meetings_item_meeting_attendance_report_attendance_records_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to attendanceRecords for users @@ -141,7 +141,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportAttendanceRecordsRequestBu requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_meeting_attendance_report_request_builder.go b/users/item_online_meetings_item_meeting_attendance_report_request_builder.go index 7673dad8daf..550d4acfb53 100644 --- a/users/item_online_meetings_item_meeting_attendance_report_request_builder.go +++ b/users/item_online_meetings_item_meeting_attendance_report_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property meetingAttendanceReport in users @@ -154,7 +154,7 @@ func (m *ItemOnlineMeetingsItemMeetingAttendanceReportRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_recording_request_builder.go b/users/item_online_meetings_item_recording_request_builder.go index da5f47a7f07..e1d74a33566 100644 --- a/users/item_online_meetings_item_recording_request_builder.go +++ b/users/item_online_meetings_item_recording_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update recording for the navigation property onlineMeetings in users @@ -101,7 +101,7 @@ func (m *ItemOnlineMeetingsItemRecordingRequestBuilder) ToPutRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go b/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go index 51484d3d2bf..35ddda74711 100644 --- a/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go +++ b/users/item_online_meetings_item_recordings_call_recording_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -141,7 +141,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property recordings in users @@ -154,7 +154,7 @@ func (m *ItemOnlineMeetingsItemRecordingsCallRecordingItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_recordings_delta_request_builder.go b/users/item_online_meetings_item_recordings_delta_request_builder.go index d213055d129..b1a2bc90dd1 100644 --- a/users/item_online_meetings_item_recordings_delta_request_builder.go +++ b/users/item_online_meetings_item_recordings_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemOnlineMeetingsItemRecordingsDeltaRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_online_meetings_item_recordings_item_content_request_builder.go b/users/item_online_meetings_item_recordings_item_content_request_builder.go index 0f63a3ac6d9..543dfc57826 100644 --- a/users/item_online_meetings_item_recordings_item_content_request_builder.go +++ b/users/item_online_meetings_item_recordings_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemOnlineMeetingsItemRecordingsItemContentRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content of the recording. Read-only. @@ -99,7 +99,7 @@ func (m *ItemOnlineMeetingsItemRecordingsItemContentRequestBuilder) ToPutRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_online_meetings_item_recordings_request_builder.go b/users/item_online_meetings_item_recordings_request_builder.go index 40c3ae251c5..b9e8f97261b 100644 --- a/users/item_online_meetings_item_recordings_request_builder.go +++ b/users/item_online_meetings_item_recordings_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to recordings for users @@ -142,7 +142,7 @@ func (m *ItemOnlineMeetingsItemRecordingsRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go b/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go index 7c67f52eba5..9e6fa107c86 100644 --- a/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go +++ b/users/item_online_meetings_item_registration_custom_questions_meeting_registration_question_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQue requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -143,7 +143,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQue requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -156,7 +156,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsMeetingRegistrationQue requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_registration_custom_questions_request_builder.go b/users/item_online_meetings_item_registration_custom_questions_request_builder.go index eb07817dd9f..30847529721 100644 --- a/users/item_online_meetings_item_registration_custom_questions_request_builder.go +++ b/users/item_online_meetings_item_registration_custom_questions_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemOnlineMeetingsItemRegistrationCustomQuestionsRequestBuilder) ToPost requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go b/users/item_online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go index 5ed50390d53..7d59dac4ee1 100644 --- a/users/item_online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go +++ b/users/item_online_meetings_item_registration_registrants_meeting_registrant_base_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation registrants of the online meeting. @@ -134,7 +134,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property registrants in users @@ -147,7 +147,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRegistrantsMeetingRegistrantBaseItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_registration_registrants_request_builder.go b/users/item_online_meetings_item_registration_registrants_request_builder.go index b7db89869e3..0fe374b73f6 100644 --- a/users/item_online_meetings_item_registration_registrants_request_builder.go +++ b/users/item_online_meetings_item_registration_registrants_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to registrants for users @@ -138,7 +138,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRegistrantsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_registration_request_builder.go b/users/item_online_meetings_item_registration_request_builder.go index aa5a90cc80e..b0754f3e855 100644 --- a/users/item_online_meetings_item_registration_request_builder.go +++ b/users/item_online_meetings_item_registration_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -164,7 +164,7 @@ func (m *ItemOnlineMeetingsItemRegistrationRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go b/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go index b8e5d32c60b..92d0d9885b3 100644 --- a/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go +++ b/users/item_online_meetings_item_transcripts_call_transcript_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -145,7 +145,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property transcripts in users @@ -158,7 +158,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsCallTranscriptItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_item_transcripts_delta_request_builder.go b/users/item_online_meetings_item_transcripts_delta_request_builder.go index 149e719a5fe..a0b0e066b15 100644 --- a/users/item_online_meetings_item_transcripts_delta_request_builder.go +++ b/users/item_online_meetings_item_transcripts_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsDeltaRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_online_meetings_item_transcripts_item_content_request_builder.go b/users/item_online_meetings_item_transcripts_item_content_request_builder.go index 9e69ccced59..09169e7da10 100644 --- a/users/item_online_meetings_item_transcripts_item_content_request_builder.go +++ b/users/item_online_meetings_item_transcripts_item_content_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content of the transcript. Read-only. @@ -102,7 +102,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemContentRequestBuilder) ToPutReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go b/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go index a88f1c065fb..8a760d97bbe 100644 --- a/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go +++ b/users/item_online_meetings_item_transcripts_item_metadata_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the time-aligned metadata of the utterances in the transcript. Read-only. @@ -101,7 +101,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsItemMetadataContentRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_online_meetings_item_transcripts_request_builder.go b/users/item_online_meetings_item_transcripts_request_builder.go index 47301ed1568..9b4de987fdb 100644 --- a/users/item_online_meetings_item_transcripts_request_builder.go +++ b/users/item_online_meetings_item_transcripts_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to transcripts for users @@ -145,7 +145,7 @@ func (m *ItemOnlineMeetingsItemTranscriptsRequestBuilder) ToPostRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_online_meeting_item_request_builder.go b/users/item_online_meetings_online_meeting_item_request_builder.go index ca2e54add35..440ccb2760a 100644 --- a/users/item_online_meetings_online_meeting_item_request_builder.go +++ b/users/item_online_meetings_online_meeting_item_request_builder.go @@ -45,7 +45,7 @@ type ItemOnlineMeetingsOnlineMeetingItemRequestBuilderPatchRequestConfiguration func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) AlternativeRecording()(*ItemOnlineMeetingsItemAlternativeRecordingRequestBuilder) { return NewItemOnlineMeetingsItemAlternativeRecordingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// AttendanceReports provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. +// AttendanceReports provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) AttendanceReports()(*ItemOnlineMeetingsItemAttendanceReportsRequestBuilder) { return NewItemOnlineMeetingsItemAttendanceReportsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } @@ -160,7 +160,7 @@ func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation information about a meeting, including the URL used to join a meeting, the attendees list, and the description. @@ -176,7 +176,7 @@ func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -189,7 +189,7 @@ func (m *ItemOnlineMeetingsOnlineMeetingItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_online_meetings_request_builder.go b/users/item_online_meetings_request_builder.go index 562e2038443..004f3d1e385 100644 --- a/users/item_online_meetings_request_builder.go +++ b/users/item_online_meetings_request_builder.go @@ -143,7 +143,7 @@ func (m *ItemOnlineMeetingsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an online meeting on behalf of a user. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemOnlineMeetingsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_master_categories_outlook_category_item_request_builder.go b/users/item_outlook_master_categories_outlook_category_item_request_builder.go index 08315f9f20e..814ada443e9 100644 --- a/users/item_outlook_master_categories_outlook_category_item_request_builder.go +++ b/users/item_outlook_master_categories_outlook_category_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of the specified outlookCategory object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -154,7 +154,7 @@ func (m *ItemOutlookMasterCategoriesOutlookCategoryItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_master_categories_request_builder.go b/users/item_outlook_master_categories_request_builder.go index fe3c31889bf..ebc400971be 100644 --- a/users/item_outlook_master_categories_request_builder.go +++ b/users/item_outlook_master_categories_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemOutlookMasterCategoriesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an outlookCategory object in the user's master list of categories. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemOutlookMasterCategoriesRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_request_builder.go b/users/item_outlook_request_builder.go index be1c3f85709..9ef7037a001 100644 --- a/users/item_outlook_request_builder.go +++ b/users/item_outlook_request_builder.go @@ -98,7 +98,7 @@ func (m *ItemOutlookRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_outlook_supported_languages_request_builder.go b/users/item_outlook_supported_languages_request_builder.go index 04445a6a2dd..83bf5745ac4 100644 --- a/users/item_outlook_supported_languages_request_builder.go +++ b/users/item_outlook_supported_languages_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemOutlookSupportedLanguagesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_outlook_supported_time_zones_request_builder.go b/users/item_outlook_supported_time_zones_request_builder.go index 8f9029795aa..e21eaa06f43 100644 --- a/users/item_outlook_supported_time_zones_request_builder.go +++ b/users/item_outlook_supported_time_zones_request_builder.go @@ -97,7 +97,7 @@ func (m *ItemOutlookSupportedTimeZonesRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_outlook_supported_time_zones_with_time_zone_standard_request_builder.go b/users/item_outlook_supported_time_zones_with_time_zone_standard_request_builder.go index 5bbbae64db7..4b4c2e99c19 100644 --- a/users/item_outlook_supported_time_zones_with_time_zone_standard_request_builder.go +++ b/users/item_outlook_supported_time_zones_with_time_zone_standard_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemOutlookSupportedTimeZonesWithTimeZoneStandardRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_outlook_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go index 468b512bfff..060ed17cf97 100644 --- a/users/item_outlook_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. @@ -112,7 +112,7 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsAttachmentItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go index bca8a4967d2..3523aa4728e 100644 --- a/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go @@ -65,7 +65,7 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsCreateUploadSessionReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go index 3207476a7ca..aa525698e5f 100644 --- a/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_attachments_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -151,7 +151,7 @@ func (m *ItemOutlookTaskFoldersItemTasksItemAttachmentsRequestBuilder) ToPostReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go b/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go index 03fca4e0256..a12cfd32701 100644 --- a/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_item_complete_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemOutlookTaskFoldersItemTasksItemCompleteRequestBuilder) ToPostReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_outlook_task_folders_item_tasks_outlook_task_item_request_builder.go b/users/item_outlook_task_folders_item_tasks_outlook_task_item_request_builder.go index fae02469340..0b43ff64e7a 100644 --- a/users/item_outlook_task_folders_item_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_outlook_task_item_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOutlookTaskFoldersItemTasksOutlookTaskItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the tasks in this task folder. Read-only. Nullable. @@ -145,7 +145,7 @@ func (m *ItemOutlookTaskFoldersItemTasksOutlookTaskItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in users @@ -159,7 +159,7 @@ func (m *ItemOutlookTaskFoldersItemTasksOutlookTaskItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_folders_item_tasks_request_builder.go b/users/item_outlook_task_folders_item_tasks_request_builder.go index 9f3029f733c..72a0f7bf3b2 100644 --- a/users/item_outlook_task_folders_item_tasks_request_builder.go +++ b/users/item_outlook_task_folders_item_tasks_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -145,7 +145,7 @@ func (m *ItemOutlookTaskFoldersItemTasksRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go b/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go index 26f18603032..8858fe3fc0c 100644 --- a/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go +++ b/users/item_outlook_task_folders_outlook_task_folder_item_request_builder.go @@ -133,7 +133,7 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of the specified Outlook task folder. This API is available in the following national cloud deployments. @@ -150,7 +150,7 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -164,7 +164,7 @@ func (m *ItemOutlookTaskFoldersOutlookTaskFolderItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_folders_request_builder.go b/users/item_outlook_task_folders_request_builder.go index ca5bc5ebda9..34cee670889 100644 --- a/users/item_outlook_task_folders_request_builder.go +++ b/users/item_outlook_task_folders_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOutlookTaskFoldersRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -145,7 +145,7 @@ func (m *ItemOutlookTaskFoldersRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go index e00b88018a8..004d69c99d9 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_attachment_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsAttachmentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. @@ -112,7 +112,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsAttachmentI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go index ded8b5477b3..ca937d6823f 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_create_upload_session_request_builder.go @@ -65,7 +65,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsCreateUploa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go index 1d0475214ef..f336b8e87c0 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_attachments_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -151,7 +151,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemAttachmentsRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go index b1ece4583d5..de73f08efbc 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_item_complete_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksItemCompleteRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_outlook_task_item_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_outlook_task_item_request_builder.go index c1ae9ebc032..a03b83e9be5 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_outlook_task_item_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksOutlookTaskItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the tasks in this task folder. Read-only. Nullable. @@ -145,7 +145,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksOutlookTaskItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in users @@ -159,7 +159,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksOutlookTaskItemRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go b/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go index afeada6b780..6b6492704a2 100644 --- a/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_item_tasks_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -145,7 +145,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersItemTasksRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_groups_item_task_folders_outlook_task_folder_item_request_builder.go b/users/item_outlook_task_groups_item_task_folders_outlook_task_folder_item_request_builder.go index da7ca0ba1f8..e32ac48be43 100644 --- a/users/item_outlook_task_groups_item_task_folders_outlook_task_folder_item_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_outlook_task_folder_item_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersOutlookTaskFolderItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of task folders in the task group. Read-only. Nullable. @@ -141,7 +141,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersOutlookTaskFolderItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property taskFolders in users @@ -155,7 +155,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersOutlookTaskFolderItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_groups_item_task_folders_request_builder.go b/users/item_outlook_task_groups_item_task_folders_request_builder.go index 4f52c34880f..85c90de71d2 100644 --- a/users/item_outlook_task_groups_item_task_folders_request_builder.go +++ b/users/item_outlook_task_groups_item_task_folders_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an Outlook task folder under a specified outlookTaskGroup. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ItemOutlookTaskGroupsItemTaskFoldersRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go b/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go index 177dd120e68..49375cc98b3 100644 --- a/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go +++ b/users/item_outlook_task_groups_outlook_task_group_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the properties and relationships of the specified Outlook task group. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property taskGroups in users @@ -158,7 +158,7 @@ func (m *ItemOutlookTaskGroupsOutlookTaskGroupItemRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_task_groups_request_builder.go b/users/item_outlook_task_groups_request_builder.go index 08333003158..79e24f56f88 100644 --- a/users/item_outlook_task_groups_request_builder.go +++ b/users/item_outlook_task_groups_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOutlookTaskGroupsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create an Outlook task group in the user's mailbox. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ItemOutlookTaskGroupsRequestBuilder) ToPostRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_tasks_item_attachments_attachment_item_request_builder.go b/users/item_outlook_tasks_item_attachments_attachment_item_request_builder.go index c9faa787077..c8d2d47fc16 100644 --- a/users/item_outlook_tasks_item_attachments_attachment_item_request_builder.go +++ b/users/item_outlook_tasks_item_attachments_attachment_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemOutlookTasksItemAttachmentsAttachmentItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of fileAttachment, itemAttachment, and referenceAttachment attachments for the task. Read-only. Nullable. @@ -112,7 +112,7 @@ func (m *ItemOutlookTasksItemAttachmentsAttachmentItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go index c136091e1c1..da4dfa6509f 100644 --- a/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_outlook_tasks_item_attachments_create_upload_session_request_builder.go @@ -65,7 +65,7 @@ func (m *ItemOutlookTasksItemAttachmentsCreateUploadSessionRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_tasks_item_attachments_request_builder.go b/users/item_outlook_tasks_item_attachments_request_builder.go index d637608b269..77fa9e4e751 100644 --- a/users/item_outlook_tasks_item_attachments_request_builder.go +++ b/users/item_outlook_tasks_item_attachments_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -151,7 +151,7 @@ func (m *ItemOutlookTasksItemAttachmentsRequestBuilder) ToPostRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_tasks_item_complete_request_builder.go b/users/item_outlook_tasks_item_complete_request_builder.go index ef257ee8142..c27474cc852 100644 --- a/users/item_outlook_tasks_item_complete_request_builder.go +++ b/users/item_outlook_tasks_item_complete_request_builder.go @@ -87,7 +87,7 @@ func (m *ItemOutlookTasksItemCompleteRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_outlook_tasks_outlook_task_item_request_builder.go b/users/item_outlook_tasks_outlook_task_item_request_builder.go index 25d2d8ba0d5..7cc53012984 100644 --- a/users/item_outlook_tasks_outlook_task_item_request_builder.go +++ b/users/item_outlook_tasks_outlook_task_item_request_builder.go @@ -137,7 +137,7 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -154,7 +154,7 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -168,7 +168,7 @@ func (m *ItemOutlookTasksOutlookTaskItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_outlook_tasks_request_builder.go b/users/item_outlook_tasks_request_builder.go index f8ce8634334..5563b7c4e72 100644 --- a/users/item_outlook_tasks_request_builder.go +++ b/users/item_outlook_tasks_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemOutlookTasksRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -145,7 +145,7 @@ func (m *ItemOutlookTasksRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_owned_devices_directory_object_item_request_builder.go b/users/item_owned_devices_directory_object_item_request_builder.go index d6ffe025ccc..16f150d24be 100644 --- a/users/item_owned_devices_directory_object_item_request_builder.go +++ b/users/item_owned_devices_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemOwnedDevicesDirectoryObjectItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_devices_graph_device_request_builder.go b/users/item_owned_devices_graph_device_request_builder.go index e80ac309cd7..772f0f7879f 100644 --- a/users/item_owned_devices_graph_device_request_builder.go +++ b/users/item_owned_devices_graph_device_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnedDevicesGraphDeviceRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_devices_graph_endpoint_request_builder.go b/users/item_owned_devices_graph_endpoint_request_builder.go index bfbea6bde6c..8ec6bdb517d 100644 --- a/users/item_owned_devices_graph_endpoint_request_builder.go +++ b/users/item_owned_devices_graph_endpoint_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnedDevicesGraphEndpointRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_devices_item_graph_device_request_builder.go b/users/item_owned_devices_item_graph_device_request_builder.go index b84bdbb59b2..69bbbb331b4 100644 --- a/users/item_owned_devices_item_graph_device_request_builder.go +++ b/users/item_owned_devices_item_graph_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnedDevicesItemGraphDeviceRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_devices_item_graph_endpoint_request_builder.go b/users/item_owned_devices_item_graph_endpoint_request_builder.go index d998ce8e69a..e173abc7e59 100644 --- a/users/item_owned_devices_item_graph_endpoint_request_builder.go +++ b/users/item_owned_devices_item_graph_endpoint_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnedDevicesItemGraphEndpointRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_devices_request_builder.go b/users/item_owned_devices_request_builder.go index 309eebe1a29..6e3e369bf17 100644 --- a/users/item_owned_devices_request_builder.go +++ b/users/item_owned_devices_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemOwnedDevicesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_objects_directory_object_item_request_builder.go b/users/item_owned_objects_directory_object_item_request_builder.go index a15b7d8408c..468de65ff26 100644 --- a/users/item_owned_objects_directory_object_item_request_builder.go +++ b/users/item_owned_objects_directory_object_item_request_builder.go @@ -84,7 +84,7 @@ func (m *ItemOwnedObjectsDirectoryObjectItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_objects_graph_application_request_builder.go b/users/item_owned_objects_graph_application_request_builder.go index 93380acf50b..35fd4e28521 100644 --- a/users/item_owned_objects_graph_application_request_builder.go +++ b/users/item_owned_objects_graph_application_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnedObjectsGraphApplicationRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_objects_graph_group_request_builder.go b/users/item_owned_objects_graph_group_request_builder.go index 6f54f0eee3a..1f41647b597 100644 --- a/users/item_owned_objects_graph_group_request_builder.go +++ b/users/item_owned_objects_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnedObjectsGraphGroupRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_objects_graph_service_principal_request_builder.go b/users/item_owned_objects_graph_service_principal_request_builder.go index d0c83027f4d..b7f23a37c60 100644 --- a/users/item_owned_objects_graph_service_principal_request_builder.go +++ b/users/item_owned_objects_graph_service_principal_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemOwnedObjectsGraphServicePrincipalRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_objects_item_graph_application_request_builder.go b/users/item_owned_objects_item_graph_application_request_builder.go index e2230635547..6ca2a313289 100644 --- a/users/item_owned_objects_item_graph_application_request_builder.go +++ b/users/item_owned_objects_item_graph_application_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnedObjectsItemGraphApplicationRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_objects_item_graph_group_request_builder.go b/users/item_owned_objects_item_graph_group_request_builder.go index b5909a81a3c..35ac41abd87 100644 --- a/users/item_owned_objects_item_graph_group_request_builder.go +++ b/users/item_owned_objects_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnedObjectsItemGraphGroupRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_objects_item_graph_service_principal_request_builder.go b/users/item_owned_objects_item_graph_service_principal_request_builder.go index 6351bee8263..f5448f92098 100644 --- a/users/item_owned_objects_item_graph_service_principal_request_builder.go +++ b/users/item_owned_objects_item_graph_service_principal_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemOwnedObjectsItemGraphServicePrincipalRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_owned_objects_request_builder.go b/users/item_owned_objects_request_builder.go index fd1483aa4d5..46dd88e6f17 100644 --- a/users/item_owned_objects_request_builder.go +++ b/users/item_owned_objects_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemOwnedObjectsRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_access_review_instance_item_request_builder.go b/users/item_pending_access_review_instances_access_review_instance_item_request_builder.go index 1e5d7319a0a..47615351016 100644 --- a/users/item_pending_access_review_instances_access_review_instance_item_request_builder.go +++ b/users/item_pending_access_review_instances_access_review_instance_item_request_builder.go @@ -162,7 +162,7 @@ func (m *ItemPendingAccessReviewInstancesAccessReviewInstanceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation navigation property to get a list of access reviews pending approval by the reviewer. @@ -178,7 +178,7 @@ func (m *ItemPendingAccessReviewInstancesAccessReviewInstanceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property pendingAccessReviewInstances in users @@ -191,7 +191,7 @@ func (m *ItemPendingAccessReviewInstancesAccessReviewInstanceItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go index a3725e2d9ba..4f2f07ad91a 100644 --- a/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemPendingAccessReviewInstancesFilterByCurrentUserWithOnRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go b/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go index e9d5846eb0b..9058d74312b 100644 --- a/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go +++ b/users/item_pending_access_review_instances_item_accept_recommendations_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemAcceptRecommendationsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go index 44408e220df..a906ed4b77d 100644 --- a/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_apply_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemApplyDecisionsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go b/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go index e48fb95ba9f..ca0534889fd 100644 --- a/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_batch_record_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemBatchRecordDecisionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go b/users/item_pending_access_review_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go index 0774f932fe2..50d4e5182c6 100644 --- a/users/item_pending_access_review_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPendingAccessReviewInstancesItemContactedReviewersAccessReviewRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. @@ -134,7 +134,7 @@ func (m *ItemPendingAccessReviewInstancesItemContactedReviewersAccessReviewRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contactedReviewers in users @@ -147,7 +147,7 @@ func (m *ItemPendingAccessReviewInstancesItemContactedReviewersAccessReviewRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go b/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go index bf7e3fc57bf..75f60d1164d 100644 --- a/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go +++ b/users/item_pending_access_review_instances_item_contacted_reviewers_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contactedReviewers for users @@ -141,7 +141,7 @@ func (m *ItemPendingAccessReviewInstancesItemContactedReviewersRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go index d262bb9bc99..ca07f8ea254 100644 --- a/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. @@ -145,7 +145,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property decisions in users @@ -158,7 +158,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsAccessReviewInstanceDecisi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go index 14904152683..fd6932e6527 100644 --- a/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsFilterByCurrentUserWithOnR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_item_insights_governance_insight_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_insights_governance_insight_item_request_builder.go index b90c00346b3..6d3527f19c7 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsGovernanceInsi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsGovernanceInsi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in users @@ -147,7 +147,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsGovernanceInsi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_insights_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_insights_request_builder.go index 25602993735..1394e89b3f6 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_insights_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for users @@ -138,7 +138,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInsightsRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go index 4d9c5f34197..c6ba6520d8e 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceAcceptRecommen requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go index 73bf4789da5..cc4df29d52e 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_apply_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceApplyDecisions requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go index 7d8128bd39d..d597f242c9a 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceBatchRecordDec requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go index 97f79a49015..0ea2ccd764b 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. @@ -134,7 +134,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contactedReviewers in users @@ -147,7 +147,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go index 3c30d7444f3..7dc70c309c4 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contactedReviewers for users @@ -141,7 +141,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceContactedRevie requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_definition_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_definition_request_builder.go index 6327a70391b..73f032d28b3 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_definition_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceDefinitionRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_request_builder.go index f0586bc90b6..d67e311c97d 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_request_builder.go @@ -158,7 +158,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation there is exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. @@ -174,7 +174,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property instance in users @@ -187,7 +187,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go index 61a39b39a6e..0c1f7b61683 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_reset_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceResetDecisions requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go index f7ae964140e..fcf1957b095 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_send_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceSendReminderRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go index 5ed7cd9b0b3..3aa6d44cccb 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_access_review_stage_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -161,7 +161,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesAccessRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go index f2e917e337e..c8367b43397 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesFilterBy requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index f4a8c2984b7..d871b5eccf4 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. @@ -157,7 +157,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index aacab4b2fc9..7f9142df3d3 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go index fc127ee67b2..b78a0ffa4dc 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in users @@ -147,7 +147,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go index 8d55b5bcbb6..bad68c25b54 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for users @@ -138,7 +138,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go index 5402255ce54..a8400e95bb5 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go index 66e7402f976..d460d457f7d 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_decisions_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for users @@ -149,7 +149,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go index ec69d34d029..7f42f1a6bf2 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesItemStop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go index 4967608a097..f3f619dbb90 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stages_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to stages for users @@ -145,7 +145,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStagesRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go index 6810f960f57..e159a86cac7 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stop_apply_decisions_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopApplyDecis requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go b/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go index 27571cb4859..425c1499aa8 100644 --- a/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_item_instance_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsItemInstanceStopRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go index 542ce0548de..db0902a5f96 100644 --- a/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsRecordAllDecisionsRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_decisions_request_builder.go b/users/item_pending_access_review_instances_item_decisions_request_builder.go index 383f0a68e43..c8563b8bcd2 100644 --- a/users/item_pending_access_review_instances_item_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_decisions_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for users @@ -149,7 +149,7 @@ func (m *ItemPendingAccessReviewInstancesItemDecisionsRequestBuilder) ToPostRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_definition_request_builder.go b/users/item_pending_access_review_instances_item_definition_request_builder.go index be8ffc92dd6..f4ad55db873 100644 --- a/users/item_pending_access_review_instances_item_definition_request_builder.go +++ b/users/item_pending_access_review_instances_item_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemPendingAccessReviewInstancesItemDefinitionRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go b/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go index a52f7d1db05..5bc23548668 100644 --- a/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_reset_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemResetDecisionsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_send_reminder_request_builder.go b/users/item_pending_access_review_instances_item_send_reminder_request_builder.go index b46560a6ab4..c711426de95 100644 --- a/users/item_pending_access_review_instances_item_send_reminder_request_builder.go +++ b/users/item_pending_access_review_instances_item_send_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemSendReminderRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go index 139cc7ee9a5..80a03be89e0 100644 --- a/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_access_review_stage_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -161,7 +161,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesAccessReviewStageItemRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go index e9d7626ab95..e2fda400850 100644 --- a/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesFilterByCurrentUserWithOnRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go index 9f14691cfcf..57c54c01d92 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_access_review_instance_decision_item_item_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInst requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInst requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. @@ -161,7 +161,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsAccessReviewInst requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go index 6b4db71d873..3b75021bee1 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsFilterByCurrentU requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go index a0f5bbaf567..2a4e7c99b6a 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsGove requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsGove requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in users @@ -147,7 +147,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsGove requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_request_builder.go index d3fd8731723..c996a893499 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for users @@ -138,7 +138,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInsightsRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go index 0499ca8ffec..a59524635df 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_accept_recommendations_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceAcce requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go index 5abdffd0b3b..903abb790c8 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_apply_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceAppl requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go index 66877ad0fd6..94f1eaa2003 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_batch_record_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceBatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go index 20e170bf980..a5c004b684c 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_access_review_reviewer_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. @@ -134,7 +134,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property contactedReviewers in users @@ -147,7 +147,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go index 9dbf37cf5d1..f00bc38735b 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_contacted_reviewers_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to contactedReviewers for users @@ -141,7 +141,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceCont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go index 395f2c3de35..55f9139d6d0 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_access_review_instance_decision_item_item_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. @@ -141,7 +141,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property decisions in users @@ -154,7 +154,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go index 99b673715e0..4bf4cd8d825 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_filter_by_current_user_with_on_request_builder.go @@ -104,7 +104,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go index 34d6169763a..4d0b1de54f2 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_governance_insight_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -134,7 +134,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property insights in users @@ -147,7 +147,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go index aaa1c82d4a7..2278f99a42a 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_item_insights_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to insights for users @@ -138,7 +138,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go index 836047bda13..d63a2f415ad 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go index 5925647a783..884df38153b 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_decisions_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for users @@ -149,7 +149,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDeci requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_definition_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_definition_request_builder.go index 1ddd0526be3..03e88bd2326 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_definition_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceDefi requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_request_builder.go index 374cef6f848..81bbc7268c1 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_request_builder.go @@ -158,7 +158,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation there is exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. @@ -174,7 +174,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property instance in users @@ -187,7 +187,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go index ca186f04bd4..2001478bcdb 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_reset_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceRese requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go index cabd7b835e1..e9fbf827245 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_send_reminder_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceSend requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go index 35580573645..0cf0bd19d61 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_apply_decisions_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go index 50d7de42848..b7cad6bd780 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_item_instance_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsItemInstanceStop requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go index e4e89387f46..055c72536c2 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_record_all_decisions_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRecordAllDecisio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go index fa8ff2a3b6c..4b85240154c 100644 --- a/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_decisions_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to decisions for users @@ -149,7 +149,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemDecisionsRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go b/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go index 7ce8b0cc425..9aeb352f585 100644 --- a/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesItemStopRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stages_request_builder.go b/users/item_pending_access_review_instances_item_stages_request_builder.go index de488b35b2d..c968a956aa8 100644 --- a/users/item_pending_access_review_instances_item_stages_request_builder.go +++ b/users/item_pending_access_review_instances_item_stages_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to stages for users @@ -145,7 +145,7 @@ func (m *ItemPendingAccessReviewInstancesItemStagesRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_pending_access_review_instances_item_stop_apply_decisions_request_builder.go b/users/item_pending_access_review_instances_item_stop_apply_decisions_request_builder.go index a98690d275e..fc77df2f3b7 100644 --- a/users/item_pending_access_review_instances_item_stop_apply_decisions_request_builder.go +++ b/users/item_pending_access_review_instances_item_stop_apply_decisions_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemPendingAccessReviewInstancesItemStopApplyDecisionsRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_item_stop_request_builder.go b/users/item_pending_access_review_instances_item_stop_request_builder.go index dea12aaa30b..5175cba5316 100644 --- a/users/item_pending_access_review_instances_item_stop_request_builder.go +++ b/users/item_pending_access_review_instances_item_stop_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPendingAccessReviewInstancesItemStopRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_pending_access_review_instances_request_builder.go b/users/item_pending_access_review_instances_request_builder.go index 912374366aa..cd5d65bc887 100644 --- a/users/item_pending_access_review_instances_request_builder.go +++ b/users/item_pending_access_review_instances_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPendingAccessReviewInstancesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to pendingAccessReviewInstances for users @@ -145,7 +145,7 @@ func (m *ItemPendingAccessReviewInstancesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_people_person_item_request_builder.go b/users/item_people_person_item_request_builder.go index 08e380300b6..f0c86493a5b 100644 --- a/users/item_people_person_item_request_builder.go +++ b/users/item_people_person_item_request_builder.go @@ -70,7 +70,7 @@ func (m *ItemPeoplePersonItemRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_people_request_builder.go b/users/item_people_request_builder.go index 4f4b10802d0..0b6190e05f2 100644 --- a/users/item_people_request_builder.go +++ b/users/item_people_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemPeopleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_permission_grants_request_builder.go b/users/item_permission_grants_request_builder.go index 7f9752e87b9..3d1ec278d9c 100644 --- a/users/item_permission_grants_request_builder.go +++ b/users/item_permission_grants_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to permissionGrants for users @@ -141,7 +141,7 @@ func (m *ItemPermissionGrantsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_permission_grants_resource_specific_permission_grant_item_request_builder.go b/users/item_permission_grants_resource_specific_permission_grant_item_request_builder.go index ca37c9a9b4b..4c8ef5f4834 100644 --- a/users/item_permission_grants_resource_specific_permission_grant_item_request_builder.go +++ b/users/item_permission_grants_resource_specific_permission_grant_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation list all resource-specific permission grants of a user. @@ -134,7 +134,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property permissionGrants in users @@ -147,7 +147,7 @@ func (m *ItemPermissionGrantsResourceSpecificPermissionGrantItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_photo_request_builder.go b/users/item_photo_request_builder.go index 9aaaf229634..b7085bc6fc2 100644 --- a/users/item_photo_request_builder.go +++ b/users/item_photo_request_builder.go @@ -120,7 +120,7 @@ func (m *ItemPhotoRequestBuilder) ToDeleteRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the user's profile photo. Read-only. @@ -136,7 +136,7 @@ func (m *ItemPhotoRequestBuilder) ToGetRequestInformation(ctx context.Context, r requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property photo in users @@ -149,7 +149,7 @@ func (m *ItemPhotoRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_photo_value_content_request_builder.go b/users/item_photo_value_content_request_builder.go index 339e6bb5869..496f42eab09 100644 --- a/users/item_photo_value_content_request_builder.go +++ b/users/item_photo_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemPhotoValueContentRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photo in users @@ -98,7 +98,7 @@ func (m *ItemPhotoValueContentRequestBuilder) ToPutRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_photos_item_value_content_request_builder.go b/users/item_photos_item_value_content_request_builder.go index 77c23ddaa38..b198a9e9206 100644 --- a/users/item_photos_item_value_content_request_builder.go +++ b/users/item_photos_item_value_content_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemPhotosItemValueContentRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property photos in users @@ -98,7 +98,7 @@ func (m *ItemPhotosItemValueContentRequestBuilder) ToPutRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_photos_profile_photo_item_request_builder.go b/users/item_photos_profile_photo_item_request_builder.go index 85054d4e942..0c39187fd26 100644 --- a/users/item_photos_profile_photo_item_request_builder.go +++ b/users/item_photos_profile_photo_item_request_builder.go @@ -74,7 +74,7 @@ func (m *ItemPhotosProfilePhotoItemRequestBuilder) ToGetRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_photos_request_builder.go b/users/item_photos_request_builder.go index afa75d51d3a..9fe38bb60dd 100644 --- a/users/item_photos_request_builder.go +++ b/users/item_photos_request_builder.go @@ -89,7 +89,7 @@ func (m *ItemPhotosRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_all_delta_request_builder.go b/users/item_planner_all_delta_request_builder.go index 4efdc0f1ed5..5d712339afa 100644 --- a/users/item_planner_all_delta_request_builder.go +++ b/users/item_planner_all_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPlannerAllDeltaRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_all_planner_delta_item_request_builder.go b/users/item_planner_all_planner_delta_item_request_builder.go index 67806b6c5ea..893826e67ae 100644 --- a/users/item_planner_all_planner_delta_item_request_builder.go +++ b/users/item_planner_all_planner_delta_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemPlannerAllPlannerDeltaItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get all from users @@ -134,7 +134,7 @@ func (m *ItemPlannerAllPlannerDeltaItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property all in users @@ -147,7 +147,7 @@ func (m *ItemPlannerAllPlannerDeltaItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_all_request_builder.go b/users/item_planner_all_request_builder.go index 258bfe04c32..cfa20f5372d 100644 --- a/users/item_planner_all_request_builder.go +++ b/users/item_planner_all_request_builder.go @@ -129,7 +129,7 @@ func (m *ItemPlannerAllRequestBuilder) ToGetRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to all for users @@ -142,7 +142,7 @@ func (m *ItemPlannerAllRequestBuilder) ToPostRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_favorite_plans_planner_plan_item_request_builder.go b/users/item_planner_favorite_plans_planner_plan_item_request_builder.go index fc6d204fda2..1d7adabb604 100644 --- a/users/item_planner_favorite_plans_planner_plan_item_request_builder.go +++ b/users/item_planner_favorite_plans_planner_plan_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemPlannerFavoritePlansPlannerPlanItemRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_favorite_plans_request_builder.go b/users/item_planner_favorite_plans_request_builder.go index 378fc2680a8..223f06d2abc 100644 --- a/users/item_planner_favorite_plans_request_builder.go +++ b/users/item_planner_favorite_plans_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemPlannerFavoritePlansRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_plans_delta_request_builder.go b/users/item_planner_plans_delta_request_builder.go index 955fdafd84f..a751adcf92b 100644 --- a/users/item_planner_plans_delta_request_builder.go +++ b/users/item_planner_plans_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPlannerPlansDeltaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_plans_item_buckets_delta_request_builder.go b/users/item_planner_plans_item_buckets_delta_request_builder.go index df1fa91d384..ca58d5c6f4c 100644 --- a/users/item_planner_plans_item_buckets_delta_request_builder.go +++ b/users/item_planner_plans_item_buckets_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPlannerPlansItemBucketsDeltaRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go index d85a1ad7f7f..5cbac0cda7a 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksDeltaRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go index e8d9a724e24..d365b836389 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedToTaskBoardFormat in users @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemAssignedToTaskBoardFormatReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go index cd4544d6b70..49999d776e4 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_bucket_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bucketTaskBoardFormat in users @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemBucketTaskBoardFormatRequestBui requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go index bb81c10cff6..d7bc61b9019 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToDelete requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in users @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemDetailsRequestBuilder) ToPatchR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go index a47e0efcca7..3a1fd60031d 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_item_progress_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property progressTaskBoardFormat in users @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksItemProgressTaskBoardFormatRequestB requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go index 869d6483c8c..1b0ae225de6 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_planner_task_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToDe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. The collection of tasks in the bucket. @@ -150,7 +150,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in users @@ -163,7 +163,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksPlannerTaskItemRequestBuilder) ToPa requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_buckets_item_tasks_request_builder.go b/users/item_planner_plans_item_buckets_item_tasks_request_builder.go index 8477d4e738a..666c3f0ae13 100644 --- a/users/item_planner_plans_item_buckets_item_tasks_request_builder.go +++ b/users/item_planner_plans_item_buckets_item_tasks_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for users @@ -145,7 +145,7 @@ func (m *ItemPlannerPlansItemBucketsItemTasksRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go b/users/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go index b50aa5d266d..2bf6d1df6d8 100644 --- a/users/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go +++ b/users/item_planner_plans_item_buckets_planner_bucket_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of buckets in the plan. Read-only. Nullable. @@ -138,7 +138,7 @@ func (m *ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property buckets in users @@ -151,7 +151,7 @@ func (m *ItemPlannerPlansItemBucketsPlannerBucketItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_buckets_request_builder.go b/users/item_planner_plans_item_buckets_request_builder.go index eae82d579aa..d0d60c9c6e4 100644 --- a/users/item_planner_plans_item_buckets_request_builder.go +++ b/users/item_planner_plans_item_buckets_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPlannerPlansItemBucketsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to buckets for users @@ -145,7 +145,7 @@ func (m *ItemPlannerPlansItemBucketsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_details_request_builder.go b/users/item_planner_plans_item_details_request_builder.go index 06ce32b1017..ef9ef608c18 100644 --- a/users/item_planner_plans_item_details_request_builder.go +++ b/users/item_planner_plans_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in users @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemDetailsRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_move_to_container_request_builder.go b/users/item_planner_plans_item_move_to_container_request_builder.go index cd99136fb78..015b1718cd9 100644 --- a/users/item_planner_plans_item_move_to_container_request_builder.go +++ b/users/item_planner_plans_item_move_to_container_request_builder.go @@ -60,7 +60,7 @@ func (m *ItemPlannerPlansItemMoveToContainerRequestBuilder) ToPostRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_tasks_delta_request_builder.go b/users/item_planner_plans_item_tasks_delta_request_builder.go index d4d78684564..0507e6ece8c 100644 --- a/users/item_planner_plans_item_tasks_delta_request_builder.go +++ b/users/item_planner_plans_item_tasks_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPlannerPlansItemTasksDeltaRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go b/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go index f5ede5c75e1..0b76a6b4c43 100644 --- a/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_assigned_to_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedToTaskBoardFormat in users @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemTasksItemAssignedToTaskBoardFormatRequestBuilder) T requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go b/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go index 14d4735d496..6d173bef9fd 100644 --- a/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_bucket_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToDel requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bucketTaskBoardFormat in users @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemTasksItemBucketTaskBoardFormatRequestBuilder) ToPat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_tasks_item_details_request_builder.go b/users/item_planner_plans_item_tasks_item_details_request_builder.go index 326e8f52442..f2eb8dcc8a5 100644 --- a/users/item_planner_plans_item_tasks_item_details_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in users @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemTasksItemDetailsRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go b/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go index 8f4f2144c5d..fc7e1b43c3f 100644 --- a/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go +++ b/users/item_planner_plans_item_tasks_item_progress_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property progressTaskBoardFormat in users @@ -153,7 +153,7 @@ func (m *ItemPlannerPlansItemTasksItemProgressTaskBoardFormatRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_tasks_planner_task_item_request_builder.go b/users/item_planner_plans_item_tasks_planner_task_item_request_builder.go index 919a26dfb10..cfce5e5c1e7 100644 --- a/users/item_planner_plans_item_tasks_planner_task_item_request_builder.go +++ b/users/item_planner_plans_item_tasks_planner_task_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation collection of tasks in the plan. Read-only. Nullable. @@ -150,7 +150,7 @@ func (m *ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in users @@ -163,7 +163,7 @@ func (m *ItemPlannerPlansItemTasksPlannerTaskItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_item_tasks_request_builder.go b/users/item_planner_plans_item_tasks_request_builder.go index fdb7f77676d..66be91aa183 100644 --- a/users/item_planner_plans_item_tasks_request_builder.go +++ b/users/item_planner_plans_item_tasks_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPlannerPlansItemTasksRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for users @@ -145,7 +145,7 @@ func (m *ItemPlannerPlansItemTasksRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_planner_plan_item_request_builder.go b/users/item_planner_plans_planner_plan_item_request_builder.go index c1e028d4518..7257b2d90e4 100644 --- a/users/item_planner_plans_planner_plan_item_request_builder.go +++ b/users/item_planner_plans_planner_plan_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemPlannerPlansPlannerPlanItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get plans from users @@ -150,7 +150,7 @@ func (m *ItemPlannerPlansPlannerPlanItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property plans in users @@ -163,7 +163,7 @@ func (m *ItemPlannerPlansPlannerPlanItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_plans_request_builder.go b/users/item_planner_plans_request_builder.go index ba6a9a0de0b..e4b198402b5 100644 --- a/users/item_planner_plans_request_builder.go +++ b/users/item_planner_plans_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPlannerPlansRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to plans for users @@ -145,7 +145,7 @@ func (m *ItemPlannerPlansRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_recent_plans_planner_plan_item_request_builder.go b/users/item_planner_recent_plans_planner_plan_item_request_builder.go index 8081a0a64df..fdb76c95c35 100644 --- a/users/item_planner_recent_plans_planner_plan_item_request_builder.go +++ b/users/item_planner_recent_plans_planner_plan_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemPlannerRecentPlansPlannerPlanItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_recent_plans_request_builder.go b/users/item_planner_recent_plans_request_builder.go index ba72a7d6bd9..8de1e241769 100644 --- a/users/item_planner_recent_plans_request_builder.go +++ b/users/item_planner_recent_plans_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemPlannerRecentPlansRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_request_builder.go b/users/item_planner_request_builder.go index 46bba7fc49f..fb35b10fc67 100644 --- a/users/item_planner_request_builder.go +++ b/users/item_planner_request_builder.go @@ -148,7 +148,7 @@ func (m *ItemPlannerRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -164,7 +164,7 @@ func (m *ItemPlannerRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property planner in users @@ -177,7 +177,7 @@ func (m *ItemPlannerRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_roster_plans_planner_plan_item_request_builder.go b/users/item_planner_roster_plans_planner_plan_item_request_builder.go index e7a0afbac2f..000508ef701 100644 --- a/users/item_planner_roster_plans_planner_plan_item_request_builder.go +++ b/users/item_planner_roster_plans_planner_plan_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemPlannerRosterPlansPlannerPlanItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_roster_plans_request_builder.go b/users/item_planner_roster_plans_request_builder.go index 784893fde40..050f5256148 100644 --- a/users/item_planner_roster_plans_request_builder.go +++ b/users/item_planner_roster_plans_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemPlannerRosterPlansRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_tasks_delta_request_builder.go b/users/item_planner_tasks_delta_request_builder.go index 75341f4fe33..51f00dc133f 100644 --- a/users/item_planner_tasks_delta_request_builder.go +++ b/users/item_planner_tasks_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemPlannerTasksDeltaRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go b/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go index 56959a94225..ba649150c9b 100644 --- a/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go +++ b/users/item_planner_tasks_item_assigned_to_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property assignedToTaskBoardFormat in users @@ -153,7 +153,7 @@ func (m *ItemPlannerTasksItemAssignedToTaskBoardFormatRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go b/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go index 0ecb483562e..ea104930699 100644 --- a/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go +++ b/users/item_planner_tasks_item_bucket_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) ToDeleteReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property bucketTaskBoardFormat in users @@ -153,7 +153,7 @@ func (m *ItemPlannerTasksItemBucketTaskBoardFormatRequestBuilder) ToPatchRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_tasks_item_details_request_builder.go b/users/item_planner_tasks_item_details_request_builder.go index bb3cb4101dc..b61ab8bbdb5 100644 --- a/users/item_planner_tasks_item_details_request_builder.go +++ b/users/item_planner_tasks_item_details_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerTasksItemDetailsRequestBuilder) ToDeleteRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerTasksItemDetailsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property details in users @@ -153,7 +153,7 @@ func (m *ItemPlannerTasksItemDetailsRequestBuilder) ToPatchRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_tasks_item_progress_task_board_format_request_builder.go b/users/item_planner_tasks_item_progress_task_board_format_request_builder.go index 393f027d0fe..fdc513cdc56 100644 --- a/users/item_planner_tasks_item_progress_task_board_format_request_builder.go +++ b/users/item_planner_tasks_item_progress_task_board_format_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property progressTaskBoardFormat in users @@ -153,7 +153,7 @@ func (m *ItemPlannerTasksItemProgressTaskBoardFormatRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_tasks_planner_task_item_request_builder.go b/users/item_planner_tasks_planner_task_item_request_builder.go index 72274119a9f..d84d6859d4e 100644 --- a/users/item_planner_tasks_planner_task_item_request_builder.go +++ b/users/item_planner_tasks_planner_task_item_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemPlannerTasksPlannerTaskItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read-only. Nullable. Returns the plannerTasks assigned to the user. @@ -150,7 +150,7 @@ func (m *ItemPlannerTasksPlannerTaskItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property tasks in users @@ -163,7 +163,7 @@ func (m *ItemPlannerTasksPlannerTaskItemRequestBuilder) ToPatchRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_planner_tasks_request_builder.go b/users/item_planner_tasks_request_builder.go index ca469f8a719..92f1201fcea 100644 --- a/users/item_planner_tasks_request_builder.go +++ b/users/item_planner_tasks_request_builder.go @@ -132,7 +132,7 @@ func (m *ItemPlannerTasksRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to tasks for users @@ -145,7 +145,7 @@ func (m *ItemPlannerTasksRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_presence_clear_presence_request_builder.go b/users/item_presence_clear_presence_request_builder.go index 24873d1c34c..8bc6c4ab5a0 100644 --- a/users/item_presence_clear_presence_request_builder.go +++ b/users/item_presence_clear_presence_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPresenceClearPresenceRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_presence_clear_user_preferred_presence_request_builder.go b/users/item_presence_clear_user_preferred_presence_request_builder.go index 5bc8118af8e..28ec8041932 100644 --- a/users/item_presence_clear_user_preferred_presence_request_builder.go +++ b/users/item_presence_clear_user_preferred_presence_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPresenceClearUserPreferredPresenceRequestBuilder) ToPostRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_presence_request_builder.go b/users/item_presence_request_builder.go index 038ea395910..d9d132eb7e0 100644 --- a/users/item_presence_request_builder.go +++ b/users/item_presence_request_builder.go @@ -18,7 +18,7 @@ type ItemPresenceRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPresenceRequestBuilderGetQueryParameters 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. +// ItemPresenceRequestBuilderGetQueryParameters get a user's presence information. This API is available in the following national cloud deployments. type ItemPresenceRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -78,10 +78,10 @@ func (m *ItemPresenceRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } -// Get 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 get a user's presence information. This API is available in the following national cloud deployments. // [Find more info here] // -// [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 func (m *ItemPresenceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Presenceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -141,10 +141,10 @@ func (m *ItemPresenceRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation 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. +// ToGetRequestInformation get a user's presence information. This API is available in the following national cloud deployments. func (m *ItemPresenceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -157,7 +157,7 @@ func (m *ItemPresenceRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property presence in users @@ -170,7 +170,7 @@ func (m *ItemPresenceRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_presence_set_presence_request_builder.go b/users/item_presence_set_presence_request_builder.go index ef4e8b84355..45cc36e30d5 100644 --- a/users/item_presence_set_presence_request_builder.go +++ b/users/item_presence_set_presence_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPresenceSetPresenceRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_presence_set_status_message_request_builder.go b/users/item_presence_set_status_message_request_builder.go index 0743eb2a78b..6ae355d1776 100644 --- a/users/item_presence_set_status_message_request_builder.go +++ b/users/item_presence_set_status_message_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPresenceSetStatusMessageRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_presence_set_user_preferred_presence_request_builder.go b/users/item_presence_set_user_preferred_presence_request_builder.go index 3183cbf7994..99999b62153 100644 --- a/users/item_presence_set_user_preferred_presence_request_builder.go +++ b/users/item_presence_set_user_preferred_presence_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemPresenceSetUserPreferredPresenceRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_account_request_builder.go b/users/item_profile_account_request_builder.go index 952d1d4e454..7b02bae83f7 100644 --- a/users/item_profile_account_request_builder.go +++ b/users/item_profile_account_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileAccountRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new userAccountInformation object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileAccountRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_account_user_account_information_item_request_builder.go b/users/item_profile_account_user_account_information_item_request_builder.go index 665621ba535..4ad7b9ef225 100644 --- a/users/item_profile_account_user_account_information_item_request_builder.go +++ b/users/item_profile_account_user_account_information_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) ToDeleteReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an userAccountInformation object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an userAccountInformation object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileAccountUserAccountInformationItemRequestBuilder) ToPatchRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_addresses_item_address_item_request_builder.go b/users/item_profile_addresses_item_address_item_request_builder.go index 5dae0c85ee9..c555bc70f6a 100644 --- a/users/item_profile_addresses_item_address_item_request_builder.go +++ b/users/item_profile_addresses_item_address_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileAddressesItemAddressItemRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an itemAddress object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileAddressesItemAddressItemRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an itemAddress object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileAddressesItemAddressItemRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_addresses_request_builder.go b/users/item_profile_addresses_request_builder.go index 65b0170492d..0a6325ef1de 100644 --- a/users/item_profile_addresses_request_builder.go +++ b/users/item_profile_addresses_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileAddressesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new itemAddress object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileAddressesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_anniversaries_person_annual_event_item_request_builder.go b/users/item_profile_anniversaries_person_annual_event_item_request_builder.go index 402a8196cbe..7fe601d563d 100644 --- a/users/item_profile_anniversaries_person_annual_event_item_request_builder.go +++ b/users/item_profile_anniversaries_person_annual_event_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) ToDeleteRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a personAnniversary object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a personAnniversary object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileAnniversariesPersonAnnualEventItemRequestBuilder) ToPatchReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_anniversaries_request_builder.go b/users/item_profile_anniversaries_request_builder.go index ae57fecb8ad..2e2889ebf81 100644 --- a/users/item_profile_anniversaries_request_builder.go +++ b/users/item_profile_anniversaries_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileAnniversariesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new personAnniversary object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileAnniversariesRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_awards_person_award_item_request_builder.go b/users/item_profile_awards_person_award_item_request_builder.go index 868bedaa7c0..dddcca15a76 100644 --- a/users/item_profile_awards_person_award_item_request_builder.go +++ b/users/item_profile_awards_person_award_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a personAward object from a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a personAward object from a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileAwardsPersonAwardItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_awards_request_builder.go b/users/item_profile_awards_request_builder.go index 696c05c6299..e13b33412a6 100644 --- a/users/item_profile_awards_request_builder.go +++ b/users/item_profile_awards_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileAwardsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new personAward object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileAwardsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_certifications_person_certification_item_request_builder.go b/users/item_profile_certifications_person_certification_item_request_builder.go index a1c8f91f013..510be465721 100644 --- a/users/item_profile_certifications_person_certification_item_request_builder.go +++ b/users/item_profile_certifications_person_certification_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) ToDelet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a personCertification object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a personCertification object from a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileCertificationsPersonCertificationItemRequestBuilder) ToPatch requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_certifications_request_builder.go b/users/item_profile_certifications_request_builder.go index 36105658b7f..6dd15c7379e 100644 --- a/users/item_profile_certifications_request_builder.go +++ b/users/item_profile_certifications_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileCertificationsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new personCertification object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileCertificationsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_educational_activities_educational_activity_item_request_builder.go b/users/item_profile_educational_activities_educational_activity_item_request_builder.go index 7af6612294e..7de52854664 100644 --- a/users/item_profile_educational_activities_educational_activity_item_request_builder.go +++ b/users/item_profile_educational_activities_educational_activity_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an educationalActivity object from a users profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an educationalActivity object within a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileEducationalActivitiesEducationalActivityItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_educational_activities_request_builder.go b/users/item_profile_educational_activities_request_builder.go index c8288bfecca..04d410bdef4 100644 --- a/users/item_profile_educational_activities_request_builder.go +++ b/users/item_profile_educational_activities_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileEducationalActivitiesRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new educationalActivity in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileEducationalActivitiesRequestBuilder) ToPostRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_emails_item_email_item_request_builder.go b/users/item_profile_emails_item_email_item_request_builder.go index 06e1b2a173a..cf4f6f6ee12 100644 --- a/users/item_profile_emails_item_email_item_request_builder.go +++ b/users/item_profile_emails_item_email_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileEmailsItemEmailItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an itemEmail object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileEmailsItemEmailItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an itemEmail object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileEmailsItemEmailItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_emails_request_builder.go b/users/item_profile_emails_request_builder.go index 1d7ee8967e7..7119ce72177 100644 --- a/users/item_profile_emails_request_builder.go +++ b/users/item_profile_emails_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileEmailsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new itemEmail object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileEmailsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_interests_person_interest_item_request_builder.go b/users/item_profile_interests_person_interest_item_request_builder.go index d5c754ff658..dde27bf05f1 100644 --- a/users/item_profile_interests_person_interest_item_request_builder.go +++ b/users/item_profile_interests_person_interest_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) ToDeleteRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a personInterest object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a personInterest object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileInterestsPersonInterestItemRequestBuilder) ToPatchRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_interests_request_builder.go b/users/item_profile_interests_request_builder.go index a24f95c814e..e7a8787ea8d 100644 --- a/users/item_profile_interests_request_builder.go +++ b/users/item_profile_interests_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileInterestsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new personInterest. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileInterestsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_languages_language_proficiency_item_request_builder.go b/users/item_profile_languages_language_proficiency_item_request_builder.go index 88c4c8d0b8c..7932209baac 100644 --- a/users/item_profile_languages_language_proficiency_item_request_builder.go +++ b/users/item_profile_languages_language_proficiency_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a languageProficiency object within a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a languageProficiency object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileLanguagesLanguageProficiencyItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_languages_request_builder.go b/users/item_profile_languages_request_builder.go index ccff7c38cc2..0826e4085d9 100644 --- a/users/item_profile_languages_request_builder.go +++ b/users/item_profile_languages_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileLanguagesRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new languageProficiency object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileLanguagesRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_names_person_name_item_request_builder.go b/users/item_profile_names_person_name_item_request_builder.go index 5a0f0d5832b..3183cebfca4 100644 --- a/users/item_profile_names_person_name_item_request_builder.go +++ b/users/item_profile_names_person_name_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileNamesPersonNameItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a personName object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileNamesPersonNameItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a personName object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileNamesPersonNameItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_names_request_builder.go b/users/item_profile_names_request_builder.go index 580b20fe367..7cbb771889f 100644 --- a/users/item_profile_names_request_builder.go +++ b/users/item_profile_names_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileNamesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new personName object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileNamesRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_notes_person_annotation_item_request_builder.go b/users/item_profile_notes_person_annotation_item_request_builder.go index 436ec5e0bbd..283c693fbd7 100644 --- a/users/item_profile_notes_person_annotation_item_request_builder.go +++ b/users/item_profile_notes_person_annotation_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a personAnnotation object from a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a personAnnotation object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileNotesPersonAnnotationItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_notes_request_builder.go b/users/item_profile_notes_request_builder.go index f92f8e3625d..6de8e6a1b80 100644 --- a/users/item_profile_notes_request_builder.go +++ b/users/item_profile_notes_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileNotesRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new personAnnotation object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileNotesRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_patents_item_patent_item_request_builder.go b/users/item_profile_patents_item_patent_item_request_builder.go index b3e9b526a6f..4404d1efd51 100644 --- a/users/item_profile_patents_item_patent_item_request_builder.go +++ b/users/item_profile_patents_item_patent_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfilePatentsItemPatentItemRequestBuilder) ToDeleteRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an itemPatent object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfilePatentsItemPatentItemRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an itemPatent object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfilePatentsItemPatentItemRequestBuilder) ToPatchRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_patents_request_builder.go b/users/item_profile_patents_request_builder.go index 598025ca8f7..63642b3a038 100644 --- a/users/item_profile_patents_request_builder.go +++ b/users/item_profile_patents_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfilePatentsRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new itemPatent object within a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfilePatentsRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_phones_item_phone_item_request_builder.go b/users/item_profile_phones_item_phone_item_request_builder.go index 766d2129744..c552a67df0f 100644 --- a/users/item_profile_phones_item_phone_item_request_builder.go +++ b/users/item_profile_phones_item_phone_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) ToDeleteRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of an itemPhone object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) ToGetRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an itemPhone object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfilePhonesItemPhoneItemRequestBuilder) ToPatchRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_phones_request_builder.go b/users/item_profile_phones_request_builder.go index 34a2ab1f0dc..760bb761970 100644 --- a/users/item_profile_phones_request_builder.go +++ b/users/item_profile_phones_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfilePhonesRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new itemPhone object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfilePhonesRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_positions_request_builder.go b/users/item_profile_positions_request_builder.go index f7e6e5c15d9..ffe506c3bd5 100644 --- a/users/item_profile_positions_request_builder.go +++ b/users/item_profile_positions_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfilePositionsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new workPosition in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfilePositionsRequestBuilder) ToPostRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_positions_work_position_item_request_builder.go b/users/item_profile_positions_work_position_item_request_builder.go index a854fab5f80..2deac983077 100644 --- a/users/item_profile_positions_work_position_item_request_builder.go +++ b/users/item_profile_positions_work_position_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a workPosition object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a workPosition object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfilePositionsWorkPositionItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_projects_project_participation_item_request_builder.go b/users/item_profile_projects_project_participation_item_request_builder.go index 93e9286765b..376660c28d1 100644 --- a/users/item_profile_projects_project_participation_item_request_builder.go +++ b/users/item_profile_projects_project_participation_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) ToDeleteRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a projectParticipation object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) ToGetRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a projectParticipation object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileProjectsProjectParticipationItemRequestBuilder) ToPatchReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_projects_request_builder.go b/users/item_profile_projects_request_builder.go index 0da5f083599..724214ad036 100644 --- a/users/item_profile_projects_request_builder.go +++ b/users/item_profile_projects_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileProjectsRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new projectParticipation object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileProjectsRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_publications_item_publication_item_request_builder.go b/users/item_profile_publications_item_publication_item_request_builder.go index b6b34a0d247..934cdff11e2 100644 --- a/users/item_profile_publications_item_publication_item_request_builder.go +++ b/users/item_profile_publications_item_publication_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) ToDeleteReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of an itemPublication object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) ToGetRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of an itemPublication object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfilePublicationsItemPublicationItemRequestBuilder) ToPatchReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_publications_request_builder.go b/users/item_profile_publications_request_builder.go index 4cd1699e426..546993a4918 100644 --- a/users/item_profile_publications_request_builder.go +++ b/users/item_profile_publications_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfilePublicationsRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new itemPublication object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfilePublicationsRequestBuilder) ToPostRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_request_builder.go b/users/item_profile_request_builder.go index 6715e131355..f52ada1dba4 100644 --- a/users/item_profile_request_builder.go +++ b/users/item_profile_request_builder.go @@ -192,7 +192,7 @@ func (m *ItemProfileRequestBuilder) ToDeleteRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -208,7 +208,7 @@ func (m *ItemProfileRequestBuilder) ToGetRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property profile in users @@ -221,7 +221,7 @@ func (m *ItemProfileRequestBuilder) ToPatchRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_skills_request_builder.go b/users/item_profile_skills_request_builder.go index 8b3369e54e7..43d5bd7fb10 100644 --- a/users/item_profile_skills_request_builder.go +++ b/users/item_profile_skills_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileSkillsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation use this API to create a new skillProficiency object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileSkillsRequestBuilder) ToPostRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_skills_skill_proficiency_item_request_builder.go b/users/item_profile_skills_skill_proficiency_item_request_builder.go index 1d86a8573fd..975324e8e66 100644 --- a/users/item_profile_skills_skill_proficiency_item_request_builder.go +++ b/users/item_profile_skills_skill_proficiency_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) ToDeleteRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a skillproficiency object in a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a skillProficiency object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileSkillsSkillProficiencyItemRequestBuilder) ToPatchRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_web_accounts_request_builder.go b/users/item_profile_web_accounts_request_builder.go index ff942cbd6c7..7d9e5b8dbc0 100644 --- a/users/item_profile_web_accounts_request_builder.go +++ b/users/item_profile_web_accounts_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileWebAccountsRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new webAccount object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileWebAccountsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_web_accounts_web_account_item_request_builder.go b/users/item_profile_web_accounts_web_account_item_request_builder.go index ea057947773..53402a51a03 100644 --- a/users/item_profile_web_accounts_web_account_item_request_builder.go +++ b/users/item_profile_web_accounts_web_account_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a webAccount object from a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a webAccount object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileWebAccountsWebAccountItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_websites_person_website_item_request_builder.go b/users/item_profile_websites_person_website_item_request_builder.go index a0f34026fdd..bd6f2274be0 100644 --- a/users/item_profile_websites_person_website_item_request_builder.go +++ b/users/item_profile_websites_person_website_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) ToDeleteRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a personWebsite object from a user's profile. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of personWebsite object in a user's profile. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemProfileWebsitesPersonWebsiteItemRequestBuilder) ToPatchRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_profile_websites_request_builder.go b/users/item_profile_websites_request_builder.go index 0d19515fd9e..91821fcd027 100644 --- a/users/item_profile_websites_request_builder.go +++ b/users/item_profile_websites_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemProfileWebsitesRequestBuilder) ToGetRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new personWebsite object in a user's profile. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemProfileWebsitesRequestBuilder) ToPostRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_registered_devices_directory_object_item_request_builder.go b/users/item_registered_devices_directory_object_item_request_builder.go index f38066b8666..01b67645ea0 100644 --- a/users/item_registered_devices_directory_object_item_request_builder.go +++ b/users/item_registered_devices_directory_object_item_request_builder.go @@ -80,7 +80,7 @@ func (m *ItemRegisteredDevicesDirectoryObjectItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_registered_devices_graph_device_request_builder.go b/users/item_registered_devices_graph_device_request_builder.go index ba471255e07..6db557b2283 100644 --- a/users/item_registered_devices_graph_device_request_builder.go +++ b/users/item_registered_devices_graph_device_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemRegisteredDevicesGraphDeviceRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_registered_devices_graph_endpoint_request_builder.go b/users/item_registered_devices_graph_endpoint_request_builder.go index 96a25796478..b0ce1871c87 100644 --- a/users/item_registered_devices_graph_endpoint_request_builder.go +++ b/users/item_registered_devices_graph_endpoint_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemRegisteredDevicesGraphEndpointRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_registered_devices_item_graph_device_request_builder.go b/users/item_registered_devices_item_graph_device_request_builder.go index b9516797553..f2d8a1afd23 100644 --- a/users/item_registered_devices_item_graph_device_request_builder.go +++ b/users/item_registered_devices_item_graph_device_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRegisteredDevicesItemGraphDeviceRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_registered_devices_item_graph_endpoint_request_builder.go b/users/item_registered_devices_item_graph_endpoint_request_builder.go index eb3f9157d0f..4df4b0871b9 100644 --- a/users/item_registered_devices_item_graph_endpoint_request_builder.go +++ b/users/item_registered_devices_item_graph_endpoint_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemRegisteredDevicesItemGraphEndpointRequestBuilder) ToGetRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_registered_devices_request_builder.go b/users/item_registered_devices_request_builder.go index 2ada369ec75..3fc5637369d 100644 --- a/users/item_registered_devices_request_builder.go +++ b/users/item_registered_devices_request_builder.go @@ -110,7 +110,7 @@ func (m *ItemRegisteredDevicesRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go b/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go index e24e46085d6..a57a2aa8dfe 100644 --- a/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go +++ b/users/item_reminder_view_with_start_date_time_with_end_date_time_request_builder.go @@ -103,7 +103,7 @@ func (m *ItemReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_remove_all_devices_from_management_request_builder.go b/users/item_remove_all_devices_from_management_request_builder.go index d722f4348c8..21c526f8d5d 100644 --- a/users/item_remove_all_devices_from_management_request_builder.go +++ b/users/item_remove_all_devices_from_management_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemRemoveAllDevicesFromManagementRequestBuilder) ToPostRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_reprocess_license_assignment_request_builder.go b/users/item_reprocess_license_assignment_request_builder.go index 8fd8298fa7a..93e802cc766 100644 --- a/users/item_reprocess_license_assignment_request_builder.go +++ b/users/item_reprocess_license_assignment_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemReprocessLicenseAssignmentRequestBuilder) ToPostRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_restore_request_builder.go b/users/item_restore_request_builder.go index 76d9deac85e..a952ab86db4 100644 --- a/users/item_restore_request_builder.go +++ b/users/item_restore_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_retry_service_provisioning_request_builder.go b/users/item_retry_service_provisioning_request_builder.go index cf666e42f15..38aee3eb48f 100644 --- a/users/item_retry_service_provisioning_request_builder.go +++ b/users/item_retry_service_provisioning_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemRetryServiceProvisioningRequestBuilder) ToPostRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_revoke_sign_in_sessions_request_builder.go b/users/item_revoke_sign_in_sessions_request_builder.go index 30c13333517..c6d1969ced5 100644 --- a/users/item_revoke_sign_in_sessions_request_builder.go +++ b/users/item_revoke_sign_in_sessions_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemRevokeSignInSessionsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_scoped_role_member_of_request_builder.go b/users/item_scoped_role_member_of_request_builder.go index daf5bf064f8..cf008b235ef 100644 --- a/users/item_scoped_role_member_of_request_builder.go +++ b/users/item_scoped_role_member_of_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemScopedRoleMemberOfRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to scopedRoleMemberOf for users @@ -141,7 +141,7 @@ func (m *ItemScopedRoleMemberOfRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_scoped_role_member_of_scoped_role_membership_item_request_builder.go b/users/item_scoped_role_member_of_scoped_role_membership_item_request_builder.go index ac945e94723..876f7365623 100644 --- a/users/item_scoped_role_member_of_scoped_role_membership_item_request_builder.go +++ b/users/item_scoped_role_member_of_scoped_role_membership_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemScopedRoleMemberOfScopedRoleMembershipItemRequestBuilder) ToDeleteR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the scoped-role administrative unit memberships for this user. Read-only. Nullable. @@ -134,7 +134,7 @@ func (m *ItemScopedRoleMemberOfScopedRoleMembershipItemRequestBuilder) ToGetRequ requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property scopedRoleMemberOf in users @@ -147,7 +147,7 @@ func (m *ItemScopedRoleMemberOfScopedRoleMembershipItemRequestBuilder) ToPatchRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_security_information_protection_label_policy_settings_request_builder.go b/users/item_security_information_protection_label_policy_settings_request_builder.go index 5c24ab02b13..2157322c9e5 100644 --- a/users/item_security_information_protection_label_policy_settings_request_builder.go +++ b/users/item_security_information_protection_label_policy_settings_request_builder.go @@ -121,7 +121,7 @@ func (m *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder) ToD requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -137,7 +137,7 @@ func (m *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder) ToG requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property labelPolicySettings in users @@ -150,7 +150,7 @@ func (m *ItemSecurityInformationProtectionLabelPolicySettingsRequestBuilder) ToP requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_security_information_protection_request_builder.go b/users/item_security_information_protection_request_builder.go index ba405b00b43..4bb4c83116b 100644 --- a/users/item_security_information_protection_request_builder.go +++ b/users/item_security_information_protection_request_builder.go @@ -126,7 +126,7 @@ func (m *ItemSecurityInformationProtectionRequestBuilder) ToDeleteRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get informationProtection from users @@ -142,7 +142,7 @@ func (m *ItemSecurityInformationProtectionRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property informationProtection in users @@ -155,7 +155,7 @@ func (m *ItemSecurityInformationProtectionRequestBuilder) ToPatchRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_security_information_protection_sensitivity_labels_item_parent_request_builder.go b/users/item_security_information_protection_sensitivity_labels_item_parent_request_builder.go index 97bffa96524..e0c73617103 100644 --- a/users/item_security_information_protection_sensitivity_labels_item_parent_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_item_parent_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsItemParentRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the parent label associated with a child label. Null if the label has no parent. @@ -134,7 +134,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsItemParentRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property parent in users @@ -147,7 +147,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsItemParentRequestBuil requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go index 28f93520b6e..5c1cacd3ae6 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_application_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go index 1168c88d22f..e6a07de5502 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_classification_results_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go index d8098904470..80ec6ffcf4f 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_evaluate_removal_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go index 052dc15adb0..86bd90855c6 100644 --- a/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_microsoft_graph_security_extract_content_label_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsMicrosoftGraphSecurit requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_security_information_protection_sensitivity_labels_request_builder.go b/users/item_security_information_protection_sensitivity_labels_request_builder.go index c38e772db27..f1ce9eafb2b 100644 --- a/users/item_security_information_protection_sensitivity_labels_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_request_builder.go @@ -144,7 +144,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) ToGet requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to sensitivityLabels for users @@ -157,7 +157,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsRequestBuilder) ToPos requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_security_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go b/users/item_security_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go index 71af88766e1..5acfb2f7861 100644 --- a/users/item_security_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go +++ b/users/item_security_information_protection_sensitivity_labels_sensitivity_label_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsSensitivityLabelItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the Microsoft Purview Information Protection labels for the user or organization. @@ -138,7 +138,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsSensitivityLabelItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property sensitivityLabels in users @@ -151,7 +151,7 @@ func (m *ItemSecurityInformationProtectionSensitivityLabelsSensitivityLabelItemR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_security_request_builder.go b/users/item_security_request_builder.go index 2ff961e258d..a6236ac00dc 100644 --- a/users/item_security_request_builder.go +++ b/users/item_security_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemSecurityRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get security from users @@ -138,7 +138,7 @@ func (m *ItemSecurityRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property security in users @@ -151,7 +151,7 @@ func (m *ItemSecurityRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_send_mail_request_builder.go b/users/item_send_mail_request_builder.go index 47d4b384ffb..3166cc79d9e 100644 --- a/users/item_send_mail_request_builder.go +++ b/users/item_send_mail_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemSendMailRequestBuilder) ToPostRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_service_provisioning_errors_request_builder.go b/users/item_service_provisioning_errors_request_builder.go index f3a613a01a6..215b680c20f 100644 --- a/users/item_service_provisioning_errors_request_builder.go +++ b/users/item_service_provisioning_errors_request_builder.go @@ -11,7 +11,7 @@ import ( type ItemServiceProvisioningErrorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemServiceProvisioningErrorsRequestBuilderGetQueryParameters 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). +// ItemServiceProvisioningErrorsRequestBuilderGetQueryParameters errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. type ItemServiceProvisioningErrorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -56,7 +56,7 @@ func NewItemServiceProvisioningErrorsRequestBuilder(rawUrl string, requestAdapte func (m *ItemServiceProvisioningErrorsRequestBuilder) Count()(*ItemServiceProvisioningErrorsCountRequestBuilder) { return NewItemServiceProvisioningErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get 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). +// Get errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -75,7 +75,7 @@ func (m *ItemServiceProvisioningErrorsRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServiceProvisioningErrorCollectionResponseable), nil } -// ToGetRequestInformation 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). +// ToGetRequestInformation errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. func (m *ItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemServiceProvisioningErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation() if requestConfiguration != nil { @@ -88,7 +88,7 @@ func (m *ItemServiceProvisioningErrorsRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_settings_contact_merge_suggestions_request_builder.go b/users/item_settings_contact_merge_suggestions_request_builder.go index f52a324cda8..feccff82776 100644 --- a/users/item_settings_contact_merge_suggestions_request_builder.go +++ b/users/item_settings_contact_merge_suggestions_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) ToDeleteRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a contactMergeSuggestions object. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a contactMergeSuggestions object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemSettingsContactMergeSuggestionsRequestBuilder) ToPatchRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_settings_item_insights_request_builder.go b/users/item_settings_item_insights_request_builder.go index 99191a5336a..acbb28a4fd4 100644 --- a/users/item_settings_item_insights_request_builder.go +++ b/users/item_settings_item_insights_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) ToDeleteRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get the user-customizable privacy settings for itemInsights and meeting hours insights. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the privacy settings for itemInsights and meeting hours insights of a user. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemSettingsItemInsightsRequestBuilder) ToPatchRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_settings_regional_and_language_settings_request_builder.go b/users/item_settings_regional_and_language_settings_request_builder.go index bb15f10204d..9c988b23690 100644 --- a/users/item_settings_regional_and_language_settings_request_builder.go +++ b/users/item_settings_regional_and_language_settings_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) ToDeleteRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties of a user's regionalAndLanguageSettings. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) ToGetRequestInfo requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update some or all of the properties of a regionalAndLanguageSettings object. This API is available in the following national cloud deployments. @@ -153,7 +153,7 @@ func (m *ItemSettingsRegionalAndLanguageSettingsRequestBuilder) ToPatchRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_settings_request_builder.go b/users/item_settings_request_builder.go index c5cb24d4af7..f03b0d0cd0e 100644 --- a/users/item_settings_request_builder.go +++ b/users/item_settings_request_builder.go @@ -134,7 +134,7 @@ func (m *ItemSettingsRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get settings from users @@ -150,7 +150,7 @@ func (m *ItemSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property settings in users @@ -163,7 +163,7 @@ func (m *ItemSettingsRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_settings_shift_preferences_request_builder.go b/users/item_settings_shift_preferences_request_builder.go index 56a1b73c4d0..d9d465d086a 100644 --- a/users/item_settings_shift_preferences_request_builder.go +++ b/users/item_settings_shift_preferences_request_builder.go @@ -124,7 +124,7 @@ func (m *ItemSettingsShiftPreferencesRequestBuilder) ToDeleteRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the properties and relationships of a shiftPreferences object by ID. This API is available in the following national cloud deployments. @@ -140,7 +140,7 @@ func (m *ItemSettingsShiftPreferencesRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties and relationships of a shiftPreferences object. @@ -153,7 +153,7 @@ func (m *ItemSettingsShiftPreferencesRequestBuilder) ToPatchRequestInformation(c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_sponsors_directory_object_item_request_builder.go b/users/item_sponsors_directory_object_item_request_builder.go index d0f78efc69c..8d2a1fed212 100644 --- a/users/item_sponsors_directory_object_item_request_builder.go +++ b/users/item_sponsors_directory_object_item_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemSponsorsDirectoryObjectItemRequestBuilder) ToDeleteRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation 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. @@ -111,7 +111,7 @@ func (m *ItemSponsorsDirectoryObjectItemRequestBuilder) ToGetRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_sponsors_request_builder.go b/users/item_sponsors_request_builder.go index cac44569cbb..4c057c6704c 100644 --- a/users/item_sponsors_request_builder.go +++ b/users/item_sponsors_request_builder.go @@ -102,7 +102,7 @@ func (m *ItemSponsorsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_teamwork_associated_teams_associated_team_info_item_request_builder.go b/users/item_teamwork_associated_teams_associated_team_info_item_request_builder.go index 23beb7c21e0..12484645f4a 100644 --- a/users/item_teamwork_associated_teams_associated_team_info_item_request_builder.go +++ b/users/item_teamwork_associated_teams_associated_team_info_item_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemTeamworkAssociatedTeamsAssociatedTeamInfoItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the list of associatedTeamInfo objects that a user is associated with. @@ -138,7 +138,7 @@ func (m *ItemTeamworkAssociatedTeamsAssociatedTeamInfoItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property associatedTeams in users @@ -151,7 +151,7 @@ func (m *ItemTeamworkAssociatedTeamsAssociatedTeamInfoItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_teamwork_associated_teams_item_team_request_builder.go b/users/item_teamwork_associated_teams_item_team_request_builder.go index f501364bdd8..94c8e3f15af 100644 --- a/users/item_teamwork_associated_teams_item_team_request_builder.go +++ b/users/item_teamwork_associated_teams_item_team_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamworkAssociatedTeamsItemTeamRequestBuilder) ToGetRequestInformat requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_teamwork_associated_teams_request_builder.go b/users/item_teamwork_associated_teams_request_builder.go index 5e3b0db95dc..31499f6271b 100644 --- a/users/item_teamwork_associated_teams_request_builder.go +++ b/users/item_teamwork_associated_teams_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemTeamworkAssociatedTeamsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to associatedTeams for users @@ -141,7 +141,7 @@ func (m *ItemTeamworkAssociatedTeamsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_teamwork_installed_apps_item_chat_request_builder.go b/users/item_teamwork_installed_apps_item_chat_request_builder.go index cded0aeea4a..9788031dd6e 100644 --- a/users/item_teamwork_installed_apps_item_chat_request_builder.go +++ b/users/item_teamwork_installed_apps_item_chat_request_builder.go @@ -75,7 +75,7 @@ func (m *ItemTeamworkInstalledAppsItemChatRequestBuilder) ToGetRequestInformatio requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_teamwork_installed_apps_item_teams_app_definition_request_builder.go b/users/item_teamwork_installed_apps_item_teams_app_definition_request_builder.go index 0105e6e1a9b..75ced51151f 100644 --- a/users/item_teamwork_installed_apps_item_teams_app_definition_request_builder.go +++ b/users/item_teamwork_installed_apps_item_teams_app_definition_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamworkInstalledAppsItemTeamsAppDefinitionRequestBuilder) ToGetReq requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_teamwork_installed_apps_item_teams_app_request_builder.go b/users/item_teamwork_installed_apps_item_teams_app_request_builder.go index 98922b6346f..24267936f9b 100644 --- a/users/item_teamwork_installed_apps_item_teams_app_request_builder.go +++ b/users/item_teamwork_installed_apps_item_teams_app_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTeamworkInstalledAppsItemTeamsAppRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_teamwork_installed_apps_request_builder.go b/users/item_teamwork_installed_apps_request_builder.go index 74e7a3b25c9..77988f807a5 100644 --- a/users/item_teamwork_installed_apps_request_builder.go +++ b/users/item_teamwork_installed_apps_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTeamworkInstalledAppsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation install an app in the personal scope of the specified user. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTeamworkInstalledAppsRequestBuilder) ToPostRequestInformation(ctx c requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go b/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go index 264891fba3b..aec0ae67556 100644 --- a/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go +++ b/users/item_teamwork_installed_apps_user_scope_teams_app_installation_item_request_builder.go @@ -136,7 +136,7 @@ func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation retrieve the app installed in the personal scope of the specified user. This API is available in the following national cloud deployments. @@ -152,7 +152,7 @@ func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property installedApps in users @@ -165,7 +165,7 @@ func (m *ItemTeamworkInstalledAppsUserScopeTeamsAppInstallationItemRequestBuilde requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_teamwork_request_builder.go b/users/item_teamwork_request_builder.go index 248f40bf783..03e3309cf55 100644 --- a/users/item_teamwork_request_builder.go +++ b/users/item_teamwork_request_builder.go @@ -130,7 +130,7 @@ func (m *ItemTeamworkRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation a container for Microsoft Teams features available for the user. Read-only. Nullable. @@ -146,7 +146,7 @@ func (m *ItemTeamworkRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property teamwork in users @@ -159,7 +159,7 @@ func (m *ItemTeamworkRequestBuilder) ToPatchRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_teamwork_send_activity_notification_request_builder.go b/users/item_teamwork_send_activity_notification_request_builder.go index ad5766733d0..6ecf1444325 100644 --- a/users/item_teamwork_send_activity_notification_request_builder.go +++ b/users/item_teamwork_send_activity_notification_request_builder.go @@ -59,7 +59,7 @@ func (m *ItemTeamworkSendActivityNotificationRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_delta_request_builder.go b/users/item_todo_lists_delta_request_builder.go index 8c3c6ffe6fa..7dc9905d2fd 100644 --- a/users/item_todo_lists_delta_request_builder.go +++ b/users/item_todo_lists_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTodoListsDeltaRequestBuilder) ToGetRequestInformation(ctx context.C requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_todo_lists_item_extensions_extension_item_request_builder.go b/users/item_todo_lists_item_extensions_extension_item_request_builder.go index e25004ce0ea..4e6e2cb5b33 100644 --- a/users/item_todo_lists_item_extensions_extension_item_request_builder.go +++ b/users/item_todo_lists_item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemTodoListsItemExtensionsExtensionItemRequestBuilder) ToDeleteRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for the task list. Nullable. @@ -134,7 +134,7 @@ func (m *ItemTodoListsItemExtensionsExtensionItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -147,7 +147,7 @@ func (m *ItemTodoListsItemExtensionsExtensionItemRequestBuilder) ToPatchRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_extensions_request_builder.go b/users/item_todo_lists_item_extensions_request_builder.go index fd2c0df3199..3bc4805369d 100644 --- a/users/item_todo_lists_item_extensions_request_builder.go +++ b/users/item_todo_lists_item_extensions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTodoListsItemExtensionsRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for users @@ -138,7 +138,7 @@ func (m *ItemTodoListsItemExtensionsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_delta_request_builder.go b/users/item_todo_lists_item_tasks_delta_request_builder.go index 28c457a4647..566f66bbcec 100644 --- a/users/item_todo_lists_item_tasks_delta_request_builder.go +++ b/users/item_todo_lists_item_tasks_delta_request_builder.go @@ -101,7 +101,7 @@ func (m *ItemTodoListsItemTasksDeltaRequestBuilder) ToGetRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_todo_lists_item_tasks_item_attachment_sessions_attachment_session_item_request_builder.go b/users/item_todo_lists_item_tasks_item_attachment_sessions_attachment_session_item_request_builder.go index 02715dc908f..344dfc600e9 100644 --- a/users/item_todo_lists_item_tasks_item_attachment_sessions_attachment_session_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachment_sessions_attachment_session_item_request_builder.go @@ -120,7 +120,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentSessionsAttachmentSessionItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get attachmentSessions from users @@ -136,7 +136,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentSessionsAttachmentSessionItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property attachmentSessions in users @@ -149,7 +149,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentSessionsAttachmentSessionItemReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_item_attachment_sessions_item_content_request_builder.go b/users/item_todo_lists_item_tasks_item_attachment_sessions_item_content_request_builder.go index ec65bfe0bf2..70cf78b3eba 100644 --- a/users/item_todo_lists_item_tasks_item_attachment_sessions_item_content_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachment_sessions_item_content_request_builder.go @@ -86,7 +86,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentSessionsItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation the content streams that are uploaded. @@ -99,7 +99,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentSessionsItemContentRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_todo_lists_item_tasks_item_attachment_sessions_request_builder.go b/users/item_todo_lists_item_tasks_item_attachment_sessions_request_builder.go index 671082944c4..c93af58c744 100644 --- a/users/item_todo_lists_item_tasks_item_attachment_sessions_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachment_sessions_request_builder.go @@ -95,7 +95,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentSessionsRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go index 2ee02552b8e..ad0f6c43d38 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_attachment_base_item_request_builder.go @@ -100,7 +100,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a taskFileAttachment object. This API is available in the following national cloud deployments. @@ -116,7 +116,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsAttachmentBaseItemRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go index 38797f4646c..7b801b4958e 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_create_upload_session_request_builder.go @@ -63,7 +63,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsCreateUploadSessionRequestBuilder) requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go index 6ef956ead4c..5d8157fb4f5 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_item_value_content_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json") return requestInfo, nil } // ToPutRequestInformation update media content for the navigation property attachments in users @@ -101,7 +101,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsItemValueContentRequestBuilder) To requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") requestInfo.SetStreamContentAndContentType(body, "application/octet-stream") return requestInfo, nil } diff --git a/users/item_todo_lists_item_tasks_item_attachments_request_builder.go b/users/item_todo_lists_item_tasks_item_attachments_request_builder.go index 2d5cf2b49a5..4ed82159f59 100644 --- a/users/item_todo_lists_item_tasks_item_attachments_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_attachments_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) ToGetRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemTodoListsItemTasksItemAttachmentsRequestBuilder) ToPostRequestInfor requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go b/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go index 8f7675dfcf2..d821f0508cc 100644 --- a/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_checklist_items_checklist_item_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a checklistItem object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a checklistItem object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsChecklistItemItemRequestBuilder requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go b/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go index d80d6a6791c..ea207350b90 100644 --- a/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_checklist_items_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new checklistItem object as a subtask in a bigger todoTask. This API is available in the following national cloud deployments. @@ -144,7 +144,7 @@ func (m *ItemTodoListsItemTasksItemChecklistItemsRequestBuilder) ToPostRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_item_extensions_extension_item_request_builder.go b/users/item_todo_lists_item_tasks_item_extensions_extension_item_request_builder.go index 5d99abcaccb..fa12e312488 100644 --- a/users/item_todo_lists_item_tasks_item_extensions_extension_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_extensions_extension_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemTodoListsItemTasksItemExtensionsExtensionItemRequestBuilder) ToDele requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation the collection of open extensions defined for the task. Nullable. @@ -134,7 +134,7 @@ func (m *ItemTodoListsItemTasksItemExtensionsExtensionItemRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property extensions in users @@ -147,7 +147,7 @@ func (m *ItemTodoListsItemTasksItemExtensionsExtensionItemRequestBuilder) ToPatc requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_item_extensions_request_builder.go b/users/item_todo_lists_item_tasks_item_extensions_request_builder.go index f659df47e44..a9a8b8a5411 100644 --- a/users/item_todo_lists_item_tasks_item_extensions_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_extensions_request_builder.go @@ -125,7 +125,7 @@ func (m *ItemTodoListsItemTasksItemExtensionsRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to extensions for users @@ -138,7 +138,7 @@ func (m *ItemTodoListsItemTasksItemExtensionsRequestBuilder) ToPostRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go b/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go index b275bcb1af2..8ed3ff7b30c 100644 --- a/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_linked_resources_linked_resource_item_request_builder.go @@ -127,7 +127,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a linkedResource object. This API is available in the following national cloud deployments. @@ -143,7 +143,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a linkedResource object. This API is available in the following national cloud deployments. @@ -156,7 +156,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesLinkedResourceItemRequestBuild requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go b/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go index 4b9f9318dfc..677ab89908f 100644 --- a/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go +++ b/users/item_todo_lists_item_tasks_item_linked_resources_request_builder.go @@ -131,7 +131,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -144,7 +144,7 @@ func (m *ItemTodoListsItemTasksItemLinkedResourcesRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_request_builder.go b/users/item_todo_lists_item_tasks_request_builder.go index aa80c70bdcd..79a06c776c1 100644 --- a/users/item_todo_lists_item_tasks_request_builder.go +++ b/users/item_todo_lists_item_tasks_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTodoListsItemTasksRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new task object in a specified todoTaskList. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTodoListsItemTasksRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go b/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go index 68a1a5b5517..fcbe31603fe 100644 --- a/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go +++ b/users/item_todo_lists_item_tasks_todo_task_item_request_builder.go @@ -147,7 +147,7 @@ func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) ToDeleteRequestInform requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a todoTask object. This API is available in the following national cloud deployments. @@ -163,7 +163,7 @@ func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) ToGetRequestInformati requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a todoTask object. This API is available in the following national cloud deployments. @@ -176,7 +176,7 @@ func (m *ItemTodoListsItemTasksTodoTaskItemRequestBuilder) ToPatchRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_request_builder.go b/users/item_todo_lists_request_builder.go index 63681c22261..7b7a963a4e1 100644 --- a/users/item_todo_lists_request_builder.go +++ b/users/item_todo_lists_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTodoListsRequestBuilder) ToGetRequestInformation(ctx context.Contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create a new lists object. This API is available in the following national cloud deployments. @@ -148,7 +148,7 @@ func (m *ItemTodoListsRequestBuilder) ToPostRequestInformation(ctx context.Conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_lists_todo_task_list_item_request_builder.go b/users/item_todo_lists_todo_task_list_item_request_builder.go index 3841703e855..166d6c87080 100644 --- a/users/item_todo_lists_todo_task_list_item_request_builder.go +++ b/users/item_todo_lists_todo_task_list_item_request_builder.go @@ -135,7 +135,7 @@ func (m *ItemTodoListsTodoTaskListItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation read the properties and relationships of a todoTaskList object. This API is available in the following national cloud deployments. @@ -151,7 +151,7 @@ func (m *ItemTodoListsTodoTaskListItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the properties of a todoTaskList object. This API is available in the following national cloud deployments. @@ -164,7 +164,7 @@ func (m *ItemTodoListsTodoTaskListItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_todo_request_builder.go b/users/item_todo_request_builder.go index 17ecc9ebed4..0adc9ccfe87 100644 --- a/users/item_todo_request_builder.go +++ b/users/item_todo_request_builder.go @@ -122,7 +122,7 @@ func (m *ItemTodoRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the To Do services available to a user. @@ -138,7 +138,7 @@ func (m *ItemTodoRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property todo in users @@ -151,7 +151,7 @@ func (m *ItemTodoRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_transitive_member_of_directory_object_item_request_builder.go b/users/item_transitive_member_of_directory_object_item_request_builder.go index f4ef24c6d74..83c7020a971 100644 --- a/users/item_transitive_member_of_directory_object_item_request_builder.go +++ b/users/item_transitive_member_of_directory_object_item_request_builder.go @@ -84,7 +84,7 @@ func (m *ItemTransitiveMemberOfDirectoryObjectItemRequestBuilder) ToGetRequestIn requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_transitive_member_of_graph_administrative_unit_request_builder.go b/users/item_transitive_member_of_graph_administrative_unit_request_builder.go index 2e2838e3d91..6004185be5e 100644 --- a/users/item_transitive_member_of_graph_administrative_unit_request_builder.go +++ b/users/item_transitive_member_of_graph_administrative_unit_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphAdministrativeUnitRequestBuilder) ToGetReque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_transitive_member_of_graph_directory_role_request_builder.go b/users/item_transitive_member_of_graph_directory_role_request_builder.go index cc689f9aa3a..c13d2eaaec0 100644 --- a/users/item_transitive_member_of_graph_directory_role_request_builder.go +++ b/users/item_transitive_member_of_graph_directory_role_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphDirectoryRoleRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_transitive_member_of_graph_group_request_builder.go b/users/item_transitive_member_of_graph_group_request_builder.go index fb1cc638531..e12a7909f90 100644 --- a/users/item_transitive_member_of_graph_group_request_builder.go +++ b/users/item_transitive_member_of_graph_group_request_builder.go @@ -88,7 +88,7 @@ func (m *ItemTransitiveMemberOfGraphGroupRequestBuilder) ToGetRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_transitive_member_of_item_graph_administrative_unit_request_builder.go b/users/item_transitive_member_of_item_graph_administrative_unit_request_builder.go index 351dbedc9e3..e01bde8708a 100644 --- a/users/item_transitive_member_of_item_graph_administrative_unit_request_builder.go +++ b/users/item_transitive_member_of_item_graph_administrative_unit_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphAdministrativeUnitRequestBuilder) ToGetR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_transitive_member_of_item_graph_directory_role_request_builder.go b/users/item_transitive_member_of_item_graph_directory_role_request_builder.go index 9e85c40c7a4..57e7822fa98 100644 --- a/users/item_transitive_member_of_item_graph_directory_role_request_builder.go +++ b/users/item_transitive_member_of_item_graph_directory_role_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphDirectoryRoleRequestBuilder) ToGetReques requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_transitive_member_of_item_graph_group_request_builder.go b/users/item_transitive_member_of_item_graph_group_request_builder.go index 411feacb06d..9c59ef380b7 100644 --- a/users/item_transitive_member_of_item_graph_group_request_builder.go +++ b/users/item_transitive_member_of_item_graph_group_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveMemberOfItemGraphGroupRequestBuilder) ToGetRequestInforma requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_transitive_member_of_request_builder.go b/users/item_transitive_member_of_request_builder.go index 519b3db04ca..589fbe56535 100644 --- a/users/item_transitive_member_of_request_builder.go +++ b/users/item_transitive_member_of_request_builder.go @@ -114,7 +114,7 @@ func (m *ItemTransitiveMemberOfRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_transitive_reports_directory_object_item_request_builder.go b/users/item_transitive_reports_directory_object_item_request_builder.go index b5e1ff1f958..886ab6f0a4e 100644 --- a/users/item_transitive_reports_directory_object_item_request_builder.go +++ b/users/item_transitive_reports_directory_object_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemTransitiveReportsDirectoryObjectItemRequestBuilder) ToGetRequestInf requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_transitive_reports_request_builder.go b/users/item_transitive_reports_request_builder.go index 82ae3f1dd36..1e7fa5323cf 100644 --- a/users/item_transitive_reports_request_builder.go +++ b/users/item_transitive_reports_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemTransitiveReportsRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_translate_exchange_ids_request_builder.go b/users/item_translate_exchange_ids_request_builder.go index ac3c54ed613..3ae15de2f13 100644 --- a/users/item_translate_exchange_ids_request_builder.go +++ b/users/item_translate_exchange_ids_request_builder.go @@ -85,7 +85,7 @@ func (m *ItemTranslateExchangeIdsRequestBuilder) ToPostRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_unblock_managed_apps_request_builder.go b/users/item_unblock_managed_apps_request_builder.go index 0e97956fcdd..0f7e3ac5690 100644 --- a/users/item_unblock_managed_apps_request_builder.go +++ b/users/item_unblock_managed_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemUnblockManagedAppsRequestBuilder) ToPostRequestInformation(ctx cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_usage_rights_request_builder.go b/users/item_usage_rights_request_builder.go index 89e92d47f41..842bba5c1fe 100644 --- a/users/item_usage_rights_request_builder.go +++ b/users/item_usage_rights_request_builder.go @@ -128,7 +128,7 @@ func (m *ItemUsageRightsRequestBuilder) ToGetRequestInformation(ctx context.Cont requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation create new navigation property to usageRights for users @@ -141,7 +141,7 @@ func (m *ItemUsageRightsRequestBuilder) ToPostRequestInformation(ctx context.Con requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_usage_rights_usage_right_item_request_builder.go b/users/item_usage_rights_usage_right_item_request_builder.go index 4a7503216ad..b1b38c7e085 100644 --- a/users/item_usage_rights_usage_right_item_request_builder.go +++ b/users/item_usage_rights_usage_right_item_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemUsageRightsUsageRightItemRequestBuilder) ToDeleteRequestInformation requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation represents the usage rights a user has been granted. @@ -134,7 +134,7 @@ func (m *ItemUsageRightsUsageRightItemRequestBuilder) ToGetRequestInformation(ct requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property usageRights in users @@ -147,7 +147,7 @@ func (m *ItemUsageRightsUsageRightItemRequestBuilder) ToPatchRequestInformation( requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_virtual_events_request_builder.go b/users/item_virtual_events_request_builder.go index 119e3949bd4..72efed5b5ce 100644 --- a/users/item_virtual_events_request_builder.go +++ b/users/item_virtual_events_request_builder.go @@ -118,7 +118,7 @@ func (m *ItemVirtualEventsRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToGetRequestInformation get virtualEvents from users @@ -134,7 +134,7 @@ func (m *ItemVirtualEventsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation update the navigation property virtualEvents in users @@ -147,7 +147,7 @@ func (m *ItemVirtualEventsRequestBuilder) ToPatchRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_virtual_events_webinars_request_builder.go b/users/item_virtual_events_webinars_request_builder.go index def40fc389c..626c1d5b63d 100644 --- a/users/item_virtual_events_webinars_request_builder.go +++ b/users/item_virtual_events_webinars_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemVirtualEventsWebinarsRequestBuilder) ToGetRequestInformation(ctx co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_virtual_events_webinars_virtual_event_webinar_item_request_builder.go b/users/item_virtual_events_webinars_virtual_event_webinar_item_request_builder.go index d723e4a72f0..822b4d09918 100644 --- a/users/item_virtual_events_webinars_virtual_event_webinar_item_request_builder.go +++ b/users/item_virtual_events_webinars_virtual_event_webinar_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemVirtualEventsWebinarsVirtualEventWebinarItemRequestBuilder) ToGetRe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_windows_information_protection_device_registrations_request_builder.go b/users/item_windows_information_protection_device_registrations_request_builder.go index a7295dbd8e9..13d3fc9a695 100644 --- a/users/item_windows_information_protection_device_registrations_request_builder.go +++ b/users/item_windows_information_protection_device_registrations_request_builder.go @@ -99,7 +99,7 @@ func (m *ItemWindowsInformationProtectionDeviceRegistrationsRequestBuilder) ToGe requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go b/users/item_windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go index 99f5439c278..6170ee972f5 100644 --- a/users/item_windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go +++ b/users/item_windows_information_protection_device_registrations_windows_information_protection_device_registration_item_request_builder.go @@ -72,7 +72,7 @@ func (m *ItemWindowsInformationProtectionDeviceRegistrationsWindowsInformationPr requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_wipe_and_block_managed_apps_request_builder.go b/users/item_wipe_and_block_managed_apps_request_builder.go index c5e9115c8c2..cef0da21a7f 100644 --- a/users/item_wipe_and_block_managed_apps_request_builder.go +++ b/users/item_wipe_and_block_managed_apps_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemWipeAndBlockManagedAppsRequestBuilder) ToPostRequestInformation(ctx requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. diff --git a/users/item_wipe_managed_app_registration_by_device_tag_request_builder.go b/users/item_wipe_managed_app_registration_by_device_tag_request_builder.go index 3f29328932d..9f5b2b4b077 100644 --- a/users/item_wipe_managed_app_registration_by_device_tag_request_builder.go +++ b/users/item_wipe_managed_app_registration_by_device_tag_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemWipeManagedAppRegistrationByDeviceTagRequestBuilder) ToPostRequestI requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.go b/users/item_wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.go index d5a91a0859d..6f4aee34700 100644 --- a/users/item_wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.go +++ b/users/item_wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemWipeManagedAppRegistrationsByAzureAdDeviceIdRequestBuilder) ToPostR requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go b/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go index 2ab195bd840..19e7570421b 100644 --- a/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go +++ b/users/item_wipe_managed_app_registrations_by_device_tag_request_builder.go @@ -56,7 +56,7 @@ func (m *ItemWipeManagedAppRegistrationsByDeviceTagRequestBuilder) ToPostRequest requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/user_item_request_builder.go b/users/user_item_request_builder.go index 8cd58432ec6..9f5d2301442 100644 --- a/users/user_item_request_builder.go +++ b/users/user_item_request_builder.go @@ -507,7 +507,7 @@ func (m *UserItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // Todo provides operations to manage the todo property of the microsoft.graph.user entity. @@ -527,7 +527,7 @@ func (m *UserItemRequestBuilder) ToGetRequestInformation(ctx context.Context, re requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPatchRequestInformation 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. @@ -540,7 +540,7 @@ func (m *UserItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/users_request_builder.go b/users/users_request_builder.go index 0fe74f290a0..487d7f8cad3 100644 --- a/users/users_request_builder.go +++ b/users/users_request_builder.go @@ -145,7 +145,7 @@ func (m *UsersRequestBuilder) ToGetRequestInformation(ctx context.Context, reque requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } // ToPostRequestInformation 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. @@ -158,7 +158,7 @@ func (m *UsersRequestBuilder) ToPostRequestInformation(ctx context.Context, body requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/validate_password_request_builder.go b/users/validate_password_request_builder.go index 6156d94e151..5ebf518850e 100644 --- a/users/validate_password_request_builder.go +++ b/users/validate_password_request_builder.go @@ -63,7 +63,7 @@ func (m *ValidatePasswordRequestBuilder) ToPostRequestInformation(ctx context.Co requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json;q=1") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err diff --git a/users/validate_properties_request_builder.go b/users/validate_properties_request_builder.go index 36193ec48ae..c396be1ccf2 100644 --- a/users/validate_properties_request_builder.go +++ b/users/validate_properties_request_builder.go @@ -59,7 +59,7 @@ func (m *ValidatePropertiesRequestBuilder) ToPostRequestInformation(ctx context. requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate requestInfo.PathParameters = m.BaseRequestBuilder.PathParameters requestInfo.Method = i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST - requestInfo.Headers.TryAdd("Accept", "application/json, application/json") + requestInfo.Headers.TryAdd("Accept", "application/json") err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) if err != nil { return nil, err